aboutsummaryrefslogtreecommitdiffstats
path: root/web/js
diff options
context:
space:
mode:
authorSteven Day <steve@mysociety.org>2012-11-19 16:25:26 +0000
committerMatthew Somerville <matthew@mysociety.org>2012-12-10 11:46:51 +0000
commit90ad2b9c5550941d59a0a1a0673f700d35027cef (patch)
treed370e0c378420acb80f2e0cbd7140ad909889a96 /web/js
parent1c132bd736aef3e60699955f51ec23b9bfdfeacd (diff)
Make translation of geolocation text on homepage possible
Diffstat (limited to 'web/js')
-rw-r--r--web/js/fixmystreet.js2
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">&hellip; or locate me automatically</a>';
+ var link = '<a href="#LINK" id="geolocate_link">&hellip; ' + validation_strings.geolocate + '</a>';
$('form[action="/alert/list"]').append(link.replace('LINK','alert/list'));
if ($('body.frontpage').length) {
$('#postcodeForm').after(link.replace('LINK','around'));