X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/938cdd8503f9e9257e9b023eb25ed32d6668bf74..0ed4cdbd4978e898c6232d011e86bcaf9973c2e6:/app/models/notifier.rb diff --git a/app/models/notifier.rb b/app/models/notifier.rb index 80a8ae485..2313e97ce 100644 --- a/app/models/notifier.rb +++ b/app/models/notifier.rb @@ -68,7 +68,7 @@ class Notifier < ActionMailer::Base def diary_comment_notification(comment) common_headers comment.diary_entry.user - subject I18n.t('notifier.diary_comment_notification.subject', :user => comment.user.display_name) + subject I18n.t('notifier.diary_comment_notification.subject', :user => comment.user.display_name, :locale => locale) body :to_user => comment.diary_entry.user.display_name, :from_user => comment.user.display_name, :body => comment.body,