Cleaned up States in WC_Countries

Brazil and New Zealand were not in alphabetical order. Also was a duplicate in Brazil for 'RS' => __('Rio Grande do Sul', 'woocommerce').
This commit is contained in:
Scott Basgaard 2012-09-25 15:55:37 +02:00
parent f5999c270b
commit add3f06819
1 changed files with 45 additions and 46 deletions

View File

@ -283,46 +283,45 @@ class WC_Countries {
'AU' => array(
'ACT' => __('Australian Capital Territory', 'woocommerce') ,
'NSW' => __('New South Wales', 'woocommerce') ,
'NT' => __('Northern Territory', 'woocommerce') ,
'NT' => __('Northern Territory', 'woocommerce') ,
'QLD' => __('Queensland', 'woocommerce') ,
'SA' => __('South Australia', 'woocommerce') ,
'SA' => __('South Australia', 'woocommerce') ,
'TAS' => __('Tasmania', 'woocommerce') ,
'VIC' => __('Victoria', 'woocommerce') ,
'WA' => __('Western Australia', 'woocommerce')
'WA' => __('Western Australia', 'woocommerce')
),
'AF' => array(),
'AT' => array(),
'BE' => array(),
'BI' => array(),
'BR' => array(
'AM' => __('Amazonas', 'woocommerce'),
'AC' => __('Acre', 'woocommerce'),
'AL' => __('Alagoas', 'woocommerce'),
'AP' => __('Amapá', 'woocommerce'),
'CE' => __('Ceará', 'woocommerce'),
'DF' => __('Distrito Federal', 'woocommerce'),
'ES' => __('Espírito Santo', 'woocommerce'),
'MA' => __('Maranhão', 'woocommerce'),
'PR' => __('Paraná', 'woocommerce'),
'PE' => __('Pernambuco', 'woocommerce'),
'PI' => __('Piauí', 'woocommerce'),
'RN' => __('Rio Grande do Norte', 'woocommerce'),
'RS' => __('Rio Grande do Sul', 'woocommerce'),
'RO' => __('Rondônia', 'woocommerce'),
'RR' => __('Roraima', 'woocommerce'),
'SC' => __('Santa Catarina', 'woocommerce'),
'SE' => __('Sergipe', 'woocommerce'),
'TO' => __('Tocantins', 'woocommerce'),
'PA' => __('Pará', 'woocommerce'),
'BH' => __('Bahia', 'woocommerce'),
'GO' => __('Goiás', 'woocommerce'),
'MT' => __('Mato Grosso', 'woocommerce'),
'MS' => __('Mato Grosso do Sul', 'woocommerce'),
'RJ' => __('Rio de Janeiro', 'woocommerce'),
'SP' => __('São Paulo', 'woocommerce'),
'RS' => __('Rio Grande do Sul', 'woocommerce'),
'MG' => __('Minas Gerais', 'woocommerce'),
'PB' => __('Paraíba', 'woocommerce'),
'AC' => __('Acre', 'woocommerce'),
'AL' => __('Alagoas', 'woocommerce'),
'AP' => __('Amapá', 'woocommerce'),
'AM' => __('Amazonas', 'woocommerce'),
'BH' => __('Bahia', 'woocommerce'),
'CE' => __('Ceará', 'woocommerce'),
'DF' => __('Distrito Federal', 'woocommerce'),
'ES' => __('Espírito Santo', 'woocommerce'),
'GO' => __('Goiás', 'woocommerce'),
'MA' => __('Maranhão', 'woocommerce'),
'MT' => __('Mato Grosso', 'woocommerce'),
'MS' => __('Mato Grosso do Sul', 'woocommerce'),
'MG' => __('Minas Gerais', 'woocommerce'),
'PA' => __('Pará', 'woocommerce'),
'PB' => __('Paraíba', 'woocommerce'),
'PR' => __('Paraná', 'woocommerce'),
'PE' => __('Pernambuco', 'woocommerce'),
'PI' => __('Piauí', 'woocommerce'),
'RJ' => __('Rio de Janeiro', 'woocommerce'),
'RN' => __('Rio Grande do Norte', 'woocommerce'),
'RS' => __('Rio Grande do Sul', 'woocommerce'),
'RO' => __('Rondônia', 'woocommerce'),
'RR' => __('Roraima', 'woocommerce'),
'SC' => __('Santa Catarina', 'woocommerce'),
'SP' => __('São Paulo', 'woocommerce'),
'SE' => __('Sergipe', 'woocommerce'),
'TO' => __('Tocantins', 'woocommerce')
),
'CA' => array(
'AB' => __('Alberta', 'woocommerce') ,
@ -354,21 +353,21 @@ class WC_Countries {
'IL' => array(),
'NL' => array(),
'NZ' => array(
'NL' => __('Northland', 'woocommerce') ,
'AK' => __('Auckland', 'woocommerce') ,
'WA' => __('Waikato', 'woocommerce') ,
'BP' => __('Bay of Plenty', 'woocommerce') ,
'TK' => __('Taranaki', 'woocommerce') ,
'HB' => __('Hawke’s Bay', 'woocommerce') ,
'MW' => __('Manawatu-Wanganui', 'woocommerce') ,
'WE' => __('Wellington', 'woocommerce') ,
'NS' => __('Nelson', 'woocommerce') ,
'MB' => __('Marlborough', 'woocommerce') ,
'TM' => __('Tasman', 'woocommerce') ,
'WC' => __('West Coast', 'woocommerce') ,
'CT' => __('Canterbury', 'woocommerce') ,
'OT' => __('Otago', 'woocommerce') ,
'SL' => __('Southland', 'woocommerce') ,
'AK' => __('Auckland', 'woocommerce'),
'BP' => __('Bay of Plenty', 'woocommerce'),
'CT' => __('Canterbury', 'woocommerce'),
'HB' => __('Hawke’s Bay', 'woocommerce'),
'MW' => __('Manawatu-Wanganui', 'woocommerce'),
'MB' => __('Marlborough', 'woocommerce'),
'NS' => __('Nelson', 'woocommerce'),
'NL' => __('Northland', 'woocommerce'),
'OT' => __('Otago', 'woocommerce'),
'SL' => __('Southland', 'woocommerce'),
'TK' => __('Taranaki', 'woocommerce'),
'TM' => __('Tasman', 'woocommerce'),
'WA' => __('Waikato', 'woocommerce'),
'WE' => __('Wellington', 'woocommerce'),
'WC' => __('West Coast', 'woocommerce')
),
'NO' => array(),
'PL' => array(),