From 1590f5218c5872f3683820e9611d4a4fa2b7c341 Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Sun, 13 Mar 2022 21:17:35 -0400 Subject: Add additional Anki card marker aliases (#2083) --- ext/js/pages/settings/anki-controller.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'ext') diff --git a/ext/js/pages/settings/anki-controller.js b/ext/js/pages/settings/anki-controller.js index a7630d86..daf09143 100644 --- a/ext/js/pages/settings/anki-controller.js +++ b/ext/js/pages/settings/anki-controller.js @@ -677,9 +677,11 @@ class AnkiCardController { const markers = this._ankiController.getFieldMarkers(cardType); const markerAliases = new Map([ + ['expression', ['phrase', 'term', 'word']], ['glossary', ['definition', 'meaning']], ['audio', ['sound']], - ['dictionary', ['dict']] + ['dictionary', ['dict']], + ['pitch-accents', ['pitch']] ]); const hyphenPattern = /-/g; -- cgit v1.2.3