Revert "Fixing certain definitions not showing up"
This reverts commit 85015b1776
.
This commit is contained in:
parent
85015b1776
commit
a306d73118
@ -151,10 +151,9 @@ class Translator {
|
|||||||
return definitions;
|
return definitions;
|
||||||
}
|
}
|
||||||
|
|
||||||
processTerm(groups, source, tags, rules=[], root) {
|
processTerm(groups, source, tags, rules=[], root='') {
|
||||||
for (const entry of this.dictionary.findTerm(root)) {
|
for (const entry of this.dictionary.findTerm(root)) {
|
||||||
const groupId = `${source}_${entry.id}`;
|
if (entry.id in groups) {
|
||||||
if (groupId in groups) {
|
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -209,7 +208,7 @@ class Translator {
|
|||||||
});
|
});
|
||||||
|
|
||||||
if (matched) {
|
if (matched) {
|
||||||
groups[groupId] = {
|
groups[entry.id] = {
|
||||||
expression: entry.expression,
|
expression: entry.expression,
|
||||||
reading: entry.reading,
|
reading: entry.reading,
|
||||||
glossary: entry.glossary,
|
glossary: entry.glossary,
|
||||||
|
Loading…
Reference in New Issue
Block a user