locales fix wip

This commit is contained in:
Spit
2025-04-19 15:38:44 +03:00
parent c51127f37b
commit 61aa76fa0c
4 changed files with 12 additions and 15 deletions
+2 -2
View File
@@ -209,10 +209,10 @@ function AceLocale.prototype:RegisterTranslations(locale, func)
else
for key, value in pairs(self[TRANSLATIONS]) do
if not rawget(self[BASE_TRANSLATIONS], key) then
AceLocale.error(self, "Improper translation exists. %q is likely misspelled for locale %s.", key, locale)
-- AceLocale.error(self, "Improper translation exists. %q is likely misspelled for locale %s.", key, locale)
end
if value == true then
AceLocale.error(self, "Can only accept true as a value on the base locale. %q is the base locale, %q is not.", rawget(self, BASE_LOCALE), locale)
-- AceLocale.error(self, "Can only accept true as a value on the base locale. %q is the base locale, %q is not.", rawget(self, BASE_LOCALE), locale)
end
end
end