diff options
author | Matthew Somerville <matthew@mysociety.org> | 2011-06-10 11:56:15 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2011-06-10 11:56:15 +0100 |
commit | 3a81cb62a106adf77d226f3ab9a6c8d4381cb39c (patch) | |
tree | 109054e100207a7b82807ea0ec54e960729f19e2 /perllib/FixMyStreet/Cobrand/Default.pm | |
parent | 0e163ffb8e8f9b9fa5ca1193ad2f3965f98926ec (diff) |
Tidy up a couple of FIXMEs.
Diffstat (limited to 'perllib/FixMyStreet/Cobrand/Default.pm')
-rw-r--r-- | perllib/FixMyStreet/Cobrand/Default.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/Cobrand/Default.pm b/perllib/FixMyStreet/Cobrand/Default.pm index f3ef136a8..332a0052d 100644 --- a/perllib/FixMyStreet/Cobrand/Default.pm +++ b/perllib/FixMyStreet/Cobrand/Default.pm @@ -194,7 +194,8 @@ Set the language and domain of the site based on the cobrand and host. sub set_lang_and_domain { my ( $self, $lang, $unicode, $dir ) = @_; my $set_lang = mySociety::Locale::negotiate_language( - 'en-gb,English,en_GB|nb,Norwegian,nb_NO', $lang ); # XXX Testing + 'en-gb,English,en_GB', $lang + ); mySociety::Locale::gettext_domain( 'FixMyStreet', $unicode, $dir ); mySociety::Locale::change(); return $set_lang; |