]> git.openstreetmap.org Git - rails.git/commitdiff
Fixed some "lego" messages in plain text emails
authorTom Hughes <tom@compton.nu>
Tue, 7 May 2013 17:59:12 +0000 (18:59 +0100)
committerTom Hughes <tom@compton.nu>
Tue, 7 May 2013 17:59:12 +0000 (18:59 +0100)
app/views/notifier/email_confirm.text.erb
app/views/notifier/lost_password.text.erb
config/locales/en.yml

index 176ef2238ab5c190485293d9a2bf27f659df182a..db9ae0f93f5abb6117880d4b3e771e47094983cc 100644 (file)
@@ -1,7 +1,6 @@
 <%= t 'notifier.email_confirm_plain.greeting' %>
 
-<%= t 'notifier.email_confirm_plain.hopefully_you_1' %>
-<%= t 'notifier.email_confirm_plain.hopefully_you_2', :server_url => SERVER_URL, :new_address => @address %>
+<%= word_wrap(t 'notifier.email_confirm_plain.hopefully_you', :server_url => SERVER_URL, :new_address => @address) %>
 
 <%= t 'notifier.email_confirm_plain.click_the_link' %>
 
index 89381801f8d2beb24ee4e7162241253eaba60826..2b74e8e80f5a64f9e4cb8dee4b91de487634bdd7 100644 (file)
@@ -1,7 +1,6 @@
 <%= t 'notifier.lost_password_plain.greeting' %>
 
-<%= t 'notifier.lost_password_plain.hopefully_you_1' %>
-<%= t 'notifier.lost_password_plain.hopefully_you_2' %>
+<%= word_wrap(t 'notifier.lost_password_plain.hopefully_you') %>
 
 <%= t 'notifier.lost_password_plain.click_the_link' %>
 
index 315cc4aa693760e522ffdb5f50e5cbc403cd4895..1241e133981c1c6a3c048ea22db89f55ecbb705b 100644 (file)
@@ -1192,8 +1192,7 @@ en:
       subject: "[OpenStreetMap] Confirm your email address"
     email_confirm_plain:
       greeting: "Hi,"
-      hopefully_you_1: "Someone (hopefully you) would like to change their email address over at"
-      hopefully_you_2: "%{server_url} to %{new_address}."
+      hopefully_you: "Someone (hopefully you) would like to change their email address over at %{server_url} to %{new_address}."
       click_the_link: "If this is you, please click the link below to confirm the change."
     email_confirm_html:
       greeting: "Hi,"
@@ -1203,8 +1202,7 @@ en:
       subject: "[OpenStreetMap] Password reset request"
     lost_password_plain:
       greeting: "Hi,"
-      hopefully_you_1: "Someone (possibly you) has asked for the password to be reset on this"
-      hopefully_you_2: "email addresses openstreetmap.org account."
+      hopefully_you: "Someone (possibly you) has asked for the password to be reset on this email address's openstreetmap.org account."
       click_the_link: "If this is you, please click the link below to reset your password."
     lost_password_html:
       greeting: "Hi,"