Fix some issues with Currency code for NPR
NRP was typo mistake so found the bug and fix. I have send pull for this Nepali currency previously.
This commit is contained in:
parent
192c1d4169
commit
51ba1df181
|
@ -275,7 +275,7 @@ function get_woocommerce_currencies() {
|
||||||
'NGN' => __( 'Nigerian Naira', 'woocommerce' ),
|
'NGN' => __( 'Nigerian Naira', 'woocommerce' ),
|
||||||
'NOK' => __( 'Norwegian Krone', 'woocommerce' ),
|
'NOK' => __( 'Norwegian Krone', 'woocommerce' ),
|
||||||
'NZD' => __( 'New Zealand Dollar', 'woocommerce' ),
|
'NZD' => __( 'New Zealand Dollar', 'woocommerce' ),
|
||||||
'PYG' => __( 'Paraguayan Guaraní', 'woocommerce' ),
|
'PYG' => __( 'Paraguayan Guaraní', 'woocommerce' ),
|
||||||
'PHP' => __( 'Philippine Pesos', 'woocommerce' ),
|
'PHP' => __( 'Philippine Pesos', 'woocommerce' ),
|
||||||
'PLN' => __( 'Polish Zloty', 'woocommerce' ),
|
'PLN' => __( 'Polish Zloty', 'woocommerce' ),
|
||||||
'GBP' => __( 'Pounds Sterling', 'woocommerce' ),
|
'GBP' => __( 'Pounds Sterling', 'woocommerce' ),
|
||||||
|
@ -351,7 +351,7 @@ function get_woocommerce_currency_symbol( $currency = '' ) {
|
||||||
case 'HUF' : $currency_symbol = 'Ft'; break;
|
case 'HUF' : $currency_symbol = 'Ft'; break;
|
||||||
case 'IDR' : $currency_symbol = 'Rp'; break;
|
case 'IDR' : $currency_symbol = 'Rp'; break;
|
||||||
case 'INR' : $currency_symbol = 'Rs.'; break;
|
case 'INR' : $currency_symbol = 'Rs.'; break;
|
||||||
case 'NRP' : $currency_symbol = 'Rs.'; break;
|
case 'NPR' : $currency_symbol = 'Rs.'; break;
|
||||||
case 'ISK' : $currency_symbol = 'Kr.'; break;
|
case 'ISK' : $currency_symbol = 'Kr.'; break;
|
||||||
case 'ILS' : $currency_symbol = '₪'; break;
|
case 'ILS' : $currency_symbol = '₪'; break;
|
||||||
case 'PHP' : $currency_symbol = '₱'; break;
|
case 'PHP' : $currency_symbol = '₱'; break;
|
||||||
|
|
Loading…
Reference in New Issue