diff options
author | Matttttt <18152455+martholomew@users.noreply.github.com> | 2024-04-16 19:50:22 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-16 19:50:22 +0000 |
commit | a952e2f5ba1fc5cda2617ea1729a4f0e0489ace6 (patch) | |
tree | 68b59ac67ebfade192785bd9a5514571c3f719af /ext/js/language/language-descriptors.js | |
parent | 669d277a95908cec7b35e098b3252ae38db05df0 (diff) |
Added Old Irish (#831)
* added Old Irish (SGA)
* Merge Yomitan Updates (#1)
* fix (#811)
* Add scanOnTouchTap and improve touch scanning defaults (#791)
* Add scanOnTouchTap
* Update version to 30
* Cleanup if statement
* log anki error when hiding button (#821)
* Fix noteInfos not getting assigned (#819)
* improve term sorting (#806)
* improve term sorting
* edge case
* fix: add missing handlebar entry (#823)
* fix: add missing handlebar entry
* fix: add new handlebar to tests
* Revert to using canAddNotes (#827)
Fix #818
* Remove unused canAdd (#824)
Co-authored-by: James Maa <jamesmaa@Jamess-MacBook-Pro.local>
* Fix duplicate check not working across note types (#830)
* Fix duplicate check not working across note types
* Add invalidNoteId
---------
Co-authored-by: James Maa <jmaa@berkeley.edu>
---------
Co-authored-by: StefanVukovic99 <stefanvukovic44@gmail.com>
Co-authored-by: Kuuuube <61125188+Kuuuube@users.noreply.github.com>
Co-authored-by: m-edlund <me@fwegmann.com>
Co-authored-by: Eloy Robillard <eloy.robillard@gmail.com>
Co-authored-by: James Maa <jmaa@berkeley.edu>
Co-authored-by: James Maa <jamesmaa@Jamess-MacBook-Pro.local>
* Revert "Merge Yomitan Updates (#1)"
This reverts commit 748dc2202b3ea9e0a028ebae5ecf51208b422c2b.
* Fix Static Analysis Error
* Fix eslint erro
---------
Co-authored-by: martholomew <martholomew@users.noreply.github.com>
Co-authored-by: StefanVukovic99 <stefanvukovic44@gmail.com>
Co-authored-by: Kuuuube <61125188+Kuuuube@users.noreply.github.com>
Co-authored-by: m-edlund <me@fwegmann.com>
Co-authored-by: Eloy Robillard <eloy.robillard@gmail.com>
Co-authored-by: James Maa <jmaa@berkeley.edu>
Co-authored-by: James Maa <jamesmaa@Jamess-MacBook-Pro.local>
Diffstat (limited to 'ext/js/language/language-descriptors.js')
-rw-r--r-- | ext/js/language/language-descriptors.js | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/ext/js/language/language-descriptors.js b/ext/js/language/language-descriptors.js index b5d7573b..2bdc7c7c 100644 --- a/ext/js/language/language-descriptors.js +++ b/ext/js/language/language-descriptors.js @@ -23,6 +23,7 @@ import {japaneseTransforms} from './ja/japanese-transforms.js'; import {isStringPartiallyJapanese} from './ja/japanese.js'; import {removeRussianDiacritics, yoToE} from './ru/russian-text-preprocessors.js'; import {albanianTransforms} from './sq/albanian-transforms.js'; +import {oldIrishTransforms} from './sga/old-irish-transforms.js'; import {capitalizeFirstLetter, decapitalize, removeAlphabeticDiacritics} from './text-preprocessors.js'; const capitalizationPreprocessors = { @@ -167,6 +168,16 @@ const languageDescriptors = [ } }, { + iso: 'sga', + name: 'Old Irish', + exampleText: 'légaid', + textPreprocessors: { + ...capitalizationPreprocessors, + removeAlphabeticDiacritics + }, + languageTransforms: oldIrishTransforms + }, + { iso: 'sh', name: 'Serbo-Croatian', exampleText: 'čitaše', |