Skip to content

Commit

Permalink
Merge pull request #86 from AlphaWong/feature/add-zh-hant
Browse files Browse the repository at this point in the history
feat: add zh-hant i18n
  • Loading branch information
hellomuthu23 committed Aug 5, 2023
2 parents 08ba26c + 1e15fd8 commit 154d539
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
22 changes: 22 additions & 0 deletions public/locales/zh-Hant/translation.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"toolbar": {
"menu": {
"about": "規劃撲克101?",
"guide": "使用教學",
"examples": "應用實例",
"newSession": "建立房間",
"joinSession": "加入房間"
}
},
"HomePage": {
"heroSection": {
"title": "免費規劃撲克小程式 Free Planning Poker App",
"description": "免費/開源規劃撲克 Web 應用程序,用於評估敏捷/Scrum 團隊的用戶故事。 建立一個房間並邀請您的團隊成員有效地估計用戶故事。",
"formNewSession": {
"newSessionHeader": "建立房間",
"sessionNameLabel": "房間名稱",
"yourNameLabel": "您的稱呼"
}
}
}
}
1 change: 1 addition & 0 deletions src/components/LanguageControl/LanguageControl.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ export const LanguageControl: React.FC = () => {
>
<MenuItem value={'en-US'}>{getUnicodeFlagIcon('US')}</MenuItem>
<MenuItem value={'pt-BR'}>{getUnicodeFlagIcon('BR')}</MenuItem>
<MenuItem value={'zh-Hant'}>{getUnicodeFlagIcon('HK')}</MenuItem>
</Select>
</FormControl>
);
Expand Down

0 comments on commit 154d539

Please sign in to comment.