]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/export/start.rjs
Make messages relating to public editing translatable
[rails.git] / app / views / export / start.rjs
index c146e236d948302e889f997a45f1398cbbc5da1d..3c672204459f5fc0681a69a4e30609ed41658415 100644 (file)
@@ -248,7 +248,7 @@ page << <<EOJ
     
     var layers = getMapLayers();
 
-    html += '<br /><small><a href="http://#{SERVER_URL}/?lat='+center.lat+'&lon='+center.lon+'&zoom='+zoom+'&layers='+layers+markerUrl+'">'+"#{I18n.t('export.start_rjs.view_larger_map')}"+'</a></small>';
+    html += '<br /><small><a href="http://#{SERVER_URL}/?lat='+center.lat+'&lon='+center.lon+'&zoom='+zoom+'&layers='+layers+markerUrl+'">'+"#{html_escape_unicode(I18n.t('export.start_rjs.view_larger_map'))}"+'</a></small>';
 
     $("export_html_text").value = html;