Browse Source

[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>.
reviewable/pr6882/r1
Frans de Jonge 1 year ago
committed by GitHub
parent
commit
6cc0ab8dc9
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      frontend/gettext.lua

+ 1
- 0
frontend/gettext.lua 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",

Loading…
Cancel
Save