[fix] Always initiate empty context table (#6874)

In case of no environment language. I suppose that doesn't tend to happen much in the wild since I added the offending code early in 2020. ;-)

Fixes <https://github.com/koreader/koreader/issues/6873>.
This commit is contained in:
Frans de Jonge
2020-11-13 16:54:01 +01:00
committed by GitHub
parent f24d6f8aea
commit 6cc0ab8dc9

View File

@@ -23,6 +23,7 @@ local isAndroid, android = pcall(require, "android")
local logger = require("logger")
local GetText = {
context = {},
translation = {},
current_lang = "C",
dirname = "l10n",