]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/layouts/site.rhtml
Make the rest of the email translatable.
[rails.git] / app / views / layouts / site.rhtml
index f7e9304542265e6ade8a2ff96e8500918f7c07b5..aa534d63aded2eaa9904cfcd6ff42028c537a7ea 100644 (file)
 
       <% if false %>
       <div id="donate" class="notice">
-        <%= t 'layouts.donate', :link => "<a href=\"http://donate.openstreetmap.org/\">#{donate_link_text}</a>" %>
+        <%= t 'layouts.donate', :link => "<a href=\"http://donate.openstreetmap.org/\">#{t('layouts.donate_link_text')}</a>" %>
       </div>
       <% 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/wiki/Merchandise"><%= t 'layouts.shop' %></a><br />
         <%= yield :left_menu %>
       </div>
 
       <div id="sotm" class="notice">
-        <%= t 'layouts.sotm' %>
+        <%= link_to image_tag("sotm.png", :alt => t('layouts.sotm'), :title => t('layouts.sotm'), :border => "0"), "http://www.stateofthemap.org/register" %>
       </div>
 
       <%= yield :optionals %>
 
       <center>
         <div class="button" style="width: 115px">
-          <a href="http://donate.openstreetmap.org/"><img src="/images/donate.png" border="0" alt="<%= t 'layouts.alt_donation' %>" /></a>
+          <a href="http://donate.openstreetmap.org/"><img src="/images/donate.png" border="0" alt="<%= t 'layouts.alt_donation' %>" title="<%= t 'layouts.alt_donation' %>" /></a>
         </div>
 
         <div id="cclogo" class="button" style="width: 88px">