summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Nock <pokemaster103@gmail.com>2024-06-27 18:00:29 -0400
committerGitHub <noreply@github.com>2024-06-27 22:00:29 +0000
commitdd5a5e25ff039986f30a80a45edded7b9158e5b8 (patch)
tree40a9695341e4950a37d770e145f46f11d6834ce8
parent3a7663f1a050621d898309d52e0ae0d80fd2d868 (diff)
Add Mongolian (#1146)
-rw-r--r--ext/js/language/language-descriptors.js7
-rw-r--r--types/ext/language-descriptors.d.ts3
2 files changed, 10 insertions, 0 deletions
diff --git a/ext/js/language/language-descriptors.js b/ext/js/language/language-descriptors.js
index 2e8ece55..a4288bdb 100644
--- a/ext/js/language/language-descriptors.js
+++ b/ext/js/language/language-descriptors.js
@@ -198,6 +198,13 @@ const languageDescriptors = [
languageTransforms: koreanTransforms,
},
{
+ iso: 'mn',
+ iso639_3: 'mon',
+ name: 'Mongolian',
+ exampleText: 'унших',
+ textPreprocessors: capitalizationPreprocessors,
+ },
+ {
iso: 'nl',
iso639_3: 'nld',
name: 'Dutch',
diff --git a/types/ext/language-descriptors.d.ts b/types/ext/language-descriptors.d.ts
index 52d4a5d2..c89b9326 100644
--- a/types/ext/language-descriptors.d.ts
+++ b/types/ext/language-descriptors.d.ts
@@ -136,6 +136,9 @@ type AllTextProcessors = {
};
};
km: Record<string, never>;
+ mn: {
+ pre: CapitalizationPreprocessors;
+ };
nl: {
pre: CapitalizationPreprocessors;
};