El Salvador: Update States + label (#31176)

* add el salvador states

add el salvador states with correct ISO-Code

* change label to departamento

* change to english string

* fix states
This commit is contained in:
Brian 2021-11-19 18:29:08 +01:00 committed by GitHub
parent f48492df86
commit df87e5a42d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 21 additions and 0 deletions

View File

@ -1383,6 +1383,22 @@ return array(
'SG' => array(),
'SK' => array(),
'SI' => array(),
'SV' => array( // El Salvador states.
'SV-AH' => __( 'Ahuachapán', 'woocommerce' ),
'SV-CA' => __( 'Cabañas', 'woocommerce' ),
'SV-CH' => __( 'Chalatenango', 'woocommerce' ),
'SV-CU' => __( 'Cuscatlán', 'woocommerce' ),
'SV-LI' => __( 'La Libertad', 'woocommerce' ),
'SV-MO' => __( 'Morazán', 'woocommerce' ),
'SV-PA' => __( 'La Paz', 'woocommerce' ),
'SV-SA' => __( 'Santa Ana', 'woocommerce' ),
'SV-SM' => __( 'San Miguel', 'woocommerce' ),
'SV-SO' => __( 'Sonsonate', 'woocommerce' ),
'SV-SS' => __( 'San Salvador', 'woocommerce' ),
'SV-SV' => __( 'San Vicente', 'woocommerce' ),
'SV-UN' => __( 'La Unión', 'woocommerce' ),
'SV-US' => __( 'Usulután', 'woocommerce' ),
),
'TH' => array( // Thailand states.
'TH-37' => __( 'Amnat Charoen', 'woocommerce' ),
'TH-15' => __( 'Ang Thong', 'woocommerce' ),

View File

@ -1340,6 +1340,11 @@ class WC_Countries {
'hidden' => true,
),
),
'SV' => array(
'state' => array(
'label' => __( 'Department', 'woocommerce' ),
),
),
'ES' => array(
'postcode' => array(
'priority' => 65,