diff options
Diffstat (limited to 'perllib/FixMyStreet')
-rw-r--r-- | perllib/FixMyStreet/Cobrand/Default.pm | 2 | ||||
-rw-r--r-- | perllib/FixMyStreet/Cobrand/UK.pm | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/Cobrand/Default.pm b/perllib/FixMyStreet/Cobrand/Default.pm index 5de8bac37..823278638 100644 --- a/perllib/FixMyStreet/Cobrand/Default.pm +++ b/perllib/FixMyStreet/Cobrand/Default.pm @@ -130,7 +130,7 @@ Parameter is QUERY =cut -sub enter_postcode_text { '' } +sub enter_postcode_text { _('Enter a nearby street name and area') } =head2 set_lang_and_domain diff --git a/perllib/FixMyStreet/Cobrand/UK.pm b/perllib/FixMyStreet/Cobrand/UK.pm index 093ba152b..7cbd9ecae 100644 --- a/perllib/FixMyStreet/Cobrand/UK.pm +++ b/perllib/FixMyStreet/Cobrand/UK.pm @@ -8,6 +8,11 @@ sub area_types { return qw(DIS LBO MTD UTA CTY COI); } sub area_types_children { return @$mySociety::VotingArea::council_child_types } sub area_min_generation { 10 } +sub enter_postcode_text { + my ( $self ) = @_; + return _("Enter a nearby GB postcode, or street name and area"); +} + sub disambiguate_location { return { country => 'gb', |