X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/486803f84ba085acd0aefe0a572318800fb9b3ee..e2cb38cd6e3a604f62937a8c76a73577d385fa1d:/app/views/site/_key.rhtml?ds=sidebyside diff --git a/app/views/site/_key.rhtml b/app/views/site/_key.rhtml index 9782b4cc5..bf7954783 100644 --- a/app/views/site/_key.rhtml +++ b/app/views/site/_key.rhtml @@ -12,12 +12,12 @@ else if (zoomlevel<15) { var imgname = 'keymapnik13.png'; } else { var imgname = 'keymapnik15.png'; } - updateSidebar("Map key", "
<\/p>");
+ updateSidebar("<%= t('site.key.map_key') %>", "
<\/p>");
openSidebar({ width: "210px" });
}
function updateKey() {
- if (sidebarOpen("Map key"))
+ if (sidebarOpen("<%= t('site.key.map_key') %>"))
{
showKey();
}