diff --git a/lime/system/Locale.hx b/lime/system/Locale.hx index 811fba51d..a1ecc1f2b 100644 --- a/lime/system/Locale.hx +++ b/lime/system/Locale.hx @@ -18,14 +18,11 @@ abstract Locale(String) from String to String { public var region (get, never):String; + private static function __init__ ():Void { __init (); } private static function __init ():Void { - trace ("1"); - var locale = null; - trace ("2"); - #if flash locale = Capabilities.language; #elseif (js && html5) @@ -35,8 +32,6 @@ abstract Locale(String) from String to String { locale = lime_locale_get_system_locale (); #end - trace ("3"); - if (locale != null) { systemLocale = locale; @@ -47,12 +42,8 @@ abstract Locale(String) from String to String { } - trace ("4"); - currentLocale = systemLocale; - trace ("5"); - }