Skip to content

Commit

Permalink
Change strings
Browse files Browse the repository at this point in the history
  • Loading branch information
Marc Altmann committed Feb 8, 2016
1 parent 0b3ea69 commit bc4c0cd
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion app/mailers/registrations_mailer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ class RegistrationsMailer < ActionMailer::Base

def voluntary_contribution_email(email, amount)
@amount = amount
mail(to: email, subject: 'Dein optionaler Grundbeitrag für Fairmondo')
mail(to: email, subject: 'Dein freiwilliger Grundbeitrag für Fairmondo')
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Bitte schließe den Prozess auf der Seite unseres Partners Fastbill ab:

<%= voluntary_contribution_link(@amount) %>

Dein optionaler Grundbeitrag ist innerhalb eines Monats kündbar. Schicke dazu eine E-Mail an: kundenservice@fairmondo.de
Dein freiwilliger Grundbeitrag wird stets zum ersten des Monats gebucht. Er ist jederzeit kündbar.

Mit fairen Grüßen,

Expand Down
2 changes: 1 addition & 1 deletion config/locales/old/gems/formtastic/de.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ de:
nickname: Nutzername
type: Ein gewerbliches Nutzerkonto anlegen
email: E-Mail-Adresse
voluntary_contribution: "Ich möchte Fairmondo mit einem optionalen monatlichen Grundbeitrag unterstützen (inkl. 19% MwSt., jederzeit kündbar)."
voluntary_contribution: "Ich möchte Fairmondo mit einem freiwilligen monatlichen Grundbeitrag unterstützen (inkl. 19% MwSt., jederzeit kündbar)."
image: Profilbild
password: "Passwort"
password_confirmation: "Passwort wiederholen"
Expand Down
2 changes: 1 addition & 1 deletion test/controllers/registrations_controller_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
post :create, @valid_params2
assert_equal 2, ActionMailer::Base.deliveries.size
email = ActionMailer::Base.deliveries.last
assert_equal 'Dein optionaler Grundbeitrag für Fairmondo', email.subject
assert_equal 'Dein freiwilliger Grundbeitrag für Fairmondo', email.subject
assert_equal ['jdoe@example.com'], email.to
assert_match(/vielen Dank für Deine Bereitschaft, die Weiterentwicklung von Fairmondo zu unterstützen!/,
email.body.to_s)
Expand Down
2 changes: 1 addition & 1 deletion test/mailers/registrations_mailer_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
it '#voluntary_contribution_email with amount of 3' do
mail = RegistrationsMailer.voluntary_contribution_email(email, 3)
mail.must deliver_to email
mail.subject.must_equal('Dein optionaler Grundbeitrag für Fairmondo')
mail.subject.must_equal('Dein freiwilliger Grundbeitrag für Fairmondo')
mail.must have_body_text 'vielen Dank für Deine Bereitschaft, die Weiterentwicklung von '\
'Fairmondo zu unterstützen!'
mail.must have_body_text 'https://automatic.fastbill.com/purchase/7f1d4c9a3c8e6ec21543fde6377132d6/25-1'
Expand Down

0 comments on commit bc4c0cd

Please sign in to comment.