Skip to content

Commit

Permalink
feat(translation): traditional chinese translation, closes #869
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabio286 committed Sep 25, 2024
1 parent da8cc39 commit b70ed12
Show file tree
Hide file tree
Showing 3 changed files with 574 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/renderer/i18n/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ import { ruRU } from './ru-RU';
import { ukUA } from './uk-UA';
import { viVN } from './vi-VN';
import { zhCN } from './zh-CN';
import { zhTW } from './zh-TW';

const messages = {
'en-US': enUS,
'it-IT': itIT,
Expand All @@ -34,7 +36,8 @@ const messages = {
'nl-NL': nlNL,
'ca-ES': caES,
'cs-CZ': csCZ,
'uk-UA': ukUA
'uk-UA': ukUA,
'zh-TW': zhTW
};

type NestedPartial<T> = {
Expand Down
1 change: 1 addition & 0 deletions src/renderer/i18n/supported-locales.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export const localesNames: Record<string, string> = {
'vi-VN': 'Tiếng Việt',
'ja-JP': '日本語',
'zh-CN': '简体中文',
'zh-TW': '繁體中文',
'ru-RU': 'Русский',
'id-ID': 'Bahasa Indonesia',
'ko-KR': '한국어',
Expand Down
Loading

0 comments on commit b70ed12

Please sign in to comment.