diff options
author | matthew <matthew> | 2009-07-10 17:29:04 +0000 |
---|---|---|
committer | matthew <matthew> | 2009-07-10 17:29:04 +0000 |
commit | bfcbde074f92c40ce103ecbd16511f90b4969366 (patch) | |
tree | 8a061c3f3f146a766c5b22045272f0fad4223b0e /bin/send-reports | |
parent | d7b5c26e3b8959a6c764aed06f56784f4490b409 (diff) |
Translate Phone line in report.
Diffstat (limited to 'bin/send-reports')
-rwxr-xr-x | bin/send-reports | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/send-reports b/bin/send-reports index 723228fa6..757e31f38 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.70 2009-07-10 15:17:28 matthew Exp $ +# $Id: send-reports,v 1.71 2009-07-10 17:29:04 matthew Exp $ use strict; require 5.8.0; @@ -72,7 +72,7 @@ foreach my $row (@$unsent) { # Template variables for the email my %h = map { $_ => $row->{$_} } qw/title detail name email phone category easting northing/; $h{url} = $base_url . '/report/' . $row->{id}; - $h{phone_line} = $h{phone} ? "Phone: $h{phone}\n\n" : ''; + $h{phone_line} = $h{phone} ? _('Phone:') . " $h{phone}\n\n" : ''; if ($row->{has_photo}) { $h{has_photo} = _("This web page also contains a photo of the problem, provided by the user.") . "\n\n"; $h{image_url} = $base_url . '/photo?id=' . $row->{id}; |