From 8fd15b58733c51d7f001f9eac66b7d03830ec0b4 Mon Sep 17 00:00:00 2001 From: Struan Donald Date: Mon, 24 Nov 2014 11:45:46 +0000 Subject: remove stray EOL chars from language string otherwise the bit inside mySociety::Locale that appends .UTF-8 on to the end doesn't work properly Fixes #183 --- bin/localise_templates | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/localise_templates b/bin/localise_templates index 3267433..63555bc 100644 --- a/bin/localise_templates +++ b/bin/localise_templates @@ -34,6 +34,7 @@ my $vars = { }; for my $lang ( get_langs() ) { + chomp $lang; my @lang_parts = split(',', $lang); mySociety::Locale::negotiate_language($lang); -- cgit v1.2.3