Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cypress/support/steps/main.steps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ export const withdrawAndSwitch = (
cy.get(`[data-cy=Modal] h2:contains("Withdraw ${_shortNameFrom}")`).should('be.visible');

cy.get('[data-cy=Modal] button')
.contains('Withdraw & Switch')
.contains('Withdraw & Swap')
.click({ force: true })
.should('not.be.disabled');
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ export const WithdrawAndSwitchActions = ({
await response.wait(1);
queryClient.invalidateQueries({ queryKey: queryKeysFactory.pool });
queryClient.invalidateQueries({ queryKey: queryKeysFactory.gho });

setMainTxState({
txHash: response.hash,
loading: false,
Expand Down Expand Up @@ -271,13 +272,13 @@ export const WithdrawAndSwitchActions = ({
amount={amountToSwap}
handleApproval={() => approval()}
requiresApproval={requiresApproval}
actionText={<Trans>Withdraw and Switch</Trans>}
actionInProgressText={<Trans>Withdrawing and Switching</Trans>}
actionText={<Trans>Withdraw and Swap</Trans>}
actionInProgressText={<Trans>Withdrawing and Swapping</Trans>}
sx={sx}
errorParams={{
loading: false,
disabled: blocked || !approvalTxState?.success,
content: <Trans>Withdraw and Switch</Trans>,
content: <Trans>Withdraw and Swap</Trans>,
handleClick: action,
}}
fetchingData={loading}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export function WithdrawTypeSelector({
}
>
<Typography variant="buttonM">
<Trans>Withdraw & Switch</Trans>
<Trans>Withdraw & Swap</Trans>
</Typography>
</StyledTxModalToggleButton>
</StyledTxModalToggleGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/locales/el/messages.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/locales/en/messages.js

Large diffs are not rendered by default.

26 changes: 13 additions & 13 deletions src/locales/en/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -220,10 +220,6 @@ msgstr "..."
msgid "Liquidation <0/> threshold"
msgstr "Liquidation <0/> threshold"

#: src/components/transactions/Withdraw/WithdrawAndSwitchActions.tsx
msgid "Withdrawing and Switching"
msgstr "Withdrawing and Switching"

#: src/modules/reserve-overview/SupplyInfo.tsx
msgid "Asset supply is limited to a certain amount to reduce protocol exposure to the asset and to help manage risks involved."
msgstr "Asset supply is limited to a certain amount to reduce protocol exposure to the asset and to help manage risks involved."
Expand Down Expand Up @@ -597,6 +593,10 @@ msgstr "Claim all"
msgid "Time remaining until the withdraw period ends."
msgstr "Time remaining until the withdraw period ends."

#: src/components/transactions/Withdraw/WithdrawAndSwitchActions.tsx
msgid "Withdrawing and Swapping"
msgstr "Withdrawing and Swapping"

#: src/modules/reserve-overview/graphs/MeritApyGraphContainer.tsx
msgid "Data couldn't be fetched, please reload graph."
msgstr "Data couldn't be fetched, please reload graph."
Expand All @@ -606,11 +606,6 @@ msgstr "Data couldn't be fetched, please reload graph."
msgid "Dashboard"
msgstr "Dashboard"

#: src/components/transactions/Withdraw/WithdrawAndSwitchActions.tsx
#: src/components/transactions/Withdraw/WithdrawAndSwitchActions.tsx
msgid "Withdraw and Switch"
msgstr "Withdraw and Switch"

#: src/modules/dashboard/lists/BorrowAssetsList/BorrowAssetsList.tsx
msgid "Be careful - You are very close to liquidation. Consider depositing more collateral or paying down some of your borrowed positions"
msgstr "Be careful - You are very close to liquidation. Consider depositing more collateral or paying down some of your borrowed positions"
Expand Down Expand Up @@ -1334,10 +1329,6 @@ msgstr "Borrow balance after repay"
msgid "Supplied assets"
msgstr "Supplied assets"

#: src/components/transactions/Withdraw/WithdrawTypeSelector.tsx
msgid "Withdraw & Switch"
msgstr "Withdraw & Switch"

#: src/components/transactions/Warnings/DebtCeilingWarning.tsx
msgid "Protocol debt ceiling is at 100% for this asset. Further borrowing against this asset is unavailable."
msgstr "Protocol debt ceiling is at 100% for this asset. Further borrowing against this asset is unavailable."
Expand Down Expand Up @@ -2072,6 +2063,10 @@ msgstr "Reserve status & configuration"
msgid "Let us know how we can help you. You may also consider joining our community"
msgstr "Let us know how we can help you. You may also consider joining our community"

#: src/components/transactions/Withdraw/WithdrawTypeSelector.tsx
msgid "Withdraw & Swap"
msgstr "Withdraw & Swap"

#: src/ui-config/errorMapping.tsx
msgid "User cannot withdraw more than the available balance"
msgstr "User cannot withdraw more than the available balance"
Expand Down Expand Up @@ -2646,6 +2641,11 @@ msgstr "about SuperFest."
msgid "Testnet mode"
msgstr "Testnet mode"

#: src/components/transactions/Withdraw/WithdrawAndSwitchActions.tsx
#: src/components/transactions/Withdraw/WithdrawAndSwitchActions.tsx
msgid "Withdraw and Swap"
msgstr "Withdraw and Swap"

#: src/components/infoTooltips/FrozenTooltip.tsx
msgid "This asset is frozen due to an Aave Protocol Governance decision. <0>More details</0>"
msgstr "This asset is frozen due to an Aave Protocol Governance decision. <0>More details</0>"
Expand Down
2 changes: 1 addition & 1 deletion src/locales/es/messages.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/locales/fr/messages.js

Large diffs are not rendered by default.

Loading