Skip to content

Commit

Permalink
Add price impact string (#215)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredvu authored Dec 23, 2023
1 parent edbf5e5 commit 69bfd5e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions config/localization/en/app.json
Original file line number Diff line number Diff line change
Expand Up @@ -1717,6 +1717,7 @@
"INVALID_USERNAME": "Usernames must start with a letter, be less than 24 characters long, and contain only letters, numbers, and underscores.",
"KEY_RECOVERY_FAILED": "Key recovery failed. Try again with 'Legacy Signing' enabled.",
"LEDGER_U2F_REQUIRED": "U2F browser support is required for Ledger connections. Please ensure this feature is supported in your current browser.",
"PRICE_IMPACT_TOO_HIGH": "There is not enough liquidity for the amount requested, the resulting slippage exceeds our safe limit.",
"USERNAME_TAKEN": "This username has already been taken.",
"WALLET_NO_TRANSACTIONS": "This wallet has no funds and no previous transactions. Please deposit funds in your wallet to continue onboarding."
},
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dydxprotocol/v4-localization",
"version": "1.1.4",
"version": "1.1.5",
"description": "v4 localization",
"main": "index.ts",
"scripts": {
Expand Down
1 change: 1 addition & 0 deletions scripts/generated/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1399,6 +1399,7 @@ export const ERRORS_STRING_KEYS = {
KEY_RECOVERY_FAILED: 'ERRORS.ONBOARDING.KEY_RECOVERY_FAILED',
LEDGER_U2F_REQUIRED: 'ERRORS.ONBOARDING.LEDGER_U2F_REQUIRED',
MAX_CCTP_TRANSFER_LIMIT_EXCEEDED: 'ERRORS.ONBOARDING.MAX_CCTP_TRANSFER_LIMIT_EXCEEDED',
PRICE_IMPACT_TOO_HIGH: 'ERRORS.ONBOARDING.PRICE_IMPACT_TOO_HIGH',
REGION_NOT_PERMITTED_SUBTITLE: 'ERRORS.ONBOARDING.REGION_NOT_PERMITTED_SUBTITLE',
REGION_NOT_PERMITTED_TITLE: 'ERRORS.ONBOARDING.REGION_NOT_PERMITTED_TITLE',
USERNAME_TAKEN: 'ERRORS.ONBOARDING.USERNAME_TAKEN',
Expand Down

0 comments on commit 69bfd5e

Please sign in to comment.