From bb1290142f7b41ef71630b0928a4fdca4798c3ce Mon Sep 17 00:00:00 2001 From: Iurco Tiberiu-Iulian <39162045+tiberiuiurco@users.noreply.github.com> Date: Wed, 12 Jun 2024 22:46:35 +0900 Subject: [ro] preprocess romanian diacritics (#1057) * remove romanian diacritics * linting fix * fixed redundancy --- ext/js/language/language-descriptors.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'ext') diff --git a/ext/js/language/language-descriptors.js b/ext/js/language/language-descriptors.js index 98d3f6c8..8c27590f 100644 --- a/ext/js/language/language-descriptors.js +++ b/ext/js/language/language-descriptors.js @@ -199,7 +199,10 @@ const languageDescriptors = [ iso: 'ro', name: 'Romanian', exampleText: 'citit', - textPreprocessors: capitalizationPreprocessors, + textPreprocessors: { + ...capitalizationPreprocessors, + removeAlphabeticDiacritics, + }, }, { iso: 'ru', -- cgit v1.2.3