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/DB/Result/Problem.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/DB/Result/Problem.pm')
-rw-r--r-- | perllib/FixMyStreet/DB/Result/Problem.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/DB/Result/Problem.pm b/perllib/FixMyStreet/DB/Result/Problem.pm index afa117e4c..a12f8c20d 100644 --- a/perllib/FixMyStreet/DB/Result/Problem.pm +++ b/perllib/FixMyStreet/DB/Result/Problem.pm @@ -486,7 +486,7 @@ sub confirm { sub category_display { my $self = shift; - $self->translate('category'); + $self->translate_column('category'); } sub bodies_str_ids { |