Fix "view larger map" link in HTML sharing

This commit is contained in:
Tom Hughes 2013-08-12 00:24:32 +01:00
parent 9d68b65cd3
commit 5da715756d
2 changed files with 3 additions and 2 deletions

View file

@ -304,7 +304,8 @@ L.OSM.share = function (options) {
'<iframe width="425" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="' +
escapeHTML('http://' + OSM.SERVER_URL + '/export/embed.html?' + $.param(params)) +
'" style="border: 1px solid black"></iframe><br/>' +
'<small><a href="' + escapeHTML(map.getUrl(marker)) + '</a></small>');
'<small><a href="' + escapeHTML(map.getUrl(marker)) + '">' +
escapeHTML(I18n.t('javascripts.share.view_larger_map')) + '</a></small>');
// Image

View file

@ -459,7 +459,6 @@ en:
click_add_marker: "Click on the map to add a marker"
change_marker: "Change marker position"
add_marker: "Add a marker to the map"
view_larger_map: "View Larger Map"
geocoder:
search:
title:
@ -2065,6 +2064,7 @@ en:
include_marker: "Include marker"
center_marker: "Center map on marker"
paste_html: "Paste HTML to embed in website"
view_larger_map: "View Larger Map"
key:
title: "Map Key"
tooltip: "Map Key"