diff options
author | Steven Day <steve@mysociety.org> | 2012-11-19 16:25:26 +0000 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2012-12-10 11:46:51 +0000 |
commit | 90ad2b9c5550941d59a0a1a0673f700d35027cef (patch) | |
tree | d370e0c378420acb80f2e0cbd7140ad909889a96 /web/js/fixmystreet.js | |
parent | 1c132bd736aef3e60699955f51ec23b9bfdfeacd (diff) |
Make translation of geolocation text on homepage possible
Diffstat (limited to 'web/js/fixmystreet.js')
-rw-r--r-- | web/js/fixmystreet.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/js/fixmystreet.js b/web/js/fixmystreet.js index 6ae4ed92d..98e92606d 100644 --- a/web/js/fixmystreet.js +++ b/web/js/fixmystreet.js @@ -134,7 +134,7 @@ $(function(){ // Geolocation if (geo_position_js.init()) { - var link = '<a href="#LINK" id="geolocate_link">… or locate me automatically</a>'; + var link = '<a href="#LINK" id="geolocate_link">… ' + validation_strings.geolocate + '</a>'; $('form[action="/alert/list"]').append(link.replace('LINK','alert/list')); if ($('body.frontpage').length) { $('#postcodeForm').after(link.replace('LINK','around')); |