Merge pull request #1181 from Cocodrulo/fix/warning-lang-msg

Fix warning message by adding white color again
This commit is contained in:
Joel
2025-02-26 03:43:22 +00:00
committed by GitHub
+1 -1
View File
@@ -102,7 +102,7 @@ function Locale:t(key, subs)
-- At this point we know whether the phrase does not exist for this key
else
if self.warnOnMissing then
print(('^3Warning: Missing phrase for key: "%s"'):format(key))
print(('^3Warning: Missing phrase for key: "%s"^0'):format(key))
end
if self.fallback then
return self.fallback:t(key, subs)