From 42bc442fc470c9136bfaf54c1baa4de3cca6693f Mon Sep 17 00:00:00 2001 From: Tina Zheng Date: Thu, 15 Aug 2024 14:56:04 -0400 Subject: [PATCH 1/2] add buys/sells marks strings --- config/localization/en/app.json | 4 ++++ scripts/generated/app.ts | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/config/localization/en/app.json b/config/localization/en/app.json index f34ea70e0..d6ec70f4d 100644 --- a/config/localization/en/app.json +++ b/config/localization/en/app.json @@ -1248,6 +1248,9 @@ "BRACKET_ORDER_LONG_TAKE_PROFIT_DESCRIPTION": "If {ASSET} increases by a given amount, trigger a {ACTION} to capture profits.", "BRACKET_ORDER_SHORT_STOP_LOSS_DESCRIPTION": "If {ASSET} increases by a given amount, trigger a {ACTION} to prevent your losses.", "BRACKET_ORDER_SHORT_TAKE_PROFIT_DESCRIPTION": "If {ASSET} falls to a fixed price, trigger a {ACTION} to capture profits.", + "BUY_MARK_TOOLTIP": "Bought {ASSET_SIZE} {ASSET} at {PRICE}", + "BUYS_SELLS_TOGGLE": "Buys/Sells", + "BUYS_SELLS_TOGGLE_TOOLTIP": "Display historical buys and sells", "CANCEL_ALL": "Cancel all", "CANCEL_ORDER": "Cancel order", "CANCEL_ORDERS_COUNT": "Cancel {COUNT} orders", @@ -1431,6 +1434,7 @@ "RETURN_TO_MARKET": "Return to market", "RISK_REWARD": "Risk-Reward", "SELECT_MARKET": "Select market", + "SELL_MARK_TOOLTIP": "Sold {ASSET_SIZE} {ASSET} at {PRICE}", "SELF_TRADE": "Self-trade", "SET_ORDER_SIZE": "Set order size", "SET_PRICE_TRIGGERS": "Set price triggers", diff --git a/scripts/generated/app.ts b/scripts/generated/app.ts index 9c141daca..42b667899 100644 --- a/scripts/generated/app.ts +++ b/scripts/generated/app.ts @@ -1401,6 +1401,9 @@ export const APP_STRING_KEYS = { BRACKET_ORDER_LONG_TAKE_PROFIT_DESCRIPTION: 'APP.TRADE.BRACKET_ORDER_LONG_TAKE_PROFIT_DESCRIPTION', BRACKET_ORDER_SHORT_STOP_LOSS_DESCRIPTION: 'APP.TRADE.BRACKET_ORDER_SHORT_STOP_LOSS_DESCRIPTION', BRACKET_ORDER_SHORT_TAKE_PROFIT_DESCRIPTION: 'APP.TRADE.BRACKET_ORDER_SHORT_TAKE_PROFIT_DESCRIPTION', + BUYS_SELLS_TOGGLE: 'APP.TRADE.BUYS_SELLS_TOGGLE', + BUYS_SELLS_TOGGLE_TOOLTIP: 'APP.TRADE.BUYS_SELLS_TOGGLE_TOOLTIP', + BUY_MARK_TOOLTIP: 'APP.TRADE.BUY_MARK_TOOLTIP', CANCELED_ON_CHAIN: 'APP.TRADE.CANCELED_ON_CHAIN', CANCELING: 'APP.TRADE.CANCELING', CANCELING_ORDERS_COUNT: 'APP.TRADE.CANCELING_ORDERS_COUNT', @@ -1583,6 +1586,7 @@ export const APP_STRING_KEYS = { RISK_REWARD: 'APP.TRADE.RISK_REWARD', SELECT_MARKET: 'APP.TRADE.SELECT_MARKET', SELF_TRADE: 'APP.TRADE.SELF_TRADE', + SELL_MARK_TOOLTIP: 'APP.TRADE.SELL_MARK_TOOLTIP', SET_ORDER_SIZE: 'APP.TRADE.SET_ORDER_SIZE', SET_PRICE_TRIGGERS: 'APP.TRADE.SET_PRICE_TRIGGERS', SLIDER: 'APP.TRADE.SLIDER', From db92c6fde46d162fcc48ebfedd6816c9e557550f Mon Sep 17 00:00:00 2001 From: Tina Zheng Date: Thu, 15 Aug 2024 14:56:08 -0400 Subject: [PATCH 2/2] 1.1.177 --- package-lock.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index bc3d5ce14..9ad5be678 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@dydxprotocol/v4-localization", - "version": "1.1.176", + "version": "1.1.177", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@dydxprotocol/v4-localization", - "version": "1.1.176", + "version": "1.1.177", "license": "AGPL-3.0", "devDependencies": { "@types/node": "^20.1.7" diff --git a/package.json b/package.json index 368826002..ce6047754 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@dydxprotocol/v4-localization", - "version": "1.1.176", + "version": "1.1.177", "description": "v4 localization", "main": "index.ts", "scripts": {