Bolivia: fix iso code / update label (#31181)

* fix iso format of bolivian states

* add label for states bolivia

* change to english string

* update sorting of states
This commit is contained in:
Brian 2021-11-23 17:41:33 +01:00 committed by GitHub
parent fa192d9c27
commit dd64b5c8ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 9 deletions

View File

@ -187,15 +187,15 @@ return array(
'ZO' => __( 'Zou', 'woocommerce' ), 'ZO' => __( 'Zou', 'woocommerce' ),
), ),
'BO' => array( // Bolivian states. 'BO' => array( // Bolivian states.
'B' => __( 'Chuquisaca', 'woocommerce' ), 'BO-B' => __( 'Beni', 'woocommerce' ),
'H' => __( 'Beni', 'woocommerce' ), 'BO-H' => __( 'Chuquisaca', 'woocommerce' ),
'C' => __( 'Cochabamba', 'woocommerce' ), 'BO-C' => __( 'Cochabamba', 'woocommerce' ),
'L' => __( 'La Paz', 'woocommerce' ), 'BO-L' => __( 'La Paz', 'woocommerce' ),
'O' => __( 'Oruro', 'woocommerce' ), 'BO-O' => __( 'Oruro', 'woocommerce' ),
'N' => __( 'Pando', 'woocommerce' ), 'BO-N' => __( 'Pando', 'woocommerce' ),
'P' => __( 'Potosí', 'woocommerce' ), 'BO-P' => __( 'Potosí', 'woocommerce' ),
'S' => __( 'Santa Cruz', 'woocommerce' ), 'BO-S' => __( 'Santa Cruz', 'woocommerce' ),
'T' => __( 'Tarija', 'woocommerce' ), 'BO-T' => __( 'Tarija', 'woocommerce' ),
), ),
'BR' => array( // Brazillian states. 'BR' => array( // Brazillian states.
'AC' => __( 'Acre', 'woocommerce' ), 'AC' => __( 'Acre', 'woocommerce' ),

View File

@ -897,6 +897,9 @@ class WC_Countries {
'required' => false, 'required' => false,
'hidden' => true, 'hidden' => true,
), ),
'state' => array(
'label' => __( 'Department', 'woocommerce' ),
),
), ),
'BS' => array( 'BS' => array(
'postcode' => array( 'postcode' => array(