X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/52126dc3c1ff197d2e73b7876768c0c0677ff94d..596ab82461c6662cbfbe027c16e332d75a1e3c2e:/public/javascripts/site.js diff --git a/public/javascripts/site.js b/public/javascripts/site.js index 17b2f0668..9dbb2a640 100644 --- a/public/javascripts/site.js +++ b/public/javascripts/site.js @@ -62,7 +62,7 @@ function updatelinks(lon,lat,zoom,layers,minlon,minlat,maxlon,maxlat,objtype,obj node.href = setArgs("/edit", args); node.style.fontStyle = 'normal'; } else { - node.href = 'javascript:alert(rails_i18n["layouts.edit_zoom_alert"]);'; + node.href = 'javascript:alert(rails_i18n["javascripts.site.edit_zoom_alert"]);'; node.style.fontStyle = 'italic'; } } @@ -87,7 +87,7 @@ function updatelinks(lon,lat,zoom,layers,minlon,minlat,maxlon,maxlat,objtype,obj node.href = setArgs("/history", args); node.style.fontStyle = 'normal'; } else { - node.href = 'javascript:alert(rails_i18n["layouts.history_zoom_alert"]);'; + node.href = 'javascript:alert(rails_i18n["javascripts.site.history_zoom_alert"]);'; node.style.fontStyle = 'italic'; } }