diff options
author | Dave Arter <davea@mysociety.org> | 2017-03-16 10:14:47 -0400 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2017-03-30 17:35:05 +0100 |
commit | e5529e430f180cebfa992dff6ac8285870576051 (patch) | |
tree | 7e19ad9b26d1e64804fe998afd52f1f04d0f5d85 /templates/web/base/report/_item.html | |
parent | 21bde113503d86f1791e170d1133710a2ed32077 (diff) |
Improve translatability of various pages.
This commit makes the following parts of the site translatable:
- Social login buttons
- Moderation UI
- Offline glitch page & offline caching UI
- Dashboard
It also fixes a bug in the nget parser, stops some Oxfordshire bits
being translated for the moment, and brings the translation file up
to date.
Diffstat (limited to 'templates/web/base/report/_item.html')
-rw-r--r-- | templates/web/base/report/_item.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/web/base/report/_item.html b/templates/web/base/report/_item.html index 712044592..e627227d4 100644 --- a/templates/web/base/report/_item.html +++ b/templates/web/base/report/_item.html @@ -46,7 +46,7 @@ [% END %] [%- IF c.cobrand.moniker != 'fixamingata' %] [%# Default: %] [%- IF problem.days_ago > 0 AND problem.days_ago <= c.cobrand.display_days_ago_threshold %] - [% tprintf( nget( loc('Reported %d day ago'), loc('Reported %d days ago'), problem.days_ago), problem.days_ago ) %] + [% tprintf( nget('Reported %d day ago', 'Reported %d days ago', problem.days_ago), problem.days_ago ) %] [%- ELSE %] [% prettify_dt( problem.confirmed, 1 ) %] [%- END %] @@ -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( nget( loc('last updated %d day ago'), loc('last updated %d days ago'), problem.days_ago('lastupdate') ), problem.days_ago('lastupdate') ) %] + [% tprintf( nget('last updated %d day ago', '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 %] |