about summary refs log tree commit diff
path: root/app/views/notification_mailer
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-11-15 23:56:03 +0100
committerEugen Rochko <eugen@zeonfederated.com>2016-11-16 00:55:33 +0100
commit546c4718e781f8900ba6498307ccb1e659de5edd (patch)
treef69b4941a8806cceff656991cffc46c9661654e7 /app/views/notification_mailer
parent3ce6ac0ce2e482bc1f2784c3c7f716172b151902 (diff)
Localizations for most server-side strings
Diffstat (limited to 'app/views/notification_mailer')
-rw-r--r--app/views/notification_mailer/favourite.text.erb2
-rw-r--r--app/views/notification_mailer/follow.text.erb2
-rw-r--r--app/views/notification_mailer/mention.text.erb2
-rw-r--r--app/views/notification_mailer/reblog.text.erb2
4 files changed, 4 insertions, 4 deletions
diff --git a/app/views/notification_mailer/favourite.text.erb b/app/views/notification_mailer/favourite.text.erb
index 1b6fa274c..b2e1e3e9e 100644
--- a/app/views/notification_mailer/favourite.text.erb
+++ b/app/views/notification_mailer/favourite.text.erb
@@ -1,5 +1,5 @@
 <%= display_name(@me) %>,
 
-Your status was favourited by <%= @account.acct %>:
+<%= t('notification_mailer.favourite.body', name: @account.acct) %>
 
 <%= render partial: 'status' %>
diff --git a/app/views/notification_mailer/follow.text.erb b/app/views/notification_mailer/follow.text.erb
index 4098e4846..4b2ec142c 100644
--- a/app/views/notification_mailer/follow.text.erb
+++ b/app/views/notification_mailer/follow.text.erb
@@ -1,5 +1,5 @@
 <%= display_name(@me) %>,
 
-<%= @account.acct %> is now following you!
+<%= t('notification_mailer.follow.body', name: @account.acct) %>
 
 <%= web_url("accounts/#{@account.id}") %>
diff --git a/app/views/notification_mailer/mention.text.erb b/app/views/notification_mailer/mention.text.erb
index 72dc1b009..31a294bb9 100644
--- a/app/views/notification_mailer/mention.text.erb
+++ b/app/views/notification_mailer/mention.text.erb
@@ -1,5 +1,5 @@
 <%= display_name(@me) %>,
 
-You were mentioned by <%= @status.account.acct %> in:
+<%= t('notification_mailer.mention.body', name: @status.account.acct) %>
 
 <%= render partial: 'status' %>
diff --git a/app/views/notification_mailer/reblog.text.erb b/app/views/notification_mailer/reblog.text.erb
index 2077e949e..7af8052ca 100644
--- a/app/views/notification_mailer/reblog.text.erb
+++ b/app/views/notification_mailer/reblog.text.erb
@@ -1,5 +1,5 @@
 <%= display_name(@me) %>,
 
-Your status was reblogged by <%= @account.acct %>:
+<%= t('notification_mailer.reblog.body', name: @account.acct) %>
 
 <%= render partial: 'status' %>