fix: v1.4.4 - AceGUI pool fixes, event handling nil checks, QuestieLearner serialization, l10n format fixes

This commit is contained in:
Xurkon
2026-03-20 21:16:58 -05:00
parent f32520078c
commit 2df8a7b96d
26 changed files with 569 additions and 83 deletions
+9
View File
@@ -147,6 +147,15 @@ function _l10n:translate(key, ...)
return format(key, unpack(args))
end
if type(translationValue) ~= "string" then
if (Questie.db.profile.debugEnabled) then Questie:Debug(Questie.DEBUG_ELEVATED, "ERROR: Translation for '" .. tostring(key) .. "' is not a string!") end
return format(key, unpack(args))
end
if #args == 0 then
return translationValue
end
return format(translationValue, unpack(args))
end