diff options
author | Matthew Somerville <matthew@mysociety.org> | 2013-01-16 12:06:29 +0000 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2013-01-16 12:21:13 +0000 |
commit | 84021a8fb660661d60c68b4ee75906062dfb7f73 (patch) | |
tree | 069ca711bb3052b9888eefec87b05e01ead590ca /perllib/FixMyStreet/App/Controller/JS.pm | |
parent | 197770171474954c9bc94687adce0223b2471c56 (diff) |
Add some missing JS translatable strings, update .po files.
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/JS.pm')
-rwxr-xr-x | perllib/FixMyStreet/App/Controller/JS.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perllib/FixMyStreet/App/Controller/JS.pm b/perllib/FixMyStreet/App/Controller/JS.pm index ae2f06605..1ced9d43b 100755 --- a/perllib/FixMyStreet/App/Controller/JS.pm +++ b/perllib/FixMyStreet/App/Controller/JS.pm @@ -11,13 +11,13 @@ FixMyStreet::App::Controller::JS - Catalyst Controller =head1 DESCRIPTION JS Catalyst Controller. To return a language-dependent list -of validation strings. +of translation strings. =head1 METHODS =cut -sub validation_strings : LocalRegex('^validation_strings\.(.*?)\.js$') : Args(0) { +sub translation_strings : LocalRegex('^translation_strings\.(.*?)\.js$') : Args(0) { my ( $self, $c ) = @_; my $lang = $c->req->captures->[0]; $c->cobrand->set_lang_and_domain( $lang, 1 ); |