diff options
author | matthew <matthew> | 2008-05-06 10:06:13 +0000 |
---|---|---|
committer | matthew <matthew> | 2008-05-06 10:06:13 +0000 |
commit | 802afbea0f0552d297c317bd1a625a0936f4fbd8 (patch) | |
tree | 2c80dc23a9b4300ebddb16bb629676218744d8cb | |
parent | 69c5632cea68018605c5170bc73e8717b3d87be6 (diff) |
Remove needless thing.
-rw-r--r-- | perllib/Page.pm | 12 | ||||
-rwxr-xr-x | web/index.cgi | 4 |
2 files changed, 7 insertions, 9 deletions
diff --git a/perllib/Page.pm b/perllib/Page.pm index a3afa5888..d2146149b 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.92 2008-05-06 10:01:30 matthew Exp $ +# $Id: Page.pm,v 1.93 2008-05-06 10:06:13 matthew Exp $ # package Page; @@ -78,13 +78,11 @@ sub microsite { $q->{site} = 'emptyhomes' if $host =~ /emptyhomes/; if ($q->{site} eq 'emptyhomes') { - $q->{thing} = 'empty property'; - mySociety::Locale::negotiate_language('en-gb,English,en_GB', 'en-gb'); - mySociety::Locale::gettext_domain('FixMyStreet-EmptyHomes'); - mySociety::Locale::change(); + mySociety::Locale::negotiate_language('en-gb,English,en_GB', 'en-gb'); + mySociety::Locale::gettext_domain('FixMyStreet-EmptyHomes'); + mySociety::Locale::change(); } else { - $q->{thing} = 'problem'; - mySociety::Locale::gettext_domain('FixMyStreet'); + mySociety::Locale::gettext_domain('FixMyStreet'); } } diff --git a/web/index.cgi b/web/index.cgi index d69c7248a..8e27bccd6 100755 --- a/web/index.cgi +++ b/web/index.cgi @@ -6,7 +6,7 @@ # Copyright (c) 2006 UK Citizens Online Democracy. All rights reserved. # Email: matthew@mysociety.org. WWW: http://www.mysociety.org # -# $Id: index.cgi,v 1.191 2008-05-06 10:01:31 matthew Exp $ +# $Id: index.cgi,v 1.192 2008-05-06 10:06:13 matthew Exp $ use strict; use Standard; @@ -799,7 +799,7 @@ swfu = new SWFUpload(swfu_settings); EOF my %params = ( - rss => [ 'Updates to this ' . $q->{thing} . ', FixMyStreet', "/rss/$input_h{id}" ], + rss => [ _('Updates to this problem, FixMyStreet'), "/rss/$input_h{id}" ], js => $js, title => $problem->{title} ); |