vendor/assets/javascripts/web-app/i18n.coffee in iugu-ux-1.0.0 vs vendor/assets/javascripts/web-app/i18n.coffee in iugu-ux-1.0.1
- old
+ new
@@ -2,9 +2,10 @@
locale: "en"
setDefaultLocale: ( _locale ) ->
debug 'Configuring Language: ' + _locale
@locale = _locale
+ IuguUI.Money.configureLocale( _locale.toLowerCase() )
getText: ( _string, _locale = "" ) ->
_locale = @locale if _locale == ""
parts = _string.split('.')
_translated_text = null