mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
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:
@@ -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