diff --git a/src/modules/[chain]/staking/[validator].vue b/src/modules/[chain]/staking/[validator].vue
index 0520f816..3ba847e0 100644
--- a/src/modules/[chain]/staking/[validator].vue
+++ b/src/modules/[chain]/staking/[validator].vue
@@ -193,16 +193,16 @@ const tipMsg = computed(() => {
validator_address: v.operator_address,
})
"
- >Delegate{{ $t('account.btn_delegate') }}
-
About Us
+
{{ $t('staking.about_us') }}
-
Validator Status
+
{{ $t('staking.validator_status') }}
- Status: {{ $t('staking.status') }}:
{{ String(v.status).replace('BOND_STATUS_', '') }}
- Jailed:
+ {{ $t('staking.jailed') }}:
{{ v.jailed || '-' }}
@@ -255,7 +255,7 @@ const tipMsg = computed(() => {
})
}}
-
Total Bonded Tokens
+
{{ $t('staking.total_bonded') }}
@@ -269,7 +269,7 @@ const tipMsg = computed(() => {
{{ format.formatToken(selfBonded.balance) }} ({{ selfRate }})
- Self Bonded
+ {{ $t('staking.self_bonded') }}
@@ -285,7 +285,7 @@ const tipMsg = computed(() => {
{{ v.min_self_delegation }} {{ staking.params.bond_denom }}
- Min Self Delegation:
+ {{ $t('staking.min_self') }}
@@ -297,7 +297,7 @@ const tipMsg = computed(() => {
{{ apr }}
- Annual Profit
+ {{ $t('staking.annual_profit') }}
@@ -310,7 +310,7 @@ const tipMsg = computed(() => {
{{ v.unbonding_height }}
- Unbonding Height
+ {{ $t('staking.unbonding_height') }}
@@ -324,7 +324,7 @@ const tipMsg = computed(() => {
{{ format.toDay(v.unbonding_time, 'from') }}
-
- Unbonding Time
+ {{ $t('staking.unbonding_time') }}
@@ -339,14 +339,14 @@ const tipMsg = computed(() => {
- Commissions & Rewards
+ {{ $t('staking.commissions_&_rewards') }}
-
Commissions
+
{{ $t('staking.commissions') }}
{
>
{{ format.formatToken2(i) }}
-
Outstanding Rewards
+
{{ $t('staking.outstanding') }} {{ $t('account.rewards') }}
{
validator_address: v.operator_address,
})
"
- >Withdraw{{ $t('account.btn_withdraw') }}
- Addresses
+ {{ $t('staking.addresses') }}
-
Account
+
{{ $t('staking.account_addr') }}
{
-
Operator Address
+
{{ $t('staking.operator_addr') }}
{
-
Hex Address
+
{{ $t('staking.hex_addr') }}
{
{{ addresses.hex }}
-
Signer Address
+
{{ $t('staking.signer_addr') }}
{
{{ addresses.valCons }}
-
Consensus Public Key
+
{{ $t('staking.consensus_pub_key') }}
{
-
Transactions
+
{{ $t('account.transactions') }}
|
- Height
+ {{ $t('account.height') }}
|
- Hash |
- Messages |
- Time |
+ {{ $t('account.hash') }} |
+ {{ $t('account.messages') }} |
+ {{ $t('account.time') }} |
diff --git a/src/modules/[chain]/staking/index.vue b/src/modules/[chain]/staking/index.vue
index 7d96ff15..5d7b01bf 100644
--- a/src/modules/[chain]/staking/index.vue
+++ b/src/modules/[chain]/staking/index.vue
@@ -196,7 +196,7 @@ loadAvatars();
{{ format.percent(mintStore.inflation) }}
- Infalation
+ {{ $t('staking.infalation') }}
@@ -208,7 +208,7 @@ loadAvatars();
{{ formatSeconds(staking.params?.unbonding_time) }}
- Unbonding Time
+ {{ $t('staking.unbonding_time') }}
@@ -220,7 +220,7 @@ loadAvatars();
{{ format.percent(slashing.slash_fraction_double_sign) }}
- Double Sign Slashing
+ {{ $t('staking.double_sign_slashing') }}
@@ -232,7 +232,7 @@ loadAvatars();
{{ format.percent(slashing.slash_fraction_downtime) }}
- Downtime Slashing
+ {{ $t('staking.downtime_slashing') }}
@@ -244,19 +244,19 @@ loadAvatars();
class="tab text-gray-400"
:class="{ 'tab-active': tab === 'featured' }"
@click="tab = 'featured'"
- >Popular{{ $t('staking.popular') }}
Active{{ $t('staking.active') }}
Inactive{{ $t('staking.inactive') }}
@@ -272,15 +272,16 @@ loadAvatars();
|
- #
+ {{ $t('staking.rank') }}
|
- VALIDATOR |
- VOTING POWER |
- 24h CHANGES |
- COMMISSION |
- ACTIONS |
+ {{ $t('staking.validator') }} |
+ {{ $t('staking.voting_power') }} |
+ {{ $t('staking.24h_changes') }} |
+ {{ $t('staking.commission') }} |
+ {{ $t('staking.actions') }} |
@@ -400,7 +401,7 @@ loadAvatars();
v-if="v.jailed"
class="badge badge-error gap-2 text-white"
>
- Jailed
+ {{ $t('staking.jailed') }}
{{ $t('account.btn_delegate') }}
@@ -428,7 +429,7 @@ loadAvatars();
- Top 33%
+ {{ $t('staking.top') }} 33%
- Top 67%
+ {{ $t('staking.top') }} 67%
- Delegating to lower-rank validators will increase the overall security of the network
+ {{ $t('staking.description') }}
diff --git a/src/plugins/i18n/locales/en.json b/src/plugins/i18n/locales/en.json
index 1623b90e..9291651a 100644
--- a/src/plugins/i18n/locales/en.json
+++ b/src/plugins/i18n/locales/en.json
@@ -164,5 +164,42 @@
"ordering": "Ordering",
"btn_out": "Out",
"btn_in": "In"
+ },
+ "staking": {
+ "infalation": "Infalation",
+ "unbonding_time": "Unbonding Time",
+ "double_sign_slashing": "Double Sign Slashing",
+ "downtime_slashing": "Downtime Slashing",
+ "popular": "Popular",
+ "active": "Active",
+ "inactive": "Inactive",
+ "rank": "Rank",
+ "validator": "Validator",
+ "voting_power": "Voting Power",
+ "24h_changes": "24h Changes",
+ "commission": "Commission",
+ "actions": "Actions",
+ "jailed": "Jailed",
+ "top": "Top",
+ "description": "Delegating to lower-rank validators will increase the overall security of the network",
+ "about_us": "About Us",
+ "website": "Website",
+ "contact": "Contact",
+ "validator_status": "Validator Status",
+ "status": "Status",
+ "total_bonded": "Total Bonded Tokens",
+ "self_bonded": "Self Bonded",
+ "min_self": "Min Self Delegation",
+ "annual_profit": "Annual Profit",
+ "unbonding_height": "Unbonding Height",
+ "commissions_&_rewards": "Commissions & Rewards",
+ "commissions": "Commissions",
+ "outstanding": "Outstanding",
+ "addresses": "Addresses",
+ "account_addr": "Account Address",
+ "operator_addr": "Operator Address",
+ "hex_addr": "Hex Address",
+ "signer_addr": "Signer Address",
+ "consensus_pub_key": "Consensus Public Key"
}
}