diff options
Diffstat (limited to 'ext/bg/js/translator.js')
-rw-r--r-- | ext/bg/js/translator.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ext/bg/js/translator.js b/ext/bg/js/translator.js index 29edd81a..7b776383 100644 --- a/ext/bg/js/translator.js +++ b/ext/bg/js/translator.js @@ -207,8 +207,9 @@ class Translator { } applyTagMeta(tag) { - for (const prop in this.tagMeta[tag.name] || {}) { - tag[prop] = this.tagMeta[tag.name][prop] || tag[prop]; + const symbol = tag.name.split(':')[0]; + for (const prop in this.tagMeta[symbol] || {}) { + tag[prop] = this.tagMeta[symbol][prop]; } } |