forked from LaconicNetwork/cosmos-explorer
Merge branch 'master' of https://github.com/ping-pub/explorer
This commit is contained in:
@@ -17,7 +17,7 @@ export const name = 'v0.46.7'
|
||||
|
||||
function proposalAdapter(p: any): GovProposal {
|
||||
if(p) {
|
||||
if(p.messages) p.content = p.messages[0].content || p.messages[0]
|
||||
if(p.messages && p.messages.length >= 1) p.content = p.messages[0].content || p.messages[0]
|
||||
p.proposal_id = p.id
|
||||
p.final_tally_result = {
|
||||
yes: p.final_tally_result?.yes_count,
|
||||
|
||||
@@ -303,7 +303,7 @@ function pageload(p: number) {
|
||||
</div>
|
||||
</div>
|
||||
<div class="pl-5 text-sm">
|
||||
{{ $t('gov.current_status') }}: {{ proposal.status }}
|
||||
{{ $t('gov.current_status') }}: {{ $t(`gov.proposal_statuses.${proposal.status}`) }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -134,6 +134,13 @@
|
||||
"vote_start_from": "开始投票时间",
|
||||
"vote_end": "投票截止时间",
|
||||
"current_status": "当前状态",
|
||||
"proposal_statuses": {
|
||||
"PROPOSAL_STATUS_DEPOSIT_PERIOD": "存款期",
|
||||
"PROPOSAL_STATUS_VOTING_PERIOD": "投票期",
|
||||
"PROPOSAL_STATUS_PASSED": "通过",
|
||||
"PROPOSAL_STATUS_REJECTED": "被拒绝",
|
||||
"PROPOSAL_STATUS_FAILED": "失败"
|
||||
},
|
||||
"upgrade_plan": "升级计划",
|
||||
"votes": "投票"
|
||||
},
|
||||
|
||||
@@ -133,6 +133,13 @@
|
||||
"vote_start_from": "Voting start from",
|
||||
"vote_end": "Voting end",
|
||||
"current_status": "Current Status",
|
||||
"proposal_statuses": {
|
||||
"PROPOSAL_STATUS_DEPOSIT_PERIOD": "Deposit period",
|
||||
"PROPOSAL_STATUS_VOTING_PERIOD": "Voting period",
|
||||
"PROPOSAL_STATUS_PASSED": "Passed",
|
||||
"PROPOSAL_STATUS_REJECTED": "Rejected",
|
||||
"PROPOSAL_STATUS_FAILED": "Failed"
|
||||
},
|
||||
"upgrade_plan": "Upgrade Plan",
|
||||
"votes": "Votes"
|
||||
},
|
||||
|
||||
@@ -133,6 +133,13 @@
|
||||
"vote_start_from": "Voting dimulai dari",
|
||||
"vote_end": "Voting berakhir",
|
||||
"current_status": "Status Saat Ini",
|
||||
"proposal_statuses": {
|
||||
"PROPOSAL_STATUS_DEPOSIT_PERIOD": "Periode Deposit",
|
||||
"PROPOSAL_STATUS_VOTING_PERIOD": "Periode Pemungutan Suara",
|
||||
"PROPOSAL_STATUS_PASSED": "Disetujui",
|
||||
"PROPOSAL_STATUS_REJECTED": "Ditolak",
|
||||
"PROPOSAL_STATUS_FAILED": "Gagal"
|
||||
},
|
||||
"upgrade_plan": "Peningkatan Rencana",
|
||||
"votes": "Suara"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user