diff --git a/src/layout/MainLayout/Header/index.js b/src/layout/MainLayout/Header/index.js index 71c2604..387d3a0 100644 --- a/src/layout/MainLayout/Header/index.js +++ b/src/layout/MainLayout/Header/index.js @@ -306,7 +306,9 @@ function Header(props) { - 公共啟事提交及繳費系統 + + + @@ -364,7 +366,9 @@ function Header(props) { - 公共啟事提交及繳費系統 + + + @@ -382,7 +386,9 @@ function Header(props) { - 公共啟事提交及繳費系統 + + + diff --git a/src/pages/authentication/AuthWrapper.js b/src/pages/authentication/AuthWrapper.js index 2b18b90..ec04cfa 100644 --- a/src/pages/authentication/AuthWrapper.js +++ b/src/pages/authentication/AuthWrapper.js @@ -15,6 +15,7 @@ const AuthCard = Loadable(lazy(() => import('./AuthCardCustom'))); import backbroundImg from 'assets/images/bg_ml.jpg' import 'assets/style/loginStyles.css' import { Stack } from '../../../node_modules/@mui/material/index'; +import {FormattedMessage} from "react-intl"; const BackgroundHead = { backgroundImage: `url(${backbroundImg})`, width: '100%', @@ -44,8 +45,12 @@ const AuthWrapper = ({ children }) => ( alignItems="center" spacing={2}> - 香港特別行政區政府 - 憲報 + + + + + + { 你可點擊「智方便」按鈕,系統會自動輸入個人資料,或自行輸入個人資料,以即時啟動憲報刊登公告帳戶。
如欲使用「智方便」提供個人資料,請先下載「智方便」流動應用程式並登記成為「智方便」用戶。 - 了解更多 + + + @@ -161,7 +164,9 @@ const RegisterCustom = () => {
- 了解更多 + + +
diff --git a/src/pages/authentication/auth-forms/AuthLoginCustom.js b/src/pages/authentication/auth-forms/AuthLoginCustom.js index 5f713b8..47a16f8 100644 --- a/src/pages/authentication/auth-forms/AuthLoginCustom.js +++ b/src/pages/authentication/auth-forms/AuthLoginCustom.js @@ -43,12 +43,13 @@ import { useDispatch } from "react-redux"; import { handleLogin } from "auth/index"; import useJwt from "../../../auth/jwt/useJwt"; import { handleLogoutFunction } from 'auth/index'; -import {FormattedMessage} from "react-intl"; +import {FormattedMessage, useIntl} from "react-intl"; // ============================|| FIREBASE - LOGIN ||============================ // const AuthLoginCustom = () => { const dispatch = useDispatch() const navigate = useNavigate() + const intl = useIntl(); const [showPassword, setShowPassword] = useState(false); const handleClickShowPassword = () => { @@ -304,24 +305,30 @@ const AuthLoginCustom = () => { - 忘記密碼? + ? - + - {"了解更多 >"} + + { intl.formatMessage({id: 'learnMore'})+" >"} + - + diff --git a/src/translations/en.json b/src/translations/en.json index 97ce402..4c909cd 100644 --- a/src/translations/en.json +++ b/src/translations/en.json @@ -3,6 +3,10 @@ "zh-HK": "繁體中文", "zh-CN": "简体中文", + "PNSPS": "PNSPS", + "HKSARGOV": "HKSAR Government", + "Gazette": "Gazette", + "mainPage": "Main Page", "myPublicNotice": "My Public Notice", "proofRecord": "Proof Record", @@ -11,10 +15,13 @@ "companyOrUserRecord": "Company/Institutional User Records", "login": "Login", + "iAmSmartLogin": "iAmSmart Login", "register": "Register", "userLoginName": "Username", "userPassword": "Password", - + "forgotUserPassword": "Forgot Password", + "learnMore": "Lean More", + "createOrReActivate": "Create/reactivate account", "Dashboard": "Dashboard", "event": "Event" diff --git a/src/translations/zh-CN.json b/src/translations/zh-CN.json index e15b144..2db22c0 100644 --- a/src/translations/zh-CN.json +++ b/src/translations/zh-CN.json @@ -3,6 +3,10 @@ "zh-HK": "繁體中文", "zh-CN": "简体中文", + "PNSPS": "公共启事提交及缴费系统", + "HKSARGOV": "香港特别行政区政府", + "Gazette": "宪报", + "mainPage": "主页", "myPublicNotice": "我的公共启事", "proofRecord": "校对记录", @@ -11,9 +15,13 @@ "companyOrUserRecord": "公司/机构用户记录", "login": "登录", + "iAmSmartLogin": "智方便登录", "register": "申请", "userLoginName": "用户登入名称", "userPassword": "密码", + "forgotUserPassword": "忘记密码", + "learnMore": "了解更多", + "createOrReActivate": "建立/重新启动帐户", "Dashboard": "仪表板", "event": "活动" diff --git a/src/translations/zh-HK.json b/src/translations/zh-HK.json index 2123058..d64ae3a 100644 --- a/src/translations/zh-HK.json +++ b/src/translations/zh-HK.json @@ -3,6 +3,10 @@ "zh-HK": "繁體中文", "zh-CN": "简体中文", + "PNSPS": "公共啟事提交及繳費系統", + "HKSARGOV": "香港特別行政區政府", + "Gazette": "憲報", + "mainPage": "主頁", "myPublicNotice": "我的公共啟事", "proofRecord": "校對記錄", @@ -11,9 +15,13 @@ "companyOrUserRecord": "公司/機構用戶記錄", "login": "登入", + "iAmSmartLogin": "智方便登入", "register": "申請", "userLoginName": "用戶登入名稱", "userPassword": "密碼", + "forgotUserPassword": "忘記密碼", + "learnMore": "了解更多", + "createOrReActivate": "建立/重新啟動帳戶", "Dashboard": "儀表板", "event": "活動"