From 69bfd5e0b430855c41bc5e56b55d7a3d54467955 Mon Sep 17 00:00:00 2001 From: Jared Vu Date: Fri, 22 Dec 2023 16:59:59 -0800 Subject: [PATCH] Add price impact string (#215) --- config/localization/en/app.json | 1 + package-lock.json | 4 ++-- package.json | 2 +- scripts/generated/app.ts | 1 + 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/config/localization/en/app.json b/config/localization/en/app.json index 082ba14b1..c9c24ad4b 100644 --- a/config/localization/en/app.json +++ b/config/localization/en/app.json @@ -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." }, diff --git a/package-lock.json b/package-lock.json index 49eab835c..8babdd773 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@dydxprotocol/v4-localization", - "version": "1.1.4", + "version": "1.1.5", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@dydxprotocol/v4-localization", - "version": "1.1.4", + "version": "1.1.5", "license": "AGPL-3.0", "devDependencies": { "@types/node": "^20.1.7" diff --git a/package.json b/package.json index d624dca97..1d78a8053 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@dydxprotocol/v4-localization", - "version": "1.1.4", + "version": "1.1.5", "description": "v4 localization", "main": "index.ts", "scripts": { diff --git a/scripts/generated/app.ts b/scripts/generated/app.ts index 04e4d819a..8958d78f8 100644 --- a/scripts/generated/app.ts +++ b/scripts/generated/app.ts @@ -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',