ReaderDictionary: fix possible crash with Wikipedia

Also reword some "...canceled" to "...interrupted"
for consistency.
This commit is contained in:
poire-z committed 2021-01-10 01:14:48 +01:00
1 parent 1f2447dc06
commit 9ec3dcb376
3 files changed
+3 -3

No files matched your search

@@ -502,7 +502,7 @@ function ReaderWikipedia:lookupWikipedia(word, is_sane, box, get_fullpage, force
-- dummy results
local definition
if lookup_cancelled then
definition = _("Wikipedia request canceled.")
definition = _("Wikipedia request interrupted.")
elseif ok then
definition = no_result_text
else