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:
anarcat authored and Frans de Jonge committed 2018-03-14 15:15:14 +01:00
1 parent bfd55c76c2
commit 78fbc145e4
1 file changed
+1 -1
+1 -1
View File
@@ -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