From 38b73d0a1d41b19f1a7d42273782acd7e3fc0ce1 Mon Sep 17 00:00:00 2001 From: Salman Wahib Date: Wed, 21 Jun 2023 15:27:42 +0700 Subject: [PATCH] i18n: update add en src/modules/[chain]/ placeholder="" not changes Author: Salman Wahib Co-authored-by: liangping <18786721@qq.com> --- src/modules/[chain]/index.vue | 46 ++++++++++++++++---------------- src/plugins/i18n/locales/en.json | 16 +++++++++++ 2 files changed, 39 insertions(+), 23 deletions(-) diff --git a/src/modules/[chain]/index.vue b/src/modules/[chain]/index.vue index ca89b720..b4488177 100644 --- a/src/modules/[chain]/index.vue +++ b/src/modules/[chain]/index.vue @@ -135,7 +135,7 @@ const amount = computed({ }})
- Rank: + {{ $t('index.rank') }}:
#{{ coinInfo.market_cap_rank }}
@@ -209,7 +209,7 @@ const amount = computed({
@@ -264,13 +264,13 @@ const amount = computed({
- Active Proposals + {{ $t('index.active_proposals') }}
- No active proposals + {{ $t('index.no_active_proposals') }}
@@ -279,11 +279,11 @@ const amount = computed({ {{ walletStore.currentAddress || 'Not Connected' }} More + :to="`/${chain}/account/${walletStore.currentAddress}`">{{ $t('index.more') }}
-
Balance
+
{{ $t('account.balance') }}
{{ format.formatToken(walletStore.balanceOfStakingToken) }}
@@ -292,7 +292,7 @@ const amount = computed({
-
Staking
+
{{ $t('module.staking') }}
{{ format.formatToken(walletStore.stakingAmount) }}
@@ -301,7 +301,7 @@ const amount = computed({
-
Reward
+
{{ $t('index.reward') }}
{{ format.formatToken(walletStore.rewardAmount) }}
@@ -310,7 +310,7 @@ const amount = computed({
-
Unbonding
+
{{ $t('index.unbonding') }}
{{ format.formatToken(walletStore.unbondingAmount) }}
@@ -324,10 +324,10 @@ const amount = computed({ - - - - + + + + @@ -354,11 +354,11 @@ const amount = computed({
@@ -368,11 +368,11 @@ const amount = computed({
- - + + - + @click="dialog.open('delegate', {}, updateState)">{{ $t('account.btn_delegate') }} +
- Application Versions + {{ $t('index.app_versions') }}
@@ -391,7 +391,7 @@ const amount = computed({
- Node Information + {{ $t('index.node_info') }}
diff --git a/src/plugins/i18n/locales/en.json b/src/plugins/i18n/locales/en.json index 77dccefa..56b42a66 100644 --- a/src/plugins/i18n/locales/en.json +++ b/src/plugins/i18n/locales/en.json @@ -251,5 +251,21 @@ "text_1": "Import global script", "text_2": "Connect Wallet", "text_3": "Osmosis Convert" + }, + "index": { + "rank": "Rank", + "price_calculator": "Price Calculator", + "close": "Close", + "buy": "Buy", + "active_proposals": "Active Proposals", + "no_active_proposals": "No active proposals", + "more": "More", + "reward": "Reward", + "unbonding": "Unbonding", + "btn_withdraw_reward": "Withdraw Rewards", + "btn_swap": "Swap", + "receive": "Receive", + "app_versions": "Application Versions", + "node_info": "Node Information" } }
ValidatorDelegationsRewardsActions{{ $t('account.validator') }}{{ $t('account.delegations') }}{{ $t('account.rewards') }}{{ $t('staking.actions') }}