From 7a769667e379fd4fc3cbc1a712adcee288140382 Mon Sep 17 00:00:00 2001 From: Brian Miyaji Date: Sun, 16 Feb 2014 22:48:13 +1100 Subject: [PATCH] Add England, Scotland, Northern Ireland, and Wales to countries selector --- admin/globals/continents.php | 2 +- admin/globals/countries.php | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/admin/globals/continents.php b/admin/globals/continents.php index caea6fcc..66fa026c 100644 --- a/admin/globals/continents.php +++ b/admin/globals/continents.php @@ -5,7 +5,7 @@ function sportspress_define_continents_global() { $sportspress_continents = array( __( 'Africa', 'countries' ) => array('AO','BF','BI','BJ','BW','CD','CF','CG','CI','CM','CV','DJ','DZ','EG','EH','ER','ET','GA','GH','GM','GN','GQ','GW','KE','KM','LR','LS','LY','MA','MG','ML','MR','MU','MZ','NA','NE','NG','RW','SC','SD','SL','SN','SO','ST','SZ','TD','TG','TN','TZ','UG','ZA','ZM','ZW'), __( 'Asia', 'countries' ) => array('AE','AF','AM','AZ','BD','BH','BN','BT','CN','CY','GE','HK','IL','IN','IQ','IR','JO','JP','KG','KH','KP','KR','KW','KZ','LA','LB','LK','MM','MN','MO','MV','MY','NP','OM','PH','PK','QA','SA','SG','TH','TJ','TM','TW','UZ','VN','YE'), - __( 'Europe', 'countries' ) => array('AD','AL','AT','BA','BE','BG','BY','CH','CZ','DE','DK','EE','ES','FI','FR','GB','GR','HR','HU','IE','IS','IT','LI','LT','LU','LV','MC','MD','ME','MK','MT','MW','NL','NO','PL','PT','RO','RS','RU','SE','SI','SK','SM','TR','UA','VA'), + __( 'Europe', 'countries' ) => array('AD','AL','AT','BA','BE','BG','BY','CH','CZ','DE','DK','EE','EN','ES','FI','FR','GB','GR','HR','HU','IE','IS','IT','LI','LT','LU','LV','MC','MD','ME','MK','MT','MW','NB','NL','NO','PL','PT','RO','RS','RU','SE','SF','SI','SK','SM','TR','UA','VA','WA'), __( 'North America', 'countries' ) => array('AG','BB','BS','BZ','CA','CR','CU','DM','DO','GD','GT','HN','HT','JM','KN','LC','MX','NI','PA','SV','US','VC'), __( 'Oceania', 'countries' ) => array('AU','TL','FJ','FM','ID','KI','MH','NR','NZ','PG','PW','SB','TO','TV','VU','WS'), __( 'South America', 'countries' ) => array('AR','BO','BR','CL','CO','EC','GY','PE','PY','SR','TT','UY','VE'), diff --git a/admin/globals/countries.php b/admin/globals/countries.php index d9f4f904..982707f6 100644 --- a/admin/globals/countries.php +++ b/admin/globals/countries.php @@ -56,6 +56,7 @@ function sportspress_define_countries_global() { 'EE' => __( "Estonia", 'countries' ), 'EG' => __( "Egypt", 'countries' ), 'EH' => __( "Western Sahara", 'countries' ), + 'EN' => __( "England", 'countries' ), 'ER' => __( "Eritrea", 'countries' ), 'ES' => __( "Spain", 'countries' ), 'ET' => __( "Ethiopia", 'countries' ), @@ -132,6 +133,7 @@ function sportspress_define_countries_global() { 'MY' => __( "Malaysia", 'countries' ), 'MZ' => __( "Mozambique", 'countries' ), 'NA' => __( "Namibia", 'countries' ), + 'NB' => __( "Northern Ireland", 'countries' ), 'NE' => __( "Niger", 'countries' ), 'NG' => __( "Nigeria", 'countries' ), 'NI' => __( "Nicaragua", 'countries' ), @@ -160,6 +162,7 @@ function sportspress_define_countries_global() { 'SC' => __( "Seychelles", 'countries' ), 'SD' => __( "Sudan", 'countries' ), 'SE' => __( "Sweden", 'countries' ), + 'SF' => __( "Scotland", 'countries' ), 'SG' => __( "Singapore", 'countries' ), 'SI' => __( "Slovenia", 'countries' ), 'SK' => __( "Slovakia", 'countries' ), @@ -194,6 +197,7 @@ function sportspress_define_countries_global() { 'VE' => __( "Venezuela", 'countries' ), 'VN' => __( "Vietnam", 'countries' ), 'VU' => __( "Vanuatu", 'countries' ), + 'WL' => __( "Wales", 'countries' ), 'WS' => __( "Samoa", 'countries' ), 'YE' => __( "Yemen", 'countries' ), 'ZA' => __( "South Africa", 'countries' ),