diff --git a/src/modules/[chain]/account/[address].vue b/src/modules/[chain]/account/[address].vue index d65eb557..5504be06 100644 --- a/src/modules/[chain]/account/[address].vue +++ b/src/modules/[chain]/account/[address].vue @@ -138,7 +138,7 @@ function updateEvent() {
-

Address:

+

{{ $t('account.address') }}:

{{ address }}
@@ -147,14 +147,14 @@ function updateEvent() {
-

Assets

+

{{ $t('account.assets') }}

{{ $t('account.btn_send') }} {{ $t('account.btn_transfer') }}
@@ -319,7 +319,7 @@ function updateEvent() {
- Total Value: ${{ totalValue }} + {{ $t('account.total_value') }}: ${{ totalValue }}
@@ -328,19 +328,19 @@ function updateEvent() {
-

Delegations

+

{{ $t('account.delegations') }}

{{ $t('account.btn_delegate') }} {{ $t('account.btn_withdraw') }}
@@ -348,14 +348,14 @@ function updateEvent() { - - - - + + + + - + @@ -435,15 +435,15 @@ function updateEvent() { class="bg-base-100 px-4 pt-3 pb-4 rounded mb-4 shadow" v-if="unbonding && unbonding.length > 0" > -

Unbonding Delegations

+

{{ $t('account.unbonding_delegations') }}

ValidatorDelegationRewardsAction{{ $t('account.validator') }}{{ $t('account.delegation') }}{{ $t('account.rewards') }}{{ $t('account.action') }}
No Delegations
{{ $t('account.no_delegations') }}
delegate{{ $t('account.btn_delegate') }} {{ $t('account.btn_redelegate') }} {{ $t('account.btn_unbond') }}
- - - - + + + + @@ -494,19 +494,19 @@ function updateEvent() {
-

Transactions

+

{{ $t('account.transactions') }}

Creation HeightInitial BalanceBalanceCompletion Time{{ $t('account.creation_height') }}{{ $t('account.initial_balance') }}{{ $t('account.balance') }}{{ $t('account.completion_time') }}
- - - - + + + + - +
HeightHashMessagesTime{{ $t('account.height') }}{{ $t('account.hash') }}{{ $t('account.messages') }}{{ $t('account.time') }}
No Transactions
{{ $t('account.no_transactions') }}
{{ @@ -538,9 +538,9 @@ function updateEvent() {
-

Account

+

{{ $t('account.acc') }}

-
Account does not exists on chain
+
{{ $t('account.error') }}
diff --git a/src/modules/[chain]/account/index.vue b/src/modules/[chain]/account/index.vue index 9425f532..fe1ecb08 100644 --- a/src/modules/[chain]/account/index.vue +++ b/src/modules/[chain]/account/index.vue @@ -57,11 +57,11 @@ function showPubkey(v: any) { - - - - - + + + + + diff --git a/src/plugins/i18n/locales/en.json b/src/plugins/i18n/locales/en.json index 25d8381c..f97785e5 100644 --- a/src/plugins/i18n/locales/en.json +++ b/src/plugins/i18n/locales/en.json @@ -30,5 +30,39 @@ "search_placeholder": "Search Chain", "description_all": "We couldn't find the page you are looking for.", "btn_index": "Back to Home" + }, + "account": { + "type": "Type", + "address": "Address", + "acc": "Account", + "acc_num": "Account Number", + "sequence": "Sequence", + "pub_key": "Public Key", + "assets": "Assets", + "btn_send": "Send", + "btn_transfer": "Transfer", + "total_value": "Total Value", + "delegations": "Delegations", + "no_delegations": "No Delegations", + "btn_delegate": "Delegate", + "btn_redelegate": "Redelegate", + "btn_withdraw": "Withdraw", + "btn_unbond": "Unbond", + "validator": "Validator", + "delegation": "Delegation", + "rewards": "Rewards", + "action": "Action", + "unbonding_delegations": "Unbonding Delegations", + "creation_height": "Creation Height", + "initial_balance": "Initial Balance", + "balance": "Balance", + "completion_time": "Completion Time", + "transactions": "Transactions", + "no_transactions": "No Transactions", + "height": "Height", + "hash": "Hash", + "messages": "Messages", + "time": "Time", + "error": "Account does not exists on chain" } }
TypeAddressAccount NumberSequencePublic Key{{ $t('account.type') }}{{ $t('account.address') }}{{ $t('account.acc_num') }}{{ $t('account.sequence') }}{{ $t('account.pub_key') }}