add missing tooltips

This commit is contained in:
saml33 2023-05-03 13:57:54 +10:00
parent 4ad8a29da6
commit aa6a5e75c9
12 changed files with 39 additions and 13 deletions

View File

@ -47,8 +47,28 @@ const TokenDetailsTable = () => {
</Tooltip>
</div>
</Th>
<Th className="text-right">{t('borrow-fee')}</Th>
<Th className="text-right">{t('activity:liquidation-fee')}</Th>
<Th>
<div className="flex justify-end text-right">
<Tooltip content={t('tooltip-borrow-fee')}>
<span className="tooltip-underline">
{t('borrow-fee')}
</span>
</Tooltip>
</div>
</Th>
<Th>
<div className="flex justify-end text-right">
<Tooltip
content={t('token:tooltip-liquidation-fee', {
symbol: t('tokens').toLowerCase(),
})}
>
<span className="tooltip-underline">
{t('activity:liquidation-fee')}
</span>
</Tooltip>
</div>
</Th>
<Th className="text-right">{t('trade:oracle')}</Th>
<Th className="text-right">
<Tooltip

View File

@ -70,7 +70,13 @@ const SwapHistoryTable = () => {
<Th className="text-left">{t('swap:received')}</Th>
<Th className="text-right">{t('value')}</Th>
<Th className="text-right">{t('borrow')}</Th>
<Th className="text-right">{t('borrow-fee')}</Th>
<Th>
<div className="flex justify-end text-right">
<Tooltip content={t('tooltip-borrow-fee')}>
<span className="tooltip-underline">{t('borrow-fee')}</span>
</Tooltip>
</div>
</Th>
<Th />
</TrHead>
</thead>

View File

@ -145,7 +145,7 @@
"token": "Token",
"tokens": "Tokens",
"token-collateral-multiplier": "{{token}} Collateral Multiplier",
"tooltip-borrow-fee": "The fee for originating a loan.",
"tooltip-borrow-fee": "The fee for opening a new borrow.",
"tooltip-borrow-rate": "The variable interest rate you'll pay on your borrowed balance",
"tooltip-collateral-value": "The USD amount you can trade or borrow against",
"total": "Total",

View File

@ -36,7 +36,7 @@
"tooltip-deposit-borrow-scaling-start": "This acts as a soft limit for deposits and borrows. For deposits, if this value is exceeded the asset weight for deposits is scaled down. For borrows, the liability weight for borrows is scaled up.",
"tooltip-init-asset-liability-weight": "The contribution a token has to your initial account health. Asset weight is applied to deposits that increase health and liability weight is applied to borrows that reduce it. Initial health controls your ability to withdraw and open new positions and is shown as an account's free collateral.",
"tooltip-insurance-rate-curve": "Interest rates are dependent on token utilization. The more tokens that are lent out the higher the rate. The curve scales up and down with long term trends in utilization.",
"tooltip-liquidation-fee": "The fee paid to liqudators when {{symbol}} is liquidated.",
"tooltip-liquidation-fee": "The fee paid to liqudators for liquidating {{symbol}}.",
"tooltip-maint-asset-liability-weight": "The contribution a token has to your maintenance account health. Asset weight is applied to deposits that increase health and liability weight is applied to borrows that reduce it. Maintenance health is what's displayed on your account page. If this value reaches zero your account will be liquidated.",
"tooltip-net-borrow-period": "As a safety feature, the amount of new borrows is limited. The limit resets at regular periods. This is the amount of time between resets.",
"tooltip-net-borrow-limit-in-period": "The maximum value of allowed net borrows. Once this value is reached, new borrows will be disabled until the end of the period.",

View File

@ -145,7 +145,7 @@
"token": "Token",
"tokens": "Tokens",
"token-collateral-multiplier": "{{token}} Collateral Multiplier",
"tooltip-borrow-fee": "The fee for originating a loan.",
"tooltip-borrow-fee": "The fee for opening a new borrow.",
"tooltip-borrow-rate": "The variable interest rate you'll pay on your borrowed balance",
"tooltip-collateral-value": "The USD amount you can trade or borrow against",
"total": "Total",

View File

@ -36,7 +36,7 @@
"tooltip-deposit-borrow-scaling-start": "This acts as a soft limit for deposits and borrows. For deposits, if this value is exceeded the asset weight for deposits is scaled down. For borrows, the liability weight for borrows is scaled up.",
"tooltip-init-asset-liability-weight": "The contribution a token has to your initial account health. Asset weight is applied to deposits that increase health and liability weight is applied to borrows that reduce it. Initial health controls your ability to withdraw and open new positions and is shown as an account's free collateral.",
"tooltip-insurance-rate-curve": "Interest rates are dependent on token utilization. The more tokens that are lent out the higher the rate. The curve scales up and down with long term trends in utilization.",
"tooltip-liquidation-fee": "The fee paid to liqudators when {{symbol}} is liquidated.",
"tooltip-liquidation-fee": "The fee paid to liqudators for liquidating {{symbol}}.",
"tooltip-maint-asset-liability-weight": "The contribution a token has to your maintenance account health. Asset weight is applied to deposits that increase health and liability weight is applied to borrows that reduce it. Maintenance health is what's displayed on your account page. If this value reaches zero your account will be liquidated.",
"tooltip-net-borrow-period": "As a safety feature, the amount of new borrows is limited. The limit resets at regular periods. This is the amount of time between resets.",
"tooltip-net-borrow-limit-in-period": "The maximum value of allowed net borrows. Once this value is reached, new borrows will be disabled until the end of the period.",

View File

@ -145,7 +145,7 @@
"token": "Token",
"tokens": "Tokens",
"token-collateral-multiplier": "{{token}} Collateral Multiplier",
"tooltip-borrow-fee": "The fee for originating a loan.",
"tooltip-borrow-fee": "The fee for opening a new borrow.",
"tooltip-borrow-rate": "The variable interest rate you'll pay on your borrowed balance",
"tooltip-collateral-value": "The USD amount you can trade or borrow against",
"total": "Total",

View File

@ -36,7 +36,7 @@
"tooltip-deposit-borrow-scaling-start": "This acts as a soft limit for deposits and borrows. For deposits, if this value is exceeded the asset weight for deposits is scaled down. For borrows, the liability weight for borrows is scaled up.",
"tooltip-init-asset-liability-weight": "The contribution a token has to your initial account health. Asset weight is applied to deposits that increase health and liability weight is applied to borrows that reduce it. Initial health controls your ability to withdraw and open new positions and is shown as an account's free collateral.",
"tooltip-insurance-rate-curve": "Interest rates are dependent on token utilization. The more tokens that are lent out the higher the rate. The curve scales up and down with long term trends in utilization.",
"tooltip-liquidation-fee": "The fee paid to liqudators when {{symbol}} is liquidated.",
"tooltip-liquidation-fee": "The fee paid to liqudators for liquidating {{symbol}}.",
"tooltip-maint-asset-liability-weight": "The contribution a token has to your maintenance account health. Asset weight is applied to deposits that increase health and liability weight is applied to borrows that reduce it. Maintenance health is what's displayed on your account page. If this value reaches zero your account will be liquidated.",
"tooltip-net-borrow-period": "As a safety feature, the amount of new borrows is limited. The limit resets at regular periods. This is the amount of time between resets.",
"tooltip-net-borrow-limit-in-period": "The maximum value of allowed net borrows. Once this value is reached, new borrows will be disabled until the end of the period.",

View File

@ -145,7 +145,7 @@
"token": "Token",
"tokens": "Tokens",
"token-collateral-multiplier": "{{token}} Collateral Multiplier",
"tooltip-borrow-fee": "The fee for originating a loan.",
"tooltip-borrow-fee": "The fee for opening a new borrow.",
"tooltip-borrow-rate": "The variable interest rate you'll pay on your borrowed balance",
"tooltip-collateral-value": "The USD amount you can trade or borrow against",
"total": "Total",

View File

@ -36,7 +36,7 @@
"tooltip-deposit-borrow-scaling-start": "This acts as a soft limit for deposits and borrows. For deposits, if this value is exceeded the asset weight for deposits is scaled down. For borrows, the liability weight for borrows is scaled up.",
"tooltip-init-asset-liability-weight": "The contribution a token has to your initial account health. Asset weight is applied to deposits that increase health and liability weight is applied to borrows that reduce it. Initial health controls your ability to withdraw and open new positions and is shown as an account's free collateral.",
"tooltip-insurance-rate-curve": "Interest rates are dependent on token utilization. The more tokens that are lent out the higher the rate. The curve scales up and down with long term trends in utilization.",
"tooltip-liquidation-fee": "The fee paid to liqudators when {{symbol}} is liquidated.",
"tooltip-liquidation-fee": "The fee paid to liqudators for liquidating {{symbol}}.",
"tooltip-maint-asset-liability-weight": "The contribution a token has to your maintenance account health. Asset weight is applied to deposits that increase health and liability weight is applied to borrows that reduce it. Maintenance health is what's displayed on your account page. If this value reaches zero your account will be liquidated.",
"tooltip-net-borrow-period": "As a safety feature, the amount of new borrows is limited. The limit resets at regular periods. This is the amount of time between resets.",
"tooltip-net-borrow-limit-in-period": "The maximum value of allowed net borrows. Once this value is reached, new borrows will be disabled until the end of the period.",

View File

@ -145,7 +145,7 @@
"token": "幣種",
"token-collateral-multiplier": "{{token}}質押品乘數",
"tokens": "幣種",
"tooltip-borrow-fee": "The fee for originating a loan.",
"tooltip-borrow-fee": "The fee for opening a new borrow.",
"tooltip-borrow-rate": "您將為借入餘額支付的可變利率",
"tooltip-collateral-value": "您可以交易或借入的美元金額",
"total": "總計",

View File

@ -36,7 +36,7 @@
"tooltip-deposit-borrow-scaling-start": "This acts as a soft limit for deposits and borrows. For deposits, if this value is exceeded the asset weight for deposits is scaled down. For borrows, the liability weight for borrows is scaled up.",
"tooltip-init-asset-liability-weight": "The contribution a token has to your initial account health. Asset weight is applied to deposits that increase health and liability weight is applied to borrows that reduce it. Initial health controls your ability to withdraw and open new positions and is shown as an account's free collateral.",
"tooltip-insurance-rate-curve": "Interest rates are dependent on token utilization. The more tokens that are lent out the higher the rate. The curve scales up and down with long term trends in utilization.",
"tooltip-liquidation-fee": "The fee paid to liqudators when {{symbol}} is liquidated.",
"tooltip-liquidation-fee": "The fee paid to liqudators for liquidating {{symbol}}.",
"tooltip-maint-asset-liability-weight": "The contribution a token has to your maintenance account health. Asset weight is applied to deposits that increase health and liability weight is applied to borrows that reduce it. Maintenance health is what's displayed on your account page. If this value reaches zero your account will be liquidated.",
"tooltip-net-borrow-period": "As a safety feature, the amount of new borrows is limited. The limit resets at regular periods. This is the amount of time between resets.",
"tooltip-net-borrow-limit-in-period": "The maximum value of allowed net borrows. Once this value is reached, new borrows will be disabled until the end of the period.",