Metadata
This commit is contained in:
parent
afef392491
commit
b080e30b14
@ -207,8 +207,9 @@ class Translator {
|
|||||||
}
|
}
|
||||||
|
|
||||||
applyTagMeta(tag) {
|
applyTagMeta(tag) {
|
||||||
for (const prop in this.tagMeta[tag.name] || {}) {
|
const symbol = tag.name.split(':')[0];
|
||||||
tag[prop] = this.tagMeta[tag.name][prop] || tag[prop];
|
for (const prop in this.tagMeta[symbol] || {}) {
|
||||||
|
tag[prop] = this.tagMeta[symbol][prop];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user