~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
This commit is contained in:
matze 2012-04-09 00:25:08 +02:00
parent 40fd476836
commit 76073d45ed
2 changed files with 2 additions and 3 deletions

View file

@ -40,7 +40,7 @@ class Notifier < ActionMailer::Base
@invitation_code = invitation_code @invitation_code = invitation_code
mail_opts = {:to => email, :from => AppConfig[:smtp_sender_address], 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} :host => AppConfig[:pod_uri].host}
I18n.with_locale(locale) do I18n.with_locale(locale) do

View file

@ -488,7 +488,6 @@ de:
Klick auf diesen Link um loszulegen Klick auf diesen Link um loszulegen
%{invite_url} %{invite_url}
<%= invite_code_url(@invitation_code)%>
Alles Liebe, Alles Liebe,