Added Nepali Currency and Symbol.

This commit is contained in:
Shiva Poudel 2014-08-21 10:10:51 +05:45
parent c829788ebc
commit ee7755fd0e
1 changed files with 2 additions and 0 deletions

View File

@ -265,6 +265,7 @@ function get_woocommerce_currencies() {
'ISK' => __( 'Icelandic krona', 'woocommerce' ),
'IDR' => __( 'Indonesia Rupiah', 'woocommerce' ),
'INR' => __( 'Indian Rupee', 'woocommerce' ),
'NPR' => __( 'Nepali Rupee', 'woocommerce' ),
'ILS' => __( 'Israeli Shekel', 'woocommerce' ),
'JPY' => __( 'Japanese Yen', 'woocommerce' ),
'KRW' => __( 'South Korean Won', 'woocommerce' ),
@ -349,6 +350,7 @@ function get_woocommerce_currency_symbol( $currency = '' ) {
case 'HUF' : $currency_symbol = 'Ft'; break;
case 'IDR' : $currency_symbol = 'Rp'; break;
case 'INR' : $currency_symbol = 'Rs.'; break;
case 'NRP' : $currency_symbol = 'Rs.'; break;
case 'ISK' : $currency_symbol = 'Kr.'; break;
case 'ILS' : $currency_symbol = '₪'; break;
case 'PHP' : $currency_symbol = '₱'; break;