浏览代码

update loading component

master
jason.lam 1年前
父节点
当前提交
08e350db82
共有 4 个文件被更改,包括 12 次插入2 次删除
  1. +9
    -2
      src/pages/extra-pages/LoadingComponent.js
  2. +1
    -0
      src/translations/en.json
  3. +1
    -0
      src/translations/zh-CN.json
  4. +1
    -0
      src/translations/zh-HK.json

+ 9
- 2
src/pages/extra-pages/LoadingComponent.js 查看文件

@@ -1,4 +1,5 @@
import {Box, CircularProgress, Grid} from "@mui/material";
import {Box, CircularProgress, Grid, Typography} from "@mui/material";
import {FormattedMessage} from "react-intl";


const LoadingComponent = () => { const LoadingComponent = () => {
return ( return (
@@ -9,7 +10,13 @@ const LoadingComponent = () => {
alignItems="center" alignItems="center"
// autoHeight={true} // autoHeight={true}
> >
<CircularProgress />
<Grid container direction="column" alignItems="center">
<CircularProgress/>
<Typography variant="h5">
<FormattedMessage id="loading" />
</Typography>
</Grid>

</Box> </Box>
</Grid> </Grid>
) )


+ 1
- 0
src/translations/en.json 查看文件

@@ -360,6 +360,7 @@
"dateFrom": "Date(From)", "dateFrom": "Date(From)",
"dateTo": "Date(To)", "dateTo": "Date(To)",
"of": "of", "of": "of",
"loading": "Loading...",


"Dashboard": "Dashboard", "Dashboard": "Dashboard",
"event": "Event" "event": "Event"

+ 1
- 0
src/translations/zh-CN.json 查看文件

@@ -360,6 +360,7 @@
"dateFrom": "日期(从)", "dateFrom": "日期(从)",
"dateTo": "日期(到)", "dateTo": "日期(到)",
"of": "於", "of": "於",
"loading": "加载中...",


"Dashboard": "仪表板", "Dashboard": "仪表板",
"event": "活动" "event": "活动"

+ 1
- 0
src/translations/zh-HK.json 查看文件

@@ -360,6 +360,7 @@
"dateFrom": "日期(從)", "dateFrom": "日期(從)",
"dateTo": "日期(到)", "dateTo": "日期(到)",
"of": "於", "of": "於",
"loading": "加載中...",


"Dashboard": "儀表板", "Dashboard": "儀表板",
"event": "活動" "event": "活動"

正在加载...
取消
保存