Files
wp-multisite-waas/inc/country/class-country-gb.php
2025-02-07 19:02:33 -07:00

332 lines
16 KiB
PHP

<?php // phpcs:ignore - @generation-checksum GB-247-3871
/**
* Country Class for United Kingdom (GB).
*
* State/province count: 247
* City count: 3871
* City count per state/province:
* - ENG: 2919 cities
* - SCT: 530 cities
* - WLS: 302 cities
* - NYK: 120 cities
*
* @package WP_Ultimo\Country
* @since 2.0.11
*/
namespace WP_Ultimo\Country;
// Exit if accessed directly
defined('ABSPATH') || exit;
/**
* Country Class for United Kingdom (GB).
*
* IMPORTANT:
* This file is generated by build scripts, do not
* change it directly or your changes will be LOST!
*
* @since 2.0.11
*
* @property-read string $code
* @property-read string $currency
* @property-read int $phone_code
*/
class Country_GB extends Country {
use \WP_Ultimo\Traits\Singleton;
/**
* General country attributes.
*
* This might be useful, might be not.
* In case of doubt, keep it.
*
* @since 2.0.11
* @var array
*/
protected $attributes = array(
'country_code' => 'GB',
'currency' => 'GBP',
'phone_code' => 44,
);
/**
* The type of nomenclature used to refer to the country sub-divisions.
*
* @since 2.0.11
* @var string
*/
protected $state_type = 'unknown';
/**
* Return the country name.
*
* @since 2.0.11
* @return string
*/
public function get_name() {
return __('United Kingdom', 'wp-ultimo-locations');
}
/**
* Returns the list of states for GB.
*
* @since 2.0.11
* @return array The list of state/provinces for the country.
*/
protected function states() {
return array(
'ABE' => __('Aberdeen', 'wp-ultimo-locations'),
'ABD' => __('Aberdeenshire', 'wp-ultimo-locations'),
'ANS' => __('Angus', 'wp-ultimo-locations'),
'ANT' => __('Antrim', 'wp-ultimo-locations'),
'ANN' => __('Antrim and Newtownabbey', 'wp-ultimo-locations'),
'ARD' => __('Ards', 'wp-ultimo-locations'),
'AND' => __('Ards and North Down', 'wp-ultimo-locations'),
'AGB' => __('Argyll and Bute', 'wp-ultimo-locations'),
'ARM' => __('Armagh City and District Council', 'wp-ultimo-locations'),
'ABC' => __('Armagh, Banbridge and Craigavon', 'wp-ultimo-locations'),
'SH-AC' => __('Ascension Island', 'wp-ultimo-locations'),
'BLA' => __('Ballymena Borough', 'wp-ultimo-locations'),
'BLY' => __('Ballymoney', 'wp-ultimo-locations'),
'BNB' => __('Banbridge', 'wp-ultimo-locations'),
'BNS' => __('Barnsley', 'wp-ultimo-locations'),
'BAS' => __('Bath and North East Somerset', 'wp-ultimo-locations'),
'BDF' => __('Bedford', 'wp-ultimo-locations'),
'BFS' => __('Belfast district', 'wp-ultimo-locations'),
'BIR' => __('Birmingham', 'wp-ultimo-locations'),
'BBD' => __('Blackburn with Darwen', 'wp-ultimo-locations'),
'BPL' => __('Blackpool', 'wp-ultimo-locations'),
'BGW' => __('Blaenau Gwent County Borough', 'wp-ultimo-locations'),
'BOL' => __('Bolton', 'wp-ultimo-locations'),
'BMH' => __('Bournemouth', 'wp-ultimo-locations'),
'BRC' => __('Bracknell Forest', 'wp-ultimo-locations'),
'BRD' => __('Bradford', 'wp-ultimo-locations'),
'BGE' => __('Bridgend County Borough', 'wp-ultimo-locations'),
'BNH' => __('Brighton and Hove', 'wp-ultimo-locations'),
'BKM' => __('Buckinghamshire', 'wp-ultimo-locations'),
'BUR' => __('Bury', 'wp-ultimo-locations'),
'CAY' => __('Caerphilly County Borough', 'wp-ultimo-locations'),
'CLD' => __('Calderdale', 'wp-ultimo-locations'),
'CAM' => __('Cambridgeshire', 'wp-ultimo-locations'),
'CMN' => __('Carmarthenshire', 'wp-ultimo-locations'),
'CKF' => __('Carrickfergus Borough Council', 'wp-ultimo-locations'),
'CSR' => __('Castlereagh', 'wp-ultimo-locations'),
'CCG' => __('Causeway Coast and Glens', 'wp-ultimo-locations'),
'CBF' => __('Central Bedfordshire', 'wp-ultimo-locations'),
'CGN' => __('Ceredigion', 'wp-ultimo-locations'),
'CHE' => __('Cheshire East', 'wp-ultimo-locations'),
'CHW' => __('Cheshire West and Chester', 'wp-ultimo-locations'),
'CRF' => __('City and County of Cardiff', 'wp-ultimo-locations'),
'SWA' => __('City and County of Swansea', 'wp-ultimo-locations'),
'BST' => __('City of Bristol', 'wp-ultimo-locations'),
'DER' => __('City of Derby', 'wp-ultimo-locations'),
'KHL' => __('City of Kingston upon Hull', 'wp-ultimo-locations'),
'LCE' => __('City of Leicester', 'wp-ultimo-locations'),
'LND' => __('City of London', 'wp-ultimo-locations'),
'NGM' => __('City of Nottingham', 'wp-ultimo-locations'),
'PTE' => __('City of Peterborough', 'wp-ultimo-locations'),
'PLY' => __('City of Plymouth', 'wp-ultimo-locations'),
'POR' => __('City of Portsmouth', 'wp-ultimo-locations'),
'STH' => __('City of Southampton', 'wp-ultimo-locations'),
'STE' => __('City of Stoke-on-Trent', 'wp-ultimo-locations'),
'SND' => __('City of Sunderland', 'wp-ultimo-locations'),
'WSM' => __('City of Westminster', 'wp-ultimo-locations'),
'WLV' => __('City of Wolverhampton', 'wp-ultimo-locations'),
'YOR' => __('City of York', 'wp-ultimo-locations'),
'CLK' => __('Clackmannanshire', 'wp-ultimo-locations'),
'CLR' => __('Coleraine Borough Council', 'wp-ultimo-locations'),
'CWY' => __('Conwy County Borough', 'wp-ultimo-locations'),
'CKT' => __('Cookstown District Council', 'wp-ultimo-locations'),
'CON' => __('Cornwall', 'wp-ultimo-locations'),
'DUR' => __('County Durham', 'wp-ultimo-locations'),
'COV' => __('Coventry', 'wp-ultimo-locations'),
'CGV' => __('Craigavon Borough Council', 'wp-ultimo-locations'),
'CMA' => __('Cumbria', 'wp-ultimo-locations'),
'DAL' => __('Darlington', 'wp-ultimo-locations'),
'DEN' => __('Denbighshire', 'wp-ultimo-locations'),
'DBY' => __('Derbyshire', 'wp-ultimo-locations'),
'DRY' => __('Derry City Council', 'wp-ultimo-locations'),
'DRS' => __('Derry City and Strabane', 'wp-ultimo-locations'),
'DEV' => __('Devon', 'wp-ultimo-locations'),
'DNC' => __('Doncaster', 'wp-ultimo-locations'),
'DOR' => __('Dorset', 'wp-ultimo-locations'),
'DOW' => __('Down District Council', 'wp-ultimo-locations'),
'DUD' => __('Dudley', 'wp-ultimo-locations'),
'DGY' => __('Dumfries and Galloway', 'wp-ultimo-locations'),
'DND' => __('Dundee', 'wp-ultimo-locations'),
'DGN' => __('Dungannon and South Tyrone Borough Council', 'wp-ultimo-locations'),
'EAY' => __('East Ayrshire', 'wp-ultimo-locations'),
'EDU' => __('East Dunbartonshire', 'wp-ultimo-locations'),
'ELN' => __('East Lothian', 'wp-ultimo-locations'),
'ERW' => __('East Renfrewshire', 'wp-ultimo-locations'),
'ERY' => __('East Riding of Yorkshire', 'wp-ultimo-locations'),
'ESX' => __('East Sussex', 'wp-ultimo-locations'),
'EDH' => __('Edinburgh', 'wp-ultimo-locations'),
'ENG' => __('England', 'wp-ultimo-locations'),
'ESS' => __('Essex', 'wp-ultimo-locations'),
'FAL' => __('Falkirk', 'wp-ultimo-locations'),
'FER' => __('Fermanagh District Council', 'wp-ultimo-locations'),
'FMO' => __('Fermanagh and Omagh', 'wp-ultimo-locations'),
'FIF' => __('Fife', 'wp-ultimo-locations'),
'FLN' => __('Flintshire', 'wp-ultimo-locations'),
'GAT' => __('Gateshead', 'wp-ultimo-locations'),
'GLG' => __('Glasgow', 'wp-ultimo-locations'),
'GLS' => __('Gloucestershire', 'wp-ultimo-locations'),
'GWN' => __('Gwynedd', 'wp-ultimo-locations'),
'HAL' => __('Halton', 'wp-ultimo-locations'),
'HAM' => __('Hampshire', 'wp-ultimo-locations'),
'HPL' => __('Hartlepool', 'wp-ultimo-locations'),
'HEF' => __('Herefordshire', 'wp-ultimo-locations'),
'HRT' => __('Hertfordshire', 'wp-ultimo-locations'),
'HLD' => __('Highland', 'wp-ultimo-locations'),
'IVC' => __('Inverclyde', 'wp-ultimo-locations'),
'IOW' => __('Isle of Wight', 'wp-ultimo-locations'),
'IOS' => __('Isles of Scilly', 'wp-ultimo-locations'),
'KEN' => __('Kent', 'wp-ultimo-locations'),
'KIR' => __('Kirklees', 'wp-ultimo-locations'),
'KWL' => __('Knowsley', 'wp-ultimo-locations'),
'LAN' => __('Lancashire', 'wp-ultimo-locations'),
'LRN' => __('Larne Borough Council', 'wp-ultimo-locations'),
'LDS' => __('Leeds', 'wp-ultimo-locations'),
'LEC' => __('Leicestershire', 'wp-ultimo-locations'),
'LMV' => __('Limavady Borough Council', 'wp-ultimo-locations'),
'LIN' => __('Lincolnshire', 'wp-ultimo-locations'),
'LSB' => __('Lisburn City Council', 'wp-ultimo-locations'),
'LBC' => __('Lisburn and Castlereagh', 'wp-ultimo-locations'),
'LIV' => __('Liverpool', 'wp-ultimo-locations'),
'BDG' => __('London Borough of Barking and Dagenham', 'wp-ultimo-locations'),
'BNE' => __('London Borough of Barnet', 'wp-ultimo-locations'),
'BEX' => __('London Borough of Bexley', 'wp-ultimo-locations'),
'BEN' => __('London Borough of Brent', 'wp-ultimo-locations'),
'BRY' => __('London Borough of Bromley', 'wp-ultimo-locations'),
'CMD' => __('London Borough of Camden', 'wp-ultimo-locations'),
'CRY' => __('London Borough of Croydon', 'wp-ultimo-locations'),
'EAL' => __('London Borough of Ealing', 'wp-ultimo-locations'),
'ENF' => __('London Borough of Enfield', 'wp-ultimo-locations'),
'HCK' => __('London Borough of Hackney', 'wp-ultimo-locations'),
'HMF' => __('London Borough of Hammersmith and Fulham', 'wp-ultimo-locations'),
'HRY' => __('London Borough of Haringey', 'wp-ultimo-locations'),
'HRW' => __('London Borough of Harrow', 'wp-ultimo-locations'),
'HAV' => __('London Borough of Havering', 'wp-ultimo-locations'),
'HIL' => __('London Borough of Hillingdon', 'wp-ultimo-locations'),
'HNS' => __('London Borough of Hounslow', 'wp-ultimo-locations'),
'ISL' => __('London Borough of Islington', 'wp-ultimo-locations'),
'LBH' => __('London Borough of Lambeth', 'wp-ultimo-locations'),
'LEW' => __('London Borough of Lewisham', 'wp-ultimo-locations'),
'MRT' => __('London Borough of Merton', 'wp-ultimo-locations'),
'NWM' => __('London Borough of Newham', 'wp-ultimo-locations'),
'RDB' => __('London Borough of Redbridge', 'wp-ultimo-locations'),
'RIC' => __('London Borough of Richmond upon Thames', 'wp-ultimo-locations'),
'SWK' => __('London Borough of Southwark', 'wp-ultimo-locations'),
'STN' => __('London Borough of Sutton', 'wp-ultimo-locations'),
'TWH' => __('London Borough of Tower Hamlets', 'wp-ultimo-locations'),
'WFT' => __('London Borough of Waltham Forest', 'wp-ultimo-locations'),
'WND' => __('London Borough of Wandsworth', 'wp-ultimo-locations'),
'MFT' => __('Magherafelt District Council', 'wp-ultimo-locations'),
'MAN' => __('Manchester', 'wp-ultimo-locations'),
'MDW' => __('Medway', 'wp-ultimo-locations'),
'MTY' => __('Merthyr Tydfil County Borough', 'wp-ultimo-locations'),
'WGN' => __('Metropolitan Borough of Wigan', 'wp-ultimo-locations'),
'MUL' => __('Mid Ulster', 'wp-ultimo-locations'),
'MEA' => __('Mid and East Antrim', 'wp-ultimo-locations'),
'MDB' => __('Middlesbrough', 'wp-ultimo-locations'),
'MLN' => __('Midlothian', 'wp-ultimo-locations'),
'MIK' => __('Milton Keynes', 'wp-ultimo-locations'),
'MON' => __('Monmouthshire', 'wp-ultimo-locations'),
'MRY' => __('Moray', 'wp-ultimo-locations'),
'MYL' => __('Moyle District Council', 'wp-ultimo-locations'),
'NTL' => __('Neath Port Talbot County Borough', 'wp-ultimo-locations'),
'NET' => __('Newcastle upon Tyne', 'wp-ultimo-locations'),
'NWP' => __('Newport', 'wp-ultimo-locations'),
'NYM' => __('Newry and Mourne District Council', 'wp-ultimo-locations'),
'NMD' => __('Newry, Mourne and Down', 'wp-ultimo-locations'),
'NTA' => __('Newtownabbey Borough Council', 'wp-ultimo-locations'),
'NFK' => __('Norfolk', 'wp-ultimo-locations'),
'NAY' => __('North Ayrshire', 'wp-ultimo-locations'),
'NDN' => __('North Down Borough Council', 'wp-ultimo-locations'),
'NEL' => __('North East Lincolnshire', 'wp-ultimo-locations'),
'NLK' => __('North Lanarkshire', 'wp-ultimo-locations'),
'NLN' => __('North Lincolnshire', 'wp-ultimo-locations'),
'NSM' => __('North Somerset', 'wp-ultimo-locations'),
'NTY' => __('North Tyneside', 'wp-ultimo-locations'),
'NYK' => __('North Yorkshire', 'wp-ultimo-locations'),
'NTH' => __('Northamptonshire', 'wp-ultimo-locations'),
'NIR' => __('Northern Ireland', 'wp-ultimo-locations'),
'NBL' => __('Northumberland', 'wp-ultimo-locations'),
'NTT' => __('Nottinghamshire', 'wp-ultimo-locations'),
'OLD' => __('Oldham', 'wp-ultimo-locations'),
'OMH' => __('Omagh District Council', 'wp-ultimo-locations'),
'ORK' => __('Orkney Islands', 'wp-ultimo-locations'),
'ELS' => __('Outer Hebrides', 'wp-ultimo-locations'),
'OXF' => __('Oxfordshire', 'wp-ultimo-locations'),
'PEM' => __('Pembrokeshire', 'wp-ultimo-locations'),
'PKN' => __('Perth and Kinross', 'wp-ultimo-locations'),
'POL' => __('Poole', 'wp-ultimo-locations'),
'POW' => __('Powys', 'wp-ultimo-locations'),
'RDG' => __('Reading', 'wp-ultimo-locations'),
'RCC' => __('Redcar and Cleveland', 'wp-ultimo-locations'),
'RFW' => __('Renfrewshire', 'wp-ultimo-locations'),
'RCT' => __('Rhondda Cynon Taf', 'wp-ultimo-locations'),
'RCH' => __('Rochdale', 'wp-ultimo-locations'),
'ROT' => __('Rotherham', 'wp-ultimo-locations'),
'GRE' => __('Royal Borough of Greenwich', 'wp-ultimo-locations'),
'KEC' => __('Royal Borough of Kensington and Chelsea', 'wp-ultimo-locations'),
'KTT' => __('Royal Borough of Kingston upon Thames', 'wp-ultimo-locations'),
'RUT' => __('Rutland', 'wp-ultimo-locations'),
'SH-HL' => __('Saint Helena', 'wp-ultimo-locations'),
'SLF' => __('Salford', 'wp-ultimo-locations'),
'SAW' => __('Sandwell', 'wp-ultimo-locations'),
'SCT' => __('Scotland', 'wp-ultimo-locations'),
'SCB' => __('Scottish Borders', 'wp-ultimo-locations'),
'SFT' => __('Sefton', 'wp-ultimo-locations'),
'SHF' => __('Sheffield', 'wp-ultimo-locations'),
'ZET' => __('Shetland Islands', 'wp-ultimo-locations'),
'SHR' => __('Shropshire', 'wp-ultimo-locations'),
'SLG' => __('Slough', 'wp-ultimo-locations'),
'SOL' => __('Solihull', 'wp-ultimo-locations'),
'SOM' => __('Somerset', 'wp-ultimo-locations'),
'SAY' => __('South Ayrshire', 'wp-ultimo-locations'),
'SGC' => __('South Gloucestershire', 'wp-ultimo-locations'),
'SLK' => __('South Lanarkshire', 'wp-ultimo-locations'),
'STY' => __('South Tyneside', 'wp-ultimo-locations'),
'SOS' => __('Southend-on-Sea', 'wp-ultimo-locations'),
'SHN' => __('St Helens', 'wp-ultimo-locations'),
'STS' => __('Staffordshire', 'wp-ultimo-locations'),
'STG' => __('Stirling', 'wp-ultimo-locations'),
'SKP' => __('Stockport', 'wp-ultimo-locations'),
'STT' => __('Stockton-on-Tees', 'wp-ultimo-locations'),
'STB' => __('Strabane District Council', 'wp-ultimo-locations'),
'SFK' => __('Suffolk', 'wp-ultimo-locations'),
'SRY' => __('Surrey', 'wp-ultimo-locations'),
'SWD' => __('Swindon', 'wp-ultimo-locations'),
'TAM' => __('Tameside', 'wp-ultimo-locations'),
'TFW' => __('Telford and Wrekin', 'wp-ultimo-locations'),
'THR' => __('Thurrock', 'wp-ultimo-locations'),
'TOB' => __('Torbay', 'wp-ultimo-locations'),
'TOF' => __('Torfaen', 'wp-ultimo-locations'),
'TRF' => __('Trafford', 'wp-ultimo-locations'),
'UKM' => __('United Kingdom', 'wp-ultimo-locations'),
'VGL' => __('Vale of Glamorgan', 'wp-ultimo-locations'),
'WKF' => __('Wakefield', 'wp-ultimo-locations'),
'WLS' => __('Wales', 'wp-ultimo-locations'),
'WLL' => __('Walsall', 'wp-ultimo-locations'),
'WRT' => __('Warrington', 'wp-ultimo-locations'),
'WAR' => __('Warwickshire', 'wp-ultimo-locations'),
'WBK' => __('West Berkshire', 'wp-ultimo-locations'),
'WDU' => __('West Dunbartonshire', 'wp-ultimo-locations'),
'WLN' => __('West Lothian', 'wp-ultimo-locations'),
'WSX' => __('West Sussex', 'wp-ultimo-locations'),
'WIL' => __('Wiltshire', 'wp-ultimo-locations'),
'WNM' => __('Windsor and Maidenhead', 'wp-ultimo-locations'),
'WRL' => __('Wirral', 'wp-ultimo-locations'),
'WOK' => __('Wokingham', 'wp-ultimo-locations'),
'WOR' => __('Worcestershire', 'wp-ultimo-locations'),
'WRX' => __('Wrexham County Borough', 'wp-ultimo-locations'),
);
}
}