projects
/
rails.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
ea8c1af
)
Translate heading for map key sidebar (uses existing site.map.map_key
author
Tom Hughes
<tom@compton.nu>
Tue, 2 Jun 2009 13:33:18 +0000
(13:33 +0000)
committer
Tom Hughes
<tom@compton.nu>
Tue, 2 Jun 2009 13:33:18 +0000
(13:33 +0000)
translation). Closes #1905.
app/views/site/_key.rhtml
patch
|
blob
|
history
diff --git
a/app/views/site/_key.rhtml
b/app/views/site/_key.rhtml
index 9782b4cc59ef6422229d173b68289563b40a960f..fceeb80ba47994c110abd72df57cafe156072c43 100644
(file)
--- a/
app/views/site/_key.rhtml
+++ b/
app/views/site/_key.rhtml
@@
-12,7
+12,7
@@
else if (zoomlevel<15) { var imgname = 'keymapnik13.png'; }
else { var imgname = 'keymapnik15.png'; }
- updateSidebar("
Map key
", "<p><img src='images/"+imgname+"' /><\/p>");
+ updateSidebar("
<%= t('site.key.map_key') %>
", "<p><img src='images/"+imgname+"' /><\/p>");
openSidebar({ width: "210px" });
}