From 4dd1b26a0291c0b251ed9839ebf488cbe9886b8f Mon Sep 17 00:00:00 2001 From: anna Date: Thu, 4 Jul 2024 12:40:52 +0800 Subject: [PATCH] update iAM Smart button --- src/pages/authentication/RegisterCustom.js | 3 ++- src/translations/en.json | 4 ++-- src/translations/zh-CN.json | 4 ++-- src/translations/zh-HK.json | 4 ++-- 4 files changed, 8 insertions(+), 7 deletions(-) diff --git a/src/pages/authentication/RegisterCustom.js b/src/pages/authentication/RegisterCustom.js index d8b18ab..b3a7046 100644 --- a/src/pages/authentication/RegisterCustom.js +++ b/src/pages/authentication/RegisterCustom.js @@ -22,7 +22,8 @@ const RegisterCustom = () => { const { locale } = intl; const registerWithIAmSmart = () => { - setIsPopUp(true); + getQRWithIAmSmart(); + setIsPopUp(false); } const getQRWithIAmSmart = () => { diff --git a/src/translations/en.json b/src/translations/en.json index 2b60b6a..ad913b6 100644 --- a/src/translations/en.json +++ b/src/translations/en.json @@ -48,7 +48,7 @@ "MSG.paymentMsg": "Your application and payment have been received", "MSG.expiredApp": "Public Notice application has expired", - "MSG.providedByIAmSmart": "Indicates that the item is provided by \"iAM Smart\".", + "MSG.providedByIAmSmart": "Data is provided by \"iAM Smart\".", "MSG.paymentCancelMsg1": "Payment cancellation message:", "MSG.paymentCancelMsg2": "Your payment has been cancelled. We have received your payment request, but due to certain reasons, the payment could not be processed. Please take note of the following:", @@ -145,7 +145,7 @@ "login": "Login", "logout": "Logout", - "iAmSmartLogin": "Login with iAM Smart", + "iAmSmartLogin": "Continue with iAM Smart", "continueWithIAmSmart": "Continue with iAM Smart", "authorizeIAmSmartForInfo": "Authorize \"iAM Smart\" to provide personal information", "iAmSmartSubTitle": "In order to complete the account opening and establish a connection with \"iAM Smart\", please authorize \"iAM Smart\" to provide the following personal information:", diff --git a/src/translations/zh-CN.json b/src/translations/zh-CN.json index 6273e56..bf62256 100644 --- a/src/translations/zh-CN.json +++ b/src/translations/zh-CN.json @@ -85,7 +85,7 @@ "MSG.paymentMsg": "你的申请和付款已收到", "MSG.expiredApp": "公共启事申请已过期", - "MSG.providedByIAmSmart": "表示该项由「智方便」提供。", + "MSG.providedByIAmSmart": "该项资料由「智方便」提供。", "MSG.paymentCancelMsg1": "付款取消讯息:", "MSG.paymentCancelMsg2": "你的付款已被取消。我们收到了你的付款请求,但由于某些原因,付款无法完成。请注意以下事项:", @@ -179,7 +179,7 @@ "login": "登录", "logout": "登出", - "iAmSmartLogin": "智方便登录", + "iAmSmartLogin": "以智方便继续", "continueWithIAmSmart": "以智方便继续", "authorizeIAmSmartForInfo": "授权「智方便」提供个人资料", "iAmSmartSubTitle": "为完成开户并建立与「智方便」的连接,请授权「智方便」提供以下个人资料:", diff --git a/src/translations/zh-HK.json b/src/translations/zh-HK.json index 959f8d8..3079165 100644 --- a/src/translations/zh-HK.json +++ b/src/translations/zh-HK.json @@ -85,7 +85,7 @@ "MSG.paymentMsg": "你的申請和付款已收到", "MSG.expiredApp": "公共啟事申請已過期", - "MSG.providedByIAmSmart": "表示該項由「智方便」提供。", + "MSG.providedByIAmSmart": "該項資料由「智方便」提供。", "MSG.paymentCancelMsg1": "付款取消訊息:", "MSG.paymentCancelMsg2": "你的付款已被取消。我們收到了你的付款請求,但由於某些原因,付款無法完成。請注意以下事項:", @@ -181,7 +181,7 @@ "login": "登入", "logout": "登出", - "iAmSmartLogin": "智方便登入", + "iAmSmartLogin": "以智方便繼續", "continueWithIAmSmart": "以智方便繼續", "authorizeIAmSmartForInfo": "授權「智方便」提供個人資料", "iAmSmartSubTitle": "為完成開戶並建立與「智方便」的連接,請授權「智方便」提供以下個人資料:",