diff --git a/src/modules/[chain]/gov/[proposal_id].vue b/src/modules/[chain]/gov/[proposal_id].vue index d427984d..077ba1e4 100644 --- a/src/modules/[chain]/gov/[proposal_id].vue +++ b/src/modules/[chain]/gov/[proposal_id].vue @@ -303,7 +303,7 @@ function pageload(p: number) {
- {{ $t('gov.current_status') }}: {{ proposal.status }} + {{ $t('gov.current_status') }}: {{ $t(`gov.proposal_statuses.${proposal.status}`) }}
diff --git a/src/plugins/i18n/locales/en.json b/src/plugins/i18n/locales/en.json index 679b999e..95c83d19 100644 --- a/src/plugins/i18n/locales/en.json +++ b/src/plugins/i18n/locales/en.json @@ -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" },