From 9071540400f2209bd6672651b161e7813944ed9d Mon Sep 17 00:00:00 2001 From: Maxwell Salzberg Date: Mon, 4 Jun 2012 14:04:39 -0700 Subject: [PATCH] use pod name helper in emails --- app/views/layouts/notifier.html.erb | 2 +- app/views/layouts/notifier.text.haml | 2 +- config/locales/diaspora/en.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/views/layouts/notifier.html.erb b/app/views/layouts/notifier.html.erb index 00cf08d2c..816ecb34b 100644 --- a/app/views/layouts/notifier.html.erb +++ b/app/views/layouts/notifier.html.erb @@ -17,7 +17,7 @@
- <%= t('notifier.email_sent_by_diaspora') %> + <%= t('notifier.email_sent_by_diaspora', :pod_name => pod_name) %> <%= t('notifier.click_here') %> diff --git a/app/views/layouts/notifier.text.haml b/app/views/layouts/notifier.text.haml index 88e0f4918..edfbf60d0 100644 --- a/app/views/layouts/notifier.text.haml +++ b/app/views/layouts/notifier.text.haml @@ -1,4 +1,4 @@ != yield -!= t('notifier.email_sent_by_diaspora') +!= t('notifier.email_sent_by_diaspora', :pod_name => pod_name) != t('notifier.to_change_your_notification_settings') != edit_user_url diff --git a/config/locales/diaspora/en.yml b/config/locales/diaspora/en.yml index 52eb87521..945f920b0 100644 --- a/config/locales/diaspora/en.yml +++ b/config/locales/diaspora/en.yml @@ -549,7 +549,7 @@ en: notifier: a_post_you_shared: "a post." - email_sent_by_diaspora: "This email was sent by Diaspora. If you'd like to stop getting emails like this," + email_sent_by_diaspora: "This email was sent by %{pod_name}. If you'd like to stop getting emails like this," click_here: "click here" hello: "Hello %{name}!" thanks: "Thanks,"