diff --git a/app/views/site/_key.rhtml b/app/views/site/_key.rhtml
index fceeb80ba..bf7954783 100644
--- a/app/views/site/_key.rhtml
+++ b/app/views/site/_key.rhtml
@@ -17,7 +17,7 @@
}
function updateKey() {
- if (sidebarOpen("Map key"))
+ if (sidebarOpen("<%= t('site.key.map_key') %>"))
{
showKey();
}