From fcaea6fd34db6719b8d2151a32b6db16cf5ad8d7 Mon Sep 17 00:00:00 2001 From: Saeed Rasooli Date: Wed, 18 Dec 2024 09:32:22 +0330 Subject: [PATCH] fix tests/g_stardict_sort_test.py --- tests/g_stardict_sort_test.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/tests/g_stardict_sort_test.py b/tests/g_stardict_sort_test.py index 553936e58..02772e890 100644 --- a/tests/g_stardict_sort_test.py +++ b/tests/g_stardict_sort_test.py @@ -9,10 +9,11 @@ def __init__(self, *args, **kwargs): TestGlossaryErrorsBase.__init__(self, *args, **kwargs) self.dataFileCRC32.update( { - "100-en-fa.sd/100-en-fa.dict": "223a0d1d", - "100-en-fa.sd/100-en-fa.idx": "6df43378", - "100-en-fa.sd/100-en-fa.ifo": "3f2086cd", - "100-en-fa.sd/100-en-fa.syn": "1160fa0b", + "100-en-fa-sd-v2/100-en-fa.dict": "223a0d1d", + "100-en-fa-sd-v2/100-en-fa.idx": "6df43378", + "100-en-fa-sd-v2/100-en-fa.ifo": "bb916827", + "100-en-fa-sd-v2/100-en-fa.syn": "1160fa0b", + "100-en-fa-sd-v2.txt": "0b8b2ac0", "100-en-fa-sd.txt": "85f9d3fc", }, ) @@ -24,6 +25,7 @@ def convert_txt_stardict_enfa( ): self.convert_txt_stardict( fname, + fname + "-sd-v2", config={"enable_alts": True}, info={ "sourceLang": "English",