fix: use smantic elements and add translation

This commit is contained in:
Madalina Raicu 2024-02-29 11:32:41 +00:00
parent 1f2827b46f
commit a993273019
No known key found for this signature in database
GPG Key ID: 688B7B31149C1DCD
2 changed files with 6 additions and 5 deletions

View File

@ -387,9 +387,9 @@ const RewardCard = ({
</div>
{/** DISPATCH METRIC DESCRIPTION */}
{dispatchStrategy?.dispatchMetric && (
<span className="text-muted text-sm h-[3rem]">
<p className="text-muted text-sm h-[3rem]">
{t(DispatchMetricDescription[dispatchStrategy?.dispatchMetric])}
</span>
</p>
)}
<span className="border-[0.5px] border-gray-700" />
{/** REQUIREMENTS */}
@ -534,11 +534,11 @@ const StakingRewardCard = ({
</div>
{/** DISPATCH METRIC DESCRIPTION */}
{
<span className="text-muted text-sm h-[3rem]">
<p className="text-muted text-sm h-[3rem]">
{t(
'Global staking reward for staking $VEGA on the network via the Governance app'
)}
</span>
</p>
}
<span className="border-[0.5px] border-gray-700" />
{/** REQUIREMENTS */}

View File

@ -136,6 +136,7 @@
"Governance vote for this market is valid and has been accepted": "Governance vote for this market is valid and has been accepted",
"Governance vote has passed and market is awaiting opening auction exit": "Governance vote has passed and market is awaiting opening auction exit",
"Governance vote passed to close the market": "Governance vote passed to close the market",
"Global staking reward for staking $VEGA on the network via the Governance app": "Global staking reward for staking $VEGA on the network via the Governance app",
"Help identify bugs and improve the service by sharing anonymous usage data.": "Help identify bugs and improve the service by sharing anonymous usage data.",
"Help us identify bugs and improve Vega Governance by sharing anonymous usage data.": "Help us identify bugs and improve Vega Governance by sharing anonymous usage data.",
"Hide closed markets": "Hide closed markets",
@ -368,12 +369,12 @@
"TradingView": "TradingView",
"Transfer": "Transfer",
"Type": "Type",
"Staking rewards": "Staking rewards",
"Unknown": "Unknown",
"Unknown settlement date": "Unknown settlement date",
"Update team": "Update team",
"URL": "URL",
"Use a comma separated list to allow only specific public keys to join the team": "Use a comma separated list to allow only specific public keys to join the team",
"Vega chart": "Vega chart",
"Vega Reward pot": "Vega Reward pot",
"Vega Wallet <0>full featured</0>": "Vega Wallet <0>full featured</0>",
"Vega chart": "Vega chart",