Translate heading for map key sidebar (uses existing site.map.map_key
authorTom Hughes <tom@compton.nu>
Tue, 2 Jun 2009 13:33:18 +0000 (13:33 +0000)
committerTom Hughes <tom@compton.nu>
Tue, 2 Jun 2009 13:33:18 +0000 (13:33 +0000)
translation). Closes #1905.

app/views/site/_key.rhtml

index 9782b4cc59ef6422229d173b68289563b40a960f..fceeb80ba47994c110abd72df57cafe156072c43 100644 (file)
@@ -12,7 +12,7 @@
     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" });
   }