diff --git a/config/localization/en/app.json b/config/localization/en/app.json index c77207483..68c7ebcdf 100644 --- a/config/localization/en/app.json +++ b/config/localization/en/app.json @@ -1326,6 +1326,7 @@ "NEXT_IN": "Next in {TIME}", "NOTIONAL_VALUE": "Notional Value", "OFFSETTING": "Offsetting", + "OHLC_VIA_MID_PRICE": "OHLC (via mid-price)", "OPEN_INTEREST": "Open Interest", "OPEN_POSITIONS": "Open Positions", "OPEN_STATUS": "Open", diff --git a/config/localization/en/tooltips.json b/config/localization/en/tooltips.json index 61ed5c6b9..00ad23296 100644 --- a/config/localization/en/tooltips.json +++ b/config/localization/en/tooltips.json @@ -353,6 +353,12 @@ "BODY": "To ensure the security of the protocol, dYdX Chain validators delay the settlement of dYdX Chain DYDX." } }, + "TRADE_CHART": { + "OHLC": { + "TITLE": "OHLC", + "BODY": "Enable or disable OHLC data via mid-price. Disabling this will only display OHLC data from the orderbook." + } + }, "NEW_MARKET_WIDGET": { "REFERENCE_PRICE": { "TITLE": "Reference Price", diff --git a/package-lock.json b/package-lock.json index 167ec0cc4..8c2ca7010 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@dydxprotocol/v4-localization", - "version": "1.1.162", + "version": "1.1.163", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@dydxprotocol/v4-localization", - "version": "1.1.162", + "version": "1.1.163", "license": "AGPL-3.0", "devDependencies": { "@types/node": "^20.1.7" diff --git a/package.json b/package.json index 331472a60..69583c0bb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@dydxprotocol/v4-localization", - "version": "1.1.162", + "version": "1.1.163", "description": "v4 localization", "main": "index.ts", "scripts": { diff --git a/scripts/generated/app.ts b/scripts/generated/app.ts index 650f3738e..40f896ede 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 = { @@ -1479,6 +1479,7 @@ export const APP_STRING_KEYS = { NEXT_IN: 'APP.TRADE.NEXT_IN', NOTIONAL_VALUE: 'APP.TRADE.NOTIONAL_VALUE', OFFSETTING: 'APP.TRADE.OFFSETTING', + OHLC_VIA_MID_PRICE: 'APP.TRADE.OHLC_VIA_MID_PRICE', OPEN_INTEREST: 'APP.TRADE.OPEN_INTEREST', OPEN_POSITIONS: 'APP.TRADE.OPEN_POSITIONS', OPEN_STATUS: 'APP.TRADE.OPEN_STATUS', diff --git a/scripts/generated/tooltips.ts b/scripts/generated/tooltips.ts index 641865aed..4e2c5a67a 100644 --- a/scripts/generated/tooltips.ts +++ b/scripts/generated/tooltips.ts @@ -178,6 +178,11 @@ export const TOOLTIP_STRING_KEYS = { UNREALIZED_PNL_BODY: 'TOOLTIPS.TRADE.UNREALIZED_PNL.BODY', UNREALIZED_PNL_TITLE: 'TOOLTIPS.TRADE.UNREALIZED_PNL.TITLE', + // TRADE_CHART + + OHLC_BODY: 'TOOLTIPS.TRADE_CHART.OHLC.BODY', + OHLC_TITLE: 'TOOLTIPS.TRADE_CHART.OHLC.TITLE', + // TRANSFER_AND_DEPOSIT ALLOWANCE_AND_DEPOSIT_NETWORK_FEE_BODY: 'TOOLTIPS.TRANSFER_AND_DEPOSIT.ALLOWANCE_AND_DEPOSIT_NETWORK_FEE.BODY',