Merge pull request #3128 from m4tze/master
email-invitation translation error in subject and body
This commit is contained in:
commit
2f7bed1f44
2 changed files with 2 additions and 3 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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,
|
||||||
|
|
@ -1016,4 +1015,4 @@ de:
|
||||||
welcome: "Willkommen!"
|
welcome: "Willkommen!"
|
||||||
will_paginate:
|
will_paginate:
|
||||||
next_label: "nächstes »"
|
next_label: "nächstes »"
|
||||||
previous_label: "« voriges"
|
previous_label: "« voriges"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue