aboutsummaryrefslogtreecommitdiff
path: root/ext/js/language
diff options
context:
space:
mode:
Diffstat (limited to 'ext/js/language')
-rw-r--r--ext/js/language/translator.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/js/language/translator.js b/ext/js/language/translator.js
index 3ee9c3b7..dc91d9eb 100644
--- a/ext/js/language/translator.js
+++ b/ext/js/language/translator.js
@@ -172,7 +172,7 @@ class Translator {
const {alphanumeric, wildcard} = options;
text = this._getSearchableText(text, alphanumeric);
if (text.length === 0) {
- return [[], 0];
+ return {dictionaryEntries: [], originalTextLength: 0};
}
const deinflections = await (