diff --git a/.eslintrc.json b/.eslintrc.json index ab49e47156..8b08e82757 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -642,6 +642,7 @@ "ext/js/general/text-source-map.js", "ext/js/language/ar/arabic-text-preprocessors.js", "ext/js/language/de/german-text-preprocessors.js", + "ext/js/language/de/german-transforms.js", "ext/js/language/en/english-transforms.js", "ext/js/language/ja/japanese-text-preprocessors.js", "ext/js/language/ja/japanese-transforms.js", diff --git a/ext/js/language/language-descriptors.js b/ext/js/language/language-descriptors.js index 2bdc7c7cce..c5c3e01ee8 100644 --- a/ext/js/language/language-descriptors.js +++ b/ext/js/language/language-descriptors.js @@ -17,13 +17,14 @@ import {removeArabicScriptDiacritics} from './ar/arabic-text-preprocessors.js'; import {eszettPreprocessor} from './de/german-text-preprocessors.js'; +import {germanTransforms} from './de/german-transforms.js'; import {englishTransforms} from './en/english-transforms.js'; import {collapseEmphaticSequences, convertAlphabeticCharacters, convertHalfWidthCharacters, convertHiraganaToKatakana, convertNumericCharacters} from './ja/japanese-text-preprocessors.js'; 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 {albanianTransforms} from './sq/albanian-transforms.js'; import {capitalizeFirstLetter, decapitalize, removeAlphabeticDiacritics} from './text-preprocessors.js'; const capitalizationPreprocessors = { @@ -48,7 +49,8 @@ const languageDescriptors = [ textPreprocessors: { ...capitalizationPreprocessors, eszettPreprocessor - } + }, + languageTransforms: germanTransforms }, { iso: 'el',