aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/js/language/language-descriptors.js5
-rw-r--r--types/ext/language-descriptors.d.ts4
2 files changed, 7 insertions, 2 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',
diff --git a/types/ext/language-descriptors.d.ts b/types/ext/language-descriptors.d.ts
index 270d753b..856e55b3 100644
--- a/types/ext/language-descriptors.d.ts
+++ b/types/ext/language-descriptors.d.ts
@@ -143,7 +143,9 @@ type AllTextProcessors = {
pre: CapitalizationPreprocessors;
};
ro: {
- pre: CapitalizationPreprocessors;
+ pre: CapitalizationPreprocessors & {
+ removeAlphabeticDiacritics: TextProcessor<boolean>;
+ };
};
ru: {
pre: CapitalizationPreprocessors & {