Browse Source

iAmSmart Learn More i18n

master
Anna Ho 1 year ago
parent
commit
bdae6f87c7
5 changed files with 6 additions and 3 deletions
  1. +2
    -2
      src/pages/authentication/RegisterCustom.js
  2. +1
    -1
      src/pages/authentication/auth-forms/AuthLoginCustom.js
  3. +1
    -0
      src/translations/en.json
  4. +1
    -0
      src/translations/zh-CN.json
  5. +1
    -0
      src/translations/zh-HK.json

+ 2
- 2
src/pages/authentication/RegisterCustom.js View File

@@ -108,7 +108,7 @@ const RegisterCustom = () => {
<Typography textAlign='justify' variant="body1" display="block" gutterBottom> <Typography textAlign='justify' variant="body1" display="block" gutterBottom>
<div dangerouslySetInnerHTML={{ __html: intl.formatMessage({id: 'MSG.registerIAmSmart'}) }} /> <div dangerouslySetInnerHTML={{ __html: intl.formatMessage({id: 'MSG.registerIAmSmart'}) }} />
</Typography> </Typography>
<Link href="https://www.iamsmart.gov.hk/tc/">
<Link href={intl.formatMessage({ id: "iamsmartLink" })}>
<FormattedMessage id="learnMore"/> <FormattedMessage id="learnMore"/>
</Link> </Link>
</Box> </Box>
@@ -192,7 +192,7 @@ const RegisterCustom = () => {
<FormattedMessage id="iAmSmartAutoFillIn"/> <FormattedMessage id="iAmSmartAutoFillIn"/>
</Typography></Button> </Typography></Button>
<br/> <br/>
<Link href="https://www.iamsmart.gov.hk/tc/">
<Link href={intl.formatMessage({ id: "iamsmartLink" })}>
<FormattedMessage id="learnMore"/> <FormattedMessage id="learnMore"/>
</Link> </Link>
</DialogContent> </DialogContent>


+ 1
- 1
src/pages/authentication/auth-forms/AuthLoginCustom.js View File

@@ -387,7 +387,7 @@ const AuthLoginCustom = () => {
</Grid> </Grid>
<Grid item xs={12}> <Grid item xs={12}>
<Stack direction="row" justifyContent="space-between" alignItems="center" spacing={2}> <Stack direction="row" justifyContent="space-between" alignItems="center" spacing={2}>
<Link href="https://www.iamsmart.gov.hk/tc/" color="primary" sx={{textDecoration:"none"}}>
<Link href={intl.formatMessage({ id: "iamsmartLink" })} color="primary" sx={{textDecoration:"none"}}>
<Typography align="center" variant="h7"> <Typography align="center" variant="h7">
{ intl.formatMessage({id: 'learnMore'})+" >"} { intl.formatMessage({id: 'learnMore'})+" >"}
</Typography> </Typography>


+ 1
- 0
src/translations/en.json View File

@@ -3,6 +3,7 @@
"zh-HK": "繁體中文", "zh-HK": "繁體中文",
"zh-CN": "简体中文", "zh-CN": "简体中文",
"language":"Language", "language":"Language",
"iamsmartLink": "https://www.iamsmart.gov.hk/en/",
"PNSPS": "PNSPS", "PNSPS": "PNSPS",
"HKSARGOV": "HKSAR Government", "HKSARGOV": "HKSAR Government",


+ 1
- 0
src/translations/zh-CN.json View File

@@ -3,6 +3,7 @@
"zh-HK": "繁體中文", "zh-HK": "繁體中文",
"zh-CN": "简体中文", "zh-CN": "简体中文",
"language":"语言", "language":"语言",
"iamsmartLink": "https://www.iamsmart.gov.hk/sc/",


"PNSPS": "公共启事提交及缴费系统", "PNSPS": "公共启事提交及缴费系统",
"HKSARGOV": "香港特别行政区政府", "HKSARGOV": "香港特别行政区政府",


+ 1
- 0
src/translations/zh-HK.json View File

@@ -3,6 +3,7 @@
"zh-HK": "繁體中文", "zh-HK": "繁體中文",
"zh-CN": "简体中文", "zh-CN": "简体中文",
"language":"語言", "language":"語言",
"iamsmartLink": "https://www.iamsmart.gov.hk/tc/",


"PNSPS": "公共啟事提交及繳費系統", "PNSPS": "公共啟事提交及繳費系統",
"HKSARGOV": "香港特別行政區政府", "HKSARGOV": "香港特別行政區政府",


Loading…
Cancel
Save