diff options
author | matthew <matthew> | 2009-07-23 09:59:53 +0000 |
---|---|---|
committer | matthew <matthew> | 2009-07-23 09:59:53 +0000 |
commit | ec03692b2c2c60915d0c2f11989e188b65dfce7f (patch) | |
tree | 5d80c400118b4edd1416a033fbec278088664723 /perllib/Page.pm | |
parent | d6499a4ee6542b1a1fc749389ff17581bb0722a1 (diff) |
Streamline .po creation (don't need this one in the repository).
Diffstat (limited to 'perllib/Page.pm')
-rw-r--r-- | perllib/Page.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/perllib/Page.pm b/perllib/Page.pm index 932126c70..8953810e3 100644 --- a/perllib/Page.pm +++ b/perllib/Page.pm @@ -6,7 +6,7 @@ # Copyright (c) 2006 UK Citizens Online Democracy. All rights reserved. # Email: matthew@mysociety.org; WWW: http://www.mysociety.org/ # -# $Id: Page.pm,v 1.151 2009-07-10 17:36:49 matthew Exp $ +# $Id: Page.pm,v 1.152 2009-07-23 09:59:53 matthew Exp $ # package Page; @@ -105,6 +105,7 @@ sub microsite { if ($q->{site} eq 'emptyhomes') { my $lang; $lang = 'cy' if $host =~ /cy/; + $lang = 'en-gb' if $host =~ /^en\./; mySociety::Locale::negotiate_language('en-gb,English,en_GB|cy,Cymraeg,cy_GB', $lang); mySociety::Locale::gettext_domain('FixMyStreet-EmptyHomes'); mySociety::Locale::change(); |