aboutsummaryrefslogtreecommitdiff
path: root/ext/js
diff options
context:
space:
mode:
authorIurco Tiberiu-Iulian <39162045+tiberiuiurco@users.noreply.github.com>2024-06-12 22:46:35 +0900
committerGitHub <noreply@github.com>2024-06-12 13:46:35 +0000
commitbb1290142f7b41ef71630b0928a4fdca4798c3ce (patch)
tree6bdbafe7e42c23ce99f157a79e3fc56a5346fbb7 /ext/js
parent0165aff45dddb9623535ef1a6b8d261edee1d716 (diff)
[ro] preprocess romanian diacritics (#1057)
* remove romanian diacritics * linting fix * fixed redundancy
Diffstat (limited to 'ext/js')
-rw-r--r--ext/js/language/language-descriptors.js5
1 files changed, 4 insertions, 1 deletions
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',