aboutsummaryrefslogtreecommitdiff
path: root/ext/js/pages/settings
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2022-03-13 21:17:35 -0400
committerGitHub <noreply@github.com>2022-03-13 21:17:35 -0400
commit1590f5218c5872f3683820e9611d4a4fa2b7c341 (patch)
treedd8614259a0217bee94ca365d0f0906f7a82e58f /ext/js/pages/settings
parent48b2807120928654ae52ea78bd7d2d9824eaa05e (diff)
Add additional Anki card marker aliases (#2083)
Diffstat (limited to 'ext/js/pages/settings')
-rw-r--r--ext/js/pages/settings/anki-controller.js4
1 files changed, 3 insertions, 1 deletions
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;