aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorDave Arter <davea@mysociety.org>2017-02-27 14:28:33 +0000
committerDave Arter <davea@mysociety.org>2017-02-27 14:28:33 +0000
commitec8bfae18fd70e5856919f935104297145b6e3a2 (patch)
treee6f3c410f8bc843efe5499c42339c81e5ac77d55 /templates
parent2cbbbd09d42d6568ef83b6c0d877d769342040ac (diff)
Correct pluralise ‘days ago’ on problem last update
Diffstat (limited to 'templates')
-rw-r--r--templates/web/base/report/_item.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/web/base/report/_item.html b/templates/web/base/report/_item.html
index a561c4c8d..712044592 100644
--- a/templates/web/base/report/_item.html
+++ b/templates/web/base/report/_item.html
@@ -56,7 +56,7 @@
[%- IF dist %], [% dist %]km[% END %]
[%- IF problem.confirmed != problem.lastupdate AND problem.whensent != problem.lastupdate %],
[%- IF problem.days_ago('lastupdate') > 0 AND problem.days_ago('lastupdate') <= c.cobrand.display_days_ago_threshold %]
- [% tprintf(loc('last updated %s days ago'), problem.days_ago('lastupdate') ) %]
+ [% tprintf( nget( loc('last updated %d day ago'), loc('last updated %d days ago'), problem.days_ago('lastupdate') ), problem.days_ago('lastupdate') ) %]
[%- ELSE %]
[% tprintf(loc('last updated %s'), prettify_dt( problem.lastupdate, 1 ) ) %]
[%- END %]