[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>.
pull/6882/head
Frans de Jonge 3 years ago committed by GitHub
parent f24d6f8aea
commit 6cc0ab8dc9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save