diff options
| author | arbyste <144075975+arbyste@users.noreply.github.com> | 2024-01-27 02:29:36 -0700 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-01-27 09:29:36 +0000 | 
| commit | 1b9422d026dce0aedf5d2b94495222cccde4963e (patch) | |
| tree | 38887dee249771e226f3dac2c4f9eeb6c5f839c2 /ext/js | |
| parent | 1c258f7207faad0c1489fb24fb31694e32064914 (diff) | |
Adding a handlebar to return pitch accent categories of a word (#563)
* Fixing logic in isNonNounVerbOrAdjective function
* Adding handlebar to return pitch accent categories of a word
Diffstat (limited to 'ext/js')
| -rw-r--r-- | ext/js/dictionary/dictionary-data-util.js | 2 | ||||
| -rw-r--r-- | ext/js/pages/settings/anki-controller.js | 1 | 
2 files changed, 2 insertions, 1 deletions
| diff --git a/ext/js/dictionary/dictionary-data-util.js b/ext/js/dictionary/dictionary-data-util.js index c7c9ecfc..9b49c7af 100644 --- a/ext/js/dictionary/dictionary-data-util.js +++ b/ext/js/dictionary/dictionary-data-util.js @@ -287,7 +287,7 @@ export class DictionaryDataUtil {                  case 'vs':                      isVerbOrAdjective = true;                      isSuruVerb = true; -                    break; +                    // falls through                  case 'n':                      isNoun = true;                      break; diff --git a/ext/js/pages/settings/anki-controller.js b/ext/js/pages/settings/anki-controller.js index f6e19e14..d1faf491 100644 --- a/ext/js/pages/settings/anki-controller.js +++ b/ext/js/pages/settings/anki-controller.js @@ -147,6 +147,7 @@ export class AnkiController {                      'pitch-accents',                      'pitch-accent-graphs',                      'pitch-accent-positions', +                    'pitch-accent-categories',                      'phonetic-transcriptions',                      'reading',                      'screenshot', |