]> git.openstreetmap.org Git - rails.git/commitdiff
Adding some missing translations from the left menu
authorShaun McDonald <shaun@shaunmcdonald.me.uk>
Fri, 29 May 2009 12:01:31 +0000 (12:01 +0000)
committerShaun McDonald <shaun@shaunmcdonald.me.uk>
Fri, 29 May 2009 12:01:31 +0000 (12:01 +0000)
app/views/layouts/site.rhtml
config/locales/en.yml

index f7e9304542265e6ade8a2ff96e8500918f7c07b5..b524b416736dcb7579bad2e43c085bab4c830d48 100644 (file)
       <% end %>
 
       <div id="left_menu" class="left_menu">
-        <a href="http://wiki.openstreetmap.org">Help &amp; Wiki</a><br />
-        <a href="http://www.opengeodata.org/">News blog</a><br />
-        <a href="http://wiki.openstreetmap.org/index.php/Merchandise">Shop</a><br />
+        <a href="http://wiki.openstreetmap.org"><%= t 'layouts.help_wiki' %></a><br />
+        <a href="http://www.opengeodata.org/"><%= t 'layouts.news_blog' %></a><br />
+        <a href="http://wiki.openstreetmap.org/index.php/Merchandise"><%= t 'layouts.shop' %></a><br />
         <%= yield :left_menu %>
       </div>
 
index 62071e856cae6ded7011b55229bb1cd7249a0a43..360b62c12666a8d66c2d8076d5db911beecc183e 100644 (file)
@@ -54,6 +54,9 @@ en:
     osm_read_only: "The OpenStreetMap database is currently in read-only mode while essential database maintenance work is carried out."
     donate: "Support OpenStreetMap by {{link}} to the Hardware Upgrade Fund."
     donate_link_text: donating
+    help_wiki: "Help &amp; Wiki"
+    news_blog: "News blog"
+    shop: Shop
     sotm: 'Come to the 2009 OpenStreetMap Conference, <a href="http://www.stateofthemap.org">The State of the Map</a>, July 10-12 in Amsterdam!'
     alt_donation: Make a Donation
   site: