aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Whiteland <dave@mysociety.org>2013-08-04 17:55:09 +0100
committerDave Whiteland <dave@mysociety.org>2013-09-05 17:31:05 +0100
commite6fd3ecec2c369236969b6ccc390c2c074e5b0af (patch)
tree0a179ef0071e1597b285c7c5fcb57807c33ccdcc
parent054c86e85b8bb8c9d533de40ca4ef4fe69650fd2 (diff)
put hint through i18n loc
-rw-r--r--templates/web/default/admin/body-form.html9
1 files changed, 6 insertions, 3 deletions
diff --git a/templates/web/default/admin/body-form.html b/templates/web/default/admin/body-form.html
index aa3c1c9da..1941c7c39 100644
--- a/templates/web/default/admin/body-form.html
+++ b/templates/web/default/admin/body-form.html
@@ -18,9 +18,12 @@
[% IF c.config.SHOW_ADMIN_HINTS AND areas.size == 0 %]
[% IF c.config.MAPIT_URL AND (NOT c.config.MAPIT_TYPES OR c.config.MAPIT_TYPES.size==O) %]
<p class="fms-admin-warning">
- <code>MAPIT_URL</code> is set (<code>[% c.config.MAPIT_URL %]</code>) but no <code>MAPIT_TYPES</code>:<br>
- this is probably why "area covered" is empty (below).<br>
- Maybe add some <code>MAPIT_TYPES</code> to your config file?
+ [% loc('Graph of problem creation by status over time') %]
+ [% tprintf( loc(
+ '<code>MAPIT_URL</code> is set (<code>%s</code>) but no <code>MAPIT_TYPES</code>.<br>
+ This is probably why "area covered" is empty (below).<br>
+ Maybe add some <code>MAPIT_TYPES</code> to your config file?'), c.config.MAPIT_URL)
+ %]
</p>
[% END %]
[% END %]