From 8a9d16e23d45192c4e69853de343fcd42e6501b7 Mon Sep 17 00:00:00 2001 From: Benoit Pierre Date: Mon, 6 Jul 2026 07:51:20 +0200 Subject: [PATCH] dictionaries: fix / update some dictionaries (#15641) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - fix "Wiktionary Bokmål-Svenska" URL - drop "GNU/FDL Anglicko/Český slovník" & "GNU/FDL Německo/Český slovník" dictionaries: URLs are not valid anymore, and the updated Debian package sources don't include the final StartDict dictionaries Command used to check: ``` curl --head --no-show-headers -s -L --out-null \ -w '%{url} %{http_code} %header{content-length} %header{etag}\n' \ $(sed -n 's/^\s*url = "\(.*\)",\?/\1/p' 'frontend/ui/data/dictionaries.lua' | sort) ``` --- frontend/ui/data/dictionaries.lua | 26 +------------------------- 1 file changed, 1 insertion(+), 25 deletions(-) diff --git a/frontend/ui/data/dictionaries.lua b/frontend/ui/data/dictionaries.lua index df3428c96..7223a55ab 100644 --- a/frontend/ui/data/dictionaries.lua +++ b/frontend/ui/data/dictionaries.lua @@ -90,14 +90,6 @@ local dictionaries = { license = _("CC-BY-SA 2.5"), url = "https://dicionario-aberto.net/resources/stardict-DicAberto.tar.bz2", }, - { - name = "GNU/FDL Anglicko/Český slovník", - lang_in = "eng", - lang_out = "ces", - entries = 178904, -- ~90000 each way - license = _("GNU/FDL"), - url = "http://http.debian.net/debian/pool/non-free/s/stardict-english-czech/stardict-english-czech_20161201.orig.tar.gz", - }, { name = "GNU/FDL Anglicko/Český slovník", lang_in = "ces", @@ -106,22 +98,6 @@ local dictionaries = { license = _("GNU/FDL"), url = "https://github.com/Vuizur/czech-dictionary-extender/releases/download/1.0.0/czech-english-dict.tar.gz", }, - { - name = "GNU/FDL Německo/Český slovník", - lang_in = "deu", - lang_out = "ces", - entries = 2341, -- ~1200 each way - license = _("GNU/FDL"), - url = "http://http.debian.net/debian/pool/non-free/s/stardict-german-czech/stardict-german-czech_20161201.orig.tar.gz", - }, - { - name = "GNU/FDL Německo/Český slovník", - lang_in = "ces", - lang_out = "deu", - entries = 2341, -- ~1200 each way - license = _("GNU/FDL"), - url = "http://http.debian.net/debian/pool/non-free/s/stardict-german-czech/stardict-german-czech_20161201.orig.tar.gz", - }, -- Dictionaries mirrored from Sourceforge, see https://github.com/koreader/koreader/pull/3176#issuecomment-447085441 { name = "Afrikaans-English dictionary", @@ -3345,7 +3321,7 @@ local dictionaries = { lang_out = "swe", entries = 14076, license = "GPLv3+ and CC BY-SA 4.0", - url = "https://github.com/xxyzz/wiktionary_stardict/releases/latest/download/nb-sv.tar.zst", + url = "https://github.com/xxyzz/wiktionary_stardict/releases/latest/download/no-sv.tar.zst", }, { name = "Wiktionary Bulgarian-English",