From 021c47d022bb53dff3ffb62596b88d9592ccb749 Mon Sep 17 00:00:00 2001 From: "kelvin.yau" Date: Fri, 10 Oct 2025 14:13:05 +0800 Subject: [PATCH] quick translation --- src/components/AppBar/Profile.tsx | 2 +- src/i18n/zh/common.json | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) 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": "登出" }