]> git.openstreetmap.org Git - rails.git/commitdiff
i18n signup html
authorAndy Allan <gravitystorm@gmail.com>
Sun, 31 May 2009 16:44:58 +0000 (16:44 +0000)
committerAndy Allan <gravitystorm@gmail.com>
Sun, 31 May 2009 16:44:58 +0000 (16:44 +0000)
app/views/notifier/signup_confirm.text.html.rhtml
config/locales/en.yml

index 3831ab91b0dee0768ab256d101a2058b7596db5e..a0b54add03137477339c10fc422ba70e61085676 100644 (file)
@@ -1,18 +1,18 @@
-<p>Hi there!</p>
+<p><%= t'notifier.signup_confirm_html.greeting' %></p>
 
-<p>Someone (hopefully you) would like to create an account over at
+<p><%= t'notifier.signup_confirm_html.hopefully_you' %>
    <%= SERVER_URL %>.</p>
 
-<p>If this is you, welcome! Please click the link below to confirm that account and read on for more information about OpenStreetMap</p>
+<p><%= t'notifier.signup_confirm_html.click_the_link' %></p>
 
 <p><a href="<%= @url %>"><%= @url %></a></p>
 
-<p>You can watch an introductory video to OpenStreetMap <a href="http://showmedo.com/videos/video?name=1800000&fromSeriesID=180">video here</a>. There are more <a href="http://showmedo.com/videos/series?name=mS2P1ZqS6">videos here</a>.
+<p><%= t'notifier.signup_confirm_html.introductory_video', :introductory_video_link => ('<a href="http://showmedo.com/videos/video?name=1800000&fromSeriesID=180">' + t('notifier.signup_confirm_html.video_to_openstreetmap') + '</a>') %> <%= t'notifier.signup_confirm.more_videos', :more_videos_link => ('<a href="http://showmedo.com/videos/series?name=mS2P1ZqS6">' + t('more_videos_here') + '</a>') %>
 
-Get reading about OpenStreetMap <a href="http://wiki.openstreetmap.org/wiki/Beginners%27_Guide">on the wiki</p> or <a href="http://www.opengeodata.org/">the opengeodata blog</a> which has <a href="http://www.opengeodata.org/?cat=13">podcasts to listen to</a> also!
+<p><%= t'notifier.signup_confirm_html.get_reading' %></p>
 
-<p>You may also want to <a href="http://wiki.openstreetmap.org/index.php?title=Special:Userlogin&type=signup&returnto=Main_Page">sign up to the OpenStreetMap wiki</a>.</p>
+<p><%= t'notifier.signup_confirm_html.wiki_signup' %></p>
 
-<p>It is recommended that you create a user wiki page, which includes category tags noting where you are, such as <a href="http://wiki.openstreetmap.org/index.php/Category:Users_in_London">[[Category:Users_in_London]]</a>.</p> 
+<p><%= t'notifier.signup_confirm_html.user_wiki_page' %></p> 
 
-<p>A list of current users in categories, based on where in the world they are, is available from <a href="http://wiki.openstreetmap.org/index.php/Category:Users_by_geographical_region">Category:Users_by_geographical_region</a>.</p>
+<p><%= t'notifier.signup_confirm_html.current.user' %></p>
index c3d004ac5bbd93b5a02937c3ae728f1f59945445..cf36f4cd394c8d0be618432000895f130c663694 100644 (file)
@@ -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 <a href="http://wiki.openstreetmap.org/wiki/Beginners%27_Guide">on the wiki</p> or  <a href="http://www.opengeodata.org/">the opengeodata blog</a> which has <a href="http://www.opengeodata.org/?cat=13">podcasts to listen to</a> also!'
+      wiki_signup: 'You may also want to <a href="http://wiki.openstreetmap.org/index.php?title=Special:Userlogin&type=signup&returnto=Main_Page">sign up to the OpenStreetMap wiki</a>.'
+      user_wiki_page: 'It is recommended that you create a user wiki page, which includes category tags noting where you are, such as <a href="http://wiki.openstreetmap.org/index.php/Category:Users_in_London">[[Category:Users_in_London]]</a>.'
+      current_user: 'A list of current users in categories, based on where in the world they are, is available from <a href="http://wiki.openstreetmap.org/index.php/Category:Users_by_geographical_region">Category:Users_by_geographical_region</a>.'
   site:
     index:
       js_1: "You are either using a browser that doesn't support javascript, or you have disabled javascript."