aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/base/js/translation_strings.html
diff options
context:
space:
mode:
authorDave Arter <davea@mysociety.org>2017-03-16 10:14:47 -0400
committerMatthew Somerville <matthew-github@dracos.co.uk>2017-03-30 17:35:05 +0100
commite5529e430f180cebfa992dff6ac8285870576051 (patch)
tree7e19ad9b26d1e64804fe998afd52f1f04d0f5d85 /templates/web/base/js/translation_strings.html
parent21bde113503d86f1791e170d1133710a2ed32077 (diff)
Improve translatability of various pages.
This commit makes the following parts of the site translatable: - Social login buttons - Moderation UI - Offline glitch page & offline caching UI - Dashboard It also fixes a bug in the nget parser, stops some Oxfordshire bits being translated for the moment, and brings the translation file up to date.
Diffstat (limited to 'templates/web/base/js/translation_strings.html')
-rw-r--r--templates/web/base/js/translation_strings.html20
1 files changed, 19 insertions, 1 deletions
diff --git a/templates/web/base/js/translation_strings.html b/templates/web/base/js/translation_strings.html
index c09609411..b90a4d576 100644
--- a/templates/web/base/js/translation_strings.html
+++ b/templates/web/base/js/translation_strings.html
@@ -54,5 +54,23 @@
upload_max_files_exceeded: '[% loc ('Whoa there Testino! Three photos are enough.') | replace("'", "\\'") %]',
upload_default_message: '[% loc ('Drag and drop photos here or <u>click to upload</u>') | replace("'", "\\'") %]',
upload_cancel_confirmation: '[% loc ('Are you sure you want to cancel this upload?') | replace("'", "\\'") %]',
- upload_invalid_file_type: '[% loc ('Please upload an image only') | replace("'", "\\'") %]'
+ upload_invalid_file_type: '[% loc ('Please upload an image only') | replace("'", "\\'") %]',
+
+ login_with_email: '[% loc('Log in with email') | replace("'", "\\'") %]',
+
+ offline: {
+ your_reports: '[% loc('Your offline reports') | replace("'", "\\'") %]',
+ update_saved: '[% loc('Your update has been saved offline for submission when back online.') | replace("'", "\\'") %]',
+ update_data_saved: '[% loc('Offline update data saved') | replace("'", "\\'") %]',
+ clear_data: '[% loc('Clear offline data') | replace("'", "\\'") %]',
+ are_you_sure: '[% loc('Are you sure?') | replace("'", "\\'") %]',
+ data_cleared: '[% loc('Offline data cleared') | replace("'", "\\'") %]',
+ reports_saved: '[% loc('Reports saved offline.') | replace("'", "\\'") %]',
+ saving_reports: '[% loc('Saving reports offline', 'This is followed by a progress count, e.g. 3/5') | replace("'", "\\'") %]',
+ you_are_offline: '[% loc('You are offline') | replace("'", "\\'") %]',
+ N_saved: '[% loc('<span>%s</span> saved.') | replace("'", "\\'") %]',
+ saved_to_submit: '[% loc('You have <a id="oFN" href=""><span>%s</span> saved to submit</a>.') | replace("'", "\\'") %]',
+ update_single: '[% loc('update') | replace("'", "\\'") %]',
+ update_plural: '[% loc('updates') | replace("'", "\\'") %]'
+ }
};