aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlouise <louise>2009-11-24 16:03:52 +0000
committerlouise <louise>2009-11-24 16:03:52 +0000
commit7fbf3df9197d5c983954c33105e5c6e747a49a78 (patch)
tree6f162d12c3154dfde4e292e3286c0d927ebf5d14
parent03e02f32760573042634e87013d4c29b9698f9e7 (diff)
Allow localization of help text
-rwxr-xr-xweb/index.cgi6
1 files changed, 3 insertions, 3 deletions
diff --git a/web/index.cgi b/web/index.cgi
index ba4d6851c..0ea95fab0 100755
--- a/web/index.cgi
+++ b/web/index.cgi
@@ -6,7 +6,7 @@
# Copyright (c) 2006 UK Citizens Online Democracy. All rights reserved.
# Email: matthew@mysociety.org. WWW: http://www.mysociety.org
#
-# $Id: index.cgi,v 1.324 2009-11-19 15:31:53 louise Exp $
+# $Id: index.cgi,v 1.325 2009-11-24 16:03:52 louise Exp $
use strict;
use Standard;
@@ -700,10 +700,10 @@ and to the point; writing your message entirely in block capitals makes it hard
to read, as does a lack of punctuation.
EOF
} elsif ($details ne 'none') {
- $vars{text_help} .= '<p>Please fill in details of the problem below. The council won\'t be able
+ $vars{text_help} .= $q->p(_('Please fill in details of the problem below. The council won\'t be able
to help unless you leave as much detail as you can, so please describe the exact location of
the problem (e.g. on a wall), what it is, how long it has been there, a description (and a
-photo of the problem if you have one), etc.';
+photo of the problem if you have one), etc.'));
} else {
$vars{text_help} .= $q->p(_('Please fill in details of the problem below.'));
}