aboutsummaryrefslogtreecommitdiffstats
path: root/bin/send-reports
diff options
context:
space:
mode:
authormatthew <matthew>2008-05-15 09:26:56 +0000
committermatthew <matthew>2008-05-15 09:26:56 +0000
commitf4f1efdd55dfced30d61f98c98e0ea27866ab81d (patch)
treec65f432d9f2eca5edc9083e5fef6d55d1144a49b /bin/send-reports
parent3d5a80a3f28ea8a1eece15fc691b71e831d0e674 (diff)
Translate emails too; couple of missing strings; smaller photos on EHA to
fit in column.
Diffstat (limited to 'bin/send-reports')
-rwxr-xr-xbin/send-reports4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/send-reports b/bin/send-reports
index 9664832a3..23755bb3a 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.48 2007-10-22 18:00:04 matthew Exp $
+# $Id: send-reports,v 1.49 2008-05-15 09:26:56 matthew Exp $
use strict;
require 5.8.0;
@@ -127,7 +127,7 @@ If you know of an appropriate contact address, please do get in touch. ]\n\n";
$h{closest_address} = sprintf("The closest address, as the crow flies, to the location of this problem, %.0fm away, is: %s - please note that this is automatically generated, so ensure that you check it against the details provided by the user and, if possible, the map.\n\n",
$distance, $address) if ($address);
my $email = mySociety::Email::construct_email({
- _template_ => $template,
+ _template_ => _($template),
_parameters_ => \%h,
To => \@to,
From => [ $row->{email}, $row->{name} ],