Update to 1.4.0 dictionaries + small modifications on ctld.i18n_check() for better readability of the result

This commit is contained in:
FullGas1
2025-02-04 16:14:52 +01:00
committed by GitHub
parent 75a62c32a9
commit bbf2c6b7fd
2 changed files with 192 additions and 162 deletions

View File

@@ -8113,11 +8113,11 @@ function ctld.i18n_check(language, verbose)
if textRef ~= "translation_version" then
local textTocheck = tocheck[textRef]
if not textTocheck then
ctld.logError(string.format("CTLD.i18n_check: checking %s text [%s]: not found", language, textRef))
ctld.logError(string.format( "CTLD.i18n_check: NOT FOUND: checking %s text [%s]", language, textRef))
elseif textTocheck == textEnglish then
ctld.logWarning(string.format("CTLD.i18n_check: checking %s text [%s]: same as in EN", language, textRef))
ctld.logWarning(string.format("CTLD.i18n_check: SAME: checking %s text [%s] as in EN", language, textRef))
elseif verbose then
ctld.logInfo(string.format("CTLD.i18n_check: checking %s text [%s]: OK", language, textRef))
ctld.logInfo(string.format( "CTLD.i18n_check: OK: checking %s text [%s]", language, textRef))
end
end
end