aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perllib/FixMyStreet/DB/Result/Problem.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perllib/FixMyStreet/DB/Result/Problem.pm b/perllib/FixMyStreet/DB/Result/Problem.pm
index 4fa442608..d3ae416fc 100644
--- a/perllib/FixMyStreet/DB/Result/Problem.pm
+++ b/perllib/FixMyStreet/DB/Result/Problem.pm
@@ -390,11 +390,11 @@ sub check_for_errors {
if ( $self->bodies_str && $self->detail ) {
if ( $self->bodies_str eq '2482' && length($self->detail) > 2000 ) {
- $errors{detail} = _('Reports are limited to 2000 characters in length. Please shorten your report');
+ $errors{detail} = sprintf( _('Reports are limited to %s characters in length. Please shorten your report'), 2000 );
}
if ( $self->bodies_str eq '2237' && length($self->detail) > 1700 ) {
- $errors{detail} = _('Reports are limited to 1700 characters in length. Please shorten your report');
+ $errors{detail} = sprintf( _('Reports are limited to %s characters in length. Please shorten your report'), 1700 );
}
}