summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2021-01-28 21:33:30 -0500
committerGitHub <noreply@github.com>2021-01-28 21:33:30 -0500
commita81787c55b10b43344a9506b62d90c317b329667 (patch)
tree9a2ffe10e63efc85f3beacf31d0356ebe58ca606 /test
parente610a62ceb07313c581a0bd2d5c8ebbc7c39ba4f (diff)
Remove the dictionary tag from the definitionTags (#1324)
* Remove dictionary tag from term definitionTags and kanji tags * Update test data * Update templates * Update tests * Update information
Diffstat (limited to 'test')
-rw-r--r--test/data/test-translator-data.json954
-rw-r--r--test/test-options-util.js18
2 files changed, 15 insertions, 957 deletions
diff --git a/test/data/test-translator-data.json b/test/data/test-translator-data.json
index 2a568141..651b87d1 100644
--- a/test/data/test-translator-data.json
+++ b/test/data/test-translator-data.json
@@ -80,15 +80,6 @@
"score": 0,
"dictionary": "Test Dictionary 2",
"redundant": false
- },
- {
- "name": "Test Dictionary 2",
- "category": "dictionary",
- "notes": "",
- "order": 100,
- "score": 0,
- "dictionary": "Test Dictionary 2",
- "redundant": false
}
],
"stats": {
@@ -203,15 +194,6 @@
"score": 0,
"dictionary": "Test Dictionary 2",
"redundant": false
- },
- {
- "name": "Test Dictionary 2",
- "category": "dictionary",
- "notes": "",
- "order": 100,
- "score": 0,
- "dictionary": "Test Dictionary 2",
- "redundant": false
}
],
"stats": {
@@ -404,15 +386,6 @@
"score": 0,
"dictionary": "Test Dictionary 2",
"redundant": false
- },
- {
- "name": "Test Dictionary 2",
- "category": "dictionary",
- "notes": "",
- "order": 100,
- "score": 0,
- "dictionary": "Test Dictionary 2",
- "redundant": false
}
],
"termTags": [
@@ -567,15 +540,6 @@
"score": 0,
"dictionary": "Test Dictionary 2",
"redundant": false
- },
- {
- "name": "Test Dictionary 2",
- "category": "dictionary",
- "notes": "",
- "order": 100,
- "score": 0,
- "dictionary": "Test Dictionary 2",
- "redundant": false
}
],
"termTags": [
@@ -750,15 +714,6 @@
"score": 0,
"dictionary": "Test Dictionary 2",
"redundant": false
- },
- {
- "name": "Test Dictionary 2",
- "category": "dictionary",
- "notes": "",
- "order": 100,
- "score": 0,
- "dictionary": "Test Dictionary 2",
- "redundant": false
}
],
"termTags": [
@@ -921,15 +876,6 @@
"score": 0,
"dictionary": "Test Dictionary 2",
"redundant": false
- },
- {
- "name": "Test Dictionary 2",
- "category": "dictionary",
- "notes": "",
- "order": 100,
- "score": 0,
- "dictionary": "Test Dictionary 2",
- "redundant": false
}
],
"termTags": [
@@ -1092,15 +1038,6 @@
"score": 0,
"dictionary": "Test Dictionary 2",
"redundant": false
- },
- {
- "name": "Test Dictionary 2",
- "category": "dictionary",
- "notes": "",
- "order": 100,
- "score": 0,
- "dictionary": "Test Dictionary 2",
- "redundant": false
}
],
"termTags": [
@@ -1263,15 +1200,6 @@
"score": 0,
"dictionary": "Test Dictionary 2",
"redundant": false
- },
- {
- "name": "Test Dictionary 2",
- "category": "dictionary",
- "notes": "",
- "order": 100,
- "score": 0,
- "dictionary": "Test Dictionary 2",
- "redundant": false
}
],
"termTags": [
@@ -1426,15 +1354,6 @@
"score": 0,
"dictionary": "Test Dictionary 2",
"redundant": false
- },
- {
- "name": "Test Dictionary 2",
- "category": "dictionary",
- "notes": "",
- "order": 100,
- "score": 0,
- "dictionary": "Test Dictionary 2",
- "redundant": false
}
],
"termTags": [
@@ -1589,15 +1508,6 @@
"score": 0,
"dictionary": "Test Dictionary 2",
"redundant": false
- },
- {
- "name": "Test Dictionary 2",
- "category": "dictionary",
- "notes": "",
- "order": 100,
- "score": 0,
- "dictionary": "Test Dictionary 2",
- "redundant": false
}
],
"termTags": [
@@ -1804,15 +1714,6 @@
"score": 0,
"dictionary": "Test Dictionary 2",
"redundant": false
- },
- {
- "name": "Test Dictionary 2",
- "category": "dictionary",
- "notes": "",
- "order": 100,
- "score": 0,
- "dictionary": "Test Dictionary 2",
- "redundant": false
}
],
"termTags": [
@@ -2023,15 +1924,6 @@
"score": 0,
"dictionary": "Test Dictionary 2",
"redundant": false
- },
- {
- "name": "Test Dictionary 2",
- "category": "dictionary",
- "notes": "",
- "order": 100,
- "score": 0,
- "dictionary": "Test Dictionary 2",
- "redundant": false
}
],
"termTags": [
@@ -2242,15 +2134,6 @@
"score": 0,
"dictionary": "Test Dictionary 2",
"redundant": false
- },
- {
- "name": "Test Dictionary 2",
- "category": "dictionary",
- "notes": "",
- "order": 100,
- "score": 0,
- "dictionary": "Test Dictionary 2",
- "redundant": false
}
],
"termTags": [
@@ -2461,15 +2344,6 @@
"score": 0,
"dictionary": "Test Dictionary 2",
"redundant": false
- },
- {
- "name": "Test Dictionary 2",
- "category": "dictionary",
- "notes": "",
- "order": 100,
- "score": 0,
- "dictionary": "Test Dictionary 2",
- "redundant": false
}
],
"termTags": [
@@ -2650,15 +2524,6 @@
"score": 0,
"dictionary": "Test Dictionary 2",
"redundant": false
- },
- {
- "name": "Test Dictionary 2",
- "category": "dictionary",
- "notes": "",
- "order": 100,
- "score": 0,
- "dictionary": "Test Dictionary 2",
- "redundant": false
}
],
"termTags": [
@@ -2823,15 +2688,6 @@
"score": 0,
"dictionary": "Test Dictionary 2",
"redundant": false
- },
- {
- "name": "Test Dictionary 2",
- "category": "dictionary",
- "notes": "",
- "order": 100,
- "score": 0,
- "dictionary": "Test Dictionary 2",
- "redundant": false
}
],
"termTags": [
@@ -2996,15 +2852,6 @@
"score": 0,
"dictionary": "Test Dictionary 2",
"redundant": false
- },
- {
- "name": "Test Dictionary 2",
- "category": "dictionary",
- "notes": "",
- "order": 100,
- "score": 0,
- "dictionary": "Test Dictionary 2",
- "redundant": false
}
],
"termTags": [
@@ -3169,15 +3016,6 @@
"score": 0,
"dictionary": "Test Dictionary 2",
"redundant": false
- },
- {
- "name": "Test Dictionary 2",
- "category": "dictionary",
- "notes": "",
- "order": 100,
- "score": 0,
- "dictionary": "Test Dictionary 2",
- "redundant": false
}
],
"termTags": [
@@ -3332,15 +3170,6 @@
"score": 0,
"dictionary": "Test Dictionary 2",
"redundant": false
- },
- {
- "name": "Test Dictionary 2",
- "category": "dictionary",
- "notes": "",
- "order": 100,
- "score": 0,
- "dictionary": "Test Dictionary 2",
- "redundant": false
}
],
"termTags": [
@@ -3495,15 +3324,6 @@
"score": 0,
"dictionary": "Test Dictionary 2",
"redundant": false
- },
- {
- "name": "Test Dictionary 2",
- "category": "dictionary",
- "notes": "",
- "order": 100,
- "score": 0,
- "dictionary": "Test Dictionary 2",
- "redundant": false
}
],
"termTags": [
@@ -3664,15 +3484,6 @@
"score": 0,
"dictionary": "Test Dictionary 2",
"redundant": false
- },
- {
- "name": "Test Dictionary 2",
- "category": "dictionary",
- "notes": "",
- "order": 100,
- "score": 0,
- "dictionary": "Test Dictionary 2",
- "redundant": false
}
],
"termTags": [
@@ -3824,15 +3635,6 @@
"score": 0,
"dictionary": "Test Dictionary 2",
"redundant": false
- },
- {
- "name": "Test Dictionary 2",
- "category": "dictionary",
- "notes": "",
- "order": 100,
- "score": 0,
- "dictionary": "Test Dictionary 2",
- "redundant": false
}
],
"termTags": [
@@ -3999,15 +3801,6 @@
"score": 0,
"dictionary": "Test Dictionary 2",
"redundant": false
- },
- {
- "name": "Test Dictionary 2",
- "category": "dictionary",
- "notes": "",
- "order": 100,
- "score": 0,
- "dictionary": "Test Dictionary 2",
- "redundant": false
}
],
"termTags": [
@@ -4182,15 +3975,6 @@
"score": 0,
"dictionary": "Test Dictionary 2",
"redundant": false
- },
- {
- "name": "Test Dictionary 2",
- "category": "dictionary",
- "notes": "",
- "order": 100,
- "score": 0,
- "dictionary": "Test Dictionary 2",
- "redundant": false
}
],
"termTags": [
@@ -4353,15 +4137,6 @@
"score": 0,
"dictionary": "Test Dictionary 2",
"redundant": false
- },
- {
- "name": "Test Dictionary 2",
- "category": "dictionary",
- "notes": "",
- "order": 100,
- "score": 0,
- "dictionary": "Test Dictionary 2",
- "redundant": false
}
],
"termTags": [
@@ -4536,15 +4311,6 @@
"score": 0,
"dictionary": "Test Dictionary 2",
"redundant": false
- },
- {
- "name": "Test Dictionary 2",
- "category": "dictionary",
- "notes": "",
- "order": 100,
- "score": 0,
- "dictionary": "Test Dictionary 2",
- "redundant": false
}
],
"termTags": [
@@ -4707,15 +4473,6 @@
"score": 0,
"dictionary": "Test Dictionary 2",
"redundant": false
- },
- {
- "name": "Test Dictionary 2",
- "category": "dictionary",
- "notes": "",
- "order": 100,
- "score": 0,
- "dictionary": "Test Dictionary 2",
- "redundant": false
}
],
"termTags": [
@@ -4922,15 +4679,6 @@
"score": 0,
"dictionary": "Test Dictionary 2",
"redundant": false
- },
- {
- "name": "Test Dictionary 2",
- "category": "dictionary",
- "notes": "",
- "order": 100,
- "score": 0,
- "dictionary": "Test Dictionary 2",
- "redundant": false
}
],
"termTags": [
@@ -5141,15 +4889,6 @@
"score": 0,
"dictionary": "Test Dictionary 2",
"redundant": false
- },
- {
- "name": "Test Dictionary 2",
- "category": "dictionary",
- "notes": "",
- "order": 100,
- "score": 0,
- "dictionary": "Test Dictionary 2",
- "redundant": false
}
],
"termTags": [
@@ -5330,15 +5069,6 @@
"score": 0,
"dictionary": "Test Dictionary 2",
"redundant": false
- },
- {
- "name": "Test Dictionary 2",
- "category": "dictionary",
- "notes": "",
- "order": 100,
- "score": 0,
- "dictionary": "Test Dictionary 2",
- "redundant": false
}
],
"termTags": [
@@ -5503,15 +5233,6 @@
"score": 0,
"dictionary": "Test Dictionary 2",
"redundant": false
- },
- {
- "name": "Test Dictionary 2",
- "category": "dictionary",
- "notes": "",
- "order": 100,
- "score": 0,
- "dictionary": "Test Dictionary 2",
- "redundant": false
}
],
"termTags": [
@@ -5718,15 +5439,6 @@
"score": 0,
"dictionary": "Test Dictionary 2",
"redundant": false
- },
- {
- "name": "Test Dictionary 2",
- "category": "dictionary",
- "notes": "",
- "order": 100,
- "score": 0,
- "dictionary": "Test Dictionary 2",
- "redundant": false
}
],
"termTags": [
@@ -5937,15 +5649,6 @@
"score": 0,
"dictionary": "Test Dictionary 2",
"redundant": false
- },
- {
- "name": "Test Dictionary 2",
- "category": "dictionary",
- "notes": "",
- "order": 100,
- "score": 0,
- "dictionary": "Test Dictionary 2",
- "redundant": false
}
],
"termTags": [
@@ -6126,15 +5829,6 @@
"score": 0,
"dictionary": "Test Dictionary 2",
"redundant": false
- },
- {
- "name": "Test Dictionary 2",
- "category": "dictionary",
- "notes": "",
- "order": 100,
- "score": 0,
- "dictionary": "Test Dictionary 2",
- "redundant": false
}
],
"termTags": [
@@ -6299,15 +5993,6 @@
"score": 0,
"dictionary": "Test Dictionary 2",
"redundant": false
- },
- {
- "name": "Test Dictionary 2",
- "category": "dictionary",
- "notes": "",
- "order": 100,
- "score": 0,
- "dictionary": "Test Dictionary 2",
- "redundant": false
}
],
"termTags": [
@@ -6468,15 +6153,6 @@
"score": 0,
"dictionary": "Test Dictionary 2",
"redundant": false
- },
- {
- "name": "Test Dictionary 2",
- "category": "dictionary",
- "notes": "",
- "order": 100,
- "score": 0,
- "dictionary": "Test Dictionary 2",
- "redundant": false
}
],
"termTags": [
@@ -6659,15 +6335,6 @@
"score": 0,
"dictionary": "Test Dictionary 2",
"redundant": false
- },
- {
- "name": "Test Dictionary 2",
- "category": "dictionary",
- "notes": "",
- "order": 100,
- "score": 0,
- "dictionary": "Test Dictionary 2",
- "redundant": false
}
],
"termTags": [
@@ -6816,15 +6483,6 @@
"score": 0,
"dictionary": "Test Dictionary 2",
"redundant": false
- },
- {
- "name": "Test Dictionary 2",
- "category": "dictionary",
- "notes": "",
- "order": 100,
- "score": 0,
- "dictionary": "Test Dictionary 2",
- "redundant": false
}
],
"termTags": [
@@ -6973,15 +6631,6 @@
"score": 0,
"dictionary": "Test Dictionary 2",
"redundant": false
- },
- {
- "name": "Test Dictionary 2",
- "category": "dictionary",
- "notes": "",
- "order": 100,
- "score": 0,
- "dictionary": "Test Dictionary 2",
- "redundant": false
}
],
"termTags": [
@@ -7130,15 +6779,6 @@
"score": 0,
"dictionary": "Test Dictionary 2",
"redundant": false
- },
- {
- "name": "Test Dictionary 2",
- "category": "dictionary",
- "notes": "",
- "order": 100,
- "score": 0,
- "dictionary": "Test Dictionary 2",
- "redundant": false
}
],
"termTags": [
@@ -7273,15 +6913,6 @@
"score": 0,
"dictionary": "Test Dictionary 2",
"redundant": false
- },
- {
- "name": "Test Dictionary 2",
- "category": "dictionary",
- "notes": "",
- "order": 100,
- "score": 0,
- "dictionary": "Test Dictionary 2",
- "redundant": false
}
],
"termTags": [
@@ -7416,15 +7047,6 @@
"score": 0,
"dictionary": "Test Dictionary 2",
"redundant": false
- },
- {
- "name": "Test Dictionary 2",
- "category": "dictionary",
- "notes": "",
- "order": 100,
- "score": 0,
- "dictionary": "Test Dictionary 2",
- "redundant": false
}
],
"termTags": [
@@ -7559,15 +7181,6 @@
"score": 0,
"dictionary": "Test Dictionary 2",
"redundant": false
- },
- {
- "name": "Test Dictionary 2",
- "category": "dictionary",
- "notes": "",
- "order": 100,
- "score": 0,
- "dictionary": "Test Dictionary 2",
- "redundant": false
}
],
"termTags": [
@@ -7702,15 +7315,6 @@
"score": 0,
"dictionary": "Test Dictionary 2",
"redundant": false
- },
- {
- "name": "Test Dictionary 2",
- "category": "dictionary",
- "notes": "",
- "order": 100,
- "score": 0,
- "dictionary": "Test Dictionary 2",
- "redundant": false
}
],
"termTags": [
@@ -7835,15 +7439,6 @@
"score": 0,
"dictionary": "Test Dictionary 2",
"redundant": false
- },
- {
- "name": "Test Dictionary 2",
- "category": "dictionary",
- "notes": "",
- "order": 100,
- "score": 0,
- "dictionary": "Test Dictionary 2",
- "redundant": false
}
],
"termTags": [
@@ -7968,15 +7563,6 @@
"score": 0,
"dictionary": "Test Dictionary 2",
"redundant": false
- },
- {
- "name": "Test Dictionary 2",
- "category": "dictionary",
- "notes": "",
- "order": 100,
- "score": 0,
- "dictionary": "Test Dictionary 2",
- "redundant": false
}
],
"termTags": [
@@ -8354,15 +7940,6 @@
"score": 0,
"dictionary": "Test Dictionary 2",
"redundant": false
- },
- {
- "name": "Test Dictionary 2",
- "category": "dictionary",
- "notes": "",
- "order": 100,
- "score": 0,
- "dictionary": "Test Dictionary 2",
- "redundant": false
}
],
"termTags": [
@@ -8573,15 +8150,6 @@
"score": 0,
"dictionary": "Test Dictionary 2",
"redundant": false
- },
- {
- "name": "Test Dictionary 2",
- "category": "dictionary",
- "notes": "",
- "order": 100,
- "score": 0,
- "dictionary": "Test Dictionary 2",
- "redundant": true
}
],
"termTags": [
@@ -8978,15 +8546,6 @@
"score": 0,
"dictionary": "Test Dictionary 2",
"redundant": false
- },
- {
- "name": "Test Dictionary 2",
- "category": "dictionary",
- "notes": "",
- "order": 100,
- "score": 0,
- "dictionary": "Test Dictionary 2",
- "redundant": false
}
],
"termTags": [
@@ -9197,15 +8756,6 @@
"score": 0,
"dictionary": "Test Dictionary 2",
"redundant": false
- },
- {
- "name": "Test Dictionary 2",
- "category": "dictionary",
- "notes": "",
- "order": 100,
- "score": 0,
- "dictionary": "Test Dictionary 2",
- "redundant": true
}
],
"termTags": [
@@ -9542,15 +9092,6 @@
"score": 0,
"dictionary": "Test Dictionary 2",
"redundant": false
- },
- {
- "name": "Test Dictionary 2",
- "category": "dictionary",
- "notes": "",
- "order": 100,
- "score": 0,
- "dictionary": "Test Dictionary 2",
- "redundant": false
}
],
"termTags": [
@@ -9715,15 +9256,6 @@
"score": 0,
"dictionary": "Test Dictionary 2",
"redundant": false
- },
- {
- "name": "Test Dictionary 2",
- "category": "dictionary",
- "notes": "",
- "order": 100,
- "score": 0,
- "dictionary": "Test Dictionary 2",
- "redundant": true
}
],
"termTags": [
@@ -10028,15 +9560,6 @@
"score": 0,
"dictionary": "Test Dictionary 2",
"redundant": false
- },
- {
- "name": "Test Dictionary 2",
- "category": "dictionary",
- "notes": "",
- "order": 100,
- "score": 0,
- "dictionary": "Test Dictionary 2",
- "redundant": false
}
],
"termTags": [
@@ -10201,15 +9724,6 @@
"score": 0,
"dictionary": "Test Dictionary 2",
"redundant": false
- },
- {
- "name": "Test Dictionary 2",
- "category": "dictionary",
- "notes": "",
- "order": 100,
- "score": 0,
- "dictionary": "Test Dictionary 2",
- "redundant": true
}
],
"termTags": [
@@ -10494,15 +10008,6 @@
"score": 0,
"dictionary": "Test Dictionary 2",
"redundant": false
- },
- {
- "name": "Test Dictionary 2",
- "category": "dictionary",
- "notes": "",
- "order": 100,
- "score": 0,
- "dictionary": "Test Dictionary 2",
- "redundant": false
}
],
"termTags": [
@@ -10787,15 +10292,6 @@
"score": 0,
"dictionary": "Test Dictionary 2",
"redundant": false
- },
- {
- "name": "Test Dictionary 2",
- "category": "dictionary",
- "notes": "",
- "order": 100,
- "score": 0,
- "dictionary": "Test Dictionary 2",
- "redundant": false
}
],
"termTags": [
@@ -11216,15 +10712,6 @@
"score": 0,
"dictionary": "Test Dictionary 2",
"redundant": false
- },
- {
- "name": "Test Dictionary 2",
- "category": "dictionary",
- "notes": "",
- "order": 100,
- "score": 0,
- "dictionary": "Test Dictionary 2",
- "redundant": false
}
],
"definitions": [
@@ -11372,15 +10859,6 @@
"score": 0,
"dictionary": "Test Dictionary 2",
"redundant": false
- },
- {
- "name": "Test Dictionary 2",
- "category": "dictionary",
- "notes": "",
- "order": 100,
- "score": 0,
- "dictionary": "Test Dictionary 2",
- "redundant": false
}
],
"termTags": [
@@ -11613,15 +11091,6 @@
"score": 0,
"dictionary": "Test Dictionary 2",
"redundant": false
- },
- {
- "name": "Test Dictionary 2",
- "category": "dictionary",
- "notes": "",
- "order": 100,
- "score": 0,
- "dictionary": "Test Dictionary 2",
- "redundant": true
}
],
"definitions": [
@@ -11769,15 +11238,6 @@
"score": 0,
"dictionary": "Test Dictionary 2",
"redundant": false
- },
- {
- "name": "Test Dictionary 2",
- "category": "dictionary",
- "notes": "",
- "order": 100,
- "score": 0,
- "dictionary": "Test Dictionary 2",
- "redundant": false
}
],
"termTags": [
@@ -12010,15 +11470,6 @@
"score": 0,
"dictionary": "Test Dictionary 2",
"redundant": false
- },
- {
- "name": "Test Dictionary 2",
- "category": "dictionary",
- "notes": "",
- "order": 100,
- "score": 0,
- "dictionary": "Test Dictionary 2",
- "redundant": true
}
],
"definitions": [
@@ -12166,15 +11617,6 @@
"score": 0,
"dictionary": "Test Dictionary 2",
"redundant": false
- },
- {
- "name": "Test Dictionary 2",
- "category": "dictionary",
- "notes": "",
- "order": 100,
- "score": 0,
- "dictionary": "Test Dictionary 2",
- "redundant": false
}
],
"termTags": [
@@ -12407,15 +11849,6 @@
"score": 0,
"dictionary": "Test Dictionary 2",
"redundant": false
- },
- {
- "name": "Test Dictionary 2",
- "category": "dictionary",
- "notes": "",
- "order": 100,
- "score": 0,
- "dictionary": "Test Dictionary 2",
- "redundant": true
}
],
"definitions": [
@@ -12563,15 +11996,6 @@
"score": 0,
"dictionary": "Test Dictionary 2",
"redundant": false
- },
- {
- "name": "Test Dictionary 2",
- "category": "dictionary",
- "notes": "",
- "order": 100,
- "score": 0,
- "dictionary": "Test Dictionary 2",
- "redundant": false
}
],
"termTags": [
@@ -12992,15 +12416,6 @@
"score": 0,
"dictionary": "Test Dictionary 2",
"redundant": false
- },
- {
- "name": "Test Dictionary 2",
- "category": "dictionary",
- "notes": "",
- "order": 100,
- "score": 0,
- "dictionary": "Test Dictionary 2",
- "redundant": false
}
],
"definitions": [
@@ -13118,15 +12533,6 @@
"score": 0,
"dictionary": "Test Dictionary 2",
"redundant": false
- },
- {
- "name": "Test Dictionary 2",
- "category": "dictionary",
- "notes": "",
- "order": 100,
- "score": 0,
- "dictionary": "Test Dictionary 2",
- "redundant": false
}
],
"termTags": [
@@ -13303,15 +12709,6 @@
"score": 0,
"dictionary": "Test Dictionary 2",
"redundant": false
- },
- {
- "name": "Test Dictionary 2",
- "category": "dictionary",
- "notes": "",
- "order": 100,
- "score": 0,
- "dictionary": "Test Dictionary 2",
- "redundant": true
}
],
"definitions": [
@@ -13429,15 +12826,6 @@
"score": 0,
"dictionary": "Test Dictionary 2",
"redundant": false
- },
- {
- "name": "Test Dictionary 2",
- "category": "dictionary",
- "notes": "",
- "order": 100,
- "score": 0,
- "dictionary": "Test Dictionary 2",
- "redundant": false
}
],
"termTags": [
@@ -13614,15 +13002,6 @@
"score": 0,
"dictionary": "Test Dictionary 2",
"redundant": false
- },
- {
- "name": "Test Dictionary 2",
- "category": "dictionary",
- "notes": "",
- "order": 100,
- "score": 0,
- "dictionary": "Test Dictionary 2",
- "redundant": true
}
],
"definitions": [
@@ -13740,15 +13119,6 @@
"score": 0,
"dictionary": "Test Dictionary 2",
"redundant": false
- },
- {
- "name": "Test Dictionary 2",
- "category": "dictionary",
- "notes": "",
- "order": 100,
- "score": 0,
- "dictionary": "Test Dictionary 2",
- "redundant": false
}
],
"termTags": [
@@ -13925,15 +13295,6 @@
"score": 0,
"dictionary": "Test Dictionary 2",
"redundant": false
- },
- {
- "name": "Test Dictionary 2",
- "category": "dictionary",
- "notes": "",
- "order": 100,
- "score": 0,
- "dictionary": "Test Dictionary 2",
- "redundant": true
}
],
"definitions": [
@@ -14051,15 +13412,6 @@
"score": 0,
"dictionary": "Test Dictionary 2",
"redundant": false
- },
- {
- "name": "Test Dictionary 2",
- "category": "dictionary",
- "notes": "",
- "order": 100,
- "score": 0,
- "dictionary": "Test Dictionary 2",
- "redundant": false
}
],
"termTags": [
@@ -14344,15 +13696,6 @@
"score": 0,
"dictionary": "Test Dictionary 2",
"redundant": false
- },
- {
- "name": "Test Dictionary 2",
- "category": "dictionary",
- "notes": "",
- "order": 100,
- "score": 0,
- "dictionary": "Test Dictionary 2",
- "redundant": false
}
],
"definitions": [
@@ -14460,15 +13803,6 @@
"score": 0,
"dictionary": "Test Dictionary 2",
"redundant": false
- },
- {
- "name": "Test Dictionary 2",
- "category": "dictionary",
- "notes": "",
- "order": 100,
- "score": 0,
- "dictionary": "Test Dictionary 2",
- "redundant": false
}
],
"termTags": [
@@ -14737,15 +14071,6 @@
"score": 0,
"dictionary": "Test Dictionary 2",
"redundant": false
- },
- {
- "name": "Test Dictionary 2",
- "category": "dictionary",
- "notes": "",
- "order": 100,
- "score": 0,
- "dictionary": "Test Dictionary 2",
- "redundant": false
}
],
"definitions": [
@@ -14853,15 +14178,6 @@
"score": 0,
"dictionary": "Test Dictionary 2",
"redundant": false
- },
- {
- "name": "Test Dictionary 2",
- "category": "dictionary",
- "notes": "",
- "order": 100,
- "score": 0,
- "dictionary": "Test Dictionary 2",
- "redundant": false
}
],
"termTags": [
@@ -15113,15 +14429,6 @@
"score": 0,
"dictionary": "Test Dictionary 2",
"redundant": false
- },
- {
- "name": "Test Dictionary 2",
- "category": "dictionary",
- "notes": "",
- "order": 100,
- "score": 0,
- "dictionary": "Test Dictionary 2",
- "redundant": false
}
],
"termTags": [
@@ -15336,15 +14643,6 @@
"score": 0,
"dictionary": "Test Dictionary 2",
"redundant": false
- },
- {
- "name": "Test Dictionary 2",
- "category": "dictionary",
- "notes": "",
- "order": 100,
- "score": 0,
- "dictionary": "Test Dictionary 2",
- "redundant": false
}
],
"termTags": [
@@ -15559,15 +14857,6 @@
"score": 0,
"dictionary": "Test Dictionary 2",
"redundant": false
- },
- {
- "name": "Test Dictionary 2",
- "category": "dictionary",
- "notes": "",
- "order": 100,
- "score": 0,
- "dictionary": "Test Dictionary 2",
- "redundant": false
}
],
"termTags": [
@@ -15782,15 +15071,6 @@
"score": 0,
"dictionary": "Test Dictionary 2",
"redundant": false
- },
- {
- "name": "Test Dictionary 2",
- "category": "dictionary",
- "notes": "",
- "order": 100,
- "score": 0,
- "dictionary": "Test Dictionary 2",
- "redundant": false
}
],
"termTags": [
@@ -15971,15 +15251,6 @@
"score": 0,
"dictionary": "Test Dictionary 2",
"redundant": false
- },
- {
- "name": "Test Dictionary 2",
- "category": "dictionary",
- "notes": "",
- "order": 100,
- "score": 0,
- "dictionary": "Test Dictionary 2",
- "redundant": false
}
],
"termTags": [
@@ -16144,15 +15415,6 @@
"score": 0,
"dictionary": "Test Dictionary 2",
"redundant": false
- },
- {
- "name": "Test Dictionary 2",
- "category": "dictionary",
- "notes": "",
- "order": 100,
- "score": 0,
- "dictionary": "Test Dictionary 2",
- "redundant": false
}
],
"termTags": [
@@ -16317,15 +15579,6 @@
"score": 0,
"dictionary": "Test Dictionary 2",
"redundant": false
- },
- {
- "name": "Test Dictionary 2",
- "category": "dictionary",
- "notes": "",
- "order": 100,
- "score": 0,
- "dictionary": "Test Dictionary 2",
- "redundant": false
}
],
"termTags": [
@@ -16490,15 +15743,6 @@
"score": 0,
"dictionary": "Test Dictionary 2",
"redundant": false
- },
- {
- "name": "Test Dictionary 2",
- "category": "dictionary",
- "notes": "",
- "order": 100,
- "score": 0,
- "dictionary": "Test Dictionary 2",
- "redundant": false
}
],
"termTags": [
@@ -16653,15 +15897,6 @@
"score": 0,
"dictionary": "Test Dictionary 2",
"redundant": false
- },
- {
- "name": "Test Dictionary 2",
- "category": "dictionary",
- "notes": "",
- "order": 100,
- "score": 0,
- "dictionary": "Test Dictionary 2",
- "redundant": false
}
],
"termTags": [
@@ -16816,15 +16051,6 @@
"score": 0,
"dictionary": "Test Dictionary 2",
"redundant": false
- },
- {
- "name": "Test Dictionary 2",
- "category": "dictionary",
- "notes": "",
- "order": 100,
- "score": 0,
- "dictionary": "Test Dictionary 2",
- "redundant": false
}
],
"termTags": [
@@ -17046,15 +16272,6 @@
"score": 0,
"dictionary": "Test Dictionary 2",
"redundant": false
- },
- {
- "name": "Test Dictionary 2",
- "category": "dictionary",
- "notes": "",
- "order": 100,
- "score": 0,
- "dictionary": "Test Dictionary 2",
- "redundant": false
}
],
"termTags": [
@@ -17265,15 +16482,6 @@
"score": 0,
"dictionary": "Test Dictionary 2",
"redundant": false
- },
- {
- "name": "Test Dictionary 2",
- "category": "dictionary",
- "notes": "",
- "order": 100,
- "score": 0,
- "dictionary": "Test Dictionary 2",
- "redundant": false
}
],
"termTags": [
@@ -17484,15 +16692,6 @@
"score": 0,
"dictionary": "Test Dictionary 2",
"redundant": false
- },
- {
- "name": "Test Dictionary 2",
- "category": "dictionary",
- "notes": "",
- "order": 100,
- "score": 0,
- "dictionary": "Test Dictionary 2",
- "redundant": false
}
],
"termTags": [
@@ -17703,15 +16902,6 @@
"score": 0,
"dictionary": "Test Dictionary 2",
"redundant": false
- },
- {
- "name": "Test Dictionary 2",
- "category": "dictionary",
- "notes": "",
- "order": 100,
- "score": 0,
- "dictionary": "Test Dictionary 2",
- "redundant": false
}
],
"termTags": [
@@ -17892,15 +17082,6 @@
"score": 0,
"dictionary": "Test Dictionary 2",
"redundant": false
- },
- {
- "name": "Test Dictionary 2",
- "category": "dictionary",
- "notes": "",
- "order": 100,
- "score": 0,
- "dictionary": "Test Dictionary 2",
- "redundant": false
}
],
"termTags": [
@@ -18065,15 +17246,6 @@
"score": 0,
"dictionary": "Test Dictionary 2",
"redundant": false
- },
- {
- "name": "Test Dictionary 2",
- "category": "dictionary",
- "notes": "",
- "order": 100,
- "score": 0,
- "dictionary": "Test Dictionary 2",
- "redundant": false
}
],
"termTags": [
@@ -18238,15 +17410,6 @@
"score": 0,
"dictionary": "Test Dictionary 2",
"redundant": false
- },
- {
- "name": "Test Dictionary 2",
- "category": "dictionary",
- "notes": "",
- "order": 100,
- "score": 0,
- "dictionary": "Test Dictionary 2",
- "redundant": false
}
],
"termTags": [
@@ -18411,15 +17574,6 @@
"score": 0,
"dictionary": "Test Dictionary 2",
"redundant": false
- },
- {
- "name": "Test Dictionary 2",
- "category": "dictionary",
- "notes": "",
- "order": 100,
- "score": 0,
- "dictionary": "Test Dictionary 2",
- "redundant": false
}
],
"termTags": [
@@ -18574,15 +17728,6 @@
"score": 0,
"dictionary": "Test Dictionary 2",
"redundant": false
- },
- {
- "name": "Test Dictionary 2",
- "category": "dictionary",
- "notes": "",
- "order": 100,
- "score": 0,
- "dictionary": "Test Dictionary 2",
- "redundant": false
}
],
"termTags": [
@@ -18737,15 +17882,6 @@
"score": 0,
"dictionary": "Test Dictionary 2",
"redundant": false
- },
- {
- "name": "Test Dictionary 2",
- "category": "dictionary",
- "notes": "",
- "order": 100,
- "score": 0,
- "dictionary": "Test Dictionary 2",
- "redundant": false
}
],
"termTags": [
@@ -18967,15 +18103,6 @@
"score": 0,
"dictionary": "Test Dictionary 2",
"redundant": false
- },
- {
- "name": "Test Dictionary 2",
- "category": "dictionary",
- "notes": "",
- "order": 100,
- "score": 0,
- "dictionary": "Test Dictionary 2",
- "redundant": false
}
],
"termTags": [
@@ -19186,15 +18313,6 @@
"score": 0,
"dictionary": "Test Dictionary 2",
"redundant": false
- },
- {
- "name": "Test Dictionary 2",
- "category": "dictionary",
- "notes": "",
- "order": 100,
- "score": 0,
- "dictionary": "Test Dictionary 2",
- "redundant": false
}
],
"termTags": [
@@ -19405,15 +18523,6 @@
"score": 0,
"dictionary": "Test Dictionary 2",
"redundant": false
- },
- {
- "name": "Test Dictionary 2",
- "category": "dictionary",
- "notes": "",
- "order": 100,
- "score": 0,
- "dictionary": "Test Dictionary 2",
- "redundant": false
}
],
"termTags": [
@@ -19624,15 +18733,6 @@
"score": 0,
"dictionary": "Test Dictionary 2",
"redundant": false
- },
- {
- "name": "Test Dictionary 2",
- "category": "dictionary",
- "notes": "",
- "order": 100,
- "score": 0,
- "dictionary": "Test Dictionary 2",
- "redundant": false
}
],
"termTags": [
@@ -19813,15 +18913,6 @@
"score": 0,
"dictionary": "Test Dictionary 2",
"redundant": false
- },
- {
- "name": "Test Dictionary 2",
- "category": "dictionary",
- "notes": "",
- "order": 100,
- "score": 0,
- "dictionary": "Test Dictionary 2",
- "redundant": false
}
],
"termTags": [
@@ -19986,15 +19077,6 @@
"score": 0,
"dictionary": "Test Dictionary 2",
"redundant": false
- },
- {
- "name": "Test Dictionary 2",
- "category": "dictionary",
- "notes": "",
- "order": 100,
- "score": 0,
- "dictionary": "Test Dictionary 2",
- "redundant": false
}
],
"termTags": [
@@ -20159,15 +19241,6 @@
"score": 0,
"dictionary": "Test Dictionary 2",
"redundant": false
- },
- {
- "name": "Test Dictionary 2",
- "category": "dictionary",
- "notes": "",
- "order": 100,
- "score": 0,
- "dictionary": "Test Dictionary 2",
- "redundant": false
}
],
"termTags": [
@@ -20332,15 +19405,6 @@
"score": 0,
"dictionary": "Test Dictionary 2",
"redundant": false
- },
- {
- "name": "Test Dictionary 2",
- "category": "dictionary",
- "notes": "",
- "order": 100,
- "score": 0,
- "dictionary": "Test Dictionary 2",
- "redundant": false
}
],
"termTags": [
@@ -20495,15 +19559,6 @@
"score": 0,
"dictionary": "Test Dictionary 2",
"redundant": false
- },
- {
- "name": "Test Dictionary 2",
- "category": "dictionary",
- "notes": "",
- "order": 100,
- "score": 0,
- "dictionary": "Test Dictionary 2",
- "redundant": false
}
],
"termTags": [
@@ -20658,15 +19713,6 @@
"score": 0,
"dictionary": "Test Dictionary 2",
"redundant": false
- },
- {
- "name": "Test Dictionary 2",
- "category": "dictionary",
- "notes": "",
- "order": 100,
- "score": 0,
- "dictionary": "Test Dictionary 2",
- "redundant": false
}
],
"termTags": [
diff --git a/test/test-options-util.js b/test/test-options-util.js
index 587cb9ee..310e3d88 100644
--- a/test/test-options-util.js
+++ b/test/test-options-util.js
@@ -833,6 +833,13 @@ ${update8}
{{~#set "any" true}}{{/set~}}
{{~/if~}}
{{~/each~}}
+ {{~#unless noDictionaryTag~}}
+ {{~#if (op "||" (op "!" @root.compactTags) (op "!==" dictionary (get "previousDictionary")))~}}
+ {{~#if (get "any")}}, {{else}}<i>({{/if~}}
+ {{dictionary}}
+ {{~#set "any" true}}{{/set~}}
+ {{~/if~}}
+ {{~/unless~}}
{{~#if (get "any")}})</i> {{/if~}}
{{~/scope~}}
{{~#if only~}}({{#each only}}{{.}}{{#unless @last}}, {{/unless}}{{/each}} only) {{/if~}}
@@ -844,6 +851,7 @@ ${update8}
{{~else~}}
<ul>{{#each glossary}}<li>{{#multiLine}}{{.}}{{/multiLine}}</li>{{/each}}</ul>
{{~/if~}}
+ {{~#set "previousDictionary" dictionary~}}{{~/set~}}
{{/inline}}
{{#*inline "character"}}
@@ -854,12 +862,12 @@ ${update8}
<div style="text-align: left;">
{{~#scope~}}
{{~#if (op "===" definition.type "term")~}}
- {{~> glossary-single definition brief=brief ~}}
+ {{~> glossary-single definition brief=brief noDictionaryTag=noDictionaryTag ~}}
{{~else if (op "||" (op "===" definition.type "termGrouped") (op "===" definition.type "termMerged"))~}}
{{~#if (op ">" definition.definitions.length 1)~}}
- <ol>{{~#each definition.definitions~}}<li>{{~> glossary-single . brief=../brief ~}}</li>{{~/each~}}</ol>
+ <ol>{{~#each definition.definitions~}}<li>{{~> glossary-single . brief=../brief noDictionaryTag=../noDictionaryTag ~}}</li>{{~/each~}}</ol>
{{~else~}}
- {{~#each definition.definitions~}}{{~> glossary-single . brief=../brief ~}}{{~/each~}}
+ {{~#each definition.definitions~}}{{~> glossary-single . brief=../brief noDictionaryTag=../noDictionaryTag ~}}{{~/each~}}
{{~/if~}}
{{~else if (op "===" definition.type "kanji")~}}
{{~#if (op ">" definition.glossary.length 1)~}}
@@ -872,6 +880,10 @@ ${update8}
</div>
{{~/inline~}}
+{{#*inline "glossary-no-dictionary"}}
+ {{~> glossary noDictionaryTag=true ~}}
+{{/inline}}
+
{{#*inline "glossary-brief"}}
{{~> glossary brief=true ~}}
{{/inline}}