From 39f1bda564f538daffa1c68fc487f9e001c384f5 Mon Sep 17 00:00:00 2001 From: "MSI\\User" Date: Tue, 20 Aug 2024 17:51:38 +0800 Subject: [PATCH] update --- src/app/(main)/dashboard/ProjectResourceSummary/page.tsx | 1 - src/components/AppBar/AppBar.tsx | 2 +- src/i18n/en/login.json | 6 +++++- src/i18n/zh/login.json | 5 ++++- 4 files changed, 10 insertions(+), 4 deletions(-) diff --git a/src/app/(main)/dashboard/ProjectResourceSummary/page.tsx b/src/app/(main)/dashboard/ProjectResourceSummary/page.tsx index 9631fa8..9d0d2ef 100644 --- a/src/app/(main)/dashboard/ProjectResourceSummary/page.tsx +++ b/src/app/(main)/dashboard/ProjectResourceSummary/page.tsx @@ -22,7 +22,6 @@ const ProjectResourceSummary: React.FC = () => { }> - {/* */} ); }; diff --git a/src/components/AppBar/AppBar.tsx b/src/components/AppBar/AppBar.tsx index f5a2093..16f1ec7 100644 --- a/src/components/AppBar/AppBar.tsx +++ b/src/components/AppBar/AppBar.tsx @@ -19,7 +19,7 @@ const AppBar: React.FC = async ({ avatarImageSrc, profileName }) => const username: string = session.user.name // console.log(abilities) return ( - + diff --git a/src/i18n/en/login.json b/src/i18n/en/login.json index 9e26dfe..13413ee 100644 --- a/src/i18n/en/login.json +++ b/src/i18n/en/login.json @@ -1 +1,5 @@ -{} \ No newline at end of file +{ + "Change Password": "Change Password", + "Change To Chinese Version": "Change To Chinese Version", + "Sign out": "Sign out" +} \ No newline at end of file diff --git a/src/i18n/zh/login.json b/src/i18n/zh/login.json index da69471..a89e657 100644 --- a/src/i18n/zh/login.json +++ b/src/i18n/zh/login.json @@ -6,5 +6,8 @@ "Please enter a username": "請輸入帳號", "Please enter a password": "請輸入密碼", "Login": "登入", - "Sign In": "登入" + "Sign In": "登入", + "Change Password": "更改密碼", + "Change To English Version": "切換至英文", + "Sign out": "登出" } \ No newline at end of file