about summary refs log tree commit diff
path: root/app/views/admin_mailer
diff options
context:
space:
mode:
authorunarist <m.unarist@gmail.com>2017-07-31 07:18:44 +0900
committerEugen Rochko <eugen@zeonfederated.com>2017-07-31 00:18:44 +0200
commit155ba8fd3a5300b68cb968520d082920a81165fa (patch)
treea4ccc9bd32d94c8c31d77114a75bf64433e0da7f /app/views/admin_mailer
parente44f03bc712c52d3af60f9accad1133f4b6de9ba (diff)
Make salutation of email localizable (#4454)
Diffstat (limited to 'app/views/admin_mailer')
-rw-r--r--app/views/admin_mailer/new_report.text.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/admin_mailer/new_report.text.erb b/app/views/admin_mailer/new_report.text.erb
index 6fa744bc3..671ae5ca7 100644
--- a/app/views/admin_mailer/new_report.text.erb
+++ b/app/views/admin_mailer/new_report.text.erb
@@ -1,4 +1,4 @@
-<%= display_name(@me) %>,
+<%= raw t('application_mailer.salutation', name: display_name(@me)) %>
 
 <%= raw t('admin_mailer.new_report.body', target: @report.target_account.acct, reporter: @report.account.acct) %>