Skip to content

Commit

Permalink
Add traditional chinese as language option
Browse files Browse the repository at this point in the history
  • Loading branch information
psalaets committed Jan 25, 2024
1 parent b14eee3 commit 558eea2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Change Log

## [2.2.0] - 2024-01-24

### Added

- Added `languages.ChineseSimplified` and `languages.ChineseTraditional`

## [2.1.0] - 2023-07-03

### Added
Expand Down
3 changes: 3 additions & 0 deletions src/languages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,10 @@ export const languages = {
Swedish: 'SV',
Turkish: 'TR',
Ukrainian: 'UK',
/** Same as `ChineseSimplified` */
Chinese: 'ZH',
ChineseSimplified: 'ZH',
ChineseTraditional: 'ZH-HANT',
} as const;

export type Language = typeof languages[keyof typeof languages];

0 comments on commit 558eea2

Please sign in to comment.