diff options
Diffstat (limited to 'ext/bg/js/backend.js')
-rw-r--r-- | ext/bg/js/backend.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/bg/js/backend.js b/ext/bg/js/backend.js index ebdd2cda..65df0d49 100644 --- a/ext/bg/js/backend.js +++ b/ext/bg/js/backend.js @@ -186,7 +186,9 @@ class Backend { } catch (e) { yomichan.logError(e); } - await this._translator.prepare(); + + const deinflectionReasions = await this._fetchAsset('/bg/lang/deinflect.json', true); + this._translator.prepare(deinflectionReasions); await this._optionsUtil.prepare(); this._defaultAnkiFieldTemplates = (await this._fetchAsset('/bg/data/default-anki-field-templates.handlebars')).trim(); |