Merge pull request #21104 from John-Henrique/master
Paraguay currency and states
This commit is contained in:
commit
53f58eb0d5
|
@ -3,7 +3,7 @@
|
|||
* Locales information
|
||||
*
|
||||
* @package WooCommerce/i18n
|
||||
* @version 3.4.0
|
||||
* @version 3.5.0
|
||||
*/
|
||||
|
||||
defined( 'ABSPATH' ) || exit;
|
||||
|
@ -483,6 +483,26 @@ return array(
|
|||
),
|
||||
),
|
||||
),
|
||||
'PY' => array(
|
||||
'currency_code' => 'PYG',
|
||||
'currency_pos' => 'left',
|
||||
'thousand_sep' => '.',
|
||||
'decimal_sep' => ',',
|
||||
'num_decimals' => 2,
|
||||
'weight_unit' => 'kg',
|
||||
'dimension_unit' => 'cm',
|
||||
'tax_rates' => array(
|
||||
'' => array(
|
||||
array(
|
||||
'country' => 'PY',
|
||||
'state' => '',
|
||||
'rate' => '10.0000',
|
||||
'name' => 'VAT',
|
||||
'shipping' => true,
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
'RO' => array(
|
||||
'currency_code' => 'RON',
|
||||
'currency_pos' => 'right_space',
|
||||
|
|
|
@ -0,0 +1,32 @@
|
|||
<?php
|
||||
/**
|
||||
* Paraguay states
|
||||
*
|
||||
* @package WooCommerce/i18n
|
||||
* @version 3.5.0
|
||||
*/
|
||||
|
||||
global $states;
|
||||
|
||||
defined( 'ABSPATH' ) || exit;
|
||||
|
||||
$states['PYG'] = array(
|
||||
'PY-ASU' => __( 'Asunción', 'woocommerce' ),
|
||||
'PY-1' => __( 'Concepción', 'woocommerce' ),
|
||||
'PY-2' => __( 'San Pedro', 'woocommerce' ),
|
||||
'PY-3' => __( 'Cordillera', 'woocommerce' ),
|
||||
'PY-4' => __( 'Guairá', 'woocommerce' ),
|
||||
'PY-5' => __( 'Caaguazú', 'woocommerce' ),
|
||||
'PY-6' => __( 'Caazapá', 'woocommerce' ),
|
||||
'PY-7' => __( 'Itapúa', 'woocommerce' ),
|
||||
'PY-8' => __( 'Misiones', 'woocommerce' ),
|
||||
'PY-9' => __( 'Paraguarí', 'woocommerce' ),
|
||||
'PY-10' => __( 'Alto Paraná', 'woocommerce' ),
|
||||
'PY-11' => __( 'Central', 'woocommerce' ),
|
||||
'PY-12' => __( 'Ñeembucú', 'woocommerce' ),
|
||||
'PY-13' => __( 'Amambay', 'woocommerce' ),
|
||||
'PY-14' => __( 'Canindeyú', 'woocommerce' ),
|
||||
'PY-15' => __( 'Presidente Hayes', 'woocommerce' ),
|
||||
'PY-16' => __( 'Alto Paraguay', 'woocommerce' ),
|
||||
'PY-17' => __( 'Boquerón', 'woocommerce' ),
|
||||
);
|
Loading…
Reference in New Issue