add link to docs in uninsured warning

This commit is contained in:
saml33 2024-01-11 21:22:23 +11:00
parent 4557eff7c2
commit 02ad0765df
6 changed files with 17 additions and 6 deletions

View File

@ -308,7 +308,18 @@ function DepositForm({ onSuccess, token }: DepositFormProps) {
{!isInsured ? (
<InlineNotification
type="warning"
desc={t('account:warning-uninsured', { token: bank?.name })}
desc={
<>
{t('account:warning-uninsured', { token: bank?.name })}{' '}
<a
href="https://docs.mango.markets/mango-markets/socialized-losses"
target="_blank"
rel="noopener noreferrer"
>
{t('learn-more')}
</a>
</>
}
/>
) : null}
</div>

View File

@ -54,7 +54,7 @@
"total-funding-earned": "Total Funding Earned",
"unfollow": "Unfollow",
"volume-chart": "Volume Chart",
"warning-uninsured": "{{token}} has no insurance. In the event of a {{token}} socialized loss you could lose funds.",
"warning-uninsured": "{{token}} is not insured. In the event of a socialized loss involving {{token}} you could lose funds.",
"week-starting": "Week starting {{week}}",
"zero-collateral": "Zero Collateral",
"zero-balances": "Show Zero Balances"

View File

@ -54,7 +54,7 @@
"total-funding-earned": "Total Funding Earned",
"unfollow": "Unfollow",
"volume-chart": "Volume Chart",
"warning-uninsured": "{{token}} has no insurance. In the event of a {{token}} socialized loss you could lose funds.",
"warning-uninsured": "{{token}} is not insured. In the event of a socialized loss involving {{token}} you could lose funds.",
"week-starting": "Week starting {{week}}",
"zero-collateral": "Zero Collateral",
"zero-balances": "Show Zero Balances"

View File

@ -54,7 +54,7 @@
"total-funding-earned": "Total Funding Earned",
"unfollow": "Unfollow",
"volume-chart": "Volume Chart",
"warning-uninsured": "{{token}} has no insurance. In the event of a {{token}} socialized loss you could lose funds.",
"warning-uninsured": "{{token}} is not insured. In the event of a socialized loss involving {{token}} you could lose funds.",
"week-starting": "Week starting {{week}}",
"zero-collateral": "Zero Collateral",
"zero-balances": "Show Zero Balances"

View File

@ -54,7 +54,7 @@
"total-funding-earned": "总资金费",
"unfollow": "取消关注",
"volume-chart": "交易量图表",
"warning-uninsured": "{{token}} has no insurance. In the event of a {{token}} socialized loss you could lose funds.",
"warning-uninsured": "{{token}} is not insured. In the event of a socialized loss involving {{token}} you could lose funds.",
"week-starting": "从{{week}}来算的一周",
"zero-balances": "显示等于零的余额",
"zero-collateral": "无质押品"

View File

@ -54,7 +54,7 @@
"total-funding-earned": "總資金費",
"unfollow": "取消關注",
"volume-chart": "交易量圖表",
"warning-uninsured": "{{token}} has no insurance. In the event of a {{token}} socialized loss you could lose funds.",
"warning-uninsured": "{{token}} is not insured. In the event of a socialized loss involving {{token}} you could lose funds.",
"week-starting": "從{{week}}來算的一周",
"zero-balances": "顯示等於零的餘額",
"zero-collateral": "無質押品"