From c6897c68a9cd6f6c5f240babc7fe73b17b9d71fd Mon Sep 17 00:00:00 2001 From: Kevin Lyles Date: Sun, 23 Jan 2011 15:28:07 -0600 Subject: [PATCH] Added a once-per-session message about non-localized strings --- Locales/localization.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Locales/localization.lua b/Locales/localization.lua index 2e906c9..a9b08bd 100644 --- a/Locales/localization.lua +++ b/Locales/localization.lua @@ -1,6 +1,8 @@ local metatable = { __index = function(tbl, key) -- error("Localized string not found: " .. tostring(key)) + print("WeightsWatcher: Warning: localized string not found: \"" .. tostring(key) .. "\"") + tbl[key] = key return key end } -- 1.7.9.5