Add a tooltip to help & wiki/news blog/shop/map key

This commit is contained in:
Ævar Arnfjörð Bjarmason 2009-06-07 20:33:13 +00:00
parent 93a810f690
commit 91bc3c9244
3 changed files with 8 additions and 4 deletions

View file

@ -102,9 +102,9 @@
<% end %>
<div id="left_menu" class="left_menu">
<a href="<%= t 'layouts.help_wiki_url' %>"><%= t 'layouts.help_wiki' %></a><br />
<a href="http://www.opengeodata.org/"><%= t 'layouts.news_blog' %></a><br />
<a href="<%= t 'layouts.shop_url' %>"><%= t 'layouts.shop' %></a><br />
<a href="<%= t 'layouts.help_wiki_url' %>" title="<%= t 'layouts.help_wiki_tooltip' %>"><%= t 'layouts.help_wiki' %></a><br />
<a href="http://www.opengeodata.org" title="<%= t 'layouts.news_blog_tooltip' %>"><%= t 'layouts.news_blog' %></a><br />
<a href="<%= t 'layouts.shop_url' %>" title="<%= t 'layouts.shop_tooltip' %>"><%= t 'layouts.shop' %></a><br />
<%= yield :left_menu %>
</div>

View file

@ -1,5 +1,5 @@
<% content_for :left_menu do %>
<%= link_to_function t('site.key.map_key'), "showKey();" %>
<%= link_to_function t('site.key.map_key'), "showKey();", { :title => t('site.key.map_key_tooltip') } %>
<% end %>
<script type="text/javascript">

View file

@ -368,9 +368,12 @@ en:
donate: "Support OpenStreetMap by {{link}} to the Hardware Upgrade Fund."
donate_link_text: donating
help_wiki: "Help &amp; Wiki"
help_wiki_tooltip: "Help &amp; Wiki site for the project"
help_wiki_url: "http://wiki.openstreetmap.org"
news_blog: "News blog"
news_blog_tooltip: "News blog about OpenStreetMap, free geographical data, etc."
shop: Shop
shop_tooltip: Shop with branded OpenStreetMap
shop_url: http://wiki.openstreetmap.org/wiki/Merchandise
sotm: 'Come to the 2009 OpenStreetMap Conference, The State of the Map, July 10-12 in Amsterdam!'
alt_donation: Make a Donation
@ -558,6 +561,7 @@ en:
search_help: "examples: 'Alkmaar', 'Regent Street, Cambridge', 'CB2 5AQ', or 'post offices near Lünen' <a href='http://wiki.openstreetmap.org/wiki/Search'>more examples...</a>"
key:
map_key: "Map key"
map_key_tooltip: "Map key for the mapnik rendering at this zoom level"
trace:
create:
upload_trace: "Upload GPS Trace"