diff --git a/config/localization/en/app.json b/config/localization/en/app.json index ae579ec55..578d9b0f1 100644 --- a/config/localization/en/app.json +++ b/config/localization/en/app.json @@ -63,8 +63,10 @@ "ASSET_BALANCE": "{ASSET} Balance", "ASSET": "Asset", "AVAILABLE": "Available", + "AVAILABLE_BALANCE": "Available Balance", "AVAILABLE_IN": "Available in {DURATION}", "AVAILABLE_ON_SHORT": "Avail. {ON_DATE}", + "AVAILABLE_TO_REMOVE": "Available to Remove", "BACK": "Back", "BALANCE": "Balance", "BASE_INITIAL_MARGIN_FRACTION": "Base Initial Margin Fraction", @@ -2390,7 +2392,7 @@ "TRANSFER_WITHOUT_MEMO": "Transferring to a centralized exchange without the memo they have provided you can result in a loss of funds." }, "ADJUST_ISOLATED_MARGIN": { - "ISOLATED_MARGIN_ADJUSTMENT_MORE_THAN_FREE": "You cannot transfer more than your free collateral.", + "ISOLATED_MARGIN_ADJUSTMENT_MORE_THAN_FREE": "Transferring this collateral would put you above the market's max leverage. Please input a lower amount.", "ISOLATED_MARGIN_ADJUSTMENT_INVALID_AMOUNT": "Please enter a valid amount." }, "NEW_MARKET_WIDGET": { diff --git a/config/localization/en/tooltips.json b/config/localization/en/tooltips.json index 8c86349a9..37538f333 100644 --- a/config/localization/en/tooltips.json +++ b/config/localization/en/tooltips.json @@ -23,6 +23,10 @@ "TITLE": "Account Leverage", "BODY": "Leverage of your account based on all your open positions. Because your account is cross-margined, each open position has its own leverage while also affecting your overall account leverage." }, + "AVAILABLE_BALANCE": { + "TITLE": "Available Balance", + "BODY": "Percentage of your total cross margin used by open positions." + }, "BASE_POSITION_NOTIONAL": { "TITLE": "Base Position Notional", "BODY": "The maximum position size at which the margin requirements are not increased." diff --git a/package-lock.json b/package-lock.json index aed90ac5a..0fbb33bf0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@dydxprotocol/v4-localization", - "version": "1.1.169", + "version": "1.1.171", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@dydxprotocol/v4-localization", - "version": "1.1.169", + "version": "1.1.171", "license": "AGPL-3.0", "devDependencies": { "@types/node": "^20.1.7" diff --git a/package.json b/package.json index cd9aab054..119470d82 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@dydxprotocol/v4-localization", - "version": "1.1.170", + "version": "1.1.171", "description": "v4 localization", "main": "index.ts", "scripts": { diff --git a/scripts/generated/app.ts b/scripts/generated/app.ts index 2a8a98306..58f91cf40 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 = { @@ -291,8 +291,10 @@ export const APP_STRING_KEYS = { ASSET: 'APP.GENERAL.ASSET', ASSET_BALANCE: 'APP.GENERAL.ASSET_BALANCE', AVAILABLE: 'APP.GENERAL.AVAILABLE', + AVAILABLE_BALANCE: 'APP.GENERAL.AVAILABLE_BALANCE', AVAILABLE_IN: 'APP.GENERAL.AVAILABLE_IN', AVAILABLE_ON_SHORT: 'APP.GENERAL.AVAILABLE_ON_SHORT', + AVAILABLE_TO_REMOVE: 'APP.GENERAL.AVAILABLE_TO_REMOVE', BACK: 'APP.GENERAL.BACK', BALANCE: 'APP.GENERAL.BALANCE', BASE_INITIAL_MARGIN_FRACTION: 'APP.GENERAL.BASE_INITIAL_MARGIN_FRACTION', diff --git a/scripts/generated/tooltips.ts b/scripts/generated/tooltips.ts index 4e2c5a67a..600cf5359 100644 --- a/scripts/generated/tooltips.ts +++ b/scripts/generated/tooltips.ts @@ -60,6 +60,8 @@ export const TOOLTIP_STRING_KEYS = { ACCOUNT_LEVERAGE_BODY: 'TOOLTIPS.TRADE.ACCOUNT_LEVERAGE.BODY', ACCOUNT_LEVERAGE_TITLE: 'TOOLTIPS.TRADE.ACCOUNT_LEVERAGE.TITLE', + AVAILABLE_BALANCE_BODY: 'TOOLTIPS.TRADE.AVAILABLE_BALANCE.BODY', + AVAILABLE_BALANCE_TITLE: 'TOOLTIPS.TRADE.AVAILABLE_BALANCE.TITLE', BASE_POSITION_NOTIONAL_BODY: 'TOOLTIPS.TRADE.BASE_POSITION_NOTIONAL.BODY', BASE_POSITION_NOTIONAL_TITLE: 'TOOLTIPS.TRADE.BASE_POSITION_NOTIONAL.TITLE', BRACKET_ORDER_SL_BODY: 'TOOLTIPS.TRADE.BRACKET_ORDER_SL.BODY',