diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2017-08-11 10:44:10 +0100 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2017-08-11 10:44:10 +0100 |
commit | 8e320beadae7cbc65967fc851f2448bbb1c7b2e0 (patch) | |
tree | e5e171bd592453fb0187541a97a6795a4645b9fa /perllib/FixMyStreet/App/Controller/Admin.pm | |
parent | 5fd5a93ef47e606ad0d3ae339eed0eb04aa2db26 (diff) |
Prevent unnecessary string translation.
Calling the function 'translate' causes gettext-extract to add the
string to the .po file. Also, we no longer need an admin 'updated'
message as the main form has its own success message.
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Admin.pm')
-rw-r--r-- | perllib/FixMyStreet/App/Controller/Admin.pm | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Admin.pm b/perllib/FixMyStreet/App/Controller/Admin.pm index 0fa58eb9d..87773a31b 100644 --- a/perllib/FixMyStreet/App/Controller/Admin.pm +++ b/perllib/FixMyStreet/App/Controller/Admin.pm @@ -469,8 +469,6 @@ sub update_translations : Private { ); } } - - $c->stash->{updated} = _('Translations updated'); } sub body_params : Private { |