aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/gettext-extract4
-rwxr-xr-xbin/send-questionnaires4
-rwxr-xr-xbin/send-questionnaires-eha4
-rwxr-xr-xbin/send-reports4
4 files changed, 8 insertions, 8 deletions
diff --git a/bin/gettext-extract b/bin/gettext-extract
index 7c85626a8..d6c248fda 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.5 2009-02-02 10:59:15 matthew Exp $
+# $Id: gettext-extract,v 1.6 2009-05-27 15:27:18 matthew Exp $
if [ -e ../../locale ]
then
@@ -66,7 +66,7 @@ for X in bci/templates/emails/*
do
# TODO: Should check for "*~" type filenames too, and do the *-livesimply case
# with wildcards rather than checking per template
- if [ "$X" != "bci/templates/emails/eha" -a "$X" != "bci/templates/emails/CVS" -a "$X" != "bci/templates/emails/empty property-confirm" -a "$X" != "bci/templates/emails/submit-eha" ]
+ if [ "$X" != "bci/templates/emails/eha" -a "$X" != "bci/templates/emails/CVS" -a "$X" != "bci/templates/emails/empty property-confirm" -a "$X" != "bci/templates/emails/submit-eha" -a "$X" != "bci/templates/emails/questionnaire-eha-4weeks" -a "$X" != "bci/templates/emails/questionnaire-eha-26weeks" ]
then
echo >> $PO
echo "#: $X" >> $PO
diff --git a/bin/send-questionnaires b/bin/send-questionnaires
index 0e3d3c01f..c18575fc5 100755
--- a/bin/send-questionnaires
+++ b/bin/send-questionnaires
@@ -6,7 +6,7 @@
# Copyright (c) 2007 UK Citizens Online Democracy. All rights reserved.
# Email: matthew@mysociety.org. WWW: http://www.mysociety.org
#
-# $Id: send-questionnaires,v 1.9 2008-11-18 17:29:50 matthew Exp $
+# $Id: send-questionnaires,v 1.10 2009-05-27 15:27:18 matthew Exp $
use strict;
require 5.8.0;
@@ -80,7 +80,7 @@ foreach my $row (@$unsent) {
my $sender = mySociety::Config::get('CONTACT_EMAIL');
$sender =~ s/team/fms-DO-NOT-REPLY/;
my $email = mySociety::Email::construct_email({
- _template_ => $template,
+ _template_ => _($template),
_parameters_ => \%h,
To => [ [ $row->{email}, $row->{name} ] ],
From => [ $sender, mySociety::Config::get('CONTACT_NAME') ],
diff --git a/bin/send-questionnaires-eha b/bin/send-questionnaires-eha
index f67e38116..4df5c293f 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.1 2008-10-09 18:21:17 matthew Exp $
+# $Id: send-questionnaires-eha,v 1.2 2009-05-27 15:27:18 matthew Exp $
use strict;
require 5.8.0;
@@ -84,7 +84,7 @@ sub send_q {
my $sender = mySociety::Config::get('CONTACT_EMAIL');
my $email = mySociety::Email::construct_email({
- _template_ => $template,
+ _template_ => _($template),
_parameters_ => \%h,
To => [ [ $row->{email}, $row->{name} ] ],
From => [ $sender, 'Empty Homes Agency' ],
diff --git a/bin/send-reports b/bin/send-reports
index 91e7a262f..8f7352940 100755
--- a/bin/send-reports
+++ b/bin/send-reports
@@ -6,7 +6,7 @@
# Copyright (c) 2007 UK Citizens Online Democracy. All rights reserved.
# Email: matthew@mysociety.org. WWW: http://www.mysociety.org
#
-# $Id: send-reports,v 1.66 2009-05-27 13:53:52 matthew Exp $
+# $Id: send-reports,v 1.67 2009-05-27 15:27:18 matthew Exp $
use strict;
require 5.8.0;
@@ -197,7 +197,7 @@ If you know of an appropriate contact address, please do get in touch. ]\n\n";
if ($send_email) {
my $email = mySociety::Email::construct_email({
- _template_ => $template,
+ _template_ => _($template),
_parameters_ => \%h,
To => \@to,
From => [ $row->{email}, $row->{name} ],