X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/0e409af02b2d3cad95b025e339a4a57398ed065d..ea5a19eb4ec6c6367a757c878375d82aafc1b40d:/app/models/notifier.rb diff --git a/app/models/notifier.rb b/app/models/notifier.rb index 341c9072a..3e66be864 100644 --- a/app/models/notifier.rb +++ b/app/models/notifier.rb @@ -134,13 +134,13 @@ class Notifier < ActionMailer::Base if comment.author @commenter = comment.author.display_name else - @commenter = I18n.t("notifier.note_comment_notification.anonymous") + @commenter = I18n.t("notifier.note_comment_notification.anonymous", :locale => @locale) end if @owner - subject = I18n.t("notifier.note_comment_notification.#{@event}.subject_own", :commenter => @commenter) + subject = I18n.t("notifier.note_comment_notification.#{@event}.subject_own", :commenter => @commenter, :locale => @locale) else - subject = I18n.t("notifier.note_comment_notification.#{@event}.subject_other", :commenter => @commenter) + subject = I18n.t("notifier.note_comment_notification.#{@event}.subject_other", :commenter => @commenter, :locale => @locale) end mail :to => recipient.email, :subject => subject