aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/default/js/validation_strings.html
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2012-05-17 09:55:33 +0100
committerMatthew Somerville <matthew@mysociety.org>2012-05-17 09:55:33 +0100
commit2ced346cafb7f6dcdf05d31c670c848d2658d225 (patch)
tree7f9076f2c9454df66518f7394becf9f4a35fb28a /templates/web/default/js/validation_strings.html
parent8991f2967b4a82c0e6d2b8dcf836f1397d537533 (diff)
parenta9cb80973eaacc79d75cd8edb12009fc88569117 (diff)
Merge branch 'master' into barnet-newstyle
Diffstat (limited to 'templates/web/default/js/validation_strings.html')
-rw-r--r--templates/web/default/js/validation_strings.html20
1 files changed, 10 insertions, 10 deletions
diff --git a/templates/web/default/js/validation_strings.html b/templates/web/default/js/validation_strings.html
index 70a0ed41c..718d10d56 100644
--- a/templates/web/default/js/validation_strings.html
+++ b/templates/web/default/js/validation_strings.html
@@ -1,18 +1,18 @@
validation_strings = {
- update: '[% loc('Please enter a message') %]',
- title: '[% loc('Please enter a subject') %]',
- detail: '[% loc('Please enter some details') %]',
+ update: '[% loc('Please enter a message') | replace("'", "\\'") %]',
+ title: '[% loc('Please enter a subject') | replace("'", "\\'") %]',
+ detail: '[% loc('Please enter some details') | replace("'", "\\'") %]',
name: {
- required: '[% loc('Please enter your name') %]',
- validName: '[% loc('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') %]'
+ required: '[% loc('Please enter your name') | replace("'", "\\'") %]',
+ validName: '[% loc('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') | replace("'", "\\'") %]'
},
- category: '[% loc('Please choose a category') %]',
+ category: '[% loc('Please choose a category') | replace("'", "\\'") %]',
rznvy: {
- required: '[% loc('Please enter your email') %]',
- email: '[% loc('Please enter a valid email') %]'
+ required: '[% loc('Please enter your email') | replace("'", "\\'") %]',
+ email: '[% loc('Please enter a valid email') | replace("'", "\\'") %]'
},
email: {
- required: '[% loc('Please enter your email') %]',
- email: '[% loc('Please enter a valid email') %]'
+ required: '[% loc('Please enter your email') | replace("'", "\\'") %]',
+ email: '[% loc('Please enter a valid email') | replace("'", "\\'") %]'
}
};