mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
[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:
@@ -23,6 +23,7 @@ local isAndroid, android = pcall(require, "android")
|
||||
local logger = require("logger")
|
||||
|
||||
local GetText = {
|
||||
context = {},
|
||||
translation = {},
|
||||
current_lang = "C",
|
||||
dirname = "l10n",
|
||||
|
||||
Reference in New Issue
Block a user