diff --git a/src/components/AppBar/Profile.tsx b/src/components/AppBar/Profile.tsx index 8cb49cf..dc37351 100644 --- a/src/components/AppBar/Profile.tsx +++ b/src/components/AppBar/Profile.tsx @@ -25,7 +25,7 @@ const Profile: React.FC = ({ avatarImageSrc, profileName }) => { setProfileMenuAnchorEl(undefined); }; - const { t } = useTranslation("login"); + const { t } = useTranslation("common"); return ( <> diff --git a/src/i18n/zh/common.json b/src/i18n/zh/common.json index 7d6ac34..7058bea 100644 --- a/src/i18n/zh/common.json +++ b/src/i18n/zh/common.json @@ -103,6 +103,7 @@ "All Pick Order Lots": "所有提料單批號", "Row per page": "每頁行數", "No data available": "沒有資料", - "jodetail": "工單細節" + "jodetail": "工單細節", + "Sign out": "登出" }