diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/web/default/admin/report_edit.html | 4 | ||||
-rw-r--r-- | templates/web/default/auth/sign_out.html | 3 | ||||
-rw-r--r-- | templates/web/fixmybarangay/auth/sign_out.html | 8 | ||||
-rw-r--r-- | templates/web/fixmystreet/report/_item.html | 3 | ||||
-rw-r--r-- | templates/web/zurich/admin/index-sdm.html | 6 | ||||
-rw-r--r-- | templates/web/zurich/admin/report_edit.html | 6 | ||||
-rw-r--r-- | templates/web/zurich/auth/sign_out.html | 3 | ||||
-rw-r--r-- | templates/web/zurich/report/_item.html | 3 |
8 files changed, 14 insertions, 22 deletions
diff --git a/templates/web/default/admin/report_edit.html b/templates/web/default/admin/report_edit.html index 6fc0e797b..eaa1e404c 100644 --- a/templates/web/default/admin/report_edit.html +++ b/templates/web/default/admin/report_edit.html @@ -48,8 +48,8 @@ <li><img alt="" height="[% photo.height %]" width="[% photo.width %]" src="[% c.cobrand.base_url %][% photo.url %]"> <br> [% IF rotated %]Photo may be cached for a while.<br>[% END %] -<input type="submit" name="rotate_photo" value="Rotate Left" /> -<input type="submit" name="rotate_photo" value="Rotate Right" /> +<input type="submit" name="rotate_photo" value="[% loc('Rotate Left') %]"> +<input type="submit" name="rotate_photo" value="[% loc('Rotate Right') %]"> <br> <input type="checkbox" id="remove_photo" name="remove_photo" value="1"> <label class="inline" for="remove_photo">[% loc("Remove photo (can't be undone!)") %]</label></li> diff --git a/templates/web/default/auth/sign_out.html b/templates/web/default/auth/sign_out.html index 23d39aa2d..571e13f9f 100644 --- a/templates/web/default/auth/sign_out.html +++ b/templates/web/default/auth/sign_out.html @@ -2,7 +2,6 @@ <h1>[% loc('You have been signed out') %]</h1> -<p>Please feel free to <a href="[% c.uri_for('/auth') %]">sign in again</a>, or -go back to the <a href="/">FixMyStreet front page</a>.</p> +<p>[% tprintf( loc('Please feel free to <a href="%s">sign in again</a>, or go back to the <a href="/">front page</a>.'), c.uri_for('/auth') ) %]</p> [% INCLUDE 'footer.html' %] diff --git a/templates/web/fixmybarangay/auth/sign_out.html b/templates/web/fixmybarangay/auth/sign_out.html deleted file mode 100644 index 11888089a..000000000 --- a/templates/web/fixmybarangay/auth/sign_out.html +++ /dev/null @@ -1,8 +0,0 @@ -[% INCLUDE 'header.html', title = loc('Sign out'), bodyclass = 'fullwidthpage' %] - -<h1>[% loc('You have been signed out') %]</h1> - -<p>Please feel free to <a href="[% c.uri_for('/auth') %]">sign in again</a>, or -go back to the <a href="/">FixMyBarangay front page</a>.</p> - -[% INCLUDE 'footer.html' %] diff --git a/templates/web/fixmystreet/report/_item.html b/templates/web/fixmystreet/report/_item.html index d8ab9ccb5..508b02614 100644 --- a/templates/web/fixmystreet/report/_item.html +++ b/templates/web/fixmystreet/report/_item.html @@ -6,7 +6,8 @@ <h4>[% problem.title | html %]</h4> <small>[% prettify_dt( problem.confirmed_local, 1 ) %] [%- IF dist %], [% dist %]km[% END %] - [%- IF include_lastupdate AND problem.confirmed != problem.lastupdate AND problem.whensent != problem.lastupdate %], last updated [% prettify_dt( problem.lastupdate_local, 1 ) %] + [%- IF include_lastupdate AND problem.confirmed != problem.lastupdate AND problem.whensent != problem.lastupdate %], + [% tprintf('last updated %s', prettify_dt( problem.lastupdate_local, 1 ) ) %] [%- END %] [% IF include_lastupdate %] [% IF problem.bodies_str_ids.size > 1 %] [% loc('(sent to both)') %] diff --git a/templates/web/zurich/admin/index-sdm.html b/templates/web/zurich/admin/index-sdm.html index cc6dc33a6..4e4009c16 100644 --- a/templates/web/zurich/admin/index-sdm.html +++ b/templates/web/zurich/admin/index-sdm.html @@ -1,13 +1,13 @@ [% PROCESS 'admin/header.html' title=loc('Summary') -%] [% PROCESS 'admin/report_blocks.html' %] -<h2>New reports</h2> +<h2>[% loc('New reports') %]</h2> [% INCLUDE list, problems = reports_new.all %] -<h2>Reports awaiting approval</h2> +<h2>[% loc('Reports awaiting approval') %]</h2> [% INCLUDE list, problems = reports_unpublished.all, no_edit = 1 %] -<h2>Reports published</h2> +<h2>[% loc('Reports published') %]</h2> [% INCLUDE list, problems = reports_published.all, no_edit = 1 %] [% INCLUDE 'admin/footer.html' %] diff --git a/templates/web/zurich/admin/report_edit.html b/templates/web/zurich/admin/report_edit.html index 122045550..aabd9d7c9 100644 --- a/templates/web/zurich/admin/report_edit.html +++ b/templates/web/zurich/admin/report_edit.html @@ -48,8 +48,8 @@ <li><img alt="" src="[% c.cobrand.base_url %][% photo.url %]"> <br> [% IF rotated %]Photo may be cached for a while.<br>[% END %] -<input type="submit" name="rotate_photo" value="Rotate Left" /> -<input type="submit" name="rotate_photo" value="Rotate Right" /> +<input type="submit" name="rotate_photo" value="[% loc('Rotate Left') %]"> +<input type="submit" name="rotate_photo" value="[% loc('Rotate Right') %]"> <br> <input type="checkbox" id="publish_photo" name="publish_photo" value="1"[% ' checked' IF problem.extra.publish_photo %]> <label class="inline" for="publish_photo">[% loc("Publish photo") %]</label></li> @@ -113,7 +113,7 @@ </select> <br> <input type="checkbox" name="third_personal" id="third_personal" value="1"[% ' checked' IF problem.extra.third_personal %]> - <label for="third_personal" class="inline">Include reporter personal details</label> + <label for="third_personal" class="inline">[% loc('Include reporter personal details') %]</label> </ul> diff --git a/templates/web/zurich/auth/sign_out.html b/templates/web/zurich/auth/sign_out.html index fa2f6fd69..644118f63 100644 --- a/templates/web/zurich/auth/sign_out.html +++ b/templates/web/zurich/auth/sign_out.html @@ -2,7 +2,6 @@ <h1>[% loc('You have been signed out') %]</h1> -<p>Please feel free to <a href="[% c.uri_for('/admin') %]">sign in again</a>, or -go back to the <a href="/">front page</a>.</p> +<p>[% tprintf( loc('Please feel free to <a href="%s">sign in again</a>, or go back to the <a href="/">front page</a>.'), c.uri_for('/admin') ) %]</p> [% INCLUDE 'footer.html' %] diff --git a/templates/web/zurich/report/_item.html b/templates/web/zurich/report/_item.html index cf70bdcbb..41164cdd1 100644 --- a/templates/web/zurich/report/_item.html +++ b/templates/web/zurich/report/_item.html @@ -10,7 +10,8 @@ [% END %] <small>[% prettify_dt( problem.created_local, 'zurich' ) %] [%- IF dist %], [% dist %]km[% END %] - [%- IF include_lastupdate AND problem.created != problem.lastupdate AND problem.whensent != problem.lastupdate %], last updated [% prettify_dt( problem.lastupdate_local, 'zurich' ) %] + [%- IF include_lastupdate AND problem.created != problem.lastupdate AND problem.whensent != problem.lastupdate %], + [% tprintf('last updated %s', prettify_dt( problem.lastupdate_local, 'zurich' ) ) %] [%- END %] [% IF NOT no_fixed AND problem.is_fixed %] [% loc('(fixed)') %] |