From 55bda554ebfd08de028aa96f83837d219b2d149b Mon Sep 17 00:00:00 2001 From: Khai Truong Date: Tue, 30 Jul 2024 16:56:23 +0700 Subject: [PATCH] fixing test --- .../translator-test-results-note-data1.json | 48 ++++++++++++++----- test/data/translator-test-results.json | 24 +++++----- 2 files changed, 48 insertions(+), 24 deletions(-) diff --git a/test/data/translator-test-results-note-data1.json b/test/data/translator-test-results-note-data1.json index 5ed170a73e..853f21a8d7 100644 --- a/test/data/translator-test-results-note-data1.json +++ b/test/data/translator-test-results-note-data1.json @@ -12145,7 +12145,7 @@ "score": 10, "sequence": 4, "dictionary": "Test Dictionary 2", - "dictionaryAlias": "termsDictAlias", + "dictionaryAlias": "", "dictionaryOrder": { "index": 0, "priority": 0 @@ -12349,6 +12349,7 @@ { "sequence": 4, "dictionary": "Test Dictionary 2", + "dictionaryAlias": "termsDictAlias", "glossaryScopedStyles": ".yomitan-glossary [data-sc-content='glossary'] {\n color: #ffff00;\n}", "dictScopedStyles": ".yomitan-glossary [data-dictionary=\"Test Dictionary 2\"] [data-sc-content='glossary'] {\n color: #ffff00;\n}", "glossary": [ @@ -12370,6 +12371,7 @@ { "sequence": 4, "dictionary": "Test Dictionary 2", + "dictionaryAlias": "termsDictAlias", "glossaryScopedStyles": ".yomitan-glossary [data-sc-content='glossary'] {\n color: #ffff00;\n}", "dictScopedStyles": ".yomitan-glossary [data-dictionary=\"Test Dictionary 2\"] [data-sc-content='glossary'] {\n color: #ffff00;\n}", "glossary": [ @@ -12595,7 +12597,7 @@ "score": 10, "sequence": 4, "dictionary": "Test Dictionary 2", - "dictionaryAlias": "termsDictAlias", + "dictionaryAlias": "", "dictionaryOrder": { "index": 0, "priority": 0 @@ -12799,6 +12801,7 @@ { "sequence": 4, "dictionary": "Test Dictionary 2", + "dictionaryAlias": "termsDictAlias", "glossaryScopedStyles": ".yomitan-glossary [data-sc-content='glossary'] {\n color: #ffff00;\n}", "dictScopedStyles": ".yomitan-glossary [data-dictionary=\"Test Dictionary 2\"] [data-sc-content='glossary'] {\n color: #ffff00;\n}", "glossary": [ @@ -12820,6 +12823,7 @@ { "sequence": 4, "dictionary": "Test Dictionary 2", + "dictionaryAlias": "termsDictAlias", "glossaryScopedStyles": ".yomitan-glossary [data-sc-content='glossary'] {\n color: #ffff00;\n}", "dictScopedStyles": ".yomitan-glossary [data-dictionary=\"Test Dictionary 2\"] [data-sc-content='glossary'] {\n color: #ffff00;\n}", "glossary": [ @@ -13050,7 +13054,7 @@ "score": 10, "sequence": 3, "dictionary": "Test Dictionary 2", - "dictionaryAlias": "termsDictAlias", + "dictionaryAlias": "", "dictionaryOrder": { "index": 0, "priority": 0 @@ -13224,6 +13228,7 @@ { "sequence": 3, "dictionary": "Test Dictionary 2", + "dictionaryAlias": "termsDictAlias", "glossaryScopedStyles": ".yomitan-glossary [data-sc-content='glossary'] {\n color: #ffff00;\n}", "dictScopedStyles": ".yomitan-glossary [data-dictionary=\"Test Dictionary 2\"] [data-sc-content='glossary'] {\n color: #ffff00;\n}", "glossary": [ @@ -13245,6 +13250,7 @@ { "sequence": 3, "dictionary": "Test Dictionary 2", + "dictionaryAlias": "termsDictAlias", "glossaryScopedStyles": ".yomitan-glossary [data-sc-content='glossary'] {\n color: #ffff00;\n}", "dictScopedStyles": ".yomitan-glossary [data-dictionary=\"Test Dictionary 2\"] [data-sc-content='glossary'] {\n color: #ffff00;\n}", "glossary": [ @@ -13405,7 +13411,7 @@ "score": 10, "sequence": 3, "dictionary": "Test Dictionary 2", - "dictionaryAlias": "termsDictAlias", + "dictionaryAlias": "", "dictionaryOrder": { "index": 0, "priority": 0 @@ -13579,6 +13585,7 @@ { "sequence": 3, "dictionary": "Test Dictionary 2", + "dictionaryAlias": "termsDictAlias", "glossaryScopedStyles": ".yomitan-glossary [data-sc-content='glossary'] {\n color: #ffff00;\n}", "dictScopedStyles": ".yomitan-glossary [data-dictionary=\"Test Dictionary 2\"] [data-sc-content='glossary'] {\n color: #ffff00;\n}", "glossary": [ @@ -13600,6 +13607,7 @@ { "sequence": 3, "dictionary": "Test Dictionary 2", + "dictionaryAlias": "termsDictAlias", "glossaryScopedStyles": ".yomitan-glossary [data-sc-content='glossary'] {\n color: #ffff00;\n}", "dictScopedStyles": ".yomitan-glossary [data-dictionary=\"Test Dictionary 2\"] [data-sc-content='glossary'] {\n color: #ffff00;\n}", "glossary": [ @@ -13755,7 +13763,7 @@ "score": 1, "sequence": 1, "dictionary": "Test Dictionary 2", - "dictionaryAlias": "termsDictAlias", + "dictionaryAlias": "", "dictionaryOrder": { "index": 0, "priority": 0 @@ -13902,6 +13910,7 @@ { "sequence": 1, "dictionary": "Test Dictionary 2", + "dictionaryAlias": "termsDictAlias", "glossaryScopedStyles": ".yomitan-glossary [data-sc-content='glossary'] {\n color: #ffff00;\n}", "dictScopedStyles": ".yomitan-glossary [data-dictionary=\"Test Dictionary 2\"] [data-sc-content='glossary'] {\n color: #ffff00;\n}", "glossary": [ @@ -14070,7 +14079,7 @@ "score": 1, "sequence": 2, "dictionary": "Test Dictionary 2", - "dictionaryAlias": "termsDictAlias", + "dictionaryAlias": "", "dictionaryOrder": { "index": 0, "priority": 0 @@ -14217,6 +14226,7 @@ { "sequence": 2, "dictionary": "Test Dictionary 2", + "dictionaryAlias": "termsDictAlias", "glossaryScopedStyles": ".yomitan-glossary [data-sc-content='glossary'] {\n color: #ffff00;\n}", "dictScopedStyles": ".yomitan-glossary [data-dictionary=\"Test Dictionary 2\"] [data-sc-content='glossary'] {\n color: #ffff00;\n}", "glossary": [ @@ -14398,7 +14408,7 @@ "score": 10, "sequence": 4, "dictionary": "Test Dictionary 2", - "dictionaryAlias": "termsDictAlias", + "dictionaryAlias": "", "dictionaryOrder": { "index": 0, "priority": 0 @@ -14737,6 +14747,7 @@ { "sequence": 4, "dictionary": "Test Dictionary 2", + "dictionaryAlias": "termsDictAlias", "glossaryScopedStyles": ".yomitan-glossary [data-sc-content='glossary'] {\n color: #ffff00;\n}", "dictScopedStyles": ".yomitan-glossary [data-dictionary=\"Test Dictionary 2\"] [data-sc-content='glossary'] {\n color: #ffff00;\n}", "glossary": [ @@ -14761,6 +14772,7 @@ { "sequence": 4, "dictionary": "Test Dictionary 2", + "dictionaryAlias": "termsDictAlias", "glossaryScopedStyles": ".yomitan-glossary [data-sc-content='glossary'] {\n color: #ffff00;\n}", "dictScopedStyles": ".yomitan-glossary [data-dictionary=\"Test Dictionary 2\"] [data-sc-content='glossary'] {\n color: #ffff00;\n}", "glossary": [ @@ -14785,6 +14797,7 @@ { "sequence": 4, "dictionary": "Test Dictionary 2", + "dictionaryAlias": "termsDictAlias", "glossaryScopedStyles": ".yomitan-glossary [data-sc-content='glossary'] {\n color: #ffff00;\n}", "dictScopedStyles": ".yomitan-glossary [data-dictionary=\"Test Dictionary 2\"] [data-sc-content='glossary'] {\n color: #ffff00;\n}", "glossary": [ @@ -14809,6 +14822,7 @@ { "sequence": 4, "dictionary": "Test Dictionary 2", + "dictionaryAlias": "termsDictAlias", "glossaryScopedStyles": ".yomitan-glossary [data-sc-content='glossary'] {\n color: #ffff00;\n}", "dictScopedStyles": ".yomitan-glossary [data-dictionary=\"Test Dictionary 2\"] [data-sc-content='glossary'] {\n color: #ffff00;\n}", "glossary": [ @@ -15185,7 +15199,7 @@ "score": 10, "sequence": 3, "dictionary": "Test Dictionary 2", - "dictionaryAlias": "termsDictAlias", + "dictionaryAlias": "", "dictionaryOrder": { "index": 0, "priority": 0 @@ -15464,6 +15478,7 @@ { "sequence": 3, "dictionary": "Test Dictionary 2", + "dictionaryAlias": "termsDictAlias", "glossaryScopedStyles": ".yomitan-glossary [data-sc-content='glossary'] {\n color: #ffff00;\n}", "dictScopedStyles": ".yomitan-glossary [data-dictionary=\"Test Dictionary 2\"] [data-sc-content='glossary'] {\n color: #ffff00;\n}", "glossary": [ @@ -15488,6 +15503,7 @@ { "sequence": 3, "dictionary": "Test Dictionary 2", + "dictionaryAlias": "termsDictAlias", "glossaryScopedStyles": ".yomitan-glossary [data-sc-content='glossary'] {\n color: #ffff00;\n}", "dictScopedStyles": ".yomitan-glossary [data-dictionary=\"Test Dictionary 2\"] [data-sc-content='glossary'] {\n color: #ffff00;\n}", "glossary": [ @@ -15512,6 +15528,7 @@ { "sequence": 3, "dictionary": "Test Dictionary 2", + "dictionaryAlias": "termsDictAlias", "glossaryScopedStyles": ".yomitan-glossary [data-sc-content='glossary'] {\n color: #ffff00;\n}", "dictScopedStyles": ".yomitan-glossary [data-dictionary=\"Test Dictionary 2\"] [data-sc-content='glossary'] {\n color: #ffff00;\n}", "glossary": [ @@ -15536,6 +15553,7 @@ { "sequence": 3, "dictionary": "Test Dictionary 2", + "dictionaryAlias": "termsDictAlias", "glossaryScopedStyles": ".yomitan-glossary [data-sc-content='glossary'] {\n color: #ffff00;\n}", "dictScopedStyles": ".yomitan-glossary [data-dictionary=\"Test Dictionary 2\"] [data-sc-content='glossary'] {\n color: #ffff00;\n}", "glossary": [ @@ -15772,7 +15790,7 @@ "score": 1, "sequence": 1, "dictionary": "Test Dictionary 2", - "dictionaryAlias": "termsDictAlias", + "dictionaryAlias": "", "dictionaryOrder": { "index": 0, "priority": 0 @@ -15912,6 +15930,7 @@ { "sequence": 1, "dictionary": "Test Dictionary 2", + "dictionaryAlias": "termsDictAlias", "glossaryScopedStyles": ".yomitan-glossary [data-sc-content='glossary'] {\n color: #ffff00;\n}", "dictScopedStyles": ".yomitan-glossary [data-dictionary=\"Test Dictionary 2\"] [data-sc-content='glossary'] {\n color: #ffff00;\n}", "glossary": [ @@ -16080,7 +16099,7 @@ "score": 1, "sequence": 2, "dictionary": "Test Dictionary 2", - "dictionaryAlias": "termsDictAlias", + "dictionaryAlias": "", "dictionaryOrder": { "index": 0, "priority": 0 @@ -16220,6 +16239,7 @@ { "sequence": 2, "dictionary": "Test Dictionary 2", + "dictionaryAlias": "termsDictAlias", "glossaryScopedStyles": ".yomitan-glossary [data-sc-content='glossary'] {\n color: #ffff00;\n}", "dictScopedStyles": ".yomitan-glossary [data-dictionary=\"Test Dictionary 2\"] [data-sc-content='glossary'] {\n color: #ffff00;\n}", "glossary": [ @@ -27897,7 +27917,7 @@ "score": 10, "sequence": 4, "dictionary": "Test Dictionary 2", - "dictionaryAlias": "termsDictAlias", + "dictionaryAlias": "", "dictionaryOrder": { "index": 0, "priority": 0 @@ -28236,6 +28256,7 @@ { "sequence": 4, "dictionary": "Test Dictionary 2", + "dictionaryAlias": "termsDictAlias", "glossaryScopedStyles": ".yomitan-glossary [data-sc-content='glossary'] {\n color: #ffff00;\n}", "dictScopedStyles": ".yomitan-glossary [data-dictionary=\"Test Dictionary 2\"] [data-sc-content='glossary'] {\n color: #ffff00;\n}", "glossary": [ @@ -28259,7 +28280,8 @@ }, { "sequence": 4, - "dictionary": "Test Dictionary 2", + "dicttionary": "Test Dictionary 2", + "dictionaryAlias": "termsDictAlias", "glossaryScopedStyles": ".yomitan-glossary [data-sc-content='glossary'] {\n color: #ffff00;\n}", "dictScopedStyles": ".yomitan-glossary [data-dictionary=\"Test Dictionary 2\"] [data-sc-content='glossary'] {\n color: #ffff00;\n}", "glossary": [ @@ -28284,6 +28306,7 @@ { "sequence": 4, "dictionary": "Test Dictionary 2", + "dictionaryAlias": "termsDictAlias", "glossaryScopedStyles": ".yomitan-glossary [data-sc-content='glossary'] {\n color: #ffff00;\n}", "dictScopedStyles": ".yomitan-glossary [data-dictionary=\"Test Dictionary 2\"] [data-sc-content='glossary'] {\n color: #ffff00;\n}", "glossary": [ @@ -28308,6 +28331,7 @@ { "sequence": 4, "dictionary": "Test Dictionary 2", + "dictionaryAlias": "termsDictAlias", "glossaryScopedStyles": ".yomitan-glossary [data-sc-content='glossary'] {\n color: #ffff00;\n}", "dictScopedStyles": ".yomitan-glossary [data-dictionary=\"Test Dictionary 2\"] [data-sc-content='glossary'] {\n color: #ffff00;\n}", "glossary": [ diff --git a/test/data/translator-test-results.json b/test/data/translator-test-results.json index 25e04e9757..88f94b8f0f 100644 --- a/test/data/translator-test-results.json +++ b/test/data/translator-test-results.json @@ -7575,7 +7575,7 @@ "score": 10, "frequencyOrder": 0, "dictionaryIndex": 0, - "dictionaryAlias": "termsDictAlias", + "dictionaryAlias": "", "dictionaryPriority": 0, "sourceTermExactMatchCount": 1, "maxOriginalTextLength": 4, @@ -7830,7 +7830,7 @@ "score": 10, "frequencyOrder": 0, "dictionaryIndex": 0, - "dictionaryAlias": "termsDictAlias", + "dictionaryAlias": "", "dictionaryPriority": 0, "sourceTermExactMatchCount": 1, "maxOriginalTextLength": 4, @@ -8090,7 +8090,7 @@ "score": 10, "frequencyOrder": 0, "dictionaryIndex": 0, - "dictionaryAlias": "termsDictAlias", + "dictionaryAlias": "", "dictionaryPriority": 0, "sourceTermExactMatchCount": 1, "maxOriginalTextLength": 2, @@ -8325,7 +8325,7 @@ "score": 10, "frequencyOrder": 0, "dictionaryIndex": 0, - "dictionaryAlias": "termsDictAlias", + "dictionaryAlias": "", "dictionaryPriority": 0, "sourceTermExactMatchCount": 1, "maxOriginalTextLength": 2, @@ -8555,7 +8555,7 @@ "score": 1, "frequencyOrder": 0, "dictionaryIndex": 0, - "dictionaryAlias": "termsDictAlias", + "dictionaryAlias": "", "dictionaryPriority": 0, "sourceTermExactMatchCount": 1, "maxOriginalTextLength": 1, @@ -8735,7 +8735,7 @@ "score": 1, "frequencyOrder": 0, "dictionaryIndex": 0, - "dictionaryAlias": "termsDictAlias", + "dictionaryAlias": "", "dictionaryPriority": 0, "sourceTermExactMatchCount": 1, "maxOriginalTextLength": 1, @@ -8934,7 +8934,7 @@ "score": 10, "frequencyOrder": 0, "dictionaryIndex": 0, - "dictionaryAlias": "termsDictAlias", + "dictionaryAlias": "", "dictionaryPriority": 0, "sourceTermExactMatchCount": 2, "maxOriginalTextLength": 4, @@ -9421,7 +9421,7 @@ "score": 10, "frequencyOrder": 0, "dictionaryIndex": 0, - "dictionaryAlias": "termsDictAlias", + "dictionaryAlias": "", "dictionaryPriority": 0, "sourceTermExactMatchCount": 2, "maxOriginalTextLength": 2, @@ -9854,7 +9854,7 @@ "score": 1, "frequencyOrder": 0, "dictionaryIndex": 0, - "dictionaryAlias": "termsDictAlias", + "dictionaryAlias": "", "dictionaryPriority": 0, "sourceTermExactMatchCount": 1, "maxOriginalTextLength": 1, @@ -10034,7 +10034,7 @@ "score": 1, "frequencyOrder": 0, "dictionaryIndex": 0, - "dictionaryAlias": "termsDictAlias", + "dictionaryAlias": "", "dictionaryPriority": 0, "sourceTermExactMatchCount": 1, "maxOriginalTextLength": 1, @@ -16557,7 +16557,7 @@ "score": 10, "frequencyOrder": 0, "dictionaryIndex": 0, - "dictionaryAlias": "termsDictAlias", + "dictionaryAlias": "", "dictionaryPriority": 0, "sourceTermExactMatchCount": 0, "maxOriginalTextLength": 4, @@ -17044,7 +17044,7 @@ "score": 10, "frequencyOrder": 0, "dictionaryIndex": 0, - "dictionaryAlias": "termsDictAlias", + "dictionaryAlias": "", "dictionaryPriority": 0, "sourceTermExactMatchCount": 0, "maxOriginalTextLength": 2,