summaryrefslogtreecommitdiff
path: root/ext/bg/js/translator.js
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2017-08-20 09:34:20 -0700
committerAlex Yatskov <alex@foosoft.net>2017-08-20 09:34:20 -0700
commitb38450b6ce8b747685965153b266d9f4e49d9b7c (patch)
tree384f08c5084e4e0c9f31755b616cc61574d5a913 /ext/bg/js/translator.js
parentc4525027daee6e3fdbe206ae1aab0a9c5405d753 (diff)
parentc89678f5dbcb892225ce3781c350fc630d776373 (diff)
Merge branch 'kmltml-topic/furigana' into dev
Diffstat (limited to 'ext/bg/js/translator.js')
-rw-r--r--ext/bg/js/translator.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/bg/js/translator.js b/ext/bg/js/translator.js
index 1be485c7..daed3109 100644
--- a/ext/bg/js/translator.js
+++ b/ext/bg/js/translator.js
@@ -71,7 +71,8 @@ class Translator {
expression: definition.expression,
reading: definition.reading,
glossary: definition.glossary,
- tags: dictTagsSort(tags)
+ tags: dictTagsSort(tags),
+ furigana: distributeFurigana(definition.expression, definition.reading)
});
}
}