Displaying correct currency symbol (Real of Brazil)

This commit is contained in:
John-Henrique 2012-01-12 05:23:41 -03:00
parent 2e62d34ac9
commit 9db8cde82c
2 changed files with 2 additions and 1 deletions

View File

@ -83,6 +83,7 @@ Yes you can! Join in on our GitHub repository :) https://github.com/woothemes/wo
== Changelog ==
= 1.4 =
* Displaying correct currency symbol (Real of Brazil)
* Improved default theme
* Support for multiple and stacked (compound) taxes
* Locale options for country address formatting and checkout fields

View File

@ -112,8 +112,8 @@ function get_woocommerce_currency_symbol( $currency = '' ) {
if (!$currency) $currency = get_option('woocommerce_currency');
$currency_symbol = '';
switch ($currency) :
case 'BRL' : $currency_symbol = 'R$'; break; // in Brazil the correct is R$ 0.00,00
case 'AUD' :
case 'BRL' :
case 'CAD' :
case 'MXN' :
case 'NZD' :