Added debug function to scan translations for missing strings

This commit is contained in:
Wofsauge committed 2022-01-15 22:52:16 +01:00
1 parent ce320f5062
commit 858e19db69
13 files changed
+146 -3

No files matched your search

+2 -2
View File
@@ -3,7 +3,7 @@ EID = RegisterMod("External Item Descriptions", 1)
EID.GameVersion = "ab+"
EID.Languages = {"en_us", "en_us_detailed", "fr", "pt", "pt_br", "ru", "spa", "it", "bul", "pl", "de", "tr_tr", "ko_kr", "zh_cn"}
EID.descriptions = {} -- Table that holds all translation strings
local enableDebug = false
EID.enableDebug = false
local game = Game()
require("eid_config")
@@ -1126,6 +1126,6 @@ if EID.MCMLoaded or REPENTANCE then
EID:AddCallback(ModCallbacks.MC_PRE_GAME_EXIT, SaveGame)
end
if enableDebug then
if EID.enableDebug then
require("eid_debugging")
end