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.
pull/3755/head
anarcat 6 years ago committed by Frans de Jonge
parent bfd55c76c2
commit 78fbc145e4

@ -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

Loading…
Cancel
Save