From cf3c2b7a85fccc1203ac1d750931e5ea8c7eee12 Mon Sep 17 00:00:00 2001 From: Salman Wahib Date: Wed, 21 Jun 2023 01:30:39 +0700 Subject: [PATCH] i18n: update add en src/modules/[chain]/gov/ const processList = computed(() => ); > not changes Author: Salman Wahib Co-authored-by: liangping <18786721@qq.com> --- src/modules/[chain]/gov/[proposal_id].vue | 22 +++++++++++----------- src/modules/[chain]/gov/index.vue | 6 +++--- src/plugins/i18n/locales/en.json | 16 ++++++++++++++++ 3 files changed, 30 insertions(+), 14 deletions(-) diff --git a/src/modules/[chain]/gov/[proposal_id].vue b/src/modules/[chain]/gov/[proposal_id].vue index 8ad69f50..33b0ffdc 100644 --- a/src/modules/[chain]/gov/[proposal_id].vue +++ b/src/modules/[chain]/gov/[proposal_id].vue @@ -198,7 +198,7 @@ function pageload(p: number) {
-

Tally

+

{{ $t('gov.tally') }}

@@ -225,32 +225,32 @@ function pageload(p: number) { for="vote" class="btn btn-primary float-right btn-sm mx-1" @click="dialog.open('vote', { proposal_id })" - >Vote{{ $t('gov.btn_vote') }} {{ $t('gov.btn_deposit') }}
-

Timeline

+

{{ $t('gov.timeline') }}

- Submited at: {{ format.toDay(proposal.submit_time) }} + {{ $t('gov.submit_at') }}: {{ format.toDay(proposal.submit_time) }}
{{ shortTime(proposal.submit_time) }}
- Deposited at: + {{ $t('gov.deposited_at') }}: {{ format.toDay( proposal.status === 'PROPOSAL_STATUS_DEPOSIT_PERIOD' @@ -273,7 +273,7 @@ function pageload(p: number) {
- Voting start from {{ format.toDay(proposal.voting_start_time) }} + {{ $t('gov.vote_start_from') }} {{ format.toDay(proposal.voting_start_time) }}
{{ shortTime(proposal.voting_start_time) }} @@ -287,14 +287,14 @@ function pageload(p: number) {
- Voting end {{ format.toDay(proposal.voting_end_time) }} + {{ $t('gov.vote_end') }} {{ format.toDay(proposal.voting_end_time) }}
{{ shortTime(proposal.voting_end_time) }}
- Current Status: {{ proposal.status }} + {{ $t('gov.current_status') }}: {{ proposal.status }}
@@ -307,7 +307,7 @@ function pageload(p: number) {
- Upgrade Plan: + {{ $t('gov.upgrade_plan') }}: (EST) @@ -328,7 +328,7 @@ function pageload(p: number) {
-

Votes

+

{{ $t('gov.votes') }}

diff --git a/src/modules/[chain]/gov/index.vue b/src/modules/[chain]/gov/index.vue index 6c977120..4ad5eead 100644 --- a/src/modules/[chain]/gov/index.vue +++ b/src/modules/[chain]/gov/index.vue @@ -33,10 +33,10 @@ function page(p: number) {