Tweak locale. Closes #1302.

This commit is contained in:
Mike Jolley 2012-07-26 17:29:49 +01:00
parent c77ce6b951
commit 85a9df86f1
1 changed files with 12 additions and 0 deletions

View File

@ -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'),