From 78fbc145e40ae5b57dc04f5a2281bdfe96bfd1b5 Mon Sep 17 00:00:00 2001 From: anarcat Date: Wed, 14 Mar 2018 10:15:14 -0400 Subject: [PATCH] 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. --- frontend/gettext.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/gettext.lua b/frontend/gettext.lua index 69bc32cc1..42e4c2974 100644 --- a/frontend/gettext.lua +++ b/frontend/gettext.lua @@ -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