From 737e7eab8182fc4e083f7fd6df840327ab83287c Mon Sep 17 00:00:00 2001 From: marv Date: Mon, 20 May 2024 19:43:15 -0700 Subject: Add Cantonese (#976) * Add Cantonese * Revert Mandarin Name Change --- ext/js/language/language-descriptors.js | 5 +++++ types/ext/language-descriptors.d.ts | 1 + 2 files changed, 6 insertions(+) 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 @@ -247,6 +247,11 @@ const languageDescriptors = [ exampleText: 'đọc', textPreprocessors: capitalizationPreprocessors }, + { + iso: 'yue', + name: 'Cantonese', + exampleText: '讀' + }, { iso: 'zh', name: 'Chinese', 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; zh: Record; }; -- cgit v1.2.3