aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--locale/FixMyStreetMobileApp.po52
-rw-r--r--locale/en_GB.UTF-8/LC_MESSAGES/FixMyStreetMobileApp.po52
-rw-r--r--src/js/strings.js1
-rw-r--r--src/js/views/around.js2
-rw-r--r--templates/strings.js1
5 files changed, 59 insertions, 49 deletions
diff --git a/locale/FixMyStreetMobileApp.po b/locale/FixMyStreetMobileApp.po
index e9cb170..d5f2693 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-08-09 15:45+0100\n"
+"POT-Creation-Date: 2013-08-09 15:48+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"
@@ -21,7 +21,7 @@ msgstr ""
msgid "(optional)"
msgstr ""
-#: templates/existing.html:12 templates/strings.js:39
+#: templates/existing.html:12 templates/strings.js:40
msgid "-- Pick a category --"
msgstr ""
@@ -45,7 +45,7 @@ msgstr ""
msgid "Add an existing photo"
msgstr ""
-#: templates/strings.js:30
+#: templates/strings.js:31
msgid "An error was encountered when submitting your report: "
msgstr ""
@@ -73,11 +73,11 @@ msgstr ""
msgid "Continue"
msgstr ""
-#: templates/strings.js:38
+#: templates/strings.js:39
msgid "Could not access location services. Please check permissions."
msgstr ""
-#: templates/strings.js:37
+#: templates/strings.js:38
msgid "Could not determine your location, please search for a street name and area, or postcode instead."
msgstr ""
@@ -129,11 +129,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:41
+#: templates/strings.js:42
msgid "Invalid email"
msgstr ""
-#: templates/strings.js:42
+#: templates/strings.js:43
msgid "Invalid report"
msgstr ""
@@ -141,7 +141,7 @@ msgstr ""
msgid "Locate"
msgstr ""
-#: templates/strings.js:27
+#: templates/strings.js:28
msgid "Location error"
msgstr ""
@@ -149,11 +149,11 @@ msgstr ""
msgid "Login"
msgstr ""
-#: templates/strings.js:49
+#: templates/strings.js:50
msgid "More details"
msgstr ""
-#: templates/strings.js:29
+#: templates/strings.js:30
msgid "More than one location matched that name. Select one below or try entering street name and area, or a postcode."
msgstr ""
@@ -165,7 +165,7 @@ msgstr ""
msgid "Next"
msgstr ""
-#: templates/strings.js:48
+#: templates/strings.js:49
msgid "No network connection available for submitting your report. Please try again later."
msgstr ""
@@ -197,7 +197,7 @@ msgstr ""
msgid "Please confirm your name, if you want it to be public and optionally your phone number."
msgstr ""
-#: templates/strings.js:33
+#: templates/strings.js:34
msgid "Please enter a location"
msgstr ""
@@ -249,7 +249,7 @@ msgstr ""
msgid "Please give us some basic details, and you're nearly done."
msgstr ""
-#: templates/strings.js:36
+#: templates/strings.js:37
msgid "Please search for a street name and area, or postcode."
msgstr ""
@@ -273,7 +273,7 @@ msgstr ""
msgid "Reposition Report Here"
msgstr ""
-#: templates/strings.js:47
+#: templates/strings.js:48
msgid "Save for Later"
msgstr ""
@@ -281,6 +281,10 @@ msgstr ""
msgid "Save for later"
msgstr ""
+#: templates/strings.js:27
+msgid "Search for a place or postcode"
+msgstr ""
+
#: templates/around.html:29
msgid "Search or scroll the map"
msgstr ""
@@ -329,11 +333,11 @@ msgstr ""
msgid "There isn't an internet connection, do you want to save the current report for later?"
msgstr ""
-#: templates/strings.js:35
+#: templates/strings.js:36
msgid "There was a problem checking if we have all the details we need. Please try again later."
msgstr ""
-#: templates/strings.js:34
+#: templates/strings.js:35
msgid "There was a problem checking we cover this location. Please try again later."
msgstr ""
@@ -349,23 +353,23 @@ msgstr ""
msgid "There was a problem logging you out. Please try again later."
msgstr ""
-#: templates/strings.js:28
+#: templates/strings.js:29
msgid "There was a problem looking up your location."
msgstr ""
-#: templates/strings.js:31
+#: templates/strings.js:32
msgid "There was a problem submitting your report. Please try again later."
msgstr ""
-#: templates/strings.js:32
+#: templates/strings.js:33
msgid "There was a problem submitting your report. Please try again."
msgstr ""
-#: templates/strings.js:43
+#: templates/strings.js:44
msgid "There was a problem taking your photo."
msgstr ""
-#: templates/strings.js:45
+#: templates/strings.js:46
msgid "There was a problem uploading your report."
msgstr ""
@@ -389,7 +393,7 @@ msgstr ""
msgid "To skip this step in future, you can set a password now."
msgstr ""
-#: templates/offline.html:2 templates/strings.js:46
+#: templates/offline.html:2 templates/strings.js:47
msgid "Try Again"
msgstr ""
@@ -397,7 +401,7 @@ msgstr ""
msgid "Unsent Report"
msgstr ""
-#: templates/strings.js:44
+#: templates/strings.js:45
msgid "Uploading images may take some time, please be patient"
msgstr ""
@@ -429,7 +433,7 @@ msgstr ""
msgid "discard"
msgstr ""
-#: templates/strings.js:40
+#: templates/strings.js:41
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 ac0c92c..d8f52f1 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-08-09 15:45+0100\n"
+"POT-Creation-Date: 2013-08-09 15:48+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"
@@ -22,7 +22,7 @@ msgstr ""
msgid "(optional)"
msgstr ""
-#: templates/existing.html:12 templates/strings.js:39
+#: templates/existing.html:12 templates/strings.js:40
msgid "-- Pick a category --"
msgstr ""
@@ -46,7 +46,7 @@ msgstr ""
msgid "Add an existing photo"
msgstr ""
-#: templates/strings.js:30
+#: templates/strings.js:31
msgid "An error was encountered when submitting your report: "
msgstr ""
@@ -74,11 +74,11 @@ msgstr ""
msgid "Continue"
msgstr ""
-#: templates/strings.js:38
+#: templates/strings.js:39
msgid "Could not access location services. Please check permissions."
msgstr ""
-#: templates/strings.js:37
+#: templates/strings.js:38
msgid ""
"Could not determine your location, please search for a street name and area, "
"or postcode instead."
@@ -134,11 +134,11 @@ msgid ""
"in this menu so you can finish it later"
msgstr ""
-#: templates/strings.js:41
+#: templates/strings.js:42
msgid "Invalid email"
msgstr ""
-#: templates/strings.js:42
+#: templates/strings.js:43
msgid "Invalid report"
msgstr ""
@@ -146,7 +146,7 @@ msgstr ""
msgid "Locate"
msgstr ""
-#: templates/strings.js:27
+#: templates/strings.js:28
msgid "Location error"
msgstr ""
@@ -154,11 +154,11 @@ msgstr ""
msgid "Login"
msgstr ""
-#: templates/strings.js:49
+#: templates/strings.js:50
msgid "More details"
msgstr ""
-#: templates/strings.js:29
+#: templates/strings.js:30
msgid ""
"More than one location matched that name. Select one below or try entering "
"street name and area, or a postcode."
@@ -173,7 +173,7 @@ msgstr ""
msgid "Next"
msgstr ""
-#: templates/strings.js:48
+#: templates/strings.js:49
msgid ""
"No network connection available for submitting your report. Please try again "
"later."
@@ -214,7 +214,7 @@ msgid ""
"phone number."
msgstr ""
-#: templates/strings.js:33
+#: templates/strings.js:34
msgid "Please enter a location"
msgstr ""
@@ -269,7 +269,7 @@ msgstr ""
msgid "Please give us some basic details, and you're nearly done."
msgstr ""
-#: templates/strings.js:36
+#: templates/strings.js:37
msgid "Please search for a street name and area, or postcode."
msgstr ""
@@ -293,7 +293,7 @@ msgstr ""
msgid "Reposition Report Here"
msgstr ""
-#: templates/strings.js:47
+#: templates/strings.js:48
msgid "Save for Later"
msgstr ""
@@ -301,6 +301,10 @@ msgstr ""
msgid "Save for later"
msgstr ""
+#: templates/strings.js:27
+msgid "Search for a place or postcode"
+msgstr ""
+
#: templates/around.html:29
msgid "Search or scroll the map"
msgstr ""
@@ -352,13 +356,13 @@ msgid ""
"for later?"
msgstr ""
-#: templates/strings.js:35
+#: templates/strings.js:36
msgid ""
"There was a problem checking if we have all the details we need. Please try "
"again later."
msgstr ""
-#: templates/strings.js:34
+#: templates/strings.js:35
msgid ""
"There was a problem checking we cover this location. Please try again later."
msgstr ""
@@ -376,23 +380,23 @@ msgstr ""
msgid "There was a problem logging you out. Please try again later."
msgstr ""
-#: templates/strings.js:28
+#: templates/strings.js:29
msgid "There was a problem looking up your location."
msgstr ""
-#: templates/strings.js:31
+#: templates/strings.js:32
msgid "There was a problem submitting your report. Please try again later."
msgstr ""
-#: templates/strings.js:32
+#: templates/strings.js:33
msgid "There was a problem submitting your report. Please try again."
msgstr ""
-#: templates/strings.js:43
+#: templates/strings.js:44
msgid "There was a problem taking your photo."
msgstr ""
-#: templates/strings.js:45
+#: templates/strings.js:46
msgid "There was a problem uploading your report."
msgstr ""
@@ -421,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:46
+#: templates/offline.html:2 templates/strings.js:47
msgid "Try Again"
msgstr ""
@@ -429,7 +433,7 @@ msgstr ""
msgid "Unsent Report"
msgstr ""
-#: templates/strings.js:44
+#: templates/strings.js:45
msgid "Uploading images may take some time, please be patient"
msgstr ""
@@ -466,7 +470,7 @@ msgstr ""
msgid "discard"
msgstr ""
-#: templates/strings.js:40
+#: templates/strings.js:41
msgid "required"
msgstr ""
diff --git a/src/js/strings.js b/src/js/strings.js
index f89975f..a3c5a1c 100644
--- a/src/js/strings.js
+++ b/src/js/strings.js
@@ -24,6 +24,7 @@
logout_error: 'There was a problem logging you out. Please try again later.',
login_details_error: 'There was a problem logging you in. Please check your email and password',
password_problem: 'There was a problem with your email/password combination. If you have forgotten your password, or do not have one, you can set one by returning to the email screen and selecting the set password option.',
+ search_placeholder: 'Search for a place or postcode',
location_error: 'Location error',
location_problem: 'There was a problem looking up your location.',
multiple_locations: 'More than one location matched that name. Select one below or try entering street name and area, or a postcode.',
diff --git a/src/js/views/around.js b/src/js/views/around.js
index ccc2ef0..70b6a02 100644
--- a/src/js/views/around.js
+++ b/src/js/views/around.js
@@ -173,7 +173,7 @@
if ( !fixmystreet.map ) {
$('#relocate').hide();
$('#mark-here').hide();
- $('#pc').attr('placeholder', 'Search for a place or postcode.').focus();
+ $('#pc').attr('placeholder', FMS.strings.search_placeholder).focus();
}
$('#front-howto').html('<p>' + msg + '</msg>');
$('#front-howto').show();
diff --git a/templates/strings.js b/templates/strings.js
index f6cc457..79a2f88 100644
--- a/templates/strings.js
+++ b/templates/strings.js
@@ -24,6 +24,7 @@
logout_error: '[% loc('There was a problem logging you out. Please try again later.') %]',
login_details_error: '[% loc('There was a problem logging you in. Please check your email and password') %]',
password_problem: '[% loc('There was a problem with your email/password combination. If you have forgotten your password, or do not have one, you can set one by returning to the email screen and selecting the set password option.') %]',
+ search_placeholder: '[% loc('Search for a place or postcode') %]',
location_error: '[% loc('Location error') %]',
location_problem: '[% loc('There was a problem looking up your location.') %]',
multiple_locations: '[% loc('More than one location matched that name. Select one below or try entering street name and area, or a postcode.') %]',