summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/js/language/language-descriptors.js5
-rw-r--r--types/ext/language-descriptors.d.ts1
2 files changed, 6 insertions, 0 deletions
diff --git a/ext/js/language/language-descriptors.js b/ext/js/language/language-descriptors.js
index e1446794..726842f1 100644
--- a/ext/js/language/language-descriptors.js
+++ b/ext/js/language/language-descriptors.js
@@ -248,6 +248,11 @@ const languageDescriptors = [
textPreprocessors: capitalizationPreprocessors
},
{
+ iso: 'yue',
+ name: 'Cantonese',
+ exampleText: '讀'
+ },
+ {
iso: 'zh',
name: 'Chinese',
exampleText: '读'
diff --git a/types/ext/language-descriptors.d.ts b/types/ext/language-descriptors.d.ts
index ae218317..aa961a6c 100644
--- a/types/ext/language-descriptors.d.ts
+++ b/types/ext/language-descriptors.d.ts
@@ -172,5 +172,6 @@ type AllTextProcessors = {
vi: {
pre: CapitalizationPreprocessors;
};
+ yue: Record<string, never>;
zh: Record<string, never>;
};