X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/d6e605414d88a1917bd204522b0df68ea47fec11..a2bc5b0faf0b939b24866790223fd51e2b48220a:/app/models/notifier.rb diff --git a/app/models/notifier.rb b/app/models/notifier.rb index c2ff4c53a..4500e527f 100644 --- a/app/models/notifier.rb +++ b/app/models/notifier.rb @@ -72,7 +72,7 @@ class Notifier < ActionMailer::Base body :to_user => comment.diary_entry.user.display_name, :from_user => comment.user.display_name, :body => comment.body, - :subject => comment.diary_entry.title, + :title => comment.diary_entry.title, :readurl => url_for(:host => SERVER_URL, :controller => "diary_entry", :action => "view", @@ -108,6 +108,7 @@ private def common_headers(recipient) recipients recipient.email + locale recipient.preferred_language_from(I18n.available_locales) from "webmaster@openstreetmap.org" headers "return-path" => "bounces@openstreetmap.org", "Auto-Submitted" => "auto-generated"