Fixes
This commit is contained in:
parent
d98f4566bc
commit
15e1cf3358
@ -252,8 +252,8 @@ class Database {
|
||||
reading,
|
||||
tags,
|
||||
rules,
|
||||
score,
|
||||
glossary,
|
||||
score: parseInt(score),
|
||||
dictionary: title
|
||||
});
|
||||
}
|
||||
|
@ -31,7 +31,7 @@ class Translator {
|
||||
}
|
||||
|
||||
const promises = [
|
||||
loadJsonInt('bg/data/reasons.json'),
|
||||
loadJsonInt('bg/data/deinflect.json'),
|
||||
this.database.prepare()
|
||||
];
|
||||
|
||||
|
@ -97,7 +97,7 @@ function sortTermDefs(definitions) {
|
||||
}
|
||||
|
||||
function applyTagMeta(tag, meta) {
|
||||
const symbol = tag.name.split(':')[0];
|
||||
const symbol = tag.tag.split(':')[0];
|
||||
for (const prop in meta[symbol] || {}) {
|
||||
tag[prop] = meta[symbol][prop];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user