diff options
author | Matthew Somerville <matthew@mysociety.org> | 2012-07-13 10:39:46 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2012-07-20 14:01:18 +0100 |
commit | c88225882f16eef4a2f3002ea448c00fbbcf3713 (patch) | |
tree | d90d62778c405a0f84c9fdd7100247b8ad8e4be8 /perllib/FixMyStreet/Cobrand/UK.pm | |
parent | 0485616398282c41cac9b3c96d99a752b1839f1f (diff) |
Remove any Northern Ireland specific code.
Diffstat (limited to 'perllib/FixMyStreet/Cobrand/UK.pm')
-rw-r--r-- | perllib/FixMyStreet/Cobrand/UK.pm | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/perllib/FixMyStreet/Cobrand/UK.pm b/perllib/FixMyStreet/Cobrand/UK.pm index 71997bfb2..35539ac38 100644 --- a/perllib/FixMyStreet/Cobrand/UK.pm +++ b/perllib/FixMyStreet/Cobrand/UK.pm @@ -15,7 +15,7 @@ sub area_min_generation { 10 } sub enter_postcode_text { my ( $self ) = @_; - return _("Enter a nearby GB postcode, or street name and area"); + return _("Enter a nearby UK postcode, or street name and area"); } sub example_places { @@ -80,7 +80,7 @@ sub geocode_postcode { if ($s =~ /^\d+$/) { return { - error => 'FixMyStreet is a UK-based website that currently works in England, Scotland, and Wales. Please enter either a postcode, or a Great British street name and area.' + error => 'FixMyStreet is a UK-based website. Please enter either a UK postcode, or street name and area.' }; } elsif (mySociety::PostcodeUtil::is_valid_postcode($s)) { my $location = mySociety::MaPit::call('postcode', $s); @@ -96,10 +96,6 @@ sub geocode_postcode { return { error => _("Sorry, that appears to be a Crown dependency postcode, which we don't cover.") }; - } elsif ($island eq 'I') { - return { - error => _("We do not currently cover Northern Ireland, I'm afraid.") - }; } return { latitude => $location->{wgs84_lat}, |