aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorDave Arter <davea@mysociety.org>2015-05-21 15:52:27 +0100
committerDave Arter <davea@mysociety.org>2015-10-06 09:09:26 +0100
commitefcc494b550b7a7a34776d38dbd4532db9313378 (patch)
tree3a0c135fbf91835c8dc3054b96adb7444fb7aaa9 /templates
parent7a7938edf398705c2d376025cc86dfbe6c7ee073 (diff)
[Zurich] Make a few template strings localizable
Diffstat (limited to 'templates')
-rw-r--r--templates/web/base/report/new/category_extras.html2
-rw-r--r--templates/web/zurich/admin/response_templates_select.html2
-rw-r--r--templates/web/zurich/admin/template_edit.html4
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 &laquo;[% rt.title %]&raquo;
+ [% tprintf(loc('Template &laquo;%s&raquo;'), rt.title) %]
[% ELSE %]
- New template
+ [% loc('New template') %]
[% END %]
</h3>