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 () => ([
{
scope: 'normal',
title: 'dashboard',
title: 'dashboard.dashboard',
route: 'dashboard',
},
{
scope: 'normal',
title: 'blocks',
title: 'dashboard.blocks',
route: 'blocks',
},
{
scope: 'normal',
title: 'staking',
title: 'dashboard.staking',
route: 'staking',
},
{
scope: 'normal',
title: 'governance',
title: 'dashboard.governance',
route: 'governance',
exclude: 'emoney',
},
{
scope: 'normal',
title: 'uptime',
title: 'dashboard.uptime',
route: 'uptime',
},
{
scope: 'normal',
title: 'parameters',
title: 'dashboard.parameters',
route: 'parameters',
},
{
scope: 'normal',
title: 'statesync',
title: 'dashboard.statesync',
route: 'statesync',
},
{
scope: 'normal',
title: 'consensus',
title: 'dashboard.consensus',
route: 'consensus',
},
{
scope: 'cos-mos',
title: 'gravity',
title: 'dashboard.gravity',
route: 'gravity',
},
{
scope: 'osmosis',
title: 'trade',
title: 'dashboard.trade',
route: 'osmosis-trade',
},
])

View File

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