Skip to content

Commit

Permalink
Add Cantonese (#976)
Browse files Browse the repository at this point in the history
* Add Cantonese

* Revert Mandarin Name Change
  • Loading branch information
MarvNC committed May 21, 2024
1 parent ee04cf6 commit 737e7ea
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ext/js/language/language-descriptors.js
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,11 @@ const languageDescriptors = [
exampleText: 'đọc',
textPreprocessors: capitalizationPreprocessors
},
{
iso: 'yue',
name: 'Cantonese',
exampleText: '讀'
},
{
iso: 'zh',
name: 'Chinese',
Expand Down
1 change: 1 addition & 0 deletions types/ext/language-descriptors.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -172,5 +172,6 @@ type AllTextProcessors = {
vi: {
pre: CapitalizationPreprocessors;
};
yue: Record<string, never>;
zh: Record<string, never>;
};

0 comments on commit 737e7ea

Please sign in to comment.