Merge pull request #4108 from corsonr/master

Added Icelandic krona & Currency symbol
This commit is contained in:
Mike Jolley 2013-11-14 04:28:31 -08:00
commit 3d7df1bb85
1 changed files with 2 additions and 0 deletions

View File

@ -155,6 +155,7 @@ function get_woocommerce_currencies() {
'EUR' => __( 'Euros', 'woocommerce' ), 'EUR' => __( 'Euros', 'woocommerce' ),
'HKD' => __( 'Hong Kong Dollar', 'woocommerce' ), 'HKD' => __( 'Hong Kong Dollar', 'woocommerce' ),
'HUF' => __( 'Hungarian Forint', 'woocommerce' ), 'HUF' => __( 'Hungarian Forint', 'woocommerce' ),
'ISK' => __( 'Icelandic krona', 'woocommerce' ),
'IDR' => __( 'Indonesia Rupiah', 'woocommerce' ), 'IDR' => __( 'Indonesia Rupiah', 'woocommerce' ),
'INR' => __( 'Indian Rupee', 'woocommerce' ), 'INR' => __( 'Indian Rupee', 'woocommerce' ),
'ILS' => __( 'Israeli Shekel', 'woocommerce' ), 'ILS' => __( 'Israeli Shekel', 'woocommerce' ),
@ -229,6 +230,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 '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;
case 'PLN' : $currency_symbol = 'zł'; break; case 'PLN' : $currency_symbol = 'zł'; break;