]> 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 8a17ca6ae416eb9e6ee4ffbfe759f1ffe4d65bf6..3c672204459f5fc0681a69a4e30609ed41658415 100644 (file)
@@ -77,7 +77,7 @@ page << <<EOJ
   $("minlat").onchange = boundsChanged;
 
   function startDrag() {
-    $("drag_box").innerHTML='#{I18n.t('export.start_rjs.drag_a_box')}';
+    $("drag_box").innerHTML="#{I18n.t('export.start_rjs.drag_a_box')}";
 
     clearBox();
     box.activate();
@@ -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;