Have a nice translated alt and title for the sotm and donation.

This commit is contained in:
Shaun McDonald 2009-05-31 14:51:41 +00:00
parent ce2f61a22c
commit 37749e07e1
2 changed files with 4 additions and 4 deletions

View file

@ -98,7 +98,7 @@
<% 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 %>
@ -110,14 +110,14 @@
</div>
<div id="sotm" class="notice">
<%= link_to image_tag("sotm.png", :alt => "State of the Map", :border => "0"), "http://www.stateofthemap.org/" %>
<%= link_to image_tag("sotm.png", :alt => t('layouts.sotm'), :title => t('layouts.sotm'), :border => "0"), "http://www.stateofthemap.org/" %>
</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">

View file

@ -233,7 +233,7 @@ en:
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!'
sotm: 'Come to the 2009 OpenStreetMap Conference, The State of the Map, July 10-12 in Amsterdam!'
alt_donation: Make a Donation
site:
index: