diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2013-09-05 15:43:06 +0100 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2013-09-05 16:18:48 +0100 |
commit | dbd5376d42beb4744e9e9e2a020f878a2821b00b (patch) | |
tree | 30a63db8cd99b67dc9a751f30be591d5f1a34d3a /perllib/FixMyStreet/DB | |
parent | dd68a744200040d0dd2c9f1a58c5bd9826b4ce80 (diff) |
Spell out all "marked as %s" strings.
As doing interpolation from a database state field is not great for
translation. Fixes #391.
Diffstat (limited to 'perllib/FixMyStreet/DB')
-rw-r--r-- | perllib/FixMyStreet/DB/Result/Comment.pm | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/perllib/FixMyStreet/DB/Result/Comment.pm b/perllib/FixMyStreet/DB/Result/Comment.pm index eb9e52a65..c747f7fc1 100644 --- a/perllib/FixMyStreet/DB/Result/Comment.pm +++ b/perllib/FixMyStreet/DB/Result/Comment.pm @@ -179,8 +179,8 @@ sub get_photo_params { =head2 meta_problem_state -Returns a string suitable for display in the update meta section. -Mostly removes the '- council/user' bit from fixed states +Returns a string suitable for display lookup in the update meta section. +Removes the '- council/user' bit from fixed states. =cut @@ -190,10 +190,6 @@ sub meta_problem_state { my $state = $self->problem_state; $state =~ s/ -.*$//; - $state = _("not the council's responsibility") - if $state eq 'not responsible'; - $state = _('duplicate report') if $state eq 'duplicate'; - return $state; } |