From de4d31083998489dfb3e1046b320e544788b685a Mon Sep 17 00:00:00 2001 From: Jason Chuang Date: Tue, 21 Apr 2026 22:38:27 +0800 Subject: [PATCH] iAM Smart login fix --- src/pages/iAmSmart/SuccessCallback/index.js | 61 +++++++++++---------- src/translations/en.json | 2 +- src/translations/zh-CN.json | 2 +- src/translations/zh-HK.json | 2 +- 4 files changed, 34 insertions(+), 33 deletions(-) diff --git a/src/pages/iAmSmart/SuccessCallback/index.js b/src/pages/iAmSmart/SuccessCallback/index.js index 6db1485..b2e81fa 100644 --- a/src/pages/iAmSmart/SuccessCallback/index.js +++ b/src/pages/iAmSmart/SuccessCallback/index.js @@ -55,43 +55,44 @@ const Index = () => {
- +
{/*row 1*/} - - -
- - {showAccountLinkUpMessages ? ( - - -
- - - ) : null} -
-
+ + + + {showAccountLinkUpMessages ? ( + + ) : ( + + + + )} + {/*row 2*/} - - -
- -
-
+ + + +
diff --git a/src/translations/en.json b/src/translations/en.json index 2f1954a..24e9187 100644 --- a/src/translations/en.json +++ b/src/translations/en.json @@ -186,7 +186,7 @@ "loginErrorMessage7":"System is under maintenance, please check back later.", "pleaseLloginMessage1":"Account already registered", - "pleaseLloginMessage2":"The identity you verified with iAM Smart is already linked to an existing PNSPS account. Please go to the login page and sign in—there is no need to register again.", + "pleaseLloginMessage2":"The identity verified through iAM Smart is already linked to an existing account in this system. Please proceed to the login page to continue. You may sign in using your registered username and password, or login by iAM Smart. A new registration is not required.", "pleaseLloginMessage3":"Go to login page", "loginSuccessMessage1":"User account link up success", diff --git a/src/translations/zh-CN.json b/src/translations/zh-CN.json index 90b4029..0ae936b 100644 --- a/src/translations/zh-CN.json +++ b/src/translations/zh-CN.json @@ -222,7 +222,7 @@ "loginErrorMessage7":"系统正在维护中,请稍后再查看", "pleaseLloginMessage1":"账户已注册", - "pleaseLloginMessage2":"您通过「智方便」核实的身份已用于注册本系统账户。请前往登录页面登录,无需重新开户。", + "pleaseLloginMessage2":"您通过「智方便」核实的身份已与本系统内的现有账户关联,无须重新注册。请前往登录页面;您可使用已登记的用户名称及密码登录,亦可选择以「智方便」方式登录。", "pleaseLloginMessage3":"前往登录页面", "loginSuccessMessage1":"成功连结现有帐户", diff --git a/src/translations/zh-HK.json b/src/translations/zh-HK.json index 2686bd4..4558449 100644 --- a/src/translations/zh-HK.json +++ b/src/translations/zh-HK.json @@ -223,7 +223,7 @@ "loginErrorMessage7":"系統正在維護中,請稍後再查看", "pleaseLloginMessage1":"帳戶已註冊", - "pleaseLloginMessage2":"你透過「智方便」核實的身分已用於註冊本系統帳戶。請前往登入頁面登入,無須重新開戶。", + "pleaseLloginMessage2":"你透過「智方便」核實的身分已與本系統內的現有帳戶連結,無須重新註冊。請前往登入頁面;你可使用已登記的用戶名稱及密碼登入,亦可選擇以「智方便」方式登入。", "pleaseLloginMessage3":"前往登入頁面", "loginSuccessMessage1":"成功連結現有帳戶",