diff --git a/config/localization/en/app.json b/config/localization/en/app.json index b50a8f536..d6bda979d 100644 --- a/config/localization/en/app.json +++ b/config/localization/en/app.json @@ -2205,6 +2205,7 @@ "MARKET_ORDER_ERROR_INDEX_PRICE_SLIPPAGE": "This market order would result in {SLIPPAGE} oracle price slippage given current liquidity. Please use a limit order if you still intend to place this order.", "MARKET_ORDER_ERROR_ORDERBOOK_SLIPPAGE": "This market order would result in {SLIPPAGE} of orderbook price impact given current liquidity. Please use a limit order if you still intend to place this order.", "MARKET_ORDER_NOT_ENOUGH_LIQUIDITY": "There is not enough liquidity to fill this market order, please try a smaller order amount.", + "MARKET_ORDER_ONE_SIDED_LIQUIDITY": "This market order is not recommended due to one-sided orderbook liquidity. Please place a limit order instead.", "MARKET_ORDER_PRICE_IMPACT_AT_MAX_LEVERAGE": "This order has a non-zero price impact and could potentially put your position over max leverage. Please try a smaller order amount.", "NEW_POSITION_SIZE_OVER_MAX": "This trade could result in a position size over the maximum size of {MAX_SIZE} {SYMBOL}.", "NO_EQUITY_DEPOSIT_FIRST": "You must deposit funds before you can place orders.", diff --git a/package-lock.json b/package-lock.json index e506c3eea..0fba13d43 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@dydxprotocol/v4-localization", - "version": "1.1.159", + "version": "1.1.161", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@dydxprotocol/v4-localization", - "version": "1.1.157", + "version": "1.1.161", "license": "AGPL-3.0", "devDependencies": { "@types/node": "^20.1.7" diff --git a/package.json b/package.json index f31ff52a9..47d27e0ae 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@dydxprotocol/v4-localization", - "version": "1.1.160", + "version": "1.1.161", "description": "v4 localization", "main": "index.ts", "scripts": { diff --git a/scripts/generated/app.ts b/scripts/generated/app.ts index ad36073d2..650f3738e 100644 --- a/scripts/generated/app.ts +++ b/scripts/generated/app.ts @@ -1,6 +1,6 @@ // !! GENERATED FILE - DO NOT EDIT -// Generated from ../config/localization/en/app.json using ./codegen_localization_app.swift +// Generated from ../config/localization/en/app.json using codegen_localization_app.swift export const APP_STRING_KEYS = { @@ -1896,6 +1896,7 @@ export const ERRORS_STRING_KEYS = { MARKET_ORDER_ERROR_INDEX_PRICE_SLIPPAGE: 'ERRORS.TRADE_BOX.MARKET_ORDER_ERROR_INDEX_PRICE_SLIPPAGE', MARKET_ORDER_ERROR_ORDERBOOK_SLIPPAGE: 'ERRORS.TRADE_BOX.MARKET_ORDER_ERROR_ORDERBOOK_SLIPPAGE', MARKET_ORDER_NOT_ENOUGH_LIQUIDITY: 'ERRORS.TRADE_BOX.MARKET_ORDER_NOT_ENOUGH_LIQUIDITY', + MARKET_ORDER_ONE_SIDED_LIQUIDITY: 'ERRORS.TRADE_BOX.MARKET_ORDER_ONE_SIDED_LIQUIDITY', MARKET_ORDER_PRICE_IMPACT_AT_MAX_LEVERAGE: 'ERRORS.TRADE_BOX.MARKET_ORDER_PRICE_IMPACT_AT_MAX_LEVERAGE', NEW_POSITION_SIZE_OVER_MAX: 'ERRORS.TRADE_BOX.NEW_POSITION_SIZE_OVER_MAX', NO_EQUITY_DEPOSIT_FIRST: 'ERRORS.TRADE_BOX.NO_EQUITY_DEPOSIT_FIRST',