Add temp debug message

This commit is contained in:
Joshua Granick
2016-09-07 14:20:56 -07:00
parent 5ac4c6b485
commit 5e84073358

View File

@@ -20,16 +20,23 @@ abstract Locale(String) from String to String {
private static function __init ():Void {
trace ("1");
var locale = null;
trace ("2");
#if flash
locale = Capabilities.language;
#elseif (js && html5)
locale = untyped navigator.language;
#elseif (lime_cffi && !macro)
trace (lime_locale_get_system_locale);
locale = lime_locale_get_system_locale ();
#end
trace ("3");
if (locale != null) {
systemLocale = locale;
@@ -40,8 +47,12 @@ abstract Locale(String) from String to String {
}
trace ("4");
currentLocale = systemLocale;
trace ("5");
}