aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefanVukovic99 <stefanvukovic44@gmail.com>2024-04-29 15:08:29 +0200
committerGitHub <noreply@github.com>2024-04-29 13:08:29 +0000
commit62e2032f362a173e9096c1d35705cec82559bcd2 (patch)
tree6b4fb255c80450367b745491588cc27dea97427d
parent5508a4d27cefa93562a5e47df0ac1a4f1ece5a65 (diff)
add finnish language option (#867)
-rw-r--r--ext/js/language/language-descriptors.js6
-rw-r--r--types/ext/language-descriptors.d.ts3
2 files changed, 9 insertions, 0 deletions
diff --git a/ext/js/language/language-descriptors.js b/ext/js/language/language-descriptors.js
index 2df2f794..1c577039 100644
--- a/ext/js/language/language-descriptors.js
+++ b/ext/js/language/language-descriptors.js
@@ -80,6 +80,12 @@ const languageDescriptors = [
}
},
{
+ iso: 'fi',
+ name: 'Finnish',
+ exampleText: 'lukea',
+ textPreprocessors: capitalizationPreprocessors
+ },
+ {
iso: 'fr',
name: 'French',
exampleText: 'lire',
diff --git a/types/ext/language-descriptors.d.ts b/types/ext/language-descriptors.d.ts
index 37da106c..df151cc4 100644
--- a/types/ext/language-descriptors.d.ts
+++ b/types/ext/language-descriptors.d.ts
@@ -89,6 +89,9 @@ type AllTextProcessors = {
removeArabicScriptDiacritics: TextProcessor<boolean>;
};
};
+ fi: {
+ pre: CapitalizationPreprocessors;
+ };
fr: {
pre: CapitalizationPreprocessors;
};