Added a once-per-session message about non-localized strings
Kevin Lyles [01-23-11 - 21:28]
Added a once-per-session message about non-localized strings
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
}