update tooltip
This commit is contained in:
parent
740a55a679
commit
9dbfc28be6
|
@ -100,7 +100,9 @@ const ToggleFollowButton = ({
|
|||
return (
|
||||
<Tooltip
|
||||
content={
|
||||
!isFollowed && followedAccounts?.length >= 10
|
||||
!publicKey
|
||||
? t('account:tooltip-connect-to-follow')
|
||||
: !isFollowed && followedAccounts?.length >= 10
|
||||
? t('account:tooltip-follow-max-reached')
|
||||
: showText
|
||||
? ''
|
||||
|
|
|
@ -6,6 +6,7 @@ export async function getStaticProps({ locale }: { locale: string }) {
|
|||
return {
|
||||
props: {
|
||||
...(await serverSideTranslations(locale, [
|
||||
'account',
|
||||
'common',
|
||||
'leaderboard',
|
||||
'notifications',
|
||||
|
|
|
@ -28,7 +28,8 @@
|
|||
"pnl-history": "PnL History",
|
||||
"refresh-balance": "Refresh Balance",
|
||||
"tooltip-collateral-value": "The amount of capital this token gives you to use for trades and loans.",
|
||||
"tooltip-follow-account": "Follow this account on your overview page",
|
||||
"tooltip-connect-to-follow": "Connect to follow accounts",
|
||||
"tooltip-follow-account": "Follow account on your account page",
|
||||
"tooltip-follow-max-reached": "Follow max reached",
|
||||
"tooltip-free-collateral": "The amount of capital you have to use for trades and loans. When your free collateral reaches $0 you won't be able to trade, borrow or withdraw",
|
||||
"tooltip-init-health": "The contribution an asset gives to your initial account health. Initial health affects your ability to open new positions and withdraw collateral from your account. The sum of these values is equal to your account's free collateral.",
|
||||
|
|
|
@ -28,7 +28,8 @@
|
|||
"pnl-history": "PnL History",
|
||||
"refresh-balance": "Refresh Balance",
|
||||
"tooltip-collateral-value": "The amount of capital this token gives you to use for trades and loans.",
|
||||
"tooltip-follow-account": "Follow this account on your overview page",
|
||||
"tooltip-connect-to-follow": "Connect to follow accounts",
|
||||
"tooltip-follow-account": "Follow account on your account page",
|
||||
"tooltip-follow-max-reached": "Follow max reached",
|
||||
"tooltip-free-collateral": "The amount of capital you have to use for trades and loans. When your free collateral reaches $0 you won't be able to trade, borrow or withdraw",
|
||||
"tooltip-init-health": "The contribution an asset gives to your initial account health. Initial health affects your ability to open new positions and withdraw collateral from your account. The sum of these values is equal to your account's free collateral.",
|
||||
|
|
|
@ -28,7 +28,8 @@
|
|||
"pnl-history": "PnL History",
|
||||
"refresh-balance": "Refresh Balance",
|
||||
"tooltip-collateral-value": "The amount of capital this token gives you to use for trades and loans.",
|
||||
"tooltip-follow-account": "Follow this account on your overview page",
|
||||
"tooltip-connect-to-follow": "Connect to follow accounts",
|
||||
"tooltip-follow-account": "Follow account on your account page",
|
||||
"tooltip-follow-max-reached": "Follow max reached",
|
||||
"tooltip-free-collateral": "The amount of capital you have to use for trades and loans. When your free collateral reaches $0 you won't be able to trade, borrow or withdraw",
|
||||
"tooltip-init-health": "The contribution an asset gives to your initial account health. Initial health affects your ability to open new positions and withdraw collateral from your account. The sum of these values is equal to your account's free collateral.",
|
||||
|
|
|
@ -28,7 +28,8 @@
|
|||
"pnl-history": "盈亏历史",
|
||||
"refresh-balance": "更新余额",
|
||||
"tooltip-collateral-value": "该币种为你提供用于交易与借贷的资本金额。",
|
||||
"tooltip-follow-account": "Follow this account on your overview page",
|
||||
"tooltip-connect-to-follow": "Connect to follow accounts",
|
||||
"tooltip-follow-account": "Follow account on your account page",
|
||||
"tooltip-follow-max-reached": "Follow max reached",
|
||||
"tooltip-free-collateral": "你可用于交易和借贷的余额。当你可用的质押品达到0元时,你将不能交易、借贷或取款",
|
||||
"tooltip-init-health": "资产对你的初始账户健康度的贡献。初始健康度会影响你建仓和从账户中提取质押品的能力。这些值的总和等于你帐户的可用质押品。" ,
|
||||
|
|
|
@ -28,7 +28,8 @@
|
|||
"pnl-history": "盈虧歷史",
|
||||
"refresh-balance": "更新餘額",
|
||||
"tooltip-collateral-value": "該幣種為你提供用於交易與借貸的資本金額。",
|
||||
"tooltip-follow-account": "Follow this account on your overview page",
|
||||
"tooltip-connect-to-follow": "Connect to follow accounts",
|
||||
"tooltip-follow-account": "Follow account on your account page",
|
||||
"tooltip-follow-max-reached": "Follow max reached",
|
||||
"tooltip-free-collateral": "你可用於交易和借貸的餘額。當你可用的質押品達到0元時,你將不能交易、借貸或取款",
|
||||
"tooltip-init-health": "資產對你的初始賬戶健康度的貢獻。初始健康度會影響你建倉和從賬戶中提取質押品的能力。這些值的總和等於你帳戶的可用質押品。",
|
||||
|
|
Loading…
Reference in New Issue