X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/d0b845fc6025f2fb84a4cf4fa10cbb71084843a7..ae7f3f2786c2106528b98be8215d47c93785b1c2:/app/views/site/_key.rhtml 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();
}