diff --git a/src/lang/locales/en.json b/src/lang/locales/en.json
index de5519fd..47a2ef8d 100644
--- a/src/lang/locales/en.json
+++ b/src/lang/locales/en.json
@@ -50,10 +50,29 @@
"statesync": "State Sync",
"trade": "Trade",
"parameters": "Parameters",
- "consensus": "consensus"
+ "consensus": "consensus",
+ "no_new_blocks": "No new blocks have been produced since ",
+ "active_props": "Active Proposals",
+ "proposal_votes_yes": "voters voted Yes",
+ "proposal_votes_no": "voters voted No",
+ "proposal_votes_nwv": "voters voted No With Veto",
+ "proposal_votes_abstain": "voters voted Abstain",
+ "no_active_prop": "No active proposal!",
+ "browse": "Browse all",
+ "assets": "Assets",
+ "more": "More",
+ "not_conn": "Not Connected?",
+ "delegate": "Delegate",
+ "redelegate": "Redelegate",
+ "unbond": "Unbond",
+ "withdraw_reward": "Withdraw Rewards",
+ "unbonding_token": "Unbonding Tokens",
+ "send": "Send",
+ "receive": "Receive",
+ "connect_wal": "Connect Wallet"
},
- "governance-proposal": {
+ "governanceProposal": {
"proposal_id": "Proposal ID",
"proposal_type": "Proposal Type",
"proposal_proposer": "Proposer",
@@ -85,5 +104,48 @@
"proposal_votes_nwv": "voted No With Veto",
"proposal_votes_abstain": "voted Abstain",
"proposal_votes_load": "Load More Votes"
- }
+ },
+ "parameters" : {
+ "no_blocks_produced" : "No new blocks have been produced since ",
+ "app_ver": "Application Version",
+ "node_info": "Node Information"
+ },
+ "uptimeMyChainBlocks" : {
+ "height": "Height:",
+ "no_blocks_produced" : "No new blocks have been produced since ",
+ "not_active": "Your node is out of active validator set"
+ },
+ "walletAccountDetail": {
+ "address": "Address:",
+ "assets": "Assets",
+ "transfer": "Transfer",
+ "ibc_transfer": "IBC Transfer",
+ "total": "Total: ",
+ "unbonding": "Unbonding Tokens",
+ "from": "From: ",
+ "delegation": "Delegation",
+ "delegate": "Delegate",
+ "withdraw": " Withdraw Rewards",
+ "acct_type": "Account Type",
+ "acct_num": "Account Number",
+ "seq": "Sequence",
+ "pub_key": "Public Key",
+ "orig_vest": "Original Vesting",
+ "delegated_free": "Delegated Free",
+ "delegated_vest": "Delegated Vesting",
+ "vest_time": "Vesting Time",
+ "vest_period": "Vesting Periods",
+ "length": "Length",
+ "amount": "Amount",
+ "end_time": "End Time",
+ "acct_not_found": "Account not found",
+ "opps": "Oops!",
+ "back_home": "Back to home"
+ },
+ "uptimeMyValidators": {
+ "tips": "Tips",
+ "two_ways": "There are two ways to monitor your validators:",
+ "pin": "Pin a validator on Uptime pages.",
+ "link": "Specify parameters like following:"
+ }
}
diff --git a/src/views/Dashboard.vue b/src/views/Dashboard.vue
index 72f1bb43..f926992d 100644
--- a/src/views/Dashboard.vue
+++ b/src/views/Dashboard.vue
@@ -5,7 +5,7 @@
:show="syncing"
>
- No new blocks have been produced since {{ latestTime }}
+ {{ $t('dashboard.no_new_blocks') }}{{ latestTime }}
@@ -90,7 +90,7 @@
- Active Proposals
+ {{ $t('dashboard.active_props') }}
- {{ percent(prop.tally.yes) }}% voters voted Yes
+ {{ percent(prop.tally.yes) }}% {{ $t('dashboard.proposal_votes_yes') }}
- {{ percent(prop.tally.no) }}% voters voted No
+ {{ percent(prop.tally.no) }}% {{ $t('dashboard.proposal_votes_no') }}
- {{ percent(prop.tally.veto) }}% voters voted No With Veto
+ {{ percent(prop.tally.veto) }}% {{ $t('dashboard.proposal_votes_nwv') }}
- {{ percent(prop.tally.abstain) }}% voters voted Abstain
+ {{ percent(prop.tally.abstain) }}% {{ $t('dashboard.proposal_votes_abstain') }}
- No active proposal!
+ {{ $t('dashboard.no_active_prop') }}
- Browse all
+ {{ $t('dashboard.browse') }}
@@ -256,19 +256,19 @@
class="shadow-none"
>
- {{ walletName }} Assets
+ {{ walletName }} {{ $t('dashboard.assets') }}
- More
+ {{ $t('dashboard.more') }}
- Not connected?
+ {{ $t('dashboard.not_conn') }}
@@ -373,19 +373,19 @@
@click="selectDelegation(data,'Delegate')"
>
- Delegate
+ {{ $t('dashboard.delegate') }}
- Redelegate
+ {{ $t('dashboard.redelegate') }}
- Unbond
+ {{ $t('dashboard.unbond') }}
- Widthdraw Rewards
+ {{ $t('dashboard.withdraw_reward') }}
@@ -406,7 +406,7 @@
- Unbonding Tokens
+ {{ $t('dashboard.unbonding_token') }}
- Send
+ {{ $t('dashboard.send') }}
@@ -465,7 +465,7 @@
- Receive
+ {{ $t('dashboard.receive') }}
@@ -473,7 +473,7 @@
- Connect Wallet
+ {{ $t('dashboard.connect_wal') }}
- {{$t('governance-proposal.proposal_status_deposit')}}
+ {{$t('governanceProposal.proposal_status_deposit')}}
- {{$t('governance-proposal.proposal_status_voting')}}
+ {{$t('governanceProposal.proposal_status_voting')}}
- {{$t('governance-proposal.proposal_status_passed')}}
+ {{$t('governanceProposal.proposal_status_passed')}}
- {{$t('governance-proposal.proposal_status_rejected')}}
+ {{$t('governanceProposal.proposal_status_rejected')}}
{{ proposal.title }}
@@ -55,17 +55,17 @@
- {{ $t('governance-proposal.proposal_total_deposit') }}
+ {{ $t('governanceProposal.proposal_total_deposit') }}
{{ formatToken(proposal.total_deposit) }}
- {{ $t('governance-proposal.proposal_submit_time') }}
+ {{ $t('governanceProposal.proposal_submit_time') }}
{{ formatDate(proposal.submit_time) }}
- {{ $t('governance-proposal.voting_time') }}
+ {{ $t('governanceProposal.voting_time') }}
{{ formatDate(proposal.voting_start_time) }} - {{ formatDate(proposal.voting_end_time) }}
@@ -78,7 +78,7 @@
- {{ $t('governance-proposal.upgrade_time') }} {{ upgradeTime }}
+ {{ $t('governanceProposal.upgrade_time') }} {{ upgradeTime }}
@@ -104,7 +104,7 @@
- {{ $t('governance-proposal.btn_back_list') }}
+ {{ $t('governanceProposal.btn_back_list') }}
- {{ $t('governance-proposal.btn_vote') }}
+ {{ $t('governanceProposal.btn_vote') }}
- {{ $t('governance-proposal.proposal_votes') }}
+ {{ $t('governanceProposal.proposal_votes') }}
@@ -166,22 +166,22 @@
- {{ percent(proposal.tally.yes) }}% {{ $t('governance-proposal.proposal_votes_yes') }}
+ {{ percent(proposal.tally.yes) }}% {{ $t('governanceProposal.proposal_votes_yes') }}
- {{ percent(proposal.tally.no) }}% {{ $t('governance-proposal.proposal_votes_no') }}
+ {{ percent(proposal.tally.no) }}% {{ $t('governanceProposal.proposal_votes_no') }}
- {{ percent(proposal.tally.veto) }}% voted {{ $t('governance-proposal.proposal_votes_nwv') }}
+ {{ percent(proposal.tally.veto) }}% voted {{ $t('governanceProposal.proposal_votes_nwv') }}
- {{ percent(proposal.tally.abstain) }}% {{ $t('governance-proposal.proposal_votes_abstain') }}
+ {{ percent(proposal.tally.abstain) }}% {{ $t('governanceProposal.proposal_votes_abstain') }}
- {{ $t('governance-proposal.proposal_votes_load') }}
+ {{ $t('governanceProposal.proposal_votes_load') }}
@@ -221,7 +221,7 @@
>
- {{ $t('governance-proposal.proposal_deposits') }} ({{ formatToken(proposal.total_deposit) }})
+ {{ $t('governanceProposal.proposal_deposits') }} ({{ formatToken(proposal.total_deposit) }})
@@ -244,7 +244,7 @@
- {{ $t('governance-proposal.btn_back_list') }}
+ {{ $t('governanceProposal.btn_back_list') }}
- {{ $t('governance-proposal.btn_deposit') }}
+ {{ $t('governanceProposal.btn_deposit') }}
- {{ $t('governance-proposal.btn_vote') }}
+ {{ $t('governanceProposal.btn_vote') }}
diff --git a/src/views/Parameters.vue b/src/views/Parameters.vue
index 3b6c8a75..b3362084 100644
--- a/src/views/Parameters.vue
+++ b/src/views/Parameters.vue
@@ -5,7 +5,7 @@
:show="syncing"
>
- No new blocks have been produced since {{ latestTime }}
+ {{$t('parameters.no_blocks_produced')}}{{ latestTime }}
@@ -38,11 +38,15 @@
-
-
+
+ {{$t('parameters.app_ver')}}
+
-
-
+
+
+ {{$t('parameters.node_info')}}
+
+
diff --git a/src/views/UptimeMyChainBlocks.vue b/src/views/UptimeMyChainBlocks.vue
index fb1c3980..d5f4b21c 100644
--- a/src/views/UptimeMyChainBlocks.vue
+++ b/src/views/UptimeMyChainBlocks.vue
@@ -2,21 +2,21 @@
- {{ chain }} Height: {{ height }}
+ {{ chain }} {{$t('uptimeMyChainBlocks.height')}} {{ height }}
- No new blocks have been produced since {{ latestTime }}
+ {{$t('uptimeMyChainBlocks.no_blocks_produced')}}{{ latestTime }}
Your node is out of active validator set
+ > {{$t(uptimeMyChainBlocks.not_active)}}
- Tips
+ {{ $t('uptimeMyValidators.tips') }}
- There are two ways to monitor your validators:
-
Pin a validator on Uptime pages.
-
Specify parameters like following: https://ping.pub/cosmos/uptime/my?validators={"sifchain":["FBADE9A30473BB9ED6DFA16BFB3838E028F33650"],"chain_name":["hexAddress"]}
+ {{ $t('uptimeMyValidators.two_ways') }}
+
{{ $t('uptimeMyValidators.pin') }}
+
{{ $t('uptimeMyValidators.link') }} https://ping.pub/cosmos/uptime/my?validators={"sifchain":["FBADE9A30473BB9ED6DFA16BFB3838E028F33650"],"chain_name":["hexAddress"]}
diff --git a/src/views/WalletAccountDetail.vue b/src/views/WalletAccountDetail.vue
index b6af0732..b050b346 100644
--- a/src/views/WalletAccountDetail.vue
+++ b/src/views/WalletAccountDetail.vue
@@ -23,7 +23,7 @@
style="color: #fff"
class="mb-0"
>
- Address:
- Assets
+ {{ $t('walletAccountDetail.assets') }}
Transfer
+ />{{ $t('walletAccountDetail.transfer') }}
- IBC Transfer
+ {{ $t('walletAccountDetail.ibc_transfer') }}
@@ -117,7 +117,7 @@
-
Total: {{ currency }}{{ formatNumber(assetTable.currency) }}
+ {{ $t('walletAccountDetail.total') }}{{ currency }}{{ formatNumber(assetTable.currency) }}
@@ -127,7 +127,7 @@
v-if="unbonding && unbonding.length > 0"
>
- Unbonding Tokens
+ {{ $t('walletAccountDetail.unbonding') }}
- From: {{ item.validator_address }}
+ {{ $t('walletAccountDetail.from') }}{{ item.validator_address }}
- Delegation
+ {{ $t('walletAccountDetail.delegation') }}
Delegate
+ />{{ $t('walletAccountDetail.delegate') }}
Withdraw Rewards
+ />{{ $t('walletAccountDetail.withdraw') }}
@@ -284,25 +284,25 @@
- Account Type
+ {{ $t('walletAccountDetail.acct_type') }}
{{ account.type }}
- Account Number
+ {{ $t('walletAccountDetail.acct_num') }}
{{ account.value.account_number }}
- Sequence {{ account.value.sequence }}
+ {{ $t('walletAccountDetail.seq') }} {{ account.value.sequence }}
- Public Key
+ {{ $t('walletAccountDetail.pub_key') }}
- Account Type
+ {{ $t('walletAccountDetail.acct_type') }}
{{ account.type }}
@@ -310,32 +310,32 @@
- Account Number
+ {{ $t('walletAccountDetail.acct_num') }}
{{ account.value.base_vesting_account.base_account.account_number }}
- Sequence {{ account.value.base_vesting_account.base_account.sequence }}
+ {{ $t('walletAccountDetail.seq') }} {{ account.value.base_vesting_account.base_account.sequence }}
- Public Key
+ {{ $t('walletAccountDetail.pub_key') }}
- Original Vesting {{ formatToken(account.value.base_vesting_account.original_vesting) }}
+ {{ $t('walletAccountDetail.orig_vest') }} {{ formatToken(account.value.base_vesting_account.original_vesting) }}
- Delegated Free {{ formatToken(account.value.base_vesting_account.delegated_free) }}
+ {{ $t('walletAccountDetail.delegated_free') }} {{ formatToken(account.value.base_vesting_account.delegated_free) }}
- Delegated Vesting {{ formatToken(account.value.base_vesting_account.delegated_vesting) }}
+ {{ $t('walletAccountDetail.delegated_vest') }} {{ formatToken(account.value.base_vesting_account.delegated_vesting) }}
- Vesting Time {{ formatTime(account.value.start_time) }} - {{ formatTime(account.value.base_vesting_account.end_time) }}
+ {{ $t('walletAccountDetail.vest_time') }} {{ formatTime(account.value.start_time) }} - {{ formatTime(account.value.base_vesting_account.end_time) }}
- Vesting Periods
+ {{ $t('walletAccountDetail.vest_period') }}
- Length | Amount |
+ {{ $t('walletAccountDetail.length') }} | {{ $t('walletAccountDetail.amount') }} |
- Account Type
+ {{ $t('walletAccountDetail.acct_type') }}
{{ account.type }}
- Account Number
+ {{ $t('walletAccountDetail.acct_num') }}
{{ account.value.base_vesting_account.base_account.account_number }}
- Sequence {{ account.value.base_vesting_account.base_account.sequence }}
+ {{ $t('walletAccountDetail.seq') }} {{ account.value.base_vesting_account.base_account.sequence }}
- Public Key
+ {{ $t('walletAccountDetail.pub_key') }}
- Original Vesting {{ formatToken(account.value.base_vesting_account.original_vesting) }}
+ {{ $t('walletAccountDetail.orig_vest') }} {{ formatToken(account.value.base_vesting_account.original_vesting) }}
- Delegated Free {{ formatToken(account.value.base_vesting_account.delegated_free) }}
+ {{ $t('walletAccountDetail.delegated_free') }} {{ formatToken(account.value.base_vesting_account.delegated_free) }}
- Delegated Vesting {{ formatToken(account.value.base_vesting_account.delegated_vesting) }}
+ {{ $t('walletAccountDetail.delegated_vest') }} {{ formatToken(account.value.base_vesting_account.delegated_vesting) }}
- End Time {{ formatTime(account.value.base_vesting_account.end_time) }}
+ {{ $t('walletAccountDetail.end_time') }} {{ formatTime(account.value.base_vesting_account.end_time) }}
- Account not found 🕵🏻♀️
+ {{ $t('walletAccountDetail.acct_not_found') }} 🕵🏻♀️
- Oops! 😖 {{ error }}.
+ {{ $t('walletAccountDetail.opps') }} 😖 {{ error }}.
- Back to home
+ {{ $t('walletAccountDetail.back_home') }}
diff --git a/src/views/components/governance/ProposalSummaryComponent.vue b/src/views/components/governance/ProposalSummaryComponent.vue
index 37151fc7..4ddb59cc 100644
--- a/src/views/components/governance/ProposalSummaryComponent.vue
+++ b/src/views/components/governance/ProposalSummaryComponent.vue
@@ -20,27 +20,27 @@
- {{$t('governance-proposal.proposal_status')}}
+ {{$t('governanceProposal.proposal_status')}}
- {{$t('governance-proposal.proposal_status_deposit')}}
+ {{$t('governanceProposal.proposal_status_deposit')}}
- {{$t('governance-proposal.proposal_status_voting')}}
+ {{$t('governanceProposal.proposal_status_voting')}}
- {{$t('governance-proposal.proposal_status_passed')}}
+ {{$t('governanceProposal.proposal_status_passed')}}
- {{$t('governance-proposal.proposal_status_rejected')}}
+ {{$t('governanceProposal.proposal_status_rejected')}}
{{ p.status }}
- {{$t('governance-proposal.proposal_status_start_date')}}
+ {{$t('governanceProposal.proposal_status_start_date')}}
{{ formatDate(p.voting_start_time) }}
@@ -48,7 +48,7 @@
- {{$t('governance-proposal.proposal_status_end_date')}}
+ {{$t('governanceProposal.proposal_status_end_date')}}
{{ formatDate(p.voting_end_time) }}
@@ -56,7 +56,7 @@
- {{$t('governance-proposal.proposal_status_deposit')}}
+ {{$t('governanceProposal.proposal_status_deposit')}}
{{ formatToken(p.total_deposit) || '-' }}
@@ -119,22 +119,22 @@
- {{ percent(p.tally.yes) }}% {{ $t('governance-proposal.proposal_votes_yes') }}
+ {{ percent(p.tally.yes) }}% {{ $t('governanceProposal.proposal_votes_yes') }}
- {{ percent(p.tally.no) }}% {{ $t('governance-proposal.proposal_votes_no') }}
+ {{ percent(p.tally.no) }}% {{ $t('governanceProposal.proposal_votes_no') }}
- {{ percent(p.tally.veto) }}% {{ $t('governance-proposal.proposal_votes_nwv') }}
+ {{ percent(p.tally.veto) }}% {{ $t('governanceProposal.proposal_votes_nwv') }}
- {{ percent(p.tally.abstain) }}% {{ $t('governance-proposal.proposal_votes_abstain') }}
+ {{ percent(p.tally.abstain) }}% {{ $t('governanceProposal.proposal_votes_abstain') }}
@@ -148,7 +148,7 @@
:href="`./gov/${p.id}`"
variant="outline-primary"
>
- {{ $t('governance-proposal.btn_detail') }}
+ {{ $t('governanceProposal.btn_detail') }}
- {{ $t('governance-proposal.btn_deposit') }}
+ {{ $t('governanceProposal.btn_deposit') }}
- {{ $t('governance-proposal.btn_vote') }}
+ {{ $t('governanceProposal.btn_vote') }}