diff options
author | Struan Donald <struan@exo.org.uk> | 2013-03-07 12:46:55 +0000 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2013-03-07 12:46:55 +0000 |
commit | 9551c7d18737fbec7f4438dc6c5afc41bcba9c36 (patch) | |
tree | 6d62f4cfa8c30bcc4f45549ceb8ecf8c73f821cd /www/js/strings.js | |
parent | 978fbc9c33e19d99e87a0d5dc6bfe37352be624a (diff) |
validation and message strings
Diffstat (limited to 'www/js/strings.js')
-rw-r--r-- | www/js/strings.js | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/www/js/strings.js b/www/js/strings.js new file mode 100644 index 0000000..1e2f727 --- /dev/null +++ b/www/js/strings.js @@ -0,0 +1,25 @@ +;(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: { + } + }) +})(FMS, _); |