From 5e8407335849dbe084410d6fda9c77b9d1da9eaf Mon Sep 17 00:00:00 2001 From: Joshua Granick Date: Wed, 7 Sep 2016 14:20:56 -0700 Subject: [PATCH] Add temp debug message --- lime/system/Locale.hx | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/lime/system/Locale.hx b/lime/system/Locale.hx index c9039eb24..811fba51d 100644 --- a/lime/system/Locale.hx +++ b/lime/system/Locale.hx @@ -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"); + }