aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2013-02-20 20:28:14 +0000
committerMatthew Somerville <matthew@mysociety.org>2013-02-20 20:28:14 +0000
commit1811793a727a518892b0f2fe4c0fd486b17214af (patch)
treeb6c4a2f1e0d38f45dbc9289c0ce1f07c1ad56865 /templates
parent3e477ca687f375435306bf3482fce25c21c30ed5 (diff)
Update .po file, another few missing strings in templates.
Diffstat (limited to 'templates')
-rw-r--r--templates/web/default/pagination.html6
-rw-r--r--templates/web/fixmystreet/report/_item.html2
-rw-r--r--templates/web/zurich/report/_item.html2
3 files changed, 5 insertions, 5 deletions
diff --git a/templates/web/default/pagination.html b/templates/web/default/pagination.html
index 086556abe..63180b600 100644
--- a/templates/web/default/pagination.html
+++ b/templates/web/default/pagination.html
@@ -4,13 +4,13 @@
[% END %]
<p class="pagination">
[% IF pager.previous_page %]
- <a class="prev" href="[% c.req.uri_with({ $param => pager.previous_page }) %][% '#' _ hash IF hash %]">Previous</a>
+ <a class="prev" href="[% c.req.uri_with({ $param => pager.previous_page }) %][% '#' _ hash IF hash %]">[% loc('Previous') %]</a>
[% END %]
- [% pager.first %] to [% pager.last %] of [% pager.total_entries %]
+ [% tprintf( loc('%d to %d of %d'), pager.first, pager.last, pager.total_entries ) %]
[% IF pager.next_page %]
- <a class="next" href="[% c.req.uri_with({ $param => pager.next_page }) %][% '#' _ hash IF hash %]">Next</a>
+ <a class="next" href="[% c.req.uri_with({ $param => pager.next_page }) %][% '#' _ hash IF hash %]">[% loc('Next') %]</a>
[% END %]
</p>
[% IF NOT admin %]
diff --git a/templates/web/fixmystreet/report/_item.html b/templates/web/fixmystreet/report/_item.html
index 36aa5ee16..852633f76 100644
--- a/templates/web/fixmystreet/report/_item.html
+++ b/templates/web/fixmystreet/report/_item.html
@@ -9,7 +9,7 @@
<small>[% prettify_dt( problem.confirmed, 1 ) %]
[%- IF dist %], [% dist %]km[% END %]
[%- IF include_lastupdate AND problem.confirmed != problem.lastupdate AND problem.whensent != problem.lastupdate %],
- [% tprintf('last updated %s', prettify_dt( problem.lastupdate, 1 ) ) %]
+ [% tprintf(loc('last updated %s'), prettify_dt( problem.lastupdate, 1 ) ) %]
[%- END %]
[% IF include_lastupdate %]
[% IF problem.bodies_str_ids.size > 1 %] [% loc('(sent to both)') %]
diff --git a/templates/web/zurich/report/_item.html b/templates/web/zurich/report/_item.html
index 9462b8e2d..7adb7cdd4 100644
--- a/templates/web/zurich/report/_item.html
+++ b/templates/web/zurich/report/_item.html
@@ -13,7 +13,7 @@
<small>[% prettify_dt( problem.created, 'zurich' ) %]
[%- IF dist %], [% dist %]km[% END %]
[%- IF include_lastupdate AND problem.created != problem.lastupdate AND problem.whensent != problem.lastupdate %],
- [% tprintf('last updated %s', prettify_dt( problem.lastupdate, 'zurich' ) ) %]
+ [% tprintf(loc('last updated %s'), prettify_dt( problem.lastupdate, 'zurich' ) ) %]
[%- END %]
[% IF NOT no_fixed AND problem.is_fixed %]
[% loc('(fixed)') %]