[NUUG fiksgatami] [patch] Make leftover string translatable
Petter Reinholdtsen
pere at hungry.com
Sat Mar 26 19:20:11 CET 2011
With the mobile apps being tested, we found another string that need
to be translated.
diff --git a/web/index.cgi b/web/index.cgi
index c86ac6a..8680bb5 100755
--- a/web/index.cgi
+++ b/web/index.cgi
@@ -633,9 +633,9 @@ EOF
if (my $token = $input{partial}) {
$partial_id = mySociety::AuthToken::retrieve('partial', $token);
if ($partial_id) {
- $vars{form_start} .= $q->p({id=>'unknown'}, 'Please note your report has
- <strong>not yet been sent</strong>. Choose a category
- and add further information below, then submit.');
+ $vars{form_start} .=
+ $q->p({id=>'unknown'},
+ _('Please note your report has <strong>not yet been sent</strong>. Choose a category and add further information below, then submit.'));
}
}
$vars{text_located} = $q->p(_('You have located the problem at the point marked with a purple pin on the map.
Happy hacking,
--
Petter Reinholdtsen
More information about the fiksgatami
mailing list