Skip to content

Commit

Permalink
feat(vault): revise copy
Browse files Browse the repository at this point in the history
  • Loading branch information
gitwoz committed Dec 12, 2024
1 parent c668c1b commit 59cafec
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 15 deletions.
6 changes: 3 additions & 3 deletions lang/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,9 @@
"defaultMessage": "Disconnect",
"description": "src/components/Dialogs/RemoveSocialLoginDialog/Content.tsx"
},
"2Sgvfr": {
"defaultMessage": "USDT {amount} pending claim"
},
"2W0f9h": {
"defaultMessage": "Bio"
},
Expand Down Expand Up @@ -2459,9 +2462,6 @@
"defaultMessage": "Pending",
"description": "src/views/Circle/Settings/ManageInvitation/Invites/index.tsx"
},
"fidQDr": {
"defaultMessage": "{amount} USDT pending claim"
},
"fko+MR": {
"defaultMessage": "Retry claiming"
},
Expand Down
6 changes: 3 additions & 3 deletions lang/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,9 @@
"defaultMessage": "Disconnect",
"description": "src/components/Dialogs/RemoveSocialLoginDialog/Content.tsx"
},
"2Sgvfr": {
"defaultMessage": "USDT {amount} pending claim"
},
"2W0f9h": {
"defaultMessage": "Bio"
},
Expand Down Expand Up @@ -2459,9 +2462,6 @@
"defaultMessage": "Pending",
"description": "src/views/Circle/Settings/ManageInvitation/Invites/index.tsx"
},
"fidQDr": {
"defaultMessage": "{amount} USDT pending claim"
},
"fko+MR": {
"defaultMessage": "Retry claiming"
},
Expand Down
6 changes: 3 additions & 3 deletions lang/zh-Hans.json
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,9 @@
"defaultMessage": "解绑",
"description": "src/components/Dialogs/RemoveSocialLoginDialog/Content.tsx"
},
"2Sgvfr": {
"defaultMessage": "USDT {amount} 待提领"
},
"2W0f9h": {
"defaultMessage": "个人简介"
},
Expand Down Expand Up @@ -2459,9 +2462,6 @@
"defaultMessage": "邀请中",
"description": "src/views/Circle/Settings/ManageInvitation/Invites/index.tsx"
},
"fidQDr": {
"defaultMessage": "{amount} USDT 待提领"
},
"fko+MR": {
"defaultMessage": "重试提领"
},
Expand Down
6 changes: 3 additions & 3 deletions lang/zh-Hant.json
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,9 @@
"defaultMessage": "解綁",
"description": "src/components/Dialogs/RemoveSocialLoginDialog/Content.tsx"
},
"2Sgvfr": {
"defaultMessage": "USDT {amount} 待提領"
},
"2W0f9h": {
"defaultMessage": "個人簡介"
},
Expand Down Expand Up @@ -2459,9 +2462,6 @@
"defaultMessage": "邀請中",
"description": "src/views/Circle/Settings/ManageInvitation/Invites/index.tsx"
},
"fidQDr": {
"defaultMessage": "{amount} USDT 待提領"
},
"fko+MR": {
"defaultMessage": "重試提領"
},
Expand Down
4 changes: 3 additions & 1 deletion src/components/Dialogs/WithdrawVaultUSDTDialog/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,11 @@ const DynamicContent = dynamic(() => import('./Content'), {
})

const BaseWithdrawVaultUSDTDialog = () => {
const { show, closeDialog } = useDialogSwitch(true)
const { show, openDialog, closeDialog } = useDialogSwitch(true)
const { currStep, forward } = useStep<Step>('intro')

useEventListener(OPEN_WITHDRAW_VAULT_USDT_DIALOG, openDialog)

return (
<Dialog isOpen={show} onDismiss={closeDialog}>
<DynamicContent
Expand Down
4 changes: 2 additions & 2 deletions src/views/Me/Wallet/Balance/USDT.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,8 @@ export const USDTBalance = ({ currency, exchangeRate }: USDTBalanceProps) => {
/>
) : (
<FormattedMessage
defaultMessage="{amount} USDT pending claim"
id="fidQDr"
defaultMessage="USDT {amount} pending claim"
id="2Sgvfr"
values={{ amount: formatAmount(vaultBalanceUSDT) }}
/>
)
Expand Down

0 comments on commit 59cafec

Please sign in to comment.