From ec8bfae18fd70e5856919f935104297145b6e3a2 Mon Sep 17 00:00:00 2001 From: Dave Arter Date: Mon, 27 Feb 2017 14:28:33 +0000 Subject: =?UTF-8?q?Correct=20pluralise=20=E2=80=98days=20ago=E2=80=99=20on?= =?UTF-8?q?=20problem=20last=20update?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/web/base/report/_item.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 %] -- cgit v1.2.3