Merge pull request #21104 from John-Henrique/master

Paraguay currency and states
This commit is contained in:
Gerhard Potgieter 2018-08-24 08:23:55 +02:00 committed by GitHub
commit 53f58eb0d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 53 additions and 1 deletions

View File

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

32
i18n/states/PY.php Normal file
View File

@ -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&oacute;n', 'woocommerce' ),
'PY-1' => __( 'Concepci&oacute;n', 'woocommerce' ),
'PY-2' => __( 'San Pedro', 'woocommerce' ),
'PY-3' => __( 'Cordillera', 'woocommerce' ),
'PY-4' => __( 'Guair&aacute;', 'woocommerce' ),
'PY-5' => __( 'Caaguaz&uacute;', 'woocommerce' ),
'PY-6' => __( 'Caazap&aacute;', 'woocommerce' ),
'PY-7' => __( 'Itap&uacute;a', 'woocommerce' ),
'PY-8' => __( 'Misiones', 'woocommerce' ),
'PY-9' => __( 'Paraguar&iacute;', 'woocommerce' ),
'PY-10' => __( 'Alto Paran&aacute;', 'woocommerce' ),
'PY-11' => __( 'Central', 'woocommerce' ),
'PY-12' => __( '&Ntilde;eembuc&uacute;', 'woocommerce' ),
'PY-13' => __( 'Amambay', 'woocommerce' ),
'PY-14' => __( 'Canindey&uacute;', 'woocommerce' ),
'PY-15' => __( 'Presidente Hayes', 'woocommerce' ),
'PY-16' => __( 'Alto Paraguay', 'woocommerce' ),
'PY-17' => __( 'Boquer&oacute;n', 'woocommerce' ),
);