]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/site/_key.rhtml
Make node/way/relation which is fed into the the 'browse.not_found.sorry' message...
[rails.git] / app / views / site / _key.rhtml
index 9782b4cc59ef6422229d173b68289563b40a960f..bf795478361bbf1207722bcd3c42b8f3e7301a54 100644 (file)
     else if (zoomlevel<15) { var imgname = 'keymapnik13.png'; }
     else                   { var imgname = 'keymapnik15.png'; }
 
-    updateSidebar("Map key", "<p><img src='images/"+imgname+"' /><\/p>");
+    updateSidebar("<%= t('site.key.map_key') %>", "<p><img src='images/"+imgname+"' /><\/p>");
     openSidebar({ width: "210px" });
   }
 
   function updateKey() {
-    if (sidebarOpen("Map key")) 
+    if (sidebarOpen("<%= t('site.key.map_key') %>")) 
     {
       showKey();
     }