From 5da715756d385851fb4614f8345ca9699a7ed34f Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Mon, 12 Aug 2013 00:24:32 +0100 Subject: [PATCH] Fix "view larger map" link in HTML sharing --- app/assets/javascripts/leaflet.share.js | 3 ++- config/locales/en.yml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/app/assets/javascripts/leaflet.share.js b/app/assets/javascripts/leaflet.share.js index b53524f25..b5f45e01d 100644 --- a/app/assets/javascripts/leaflet.share.js +++ b/app/assets/javascripts/leaflet.share.js @@ -304,7 +304,8 @@ L.OSM.share = function (options) { '
' + - '' + + escapeHTML(I18n.t('javascripts.share.view_larger_map')) + ''); // Image diff --git a/config/locales/en.yml b/config/locales/en.yml index c01abe71a..adc98d585 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -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" -- 2.39.5