-
+
diff --git a/src/pages/authentication/RegisterCustom.js b/src/pages/authentication/RegisterCustom.js
index 33d236f..3abd3fe 100644
--- a/src/pages/authentication/RegisterCustom.js
+++ b/src/pages/authentication/RegisterCustom.js
@@ -20,6 +20,7 @@ const RegisterCustom = () => {
const [isPopUp, setIsPopUp] = React.useState(false);
const intl = useIntl();
+ const { locale } = intl;
const registerWithIAmSmart = () => {
setIsPopUp(true);
@@ -41,7 +42,7 @@ const RegisterCustom = () => {
+"&source=" + getBowserType()
+"&redirectURI="+encodeURIComponent(callbackUrl)
+"&scope="+encodeURIComponent("eidapi_auth eidapi_profiles")
- +"&lang=zh-HK"//en-US, zh-HK, or zh-CN
+ +"&lang="+(locale === 'en' ?"en-US":locale === 'zh-HK' ?"zh-HK":"zh-CN")
//+"&state="
+"&brokerPage=false"
window.location.assign(url);
@@ -55,7 +56,7 @@ const RegisterCustom = () => {
+"&source=" + getBowserType()
+"&redirectURI="+encodeURIComponent(callbackUrl)
+"&scope="+encodeURIComponent("eidapi_auth eidapi_profiles")
- +"&lang=zh-HK"//en-US, zh-HK, or zh-CN
+ +"&lang="+(locale === 'en' ?"en-US":locale === 'zh-HK' ?"zh-HK":"zh-CN")
//+"&state="
+"&brokerPage=true"
window.location.assign(url);
@@ -80,7 +81,7 @@ const RegisterCustom = () => {
-
+
{" " + intl.formatMessage({id: 'registerTitle2'}) + " "}
@@ -98,14 +99,15 @@ const RegisterCustom = () => {
- }>
-
-
+ }>
+
+
+
+
- 你可點擊「智方便」按鈕,系統會自動輸入個人資料,或自行輸入個人資料,以即時啟動憲報刊登公告帳戶。
-
如欲使用「智方便」提供個人資料,請先下載「智方便」流動應用程式並登記成為「智方便」用戶。
+
@@ -121,8 +123,7 @@ const RegisterCustom = () => {
- 需上載身份證明文件數碼檔案以進行網上申請。
-
如:香港身份證; 護照; 中國內地身份證; 專業執業証書等
+
@@ -133,8 +134,7 @@ const RegisterCustom = () => {
- 需上載以下任何一份證明文件以進行網上申請。
-
如:商業登記證;專業執業證書
+
diff --git a/src/pages/authentication/auth-forms/AuthLoginCustom.js b/src/pages/authentication/auth-forms/AuthLoginCustom.js
index 0e40833..5b9bd00 100644
--- a/src/pages/authentication/auth-forms/AuthLoginCustom.js
+++ b/src/pages/authentication/auth-forms/AuthLoginCustom.js
@@ -205,7 +205,7 @@ const AuthLoginCustom = () => {
+ "&source=" + getBowserType()
+ "&redirectURI=" + encodeURIComponent(callbackUrl)
+ "&scope=" + encodeURIComponent("eidapi_auth eidapi_profiles")
- + "&lang=zh-HK"//en-US, zh-HK, or zh-CN
+ +"&lang="+(locale === 'en' ?"en-US":locale === 'zh-HK' ?"zh-HK":"zh-CN")
//+"&state="
+ "&brokerPage=false"
window.location=url;
@@ -237,7 +237,7 @@ const AuthLoginCustom = () => {
+ "&source=" + getBowserType()
+ "&redirectURI=" + encodeURIComponent(callbackUrl)
+ "&scope=" + encodeURIComponent("eidapi_auth eidapi_profiles")
- + "&lang=zh-HK"//en-US, zh-HK, or zh-CN
+ +"&lang="+(locale === 'en' ?"en-US":locale === 'zh-HK' ?"zh-HK":"zh-CN")
//+"&state="
+ "&brokerPage=true"
window.location=url;
@@ -361,7 +361,7 @@ const AuthLoginCustom = () => {
-
@@ -683,7 +683,7 @@ const CustomFormWizard = (props) => {
-
+
*
{/* {
props.setUsername(e.target.value)
formik.handleChange(e)
}}
- placeholder={intl.formatMessage({id: 'userLoginName'})}
+ placeholder={intl.formatMessage({ id: 'userLoginName' })}
fullWidth
error={Boolean((formik.touched.username && formik.errors.username) || checkUsername)}
onBlur={formik.handleBlur}
@@ -722,7 +722,7 @@ const CustomFormWizard = (props) => {
)}
{checkUsername && (
-
+
)}
@@ -734,7 +734,7 @@ const CustomFormWizard = (props) => {
-
+
*
@@ -763,7 +763,7 @@ const CustomFormWizard = (props) => {
}
- placeholder={intl.formatMessage({id: 'userPassword'})}
+ placeholder={intl.formatMessage({ id: 'userPassword' })}
onBlur={formik.handleBlur}
inputProps={{
onKeyDown: (e) => {
@@ -786,7 +786,7 @@ const CustomFormWizard = (props) => {
-
+
@@ -796,7 +796,7 @@ const CustomFormWizard = (props) => {
-
+
*
@@ -830,7 +830,7 @@ const CustomFormWizard = (props) => {
}
- placeholder={intl.formatMessage({id: 'confirmPassword'})}
+ placeholder={intl.formatMessage({ id: 'confirmPassword' })}
fullWidth
error={Boolean(formik.touched.confirmPassword && formik.errors.confirmPassword)}
/>
@@ -841,12 +841,12 @@ const CustomFormWizard = (props) => {
)}
-
+
- •
- •
- •
- •
+ •
+ •
+ •
+ •
@@ -856,7 +856,7 @@ const CustomFormWizard = (props) => {
-
+
{/*
Already have an account?
@@ -868,7 +868,7 @@ const CustomFormWizard = (props) => {
-
+
*
@@ -892,9 +892,9 @@ const CustomFormWizard = (props) => {
onBlur={formik.handleBlur}
filterOptions={(options) => options}
inputValue={selectedIdDocInputType}
- getOptionLabel={(option) => option.label? intl.formatMessage({ id: option.label }) : ""}
+ getOptionLabel={(option) => option.label ? intl.formatMessage({ id: option.label }) : ""}
onChange={(event, newValue) => {
- if (newValue != null ) {
+ if (newValue != null) {
setSelectedIdDocInputType(intl.formatMessage({ id: newValue.label }));
setSelectedIdDocType(newValue);
if (newValue.type !== "HKID") {
@@ -907,13 +907,13 @@ const CustomFormWizard = (props) => {
sx={{ "#address4-combo": { padding: "0px 0px 0px 0px" }, "& .MuiAutocomplete-endAdornment": { top: "auto" }, }}
renderInput={(params) => }
/>
{formik.touched.idDocType && (
selectedIdDocType === null ?
-
+
: ''
)}
@@ -941,7 +941,7 @@ const CustomFormWizard = (props) => {
}
}
}}
- placeholder={intl.formatMessage({id: 'idDocNumber'})}
+ placeholder={intl.formatMessage({ id: 'idDocNumber' })}
fullWidth
sx={{ mr: 1 }}
error={Boolean(formik.touched.idNo && formik.errors.idNo)}
@@ -1021,7 +1021,7 @@ const CustomFormWizard = (props) => {
}
}
}}
- placeholder={intl.formatMessage({id: 'idDocNumber'})}
+ placeholder={intl.formatMessage({ id: 'idDocNumber' })}
fullWidth
sx={{ mr: 1 }}
error={Boolean(formik.touched.idNo && formik.errors.idNo)}
@@ -1049,7 +1049,7 @@ const CustomFormWizard = (props) => {
-
+
{selectedIdDocType.type === "CNID" ? "" : *}
@@ -1059,7 +1059,7 @@ const CustomFormWizard = (props) => {
value={formik.values.enName}
name="enName"
onChange={formik.handleChange}
- placeholder={intl.formatMessage({id: 'sameAsYourIdDoc'})}
+ placeholder={intl.formatMessage({ id: 'sameAsYourIdDoc' })}
fullWidth
error={Boolean(formik.touched.enName && formik.errors.enName && selectedIdDocType.type !== "CNID")}
onBlur={formik.handleBlur}
@@ -1082,7 +1082,7 @@ const CustomFormWizard = (props) => {
-
+
*
@@ -1094,7 +1094,7 @@ const CustomFormWizard = (props) => {
value={formik.values.chName.trim()}
name="chName"
onChange={formik.handleChange}
- placeholder={intl.formatMessage({id: 'sameAsYourIdDoc'})}
+ placeholder={intl.formatMessage({ id: 'sameAsYourIdDoc' })}
onBlur={formik.handleBlur}
inputProps={{
maxLength: 6,
@@ -1116,7 +1116,7 @@ const CustomFormWizard = (props) => {
-
+
*
@@ -1127,7 +1127,7 @@ const CustomFormWizard = (props) => {
value={formik.values.address1}
name="address1"
onChange={formik.handleChange}
- placeholder={intl.formatMessage({id: 'addressLine1'})}
+ placeholder={intl.formatMessage({ id: 'addressLine1' })}
onBlur={formik.handleBlur}
inputProps={{
onKeyDown: (e) => {
@@ -1144,7 +1144,7 @@ const CustomFormWizard = (props) => {
value={formik.values.address2}
name="address2"
onChange={formik.handleChange}
- placeholder={intl.formatMessage({id: 'addressLine2'})}
+ placeholder={intl.formatMessage({ id: 'addressLine2' })}
inputProps={{
onKeyDown: (e) => {
if (e.key === 'Enter') {
@@ -1160,7 +1160,7 @@ const CustomFormWizard = (props) => {
value={formik.values.address3}
name="address3"
onChange={formik.handleChange}
- placeholder={intl.formatMessage({id: 'addressLine3'})}
+ placeholder={intl.formatMessage({ id: 'addressLine3' })}
inputProps={{
onKeyDown: (e) => {
if (e.key === 'Enter') {
@@ -1175,14 +1175,16 @@ const CustomFormWizard = (props) => {
value={selectedAddress4}
options={ComboData.district}
disabled={checkCountry}
- getOptionLabel={(option) => option.type? intl.formatMessage({ id: option.type }) : ""}
+ getOptionLabel={(option) => option.type ? intl.formatMessage({ id: option.type }) : ""}
onChange={(event, newValue) => {
setSelectedAddress4(newValue);
}}
- sx={{ "& .MuiInputBase-root": { height: "41px" },
+ sx={{
+ "& .MuiInputBase-root": { height: "41px" },
"#address4-combo": { padding: "0px 0px 0px 3px" },
- "& .MuiAutocomplete-endAdornment": { top: "auto" }, }}
- renderInput={(params) => }
/>
{
id="address5-combo"
value={selectedAddress5}
options={ComboData.country}
- getOptionLabel={(option) => option.type? intl.formatMessage({ id: option.type }) : ""}
+ getOptionLabel={(option) => option.type ? intl.formatMessage({ id: option.type }) : ""}
onChange={(event, newValue) => {
if (newValue !== null) {
setSelectedAddress5(newValue);
@@ -1207,7 +1209,7 @@ const CustomFormWizard = (props) => {
}}
sx={{ "& .MuiInputBase-root": { height: "41px" }, "#address5-combo": { padding: "0px 0px 0px 3px" }, "& .MuiAutocomplete-endAdornment": { top: "auto" }, }}
- renderInput={(params) => }
+ renderInput={(params) => }
/>
{formik.touched.address1 && formik.errors.address1 && (
@@ -1229,7 +1231,7 @@ const CustomFormWizard = (props) => {
-
+
@@ -1239,7 +1241,7 @@ const CustomFormWizard = (props) => {
-
+
*
@@ -1251,7 +1253,7 @@ const CustomFormWizard = (props) => {
value={formik.values.email.trim()}
name="email"
onChange={formik.handleChange}
- placeholder={intl.formatMessage({id: 'userContactEmail'})}
+ placeholder={intl.formatMessage({ id: 'userContactEmail' })}
onBlur={formik.handleBlur}
inputProps={{
onKeyDown: (e) => {
@@ -1268,7 +1270,7 @@ const CustomFormWizard = (props) => {
)}
{checkEmail && (
-
+
)}
@@ -1277,7 +1279,7 @@ const CustomFormWizard = (props) => {
-
+
*
@@ -1290,7 +1292,7 @@ const CustomFormWizard = (props) => {
name="emailConfirm"
// onBlur={formik.handleBlur}
onChange={formik.handleChange}
- placeholder={intl.formatMessage({id: 'confirmEmail'})}
+ placeholder={intl.formatMessage({ id: 'confirmEmail' })}
onBlur={formik.handleBlur}
inputProps={{
onKeyDown: (e) => {
@@ -1317,7 +1319,7 @@ const CustomFormWizard = (props) => {
-
+
*
@@ -1336,7 +1338,7 @@ const CustomFormWizard = (props) => {
}
formik.setFieldValue("phoneCountryCode", value);
}}
- placeholder={intl.formatMessage({id: 'dialingCode'})}
+ placeholder={intl.formatMessage({ id: 'dialingCode' })}
error={Boolean(formik.touched.phone && formik.errors.phone)}
onBlur={formik.handleBlur}
endAdornment={-}
@@ -1348,7 +1350,7 @@ const CustomFormWizard = (props) => {
}
},
}}
- sx={{ width: '33%', mr:1}}
+ sx={{ width: '33%', mr: 1 }}
/>
{
}
formik.setFieldValue("phone", value);
}}
- placeholder={intl.formatMessage({id: 'userContactNumber'})}
+ placeholder={intl.formatMessage({ id: 'userContactNumber' })}
error={Boolean(formik.touched.phone && formik.errors.phone)}
onBlur={formik.handleBlur}
inputProps={{
@@ -1393,7 +1395,7 @@ const CustomFormWizard = (props) => {
-
+
@@ -1411,7 +1413,7 @@ const CustomFormWizard = (props) => {
}
formik.setFieldValue("faxCountryCode", value);
}}
- placeholder={intl.formatMessage({id: 'dialingCode'})}
+ placeholder={intl.formatMessage({ id: 'dialingCode' })}
onBlur={formik.handleBlur}
endAdornment={-}
inputProps={{
@@ -1422,7 +1424,7 @@ const CustomFormWizard = (props) => {
}
},
}}
- sx={{ width: '33%' , mr: 1}}
+ sx={{ width: '33%', mr: 1 }}
/>
{
}
formik.setFieldValue("fax", value);
}}
- placeholder={intl.formatMessage({id: 'userFaxNumber'})}
+ placeholder={intl.formatMessage({ id: 'userFaxNumber' })}
inputProps={{
maxLength: 8,
onKeyDown: (e) => {
@@ -1461,28 +1463,28 @@ const CustomFormWizard = (props) => {
-
+
*
-
+
-
+
-
-
-
-
+
+
+
+
{/*如: 香港身份證; 護照; 中國內地身份證等*/}
@@ -1501,7 +1503,7 @@ const CustomFormWizard = (props) => {
-
+
*
@@ -1526,7 +1528,7 @@ const CustomFormWizard = (props) => {
size="small"
/>
-
+
@@ -1542,7 +1544,7 @@ const CustomFormWizard = (props) => {
size="small"
/>
-
+
@@ -1556,7 +1558,7 @@ const CustomFormWizard = (props) => {
-
+
*
@@ -1604,12 +1606,12 @@ const CustomFormWizard = (props) => {
-
+
{/* 註有*的項目必須輸入資料 */}
-
+
{/*
Already have an account?
@@ -1621,7 +1623,7 @@ const CustomFormWizard = (props) => {
- :
+ :
{formik.values.username}
@@ -1631,7 +1633,7 @@ const CustomFormWizard = (props) => {
-
+
{/*
Already have an account?
@@ -1641,7 +1643,7 @@ const CustomFormWizard = (props) => {
-
+
@@ -1649,17 +1651,18 @@ const CustomFormWizard = (props) => {
- :
+ :
- {selectedIdDocType.label}
+ {intl.formatMessage({ id: selectedIdDocType?.label??" " })}
+
- :
+ :
{formik.values.idNo} {selectedIdDocType.type == "HKID" ? '(' + formik.values.checkDigit + ')' : null}
@@ -1670,7 +1673,7 @@ const CustomFormWizard = (props) => {
- :
+ :
{formik.values.enName}
@@ -1680,7 +1683,7 @@ const CustomFormWizard = (props) => {
- :
+ :
{formik.values.chName}
@@ -1690,7 +1693,7 @@ const CustomFormWizard = (props) => {
- :
+ :
@@ -1709,19 +1712,19 @@ const CustomFormWizard = (props) => {
{selectedAddress5.label === "hongKong" ?
- :
+ :
- {!selectedAddress4? "" : intl.formatMessage({id: selectedAddress4.type})}
+ {!selectedAddress4 ? "" : intl.formatMessage({ id: selectedAddress4.type })}
: null}
- :
+ :
- {intl.formatMessage({id: selectedAddress5.type})}
+ {intl.formatMessage({ id: selectedAddress5.type })}
@@ -1730,14 +1733,14 @@ const CustomFormWizard = (props) => {
-
+
- :
+ :
{formik.values.email}
@@ -1747,7 +1750,7 @@ const CustomFormWizard = (props) => {
- :
+ :
+{formik.values.phoneCountryCode} {formik.values.phone}
@@ -1758,7 +1761,7 @@ const CustomFormWizard = (props) => {
- :
+ :
+{formik.values.faxCountryCode} {formik.values.fax}
@@ -1771,7 +1774,7 @@ const CustomFormWizard = (props) => {
-
+
{fileList != null ?
: null}
@@ -1794,13 +1797,13 @@ const CustomFormWizard = (props) => {
-
+
-
+
-
+
:
@@ -1812,7 +1815,7 @@ const CustomFormWizard = (props) => {
-
+
}
diff --git a/src/translations/en.json b/src/translations/en.json
index f4c6a1e..73f7a15 100644
--- a/src/translations/en.json
+++ b/src/translations/en.json
@@ -29,6 +29,23 @@
"noMoreThen40Words": "Must not exceed 40 characters",
"noMoreThen255Words": "Must not exceed 255 characters",
+ "MSG.registerIAmSmart": "You may click the \"iAM Smart\" button to fill the personal information automatically or enter the information manually to activate the PNSPS account now.
If you want to use \"iAM Smart\" to fill the personal information, please download the \"iAM Smart\" mobile app and register as an \"iAM Smart\" user first.",
+ "MSG.registerPersonal": "To complete the online application, you need to upload digital copies of identification documents.
e.g. Hong Kong Identity Card, Passport, Mainland China Identity Card, Professional Practicing Certificate, etc.",
+ "MSG.registerOrg": "You need to upload the proof documents for the online application.
e.g. Business Registration Certificate, Professional Practicing Certificate, etc.",
+ "MSG.paymentMsg": "Your application and payment have been received",
+
+ "MSG.paymentCancelMsg1": "付款取消訊息:",
+ "MSG.paymentCancelMsg2": "你的付款已被取消。我們收到了你的付款請求,但由於某些原因,付款無法完成。請注意以下事項:",
+ "MSG.paymentCancelMsg3": "如果你主動取消了支付,請確認並確保取消是你的意願。",
+ "MSG.paymentCancelMsg4": "如果付款被取消是由於系統問題或其他原因,請你嘗試以下解決方法:",
+ "MSG.paymentCancelMsg5": "檢查你的支付帳戶是否有任何異常或限制。",
+ "MSG.paymentCancelMsg6": "確保你的付款資訊準確無誤。",
+ "MSG.paymentCancelMsg7": "檢查你的網路連線是否正常。",
+ "MSG.paymentCancelMsg8": "如果你需要進一步的協助或有任何疑問,請隨時與我們聯繫,我們將盡快解決你的付款問題。謝謝!",
+
+
+
+
"registerTitle1": "Become",
"registerTitle2": "Gazette Notice",
"registerTitle3": "Publisher now",
@@ -53,7 +70,7 @@
"publicNoticePaymentProofDoneAndPaid": "Public Notice: Proofreading Completed and Payment",
"publicNoticePaymentProofComment": "Public Notice: Proofreading Reply",
"publicNoticePaymentProofInfo": "Public Notice: Proofreading Information",
- "proofRecord": "Proof Record",
+ "proofRecord": "Proof Records",
"onlinePaymentHistory": "Online Payment History",
"setting": "Settings",
"companyOrUserRecord": "Company/Institutional User Records",
@@ -62,7 +79,7 @@
"login": "Login",
"logout": "Logout",
"iAmSmartLogin": "iAM Smart Login",
- "continueWithIAmSmart": "Continue with iAmSmart",
+ "continueWithIAmSmart": "Continue with iAM Smart",
"authorizeIAmSmartForInfo": "Authorize iAmSmart to provide personal information",
"iAmSmartSubTitle": "In order to complete the account opening and establish a connection with \"iAmStart\", please authorize \"iAmSmart\" to provide the following personal information:",
"iAmSmartAutoFillIn": "Use \"iAmSmart\" to automatically fill in",
@@ -96,20 +113,20 @@
"user": "User",
"personalUser": "Personal user",
"becomeNewPersonalUser": "Become New Personal User",
- "registerNewPersonalUser": "Apply for personal user",
- "businessUser": "Organization/Company User",
- "registerNewBusinessUser": "Applying Organization/Company user",
- "becomeNewBusinessUser": "Become New Organization/Company user",
+ "registerNewPersonalUser": "Apply as personal user",
+ "businessUser": "Organisation/Company User",
+ "registerNewBusinessUser": "Apply as organisation/company user",
+ "becomeNewBusinessUser": "Become New Organisation/Company user",
"userName": "Username",
"userChineseName": "Chinese Name",
"userEnglishName": "English Name",
"userContactName": "Name",
"userRequireChineseName": "Please enter your Chinese name",
"userRequireEnglishName": "Please enter your English name",
- "userRequireName": "Please enter your name",
+ "userRequireName": "Name is required.",
"userContactEmail": "Email",
"confirmEmail": "Confirm Email",
- "requireEmail": "Please enter your email",
+ "requireEmail": "Email address is required.",
"validEmailFormat": "Please enter a valid email",
"validSameEmail": "Please enter same email address",
"emailUsed": "This email has been registered, please use another email",
@@ -117,7 +134,7 @@
"userContactNumber": "Contact Number",
"contactFaxNumber": "Contact Fax",
"requiredValidNumber": "Please enter a valid contact number",
- "requireContactNumber": "Please enter your contact number",
+ "requireContactNumber": "Contact number is required.",
"require3Number": "Please enter an 3-digit number",
"require8Number": "Please enter an 8-digit number",
"requireAtLeast8Number": "Please enter at least 8 digits",
@@ -135,9 +152,9 @@
"personalInformation": "Personal Information",
"yourPersonalInformation": "Your Personal Information",
"yourLoginInformation": "Your Login Information",
- "yourBusinessInformation": "Your Organization/Company Information",
- "businessEngName": "English name of Organization/Company",
- "businessChName": "Chinese name of Organization/Company",
+ "yourBusinessInformation": "Your Organisation/Company Information",
+ "businessEngName": "English name of Organisation/Company",
+ "businessChName": "Chinese name of Organisation/Company",
"preview": "Preview",
"finishSubmission": "Finish Submission",
"reset": "Reset",
@@ -199,6 +216,8 @@
"requireUsername": "Please enter user name",
"requirePassword": "Please enter password",
"regionOrCountry": "Country/Region",
+ "pleaseFillInCountry": "Please enter the Country/Region",
+ "pleaseFillInDistrict": "Please enter the District",
"hongKong": "Hong Kong",
"mainland": "Mainland China",
"macau": "Macau",
@@ -362,6 +381,8 @@
"pendingFor": "Pending approval",
"active": "Active",
"primary": "Primary",
+ "MSG.setPrimay": "Are you sure to mark user “{username}” as primary user?",
+ "MSG.revokePrimay": "Are you sure to revoke the primary user from user “{username}”?",
"submitApplication": "Submit public notice application",
"applicationSubheading": "Provide your advertisement content with formatting, proofreading and pricing.",
@@ -372,7 +393,7 @@
"msgDetails": "Message Details",
"userDetail": "User Details",
- "userProfile": "User Profile",
+ "userProfile": "My Profile",
"primaryUser": "Primary User",
"resetAndBack": "Reset & Back",
"edit": "Edit",
@@ -391,8 +412,8 @@
"loading": "Loading...",
"ok": "Ok",
- "organizationProfile": "Organization Profile",
- "organizationDetails": "Organization Details",
+ "organizationProfile": "Organisation Profile",
+ "organizationDetails": "Organisation Details",
"brNo": "BR No.",
"creditorAccount": "Creditor account",
"nameEng": "Name (Eng)",
diff --git a/src/translations/zh-CN.json b/src/translations/zh-CN.json
index 2c6e178..d58388b 100644
--- a/src/translations/zh-CN.json
+++ b/src/translations/zh-CN.json
@@ -29,6 +29,21 @@
"noMoreThen40Words": "不得超过 40 个字符",
"noMoreThen255Words": "不得超过 255 个字符",
+ "MSG.registerIAmSmart": "你可点击「智方便」按钮,系统会自动输入个人资料,或自行输入个人资料,以即时启动 公共启事提交及缴费系统 帐户。
如欲使用「智方便」提供个人资料,请先下载「智方便」流动应用程式并登记成为「智方便」用户。",
+ "MSG.registerPersonal": "需上载身份证明文件数码档案以进行网上申请。
如:香港身份证; 护照; 中国内地身份证; 专业执业证书等",
+ "MSG.registerOrg": "需上载以下任何一份证明文件以进行网上申请。
如:商业登记证;专业执业证书",
+ "MSG.paymentMsg": "你的申请和付款已收到",
+
+ "MSG.paymentCancelMsg1": "付款取消讯息:",
+ "MSG.paymentCancelMsg2": "你的付款已被取消。我们收到了你的付款请求,但由于某些原因,付款无法完成。请注意以下事项:",
+ "MSG.paymentCancelMsg3": "如果你主动取消了支付,请确认并确保取消是你的意愿。",
+ "MSG.paymentCancelMsg4": "如果付款被取消是由于系统问题或其他原因,请你尝试以下解决方法:",
+ "MSG.paymentCancelMsg5": "检查你的支付帐户是否有任何异常或限制。",
+ "MSG.paymentCancelMsg6": "确保你的付款资讯准确无误。",
+ "MSG.paymentCancelMsg7": "检查你的网路连线是否正常。",
+ "MSG.paymentCancelMsg8": "如果你需要进一步的协助或有任何疑问,请随时与我们联系,我们将尽快解决你的付款问题。谢谢!",
+
+
"registerTitle1": "立即成为",
"registerTitle2": "宪报刊登公告",
"registerTitle3": "用户",
@@ -195,6 +210,8 @@
"requirePassword": "请输入密码",
"region": "区域 (只适用于香港)",
"regionOrCountry": "国家/地区",
+ "pleaseFillInCountry": "请输入国家/地区",
+ "pleaseFillInDistrict": "请输入地区",
"hongKong": "香港",
"mainland": "内地",
"macau": "澳门",
@@ -357,7 +374,9 @@
"unlock": "解锁",
"pendingFor": "待批核",
"active": "生效中",
- "primary": "源自",
+ "primary": "主要账户",
+ "MSG.setPrimay": "是否确定设定 “{username}” 为主要账户吗?",
+ "MSG.revokePrimay": "是否确定要撤销 “{username}” 为主要用户吗?",
"submitApplication": "提交公共启事申请",
"applicationSubheading": "提供你的启事内容作排版,校对及计价。",
@@ -368,7 +387,7 @@
"msgDetails": "消息详情",
"userDetail": "用户详细信息",
- "userProfile": "用户个人资料",
+ "userProfile": "我的个人资料",
"primaryUser": "主要用户",
"resetAndBack": "重置并返回",
"edit": "编辑",
diff --git a/src/translations/zh-HK.json b/src/translations/zh-HK.json
index 33bc175..3d91b10 100644
--- a/src/translations/zh-HK.json
+++ b/src/translations/zh-HK.json
@@ -29,6 +29,21 @@
"noMoreThen40Words": "不得超過 40 個字符",
"noMoreThen255Words": "不得超過 255 個字符",
+ "MSG.registerIAmSmart": "你可點擊「智方便」按鈕,系統會自動輸入個人資料,或自行輸入個人資料,以即時啟動 公共啟事提交及繳費系統 帳戶。
如欲使用「智方便」提供個人資料,請先下載「智方便」流動應用程式並登記成為「智方便」用戶。",
+ "MSG.registerPersonal": "需上載身份證明文件數碼檔案以進行網上申請。
如:香港身份證; 護照; 中國內地身份證; 專業執業証書等",
+ "MSG.registerOrg": "需上載以下任何一份證明文件以進行網上申請。
如:商業登記證;專業執業證書",
+ "MSG.paymentMsg": "你的申請和付款已收到",
+
+ "MSG.paymentCancelMsg1": "付款取消訊息:",
+ "MSG.paymentCancelMsg2": "你的付款已被取消。我們收到了你的付款請求,但由於某些原因,付款無法完成。請注意以下事項:",
+ "MSG.paymentCancelMsg3": "如果你主動取消了支付,請確認並確保取消是你的意願。",
+ "MSG.paymentCancelMsg4": "如果付款被取消是由於系統問題或其他原因,請你嘗試以下解決方法:",
+ "MSG.paymentCancelMsg5": "檢查你的支付帳戶是否有任何異常或限制。",
+ "MSG.paymentCancelMsg6": "確保你的付款資訊準確無誤。",
+ "MSG.paymentCancelMsg7": "檢查你的網路連線是否正常。",
+ "MSG.paymentCancelMsg8": "如果你需要進一步的協助或有任何疑問,請隨時與我們聯繫,我們將盡快解決你的付款問題。謝謝!",
+
+
"registerTitle1": "立即成為",
"registerTitle2": "憲報刊登公告",
"registerTitle3": "用戶",
@@ -200,6 +215,8 @@
"requirePassword": "請輸入密碼",
"region": "區域 (只適用於香港)",
"regionOrCountry": "國家/地區",
+ "pleaseFillInCountry": "請輸入國家/地區",
+ "pleaseFillInDistrict": "請輸入地區",
"hongKong": "香港",
"mainland": "內地",
"macau": "澳門",
@@ -363,6 +380,8 @@
"pendingFor": "待批核",
"active": "生效中",
"primary": "主要帳戶",
+ "MSG.setPrimay": "是否確定設定 “{username}” 為主要帳戶嗎?",
+ "MSG.revokePrimay": "是否確定要撤銷 “{username}” 為主要使用者嗎?",
"submitApplication": "提交公共啟事申請",
"applicationSubheading": "提供你的啟事內容作排版,校對及計價。",
@@ -373,7 +392,7 @@
"msgDetails": "消息詳情",
"userDetail": "使用者詳細資料",
- "userProfile": "使用者個人資料",
+ "userProfile": "我的個人資料",
"primaryUser": "主要使用者",
"resetAndBack": "重置並返回",
"edit": "編輯",
diff --git a/src/utils/DateUtils.js b/src/utils/DateUtils.js
index 43771f0..2572448 100644
--- a/src/utils/DateUtils.js
+++ b/src/utils/DateUtils.js
@@ -2,7 +2,7 @@ import dayjs from 'dayjs';
export const datetimeStr = (date) =>{
- return dateFormat(date,"DD-MM-YYYY HH:mm:ss")
+ return dateFormat(date,"YYYY-MM-DD HH:mm:ss")
};
export const dateStr = (date) =>{