diff options
author | matthew <matthew> | 2009-07-16 11:57:19 +0000 |
---|---|---|
committer | matthew <matthew> | 2009-07-16 11:57:19 +0000 |
commit | 9ac98377d123f408e973f016dcad3677aceb8dde (patch) | |
tree | b03426f058abdd221ce7d181cedb4c94ede01382 | |
parent | ae302bf535116e92f188a4bb5650cc3cbe5a79ba (diff) |
Catch a few strings.
-rwxr-xr-x | bin/gettext-extract | 4 | ||||
-rwxr-xr-x | bin/send-questionnaires-eha | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/bin/gettext-extract b/bin/gettext-extract index f705c8d98..c5289c169 100755 --- a/bin/gettext-extract +++ b/bin/gettext-extract @@ -7,7 +7,7 @@ # Copyright (c) 2008 UK Citizens Online Democracy. All rights reserved. # Email: matthew@mysociety.org; WWW: http://www.mysociety.org/ # -# $Id: gettext-extract,v 1.9 2009-07-10 16:54:51 matthew Exp $ +# $Id: gettext-extract,v 1.10 2009-07-16 11:57:19 matthew Exp $ if [ -e ../../locale ] then @@ -40,7 +40,7 @@ PO=locale/FixMyStreet.po rm -f $PO # Extract from Perl -xgettext --add-comments=TRANS --language=Perl --keyword=_ --keyword=nget:1,2 --from-code=utf-8 -o $PO perllib/mySociety/*.pm bci/perllib/*.pm bci/web/*.cgi bci/bin/send-reports bci/db/alert_types_eha.pl +xgettext --add-comments=TRANS --language=Perl --keyword=_ --keyword=nget:1,2 --from-code=utf-8 -o $PO perllib/mySociety/*.pm bci/perllib/*.pm bci/web/*.cgi bci/bin/send-* bci/db/alert_types_eha.pl # Fix headers TEMP=`tempfile` diff --git a/bin/send-questionnaires-eha b/bin/send-questionnaires-eha index a11dcd1ab..1a3e5b004 100755 --- a/bin/send-questionnaires-eha +++ b/bin/send-questionnaires-eha @@ -6,7 +6,7 @@ # Copyright (c) 2008 UK Citizens Online Democracy. All rights reserved. # Email: matthew@mysociety.org. WWW: http://www.mysociety.org # -# $Id: send-questionnaires-eha,v 1.4 2009-07-13 17:56:36 matthew Exp $ +# $Id: send-questionnaires-eha,v 1.5 2009-07-16 11:57:19 matthew Exp $ use strict; require 5.8.0; @@ -90,7 +90,7 @@ sub send_q { _template_ => _($template), _parameters_ => \%h, To => [ [ $row->{email}, $row->{name} ] ], - From => [ $sender, 'Empty Homes Agency' ], + From => [ $sender, _('Report Empty Homes') ], 'Message-ID' => sprintf('<ques-%s-%s@emptyhomes.com>', time(), unpack('h*', random_bytes(5, 1))), }); |