aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2012-10-02 16:08:46 +0100
committerStruan Donald <struan@exo.org.uk>2012-10-02 16:08:46 +0100
commitd62ef0d3633c48660213bd177d2f7c70ae56dd25 (patch)
tree7194cd709ae4246ab18ad0e0cbbfed9e553195be
parentec4d95d09887e3aebf25eaaa3de3d7ddf26f706d (diff)
improve the problem state update meta wording on display
-rw-r--r--perllib/FixMyStreet/DB/Result/Comment.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/DB/Result/Comment.pm b/perllib/FixMyStreet/DB/Result/Comment.pm
index 91695d7d0..2ba099aec 100644
--- a/perllib/FixMyStreet/DB/Result/Comment.pm
+++ b/perllib/FixMyStreet/DB/Result/Comment.pm
@@ -186,6 +186,10 @@ 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;
}