diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/js/strings.js | 2 | ||||
-rw-r--r-- | src/js/views/offline.js | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/js/strings.js b/src/js/strings.js index 905b2c3..1fada88 100644 --- a/src/js/strings.js +++ b/src/js/strings.js @@ -38,6 +38,8 @@ geolocation_failed: "Sorry, but we weren't able to establish your location accurately enough to show you a map. Please enter a location in the search box instead", geolocation_denied: 'Could not access location services. Please check permissions.', select_category: '-- Pick a category --', + offline_got_position: 'Got position.', + offline_failed_position: 'Could not get position.', required: 'required', invalid_email: 'Invalid email', invalid_report: 'Invalid report', 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() { |