summaryrefslogtreecommitdiff
path: root/ext/bg/js/translator.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/bg/js/translator.js')
-rw-r--r--ext/bg/js/translator.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/bg/js/translator.js b/ext/bg/js/translator.js
index e65acd60..c33a0ea6 100644
--- a/ext/bg/js/translator.js
+++ b/ext/bg/js/translator.js
@@ -30,9 +30,9 @@ class Translator {
return Promise.resolve();
}
- return loadJson('bg/data/rules.json').then(rules => {
+ return loadJsonInt('bg/data/rules.json').then(rules => {
this.deinflector.setRules(rules);
- return loadJson('bg/data/tags.json');
+ return loadJsonInt('bg/data/tags.json');
}).then(tagMeta => {
this.tagMeta = tagMeta;
return this.database.prepare();