Date: Sun, 31 May 2009 16:44:58 +0000
Subject: [PATCH] i18n signup html
---
.../notifier/signup_confirm.text.html.rhtml | 16 ++++++++--------
config/locales/en.yml | 12 ++++++++++++
2 files changed, 20 insertions(+), 8 deletions(-)
diff --git a/app/views/notifier/signup_confirm.text.html.rhtml b/app/views/notifier/signup_confirm.text.html.rhtml
index 3831ab91b..a0b54add0 100644
--- a/app/views/notifier/signup_confirm.text.html.rhtml
+++ b/app/views/notifier/signup_confirm.text.html.rhtml
@@ -1,18 +1,18 @@
-Hi there!
+<%= t'notifier.signup_confirm_html.greeting' %>
-Someone (hopefully you) would like to create an account over at
+
<%= t'notifier.signup_confirm_html.hopefully_you' %>
<%= SERVER_URL %>.
-If this is you, welcome! Please click the link below to confirm that account and read on for more information about OpenStreetMap
+<%= t'notifier.signup_confirm_html.click_the_link' %>
<%= @url %>
-You can watch an introductory video to OpenStreetMap video here. There are more videos here.
+
<%= t'notifier.signup_confirm_html.introductory_video', :introductory_video_link => ('' + t('notifier.signup_confirm_html.video_to_openstreetmap') + '') %> <%= t'notifier.signup_confirm.more_videos', :more_videos_link => ('' + t('more_videos_here') + '') %>
-Get reading about OpenStreetMap on the wiki
or the opengeodata blog which has podcasts to listen to also!
+<%= t'notifier.signup_confirm_html.get_reading' %>
-You may also want to sign up to the OpenStreetMap wiki.
+<%= t'notifier.signup_confirm_html.wiki_signup' %>
-It is recommended that you create a user wiki page, which includes category tags noting where you are, such as [[Category:Users_in_London]].
+<%= t'notifier.signup_confirm_html.user_wiki_page' %>
-A list of current users in categories, based on where in the world they are, is available from Category:Users_by_geographical_region.
+<%= t'notifier.signup_confirm_html.current.user' %>
diff --git a/config/locales/en.yml b/config/locales/en.yml
index c3d004ac5..cf36f4cd3 100644
--- a/config/locales/en.yml
+++ b/config/locales/en.yml
@@ -303,6 +303,18 @@ en:
user_wiki_2: "category tags noting where you are, such as [[Category:Users_in_London]]."
current_user_1: "A list of current users in categories, based on where in the world"
current_user_2: "they are, is available from:"
+ signup_confirm_html:
+ greeting: "Hi there!"
+ hopefully_you: "Someone (hopefully you) would like to create an account over at"
+ click_the_link: "If this is you, welcome! Please click the link below to confirm that account and read on for more information about OpenStreetMap"
+ introductory_video: "You can watch an {{introductory_video_link}}."
+ video_to_openstreetmap: "introductory video to OpenStreetMap"
+ more_videos: "There are {{more_videos_link}}."
+ more_videos_here: "more videos here"
+ get_reading: 'Get reading about OpenStreetMap on the wiki