X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/486803f84ba085acd0aefe0a572318800fb9b3ee..52bfc5a905f21f03efb71dfb00fadb3f05372ecb:/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(); }