X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/d0b845fc6025f2fb84a4cf4fa10cbb71084843a7..011237c2c5c82a638e3bbd5b78196baea576a5a9:/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(); }