From a69d425c0e5c004145ac1ab70e2f7f9fc329b54c Mon Sep 17 00:00:00 2001 From: Struan Donald Date: Fri, 3 Oct 2014 15:07:08 +0100 Subject: update Android to Cordova 3.6 Required due to security issue Remove Android directory as no longer required, move src -> www to match standard layout, update .gitignore to avoid including the standard platform files, update README based on Steve's zurich one --- www/js/strings.js | 56 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 www/js/strings.js (limited to 'www/js/strings.js') diff --git a/www/js/strings.js b/www/js/strings.js new file mode 100644 index 0000000..9cb6ae0 --- /dev/null +++ b/www/js/strings.js @@ -0,0 +1,56 @@ +(function (FMS, _) { + _.extend( FMS, { + validationStrings: { + update: 'Please enter a message', + title: 'Please enter a subject', + detail: 'Please enter some details', + name: { + required: 'Please enter your name', + validName: 'Please enter your full name, councils need this information - if you do not wish your name to be shown on the site, untick the box below' + }, + category: 'Please choose a category', + rznvy: { + required: 'Please enter your email', + email: 'Please enter a valid email' + }, + email: { + required: 'Please enter your email', + email: 'Please enter a valid email' + }, + password: 'Please enter a password' + }, + strings: { + login_error: 'There was a problem logging you in. Please try again later.', + 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 and that you have confirmed your 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. Passwords are not activated until the link in the confirmation email is clicked.', + 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.', + sync_error: 'An error was encountered when submitting your report: ', + unknown_sync_error: 'There was a problem submitting your report. Please try again later.', + report_send_error: 'There was a problem submitting your report. Please try again.', + missing_location: 'Please enter a location', + location_check_failed: 'There was a problem checking we cover this location. Please try again later.', + category_extra_check_error: 'There was a problem checking if we have all the details we need. Please try again later.', + locate_dismissed: 'Please search for a street name and area, or postcode.', + 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 location.', + offline_failed_position: 'Could not get location.', + required: 'required', + invalid_email: 'Invalid email', + invalid_report: 'Invalid report', + photo_failed: 'There was a problem taking your photo.', + photo_added: 'Photo added', + photo_loading: 'Uploading images may take some time, please be patient', + upload_aborted: 'There was a problem uploading your report.', + try_again: 'Try Again', + save_for_later: 'Save for Later', + no_connection: 'No network connection available for submitting your report. Please try again later.', + more_details: 'More details' + } + }); +})(FMS, _); -- cgit v1.2.3