diff options
author | Dave Arter <davea@mysociety.org> | 2015-05-21 15:52:27 +0100 |
---|---|---|
committer | Dave Arter <davea@mysociety.org> | 2015-10-06 09:09:26 +0100 |
commit | efcc494b550b7a7a34776d38dbd4532db9313378 (patch) | |
tree | 3a0c135fbf91835c8dc3054b96adb7444fb7aaa9 | |
parent | 7a7938edf398705c2d376025cc86dfbe6c7ee073 (diff) |
[Zurich] Make a few template strings localizable
-rw-r--r-- | templates/web/base/report/new/category_extras.html | 2 | ||||
-rw-r--r-- | templates/web/zurich/admin/response_templates_select.html | 2 | ||||
-rw-r--r-- | templates/web/zurich/admin/template_edit.html | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/templates/web/base/report/new/category_extras.html b/templates/web/base/report/new/category_extras.html index c0f6a7bae..12ef1486f 100644 --- a/templates/web/base/report/new/category_extras.html +++ b/templates/web/base/report/new/category_extras.html @@ -6,7 +6,7 @@ [%- END %] [%- IF report_meta %] - <h4>Additional Information</h4> + <h4>[% loc('Additional Information') %]</h4> [%- FOR meta IN category_extras.$category %] [%- meta_name = meta.code -%] diff --git a/templates/web/zurich/admin/response_templates_select.html b/templates/web/zurich/admin/response_templates_select.html index 4ae517578..c0f4104c8 100644 --- a/templates/web/zurich/admin/response_templates_select.html +++ b/templates/web/zurich/admin/response_templates_select.html @@ -3,7 +3,7 @@ [% response_templates = problem.response_templates %] <div class="response_templates_select"> <select id="[% template_name %]"> - <option value="">Choose a template</option> + <option value="">[% loc('Choose a template') %]</option> [% FOR t IN response_templates %] <option value="[% t.id %]"> [% t.title | html %] </option> [% END %] diff --git a/templates/web/zurich/admin/template_edit.html b/templates/web/zurich/admin/template_edit.html index e3e4fe190..1deda6a77 100644 --- a/templates/web/zurich/admin/template_edit.html +++ b/templates/web/zurich/admin/template_edit.html @@ -4,9 +4,9 @@ <h2> [% tprintf(loc('Response Templates for %s'), body.name) %] </h2> <h3> [% IF rt.id %] - Template «[% rt.title %]» + [% tprintf(loc('Template «%s»'), rt.title) %] [% ELSE %] - New template + [% loc('New template') %] [% END %] </h3> |