]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/site/_key.rhtml
Revert [15752]: The duplication of content intentional for dead-tree
[rails.git] / app / views / site / _key.rhtml
index fceeb80ba47994c110abd72df57cafe156072c43..f01cb67dd2fd8466ba6ab000b9e56afef49d5aa6 100644 (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">
@@ -17,7 +17,7 @@
   }
 
   function updateKey() {
-    if (sidebarOpen("Map key")) 
+    if (sidebarOpen("<%= t('site.key.map_key') %>")) 
     {
       showKey();
     }