aboutsummaryrefslogtreecommitdiffstats
path: root/src/js/views/offline.js
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2013-09-16 17:02:25 +0100
committerStruan Donald <struan@exo.org.uk>2013-09-16 17:02:25 +0100
commit6ee7d197f163db2020e5a315a33afc1db4fe977e (patch)
treef68f236ea061aeb719dd76bc07a707682039af78 /src/js/views/offline.js
parent77d77ebd3825f0da841bed378b96d5b08c56704d (diff)
Remove hardcoded position result strings from offline page
Diffstat (limited to 'src/js/views/offline.js')
-rw-r--r--src/js/views/offline.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/js/views/offline.js b/src/js/views/offline.js
index c90cd90..5f25223 100644
--- a/src/js/views/offline.js
+++ b/src/js/views/offline.js
@@ -59,7 +59,7 @@
this.finishedLocating();
this.locateCount = 21;
- $('#locate_result').html('Could not get position');
+ $('#locate_result').html(FMS.strings.offline_failed_position);
},
gotLocation: function(info) {
@@ -68,7 +68,7 @@
this.model.set('lat', info.coordinates.latitude);
this.model.set('lon', info.coordinates.longitude);
- $('#locate_result').html('Got position.');
+ $('#locate_result').html(FMS.strings.offline_got_position);
},
takePhoto: function() {