Merge pull request #475 from freak12techno/add-i18n-for-proposal-status
feat: add i18n for proposal status on proposal page
This commit is contained in:
commit
ae38647480
@ -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>
|
||||
|
||||
|
@ -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"
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user