Merge pull request #2819 from kexplo/master

Add South Korean Won ( KRW, ₩ ) currency
This commit is contained in:
Mike Jolley 2013-03-26 05:28:22 -07:00
commit ac097b3704
1 changed files with 2 additions and 0 deletions

View File

@ -685,6 +685,7 @@ function get_woocommerce_currencies() {
'INR' => __( 'Indian Rupee', 'woocommerce' ),
'ILS' => __( 'Israeli Shekel', 'woocommerce' ),
'JPY' => __( 'Japanese Yen', 'woocommerce' ),
'KRW' => __( 'South Korean Won', 'woocommerce' ),
'MYR' => __( 'Malaysian Ringgits', 'woocommerce' ),
'MXN' => __( 'Mexican Peso', 'woocommerce' ),
'NOK' => __( 'Norwegian Krone', 'woocommerce' ),
@ -738,6 +739,7 @@ function get_woocommerce_currency_symbol( $currency = '' ) {
case 'JPY' :
$currency_symbol = '¥';
break;
case 'KRW' : $currency_symbol = '₩'; break;
case 'TRY' : $currency_symbol = 'TL'; break;
case 'NOK' : $currency_symbol = 'kr'; break;
case 'ZAR' : $currency_symbol = 'R'; break;