From 546c4718e781f8900ba6498307ccb1e659de5edd Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Tue, 15 Nov 2016 23:56:03 +0100 Subject: Localizations for most server-side strings --- app/views/notification_mailer/favourite.text.erb | 2 +- app/views/notification_mailer/follow.text.erb | 2 +- app/views/notification_mailer/mention.text.erb | 2 +- app/views/notification_mailer/reblog.text.erb | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'app/views/notification_mailer') 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' %> -- cgit