Tweak locale. Closes #1302.
This commit is contained in:
parent
c77ce6b951
commit
85a9df86f1
|
@ -280,8 +280,10 @@ class WC_Countries {
|
|||
'VIC' => __('Victoria', 'woocommerce') ,
|
||||
'WA' => __('Western Australia', 'woocommerce')
|
||||
),
|
||||
'AF' => array(),
|
||||
'AT' => array(),
|
||||
'BE' => array(),
|
||||
'BI' => array(),
|
||||
'BR' => array(
|
||||
'AM' => __('Amazonas', 'woocommerce'),
|
||||
'AC' => __('Acre', 'woocommerce'),
|
||||
|
@ -648,6 +650,11 @@ class WC_Countries {
|
|||
|
||||
// Locale information used by the checkout
|
||||
$this->locale = apply_filters('woocommerce_get_country_locale', array(
|
||||
'AF' => array(
|
||||
'state' => array(
|
||||
'required' => false,
|
||||
),
|
||||
),
|
||||
'AT' => array(
|
||||
'postcode_before_city' => true,
|
||||
'state' => array(
|
||||
|
@ -660,6 +667,11 @@ class WC_Countries {
|
|||
'required' => false,
|
||||
),
|
||||
),
|
||||
'BI' => array(
|
||||
'state' => array(
|
||||
'required' => false,
|
||||
),
|
||||
),
|
||||
'CA' => array(
|
||||
'state' => array(
|
||||
'label' => __('Province', 'woocommerce'),
|
||||
|
|
Loading…
Reference in New Issue