From 55ccb4d4281b7e99e08dd695edc3765d25ba2107 Mon Sep 17 00:00:00 2001 From: Remi Corson Date: Thu, 14 Nov 2013 11:39:59 +0100 Subject: [PATCH 1/3] Added Icelandic krona currency & currency code --- includes/wc-core-functions.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/includes/wc-core-functions.php b/includes/wc-core-functions.php index d415acd5179..6371b6da85d 100644 --- a/includes/wc-core-functions.php +++ b/includes/wc-core-functions.php @@ -155,6 +155,7 @@ function get_woocommerce_currencies() { 'EUR' => __( 'Euros', 'woocommerce' ), 'HKD' => __( 'Hong Kong Dollar', 'woocommerce' ), 'HUF' => __( 'Hungarian Forint', 'woocommerce' ), + 'IKS' => __( 'Icelandic krona', 'woocommerce' ), 'IDR' => __( 'Indonesia Rupiah', 'woocommerce' ), 'INR' => __( 'Indian Rupee', 'woocommerce' ), 'ILS' => __( 'Israeli Shekel', 'woocommerce' ), @@ -228,7 +229,8 @@ function get_woocommerce_currency_symbol( $currency = '' ) { case 'DKK' : $currency_symbol = 'kr'; break; case 'HUF' : $currency_symbol = 'Ft'; break; case 'IDR' : $currency_symbol = 'Rp'; break; - case 'INR' : $currency_symbol = 'Rs.'; break; + case 'INR' : $currency_symbol = 'Kr.'; break; + case 'IKL' : $currency_symbol = '₪'; break; case 'ILS' : $currency_symbol = '₪'; break; case 'PHP' : $currency_symbol = '₱'; break; case 'PLN' : $currency_symbol = 'zł'; break; From 84e8716844b0af94475cb5ce19666af5f8e96f2a Mon Sep 17 00:00:00 2001 From: Remi Corson Date: Thu, 14 Nov 2013 11:42:05 +0100 Subject: [PATCH 2/3] Added Icelandic krona & Currency symbol --- includes/wc-core-functions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/wc-core-functions.php b/includes/wc-core-functions.php index 6371b6da85d..96b6c31cb2e 100644 --- a/includes/wc-core-functions.php +++ b/includes/wc-core-functions.php @@ -229,8 +229,8 @@ function get_woocommerce_currency_symbol( $currency = '' ) { case 'DKK' : $currency_symbol = 'kr'; break; case 'HUF' : $currency_symbol = 'Ft'; break; case 'IDR' : $currency_symbol = 'Rp'; break; - case 'INR' : $currency_symbol = 'Kr.'; break; - case 'IKL' : $currency_symbol = '₪'; break; + case 'INR' : $currency_symbol = 'Rs.'; break; + case 'IKS' : $currency_symbol = 'Kr.'; break; case 'ILS' : $currency_symbol = '₪'; break; case 'PHP' : $currency_symbol = '₱'; break; case 'PLN' : $currency_symbol = 'zł'; break; From 479153918ec1b69d3f6b98155c41ba137370a624 Mon Sep 17 00:00:00 2001 From: Remi Corson Date: Thu, 14 Nov 2013 11:44:58 +0100 Subject: [PATCH 3/3] Fixed incorrect Icelandic currency code --- includes/wc-core-functions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/wc-core-functions.php b/includes/wc-core-functions.php index 96b6c31cb2e..246d297ae51 100644 --- a/includes/wc-core-functions.php +++ b/includes/wc-core-functions.php @@ -155,7 +155,7 @@ function get_woocommerce_currencies() { 'EUR' => __( 'Euros', 'woocommerce' ), 'HKD' => __( 'Hong Kong Dollar', 'woocommerce' ), 'HUF' => __( 'Hungarian Forint', 'woocommerce' ), - 'IKS' => __( 'Icelandic krona', 'woocommerce' ), + 'ISK' => __( 'Icelandic krona', 'woocommerce' ), 'IDR' => __( 'Indonesia Rupiah', 'woocommerce' ), 'INR' => __( 'Indian Rupee', 'woocommerce' ), 'ILS' => __( 'Israeli Shekel', 'woocommerce' ), @@ -230,7 +230,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 'IKS' : $currency_symbol = 'Kr.'; break; + case 'ISK' : $currency_symbol = 'Kr.'; break; case 'ILS' : $currency_symbol = '₪'; break; case 'PHP' : $currency_symbol = '₱'; break; case 'PLN' : $currency_symbol = 'zł'; break;