Skip to content

Commit

Permalink
feat: add language drop-down menu to navbar
Browse files Browse the repository at this point in the history
fix: fix parts of the translation texts
  • Loading branch information
Buffett111 committed Feb 13, 2025
1 parent 3fb58b5 commit 367d2d8
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions src/lib/components/Navbar.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
login: 'Login'
},
zh: {
welcome: '歡迎來到Hinagiku!',
profile: '個人资料',
welcome: '歡迎來到 Hinagiku!',
profile: '個人資料',
dashboard: '儀表板',
signOut: '登出',
login: '登入'
Expand Down
2 changes: 1 addition & 1 deletion src/lib/components/session/HostView.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@
openChatHistory: '打開聊天記錄',
openGroupChatHistory: '打開小組聊天記錄',
warningInappropriate: '警告:檢測到不適當內容。',
warningOffTopic: '警告:許多離題消息'
warningOffTopic: '警告:許多離題訊息'
}
};
Expand Down
4 changes: 2 additions & 2 deletions src/lib/components/session/StageProgress.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
const stages = [
{ id: 'preparing', name: '準備階段', color: 'bg-yellow-500' },
{ id: 'individual', name: '個人階段', color: 'bg-blue-500' },
{ id: 'before-group', name: '團體套論前階段', color: 'bg-purple-500' },
{ id: 'before-group', name: '團體討論前階段', color: 'bg-purple-500' },
{ id: 'group', name: '團體討論階段', color: 'bg-green-500' },
{ id: 'ended', name: '總結階段', color: 'bg-gray-500' }
] as const;
Expand All @@ -33,7 +33,7 @@
cancel: 'Cancel'
},
zh: {
confirmEndStage: '進入 Ended Stage 將無法返回,確定要繼續嗎?',
confirmEndStage: '進入總結階段將無法返回,確定要繼續嗎?',
confirm: '確定',
cancel: '取消'
}
Expand Down
2 changes: 1 addition & 1 deletion src/routes/dashboard/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@
},
zh: {
welcome: '歡迎來到Hinagiku!',
profile: '個人资料',
profile: '個人資料',
dashboard: '儀表板',
signOut: '登出',
login: '登入',
Expand Down
2 changes: 1 addition & 1 deletion src/routes/session/[id]/status/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
},
zh: {
dashboardTitle: '參與者狀態儀表板',
loadingGroups: '加載小組...',
loadingGroups: '載入小組...',
noParticipants: '此小組中沒有參與者。'
}
};
Expand Down

0 comments on commit 367d2d8

Please sign in to comment.