From 6cc0ab8dc9da1549f6a6d1abdb8fe190b302faba Mon Sep 17 00:00:00 2001 From: Frans de Jonge Date: Fri, 13 Nov 2020 16:54:01 +0100 Subject: [PATCH] [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 . --- frontend/gettext.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/gettext.lua b/frontend/gettext.lua index 85e3f9fb8..92c7c0812 100644 --- a/frontend/gettext.lua +++ b/frontend/gettext.lua @@ -23,6 +23,7 @@ local isAndroid, android = pcall(require, "android") local logger = require("logger") local GetText = { + context = {}, translation = {}, current_lang = "C", dirname = "l10n",