fixed mutiliguage issue

This commit is contained in:
liangping 2022-12-03 09:24:00 +08:00
parent 08f43a5ec9
commit f3de156546
2 changed files with 14 additions and 11 deletions

View File

@ -1,53 +1,53 @@
export default () => ([ export default () => ([
{ {
scope: 'normal', scope: 'normal',
title: 'dashboard', title: 'dashboard.dashboard',
route: 'dashboard', route: 'dashboard',
}, },
{ {
scope: 'normal', scope: 'normal',
title: 'blocks', title: 'dashboard.blocks',
route: 'blocks', route: 'blocks',
}, },
{ {
scope: 'normal', scope: 'normal',
title: 'staking', title: 'dashboard.staking',
route: 'staking', route: 'staking',
}, },
{ {
scope: 'normal', scope: 'normal',
title: 'governance', title: 'dashboard.governance',
route: 'governance', route: 'governance',
exclude: 'emoney', exclude: 'emoney',
}, },
{ {
scope: 'normal', scope: 'normal',
title: 'uptime', title: 'dashboard.uptime',
route: 'uptime', route: 'uptime',
}, },
{ {
scope: 'normal', scope: 'normal',
title: 'parameters', title: 'dashboard.parameters',
route: 'parameters', route: 'parameters',
}, },
{ {
scope: 'normal', scope: 'normal',
title: 'statesync', title: 'dashboard.statesync',
route: 'statesync', route: 'statesync',
}, },
{ {
scope: 'normal', scope: 'normal',
title: 'consensus', title: 'dashboard.consensus',
route: 'consensus', route: 'consensus',
}, },
{ {
scope: 'cos-mos', scope: 'cos-mos',
title: 'gravity', title: 'dashboard.gravity',
route: 'gravity', route: 'gravity',
}, },
{ {
scope: 'osmosis', scope: 'osmosis',
title: 'trade', title: 'dashboard.trade',
route: 'osmosis-trade', route: 'osmosis-trade',
}, },
]) ])

View File

@ -40,6 +40,7 @@
}, },
"dashboard": { "dashboard": {
"dashboard": "Dashboard",
"staking": "Staking", "staking": "Staking",
"governance": "Governance", "governance": "Governance",
"summary": "Summary", "summary": "Summary",
@ -47,7 +48,9 @@
"blockchains": "Blockchains", "blockchains": "Blockchains",
"uptime": "Uptime", "uptime": "Uptime",
"statesync": "State Sync", "statesync": "State Sync",
"trade": "Trade" "trade": "Trade",
"parameters": "Parameters",
"consensus": "consensus"
}, },
"governance-proposal": { "governance-proposal": {