Albania: add states and change label (#31190)

* add albanian states

* change label for albania

* change to english language

* fix names

* sorting
This commit is contained in:
Brian 2021-11-23 22:53:25 +01:00 committed by GitHub
parent 2623be878e
commit 727ccd0dd3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 19 additions and 0 deletions

View File

@ -15,6 +15,20 @@ defined( 'ABSPATH' ) || exit;
return array( return array(
'AF' => array(), 'AF' => array(),
'AL' => array( // Albania states.
'AL-01' => __( 'Berat', 'woocommerce' ),
'AL-09' => __( 'Dibër', 'woocommerce' ),
'AL-02' => __( 'Durrës', 'woocommerce' ),
'AL-03' => __( 'Elbasan', 'woocommerce' ),
'AL-04' => __( 'Fier', 'woocommerce' ),
'AL-05' => __( 'Gjirokastër', 'woocommerce' ),
'AL-06' => __( 'Korçë', 'woocommerce' ),
'AL-07' => __( 'Kukës', 'woocommerce' ),
'AL-08' => __( 'Lezhë', 'woocommerce' ),
'AL-10' => __( 'Shkodër', 'woocommerce' ),
'AL-11' => __( 'Tirana', 'woocommerce' ),
'AL-12' => __( 'Vlorë', 'woocommerce' ),
),
'AO' => array( // Angola states. 'AO' => array( // Angola states.
'BGO' => __( 'Bengo', 'woocommerce' ), 'BGO' => __( 'Bengo', 'woocommerce' ),
'BLU' => __( 'Benguela', 'woocommerce' ), 'BLU' => __( 'Benguela', 'woocommerce' ),

View File

@ -812,6 +812,11 @@ class WC_Countries {
'hidden' => true, 'hidden' => true,
), ),
), ),
'AL' => array(
'state' => array(
'label' => __( 'County', 'woocommerce' ),
),
),
'AO' => array( 'AO' => array(
'postcode' => array( 'postcode' => array(
'required' => false, 'required' => false,