aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--locale/FixMyStreetMobileApp.po32
-rw-r--r--locale/en_GB.UTF-8/LC_MESSAGES/FixMyStreetMobileApp.po32
-rw-r--r--src/js/strings.js2
-rw-r--r--src/js/views/offline.js4
-rw-r--r--templates/strings.js2
5 files changed, 46 insertions, 26 deletions
diff --git a/locale/FixMyStreetMobileApp.po b/locale/FixMyStreetMobileApp.po
index 2858f00..6f116b5 100644
--- a/locale/FixMyStreetMobileApp.po
+++ b/locale/FixMyStreetMobileApp.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: 1.0\n"
"Report-Msgid-Bugs-To: struan@mysociety.org\n"
-"POT-Creation-Date: 2013-09-16 13:09+0100\n"
+"POT-Creation-Date: 2013-09-16 17:01+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <team@fixmystreet.com>\n"
@@ -77,6 +77,10 @@ msgstr ""
msgid "Could not access location services. Please check permissions."
msgstr ""
+#: templates/strings.js:42
+msgid "Could not get position."
+msgstr ""
+
#: templates/reports.html:25
msgid "Delete"
msgstr ""
@@ -109,6 +113,10 @@ msgstr ""
msgid "Further Details"
msgstr ""
+#: templates/strings.js:41
+msgid "Got position."
+msgstr ""
+
#: templates/login.html:2 templates/reports.html:2 templates/sent.html:2
msgid "Home"
msgstr ""
@@ -129,11 +137,11 @@ msgstr ""
msgid "If you start compiling a report, but don't finish and send it, it'll appear in this menu so you can finish it later"
msgstr ""
-#: templates/strings.js:42
+#: templates/strings.js:44
msgid "Invalid email"
msgstr ""
-#: templates/strings.js:43
+#: templates/strings.js:45
msgid "Invalid report"
msgstr ""
@@ -149,7 +157,7 @@ msgstr ""
msgid "Login"
msgstr ""
-#: templates/strings.js:51
+#: templates/strings.js:53
msgid "More details"
msgstr ""
@@ -165,7 +173,7 @@ msgstr ""
msgid "Next"
msgstr ""
-#: templates/strings.js:50
+#: templates/strings.js:52
msgid "No network connection available for submitting your report. Please try again later."
msgstr ""
@@ -189,7 +197,7 @@ msgstr ""
msgid "Optionally enter your phone number"
msgstr ""
-#: templates/strings.js:45
+#: templates/strings.js:47
msgid "Photo added"
msgstr ""
@@ -281,7 +289,7 @@ msgstr ""
msgid "Reposition Report Here"
msgstr ""
-#: templates/strings.js:49
+#: templates/strings.js:51
msgid "Save for Later"
msgstr ""
@@ -385,11 +393,11 @@ msgstr ""
msgid "There was a problem submitting your report. Please try again."
msgstr ""
-#: templates/strings.js:44
+#: templates/strings.js:46
msgid "There was a problem taking your photo."
msgstr ""
-#: templates/strings.js:47
+#: templates/strings.js:49
msgid "There was a problem uploading your report."
msgstr ""
@@ -417,7 +425,7 @@ msgstr ""
msgid "To skip this step in future, you can set a password now."
msgstr ""
-#: templates/offline.html:2 templates/strings.js:48
+#: templates/offline.html:2 templates/strings.js:50
msgid "Try Again"
msgstr ""
@@ -425,7 +433,7 @@ msgstr ""
msgid "Unsent Report"
msgstr ""
-#: templates/strings.js:46
+#: templates/strings.js:48
msgid "Uploading images may take some time, please be patient"
msgstr ""
@@ -457,7 +465,7 @@ msgstr ""
msgid "discard"
msgstr ""
-#: templates/strings.js:41
+#: templates/strings.js:43
msgid "required"
msgstr ""
diff --git a/locale/en_GB.UTF-8/LC_MESSAGES/FixMyStreetMobileApp.po b/locale/en_GB.UTF-8/LC_MESSAGES/FixMyStreetMobileApp.po
index 902f85e..21c0d5b 100644
--- a/locale/en_GB.UTF-8/LC_MESSAGES/FixMyStreetMobileApp.po
+++ b/locale/en_GB.UTF-8/LC_MESSAGES/FixMyStreetMobileApp.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: 1.0\n"
"Report-Msgid-Bugs-To: struan@mysociety.org\n"
-"POT-Creation-Date: 2013-09-16 13:09+0100\n"
+"POT-Creation-Date: 2013-09-16 17:01+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <team@fixmystreet.com>\n"
@@ -78,6 +78,10 @@ msgstr ""
msgid "Could not access location services. Please check permissions."
msgstr ""
+#: templates/strings.js:42
+msgid "Could not get position."
+msgstr ""
+
#: templates/reports.html:25
msgid "Delete"
msgstr ""
@@ -112,6 +116,10 @@ msgstr ""
msgid "Further Details"
msgstr ""
+#: templates/strings.js:41
+msgid "Got position."
+msgstr ""
+
#: templates/login.html:2 templates/reports.html:2 templates/sent.html:2
msgid "Home"
msgstr ""
@@ -134,11 +142,11 @@ msgid ""
"in this menu so you can finish it later"
msgstr ""
-#: templates/strings.js:42
+#: templates/strings.js:44
msgid "Invalid email"
msgstr ""
-#: templates/strings.js:43
+#: templates/strings.js:45
msgid "Invalid report"
msgstr ""
@@ -154,7 +162,7 @@ msgstr ""
msgid "Login"
msgstr ""
-#: templates/strings.js:51
+#: templates/strings.js:53
msgid "More details"
msgstr ""
@@ -173,7 +181,7 @@ msgstr ""
msgid "Next"
msgstr ""
-#: templates/strings.js:50
+#: templates/strings.js:52
msgid ""
"No network connection available for submitting your report. Please try again "
"later."
@@ -204,7 +212,7 @@ msgstr ""
msgid "Optionally enter your phone number"
msgstr ""
-#: templates/strings.js:45
+#: templates/strings.js:47
msgid "Photo added"
msgstr ""
@@ -301,7 +309,7 @@ msgstr ""
msgid "Reposition Report Here"
msgstr ""
-#: templates/strings.js:49
+#: templates/strings.js:51
msgid "Save for Later"
msgstr ""
@@ -415,11 +423,11 @@ msgstr ""
msgid "There was a problem submitting your report. Please try again."
msgstr ""
-#: templates/strings.js:44
+#: templates/strings.js:46
msgid "There was a problem taking your photo."
msgstr ""
-#: templates/strings.js:47
+#: templates/strings.js:49
msgid "There was a problem uploading your report."
msgstr ""
@@ -455,7 +463,7 @@ msgstr ""
msgid "To skip this step in future, you can set a password now."
msgstr ""
-#: templates/offline.html:2 templates/strings.js:48
+#: templates/offline.html:2 templates/strings.js:50
msgid "Try Again"
msgstr ""
@@ -463,7 +471,7 @@ msgstr ""
msgid "Unsent Report"
msgstr ""
-#: templates/strings.js:46
+#: templates/strings.js:48
msgid "Uploading images may take some time, please be patient"
msgstr ""
@@ -500,7 +508,7 @@ msgstr ""
msgid "discard"
msgstr ""
-#: templates/strings.js:41
+#: templates/strings.js:43
msgid "required"
msgstr ""
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() {
diff --git a/templates/strings.js b/templates/strings.js
index d5bbc54..58f1a80 100644
--- a/templates/strings.js
+++ b/templates/strings.js
@@ -38,6 +38,8 @@
geolocation_failed: "[% loc("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: '[% loc('Could not access location services. Please check permissions.') %]',
select_category: '[% loc('-- Pick a category --') %]',
+ offline_got_position: '[% loc('Got position.') %]',
+ offline_failed_position: '[% loc('Could not get position.') %]',
required: '[% loc('required') %]',
invalid_email: '[% loc('Invalid email') %]',
invalid_report: '[% loc('Invalid report') %]',