diff --git a/locales/en.json b/locales/en.json index 0e79749..643f796 100644 --- a/locales/en.json +++ b/locales/en.json @@ -11,6 +11,5 @@ "UNITTEST": { "UNITTESTA": "\n.-._ _,-,\n`._`-._ _,-'_,'\n `._ `-._ _,-' _,'\n `._ `-._ __.-----.__ _,-' _,'\n `._ `#===\\\"\\\"\\\" \\\"\\\"\\\"===#' _,'\n `._/) ._ _. (\\_,'\n )*' **.__ __.** '*(\n # .==..__ \\\"\\\" \\\"\\\" __..==, #\n # `\\\"._(_). .(_)_.\\\"' #" } - } - + } } \ No newline at end of file diff --git a/modules/locales/shared.lua b/modules/locales/shared.lua index 7c71314..15296b4 100644 --- a/modules/locales/shared.lua +++ b/modules/locales/shared.lua @@ -17,6 +17,7 @@ esxLang ~= "none" and esxLang or Language = {} function Language.Locale(str, ...) + print("Lang: ", GetInvokingResource(), GetCurrentResourceName()) local resource = GetInvokingResource() or GetCurrentResourceName() assert(resource, "Resource name not found")