diff --git a/app/mailers/notifier.rb b/app/mailers/notifier.rb index 5b5ea9ee6dba4acf1fe0ded4564865f1bee76399..834bb6ec5e65556c2e7f7689a4a1a5438bef516a 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 diff --git a/config/locales/diaspora/de.yml b/config/locales/diaspora/de.yml index 0f450cf10a9889f7b378d4198164d185612213b2..82c37d95e42210fb40ea9fb35f5d4a15ba059b12 100644 --- a/config/locales/diaspora/de.yml +++ b/config/locales/diaspora/de.yml @@ -488,7 +488,6 @@ de: Klick auf diesen Link um loszulegen %{invite_url} - <%= invite_code_url(@invitation_code)%> Alles Liebe, @@ -1016,4 +1015,4 @@ de: welcome: "Willkommen!" will_paginate: next_label: "nächstes »" - previous_label: "« voriges" \ No newline at end of file + previous_label: "« voriges"