diff options
author | Matthew Somerville <matthew@mysociety.org> | 2013-01-16 12:06:29 +0000 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2013-01-16 12:21:13 +0000 |
commit | 84021a8fb660661d60c68b4ee75906062dfb7f73 (patch) | |
tree | 069ca711bb3052b9888eefec87b05e01ead590ca /web/js/map-OpenLayers.js | |
parent | 197770171474954c9bc94687adce0223b2471c56 (diff) |
Add some missing JS translatable strings, update .po files.
Diffstat (limited to 'web/js/map-OpenLayers.js')
-rw-r--r-- | web/js/map-OpenLayers.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/web/js/map-OpenLayers.js b/web/js/map-OpenLayers.js index 85ab09889..b76a7b166 100644 --- a/web/js/map-OpenLayers.js +++ b/web/js/map-OpenLayers.js @@ -349,7 +349,7 @@ $(function(){ $('#sub_map_links').show(); //only on mobile $('#mob_sub_map_links').remove(); - $('.mobile-map-banner').html('<a href="/">Home</a> Place pin on map'); + $('.mobile-map-banner').html('<a href="/">' + translation_strings.home + '</a> ' + translation_strings.place_pin_on_map); fixmystreet.page = 'around'; }); @@ -538,13 +538,13 @@ OpenLayers.Control.Click = OpenLayers.Class(OpenLayers.Control, { height = $map_box.height(); $map_box.append( '<p id="mob_sub_map_links">' + - '<a href="#" id="try_again">Try again</a>' + + '<a href="#" id="try_again">' + translation_strings.try_again + '</a>' + '<a href="#ok" id="mob_ok">OK</a>' + '</p>' ).css({ position: 'relative', width: width, height: height, marginBottom: '1em' }); // Making it relative here makes it much easier to do the scrolling later - $('.mobile-map-banner').html('<a href="/">Home</a> Right place?'); + $('.mobile-map-banner').html('<a href="/">' + translation_strings.home + '</a> ' + translation_strings.right_place); // mobile user clicks 'ok' on map $('#mob_ok').toggle(function(){ |