turn missing translations into a warning (#3752)
This is not fatal and can be mistaken by new users for the cause of all their problems, like I did in #2621.
This commit is contained in:
1 parent
bfd55c76c2
commit
78fbc145e4
1 file changed
+1
-1
@@ -51,7 +51,7 @@ function GetText_mt.__index.changeLang(new_lang)
|
||||
local po = io.open(file, "r")
|
||||
|
||||
if not po then
|
||||
logger.err("cannot open translation file:", file)
|
||||
logger.warn("cannot open translation file:", file)
|
||||
return false
|
||||
end
|
||||
|
||||
|
||||
Reference in new issue
Block a user