aboutsummaryrefslogtreecommitdiffstats
path: root/bin/send-questionnaires
diff options
context:
space:
mode:
authormatthew <matthew>2009-06-10 15:04:30 +0000
committermatthew <matthew>2009-06-10 15:04:30 +0000
commit7987ff935a002a0603aa80995843db4f67cb8c97 (patch)
tree49055ebc39faf6bd595d791e818c3ad56a1ae51d /bin/send-questionnaires
parentb6f31b8cf47dcb92518f823f52dccbb9803b0cb5 (diff)
Missed off actual negotiate lines.
Diffstat (limited to 'bin/send-questionnaires')
-rwxr-xr-xbin/send-questionnaires6
1 files changed, 5 insertions, 1 deletions
diff --git a/bin/send-questionnaires b/bin/send-questionnaires
index fbdf2a08c..f4874b9ac 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.11 2009-06-10 14:32:37 matthew Exp $
+# $Id: send-questionnaires,v 1.12 2009-06-10 15:04:30 matthew Exp $
use strict;
require 5.8.0;
@@ -45,6 +45,10 @@ $nomail = 1 if (@ARGV==1 && $ARGV[0] eq '--nomail');
$verbose = 1 if (@ARGV==1 && $ARGV[0] eq '--verbose');
$verbose = 1 if $nomail;
+mySociety::Locale::negotiate_language('en-gb,English,en_GB|nb,Norwegian,nb_NO'); # XXX Testing
+mySociety::Locale::gettext_domain('FixMyStreet');
+mySociety::Locale::change();
+
# Select all problems that need a questionnaire email sending
my $unsent = select_all(
"select id, council, category, title, detail, name, email,