diff options
author | matze <matze@v14705.1blu.de> | 2012-04-09 02:25:08 +0400 |
---|---|---|
committer | matze <matze@v14705.1blu.de> | 2012-04-09 02:25:08 +0400 |
commit | 76073d45ed86dae9a371b5c83a72406dbda61b30 (patch) | |
tree | 2552d7bbc33ce05ae844c51ebda1cfd5adb44db5 /app/mailers | |
parent | 40fd47683628fe0b66953193c48ae0884c34d3d8 (diff) |
~FIX: changed the translate pattern inside notifier.rb: correct mail subject will be translated
~Translate: changed the mail contents of the invitation mail: no weird html string below the invitecode url.
- M
Diffstat (limited to 'app/mailers')
-rw-r--r-- | app/mailers/notifier.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/mailers/notifier.rb b/app/mailers/notifier.rb index 5b5ea9ee6..834bb6ec5 100644 --- a/app/mailers/notifier.rb +++ b/app/mailers/notifier.rb @@ -40,7 +40,7 @@ class Notifier < ActionMailer::Base @invitation_code = invitation_code mail_opts = {:to => email, :from => AppConfig[:smtp_sender_address], - :subject => I18n.t('notifier.invited!'), + :subject => I18n.t('notifier.invited_you', :name => @inviter.person.name), :host => AppConfig[:pod_uri].host} I18n.with_locale(locale) do |