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