Update New Zealand subdivisions in states.php (#35011)

Update states.php (New Zealand/CLDR R41)

* Add changelog

Co-authored-by: barryhughes <3594411+barryhughes@users.noreply.github.com>
This commit is contained in:
peterbialkowski 2022-10-12 09:33:28 +11:00 committed by GitHub
parent 2605d14b9d
commit 7aca607899
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 20 additions and 16 deletions

View File

@ -0,0 +1,4 @@
Significance: patch
Type: tweak
Update subdivision codes for New Zealand, to match current CLDR specification.

View File

@ -1321,22 +1321,22 @@ return array(
'NI-SJ' => __( 'Río San Juan', 'woocommerce' ), 'NI-SJ' => __( 'Río San Juan', 'woocommerce' ),
), ),
'NZ' => array( // New Zealand states. 'NZ' => array( // New Zealand states.
'NL' => __( 'Northland', 'woocommerce' ), 'NTL' => __( 'Northland', 'woocommerce' ),
'AK' => __( 'Auckland', 'woocommerce' ), 'AUK' => __( 'Auckland', 'woocommerce' ),
'WA' => __( 'Waikato', 'woocommerce' ), 'WKO' => __( 'Waikato', 'woocommerce' ),
'BP' => __( 'Bay of Plenty', 'woocommerce' ), 'BOP' => __( 'Bay of Plenty', 'woocommerce' ),
'TK' => __( 'Taranaki', 'woocommerce' ), 'TKI' => __( 'Taranaki', 'woocommerce' ),
'GI' => __( 'Gisborne', 'woocommerce' ), 'GIS' => __( 'Gisborne', 'woocommerce' ),
'HB' => __( 'Hawkes Bay', 'woocommerce' ), 'HKB' => __( 'Hawkes Bay', 'woocommerce' ),
'MW' => __( 'Manawatu-Wanganui', 'woocommerce' ), 'MWT' => __( 'Manawatu-Wanganui', 'woocommerce' ),
'WE' => __( 'Wellington', 'woocommerce' ), 'WGN' => __( 'Wellington', 'woocommerce' ),
'NS' => __( 'Nelson', 'woocommerce' ), 'NSN' => __( 'Nelson', 'woocommerce' ),
'MB' => __( 'Marlborough', 'woocommerce' ), 'MBH' => __( 'Marlborough', 'woocommerce' ),
'TM' => __( 'Tasman', 'woocommerce' ), 'TAS' => __( 'Tasman', 'woocommerce' ),
'WC' => __( 'West Coast', 'woocommerce' ), 'WTC' => __( 'West Coast', 'woocommerce' ),
'CT' => __( 'Canterbury', 'woocommerce' ), 'CAN' => __( 'Canterbury', 'woocommerce' ),
'OT' => __( 'Otago', 'woocommerce' ), 'OTA' => __( 'Otago', 'woocommerce' ),
'SL' => __( 'Southland', 'woocommerce' ), 'STL' => __( 'Southland', 'woocommerce' ),
), ),
'PA' => array( // Panamanian states. 'PA' => array( // Panamanian states.
'PA-1' => __( 'Bocas del Toro', 'woocommerce' ), 'PA-1' => __( 'Bocas del Toro', 'woocommerce' ),