From 3f384c5fc4b3bc9b047d53ea5b9b5aa197c22e64 Mon Sep 17 00:00:00 2001 From: aleka Date: Tue, 13 Aug 2024 22:29:51 +0200 Subject: [PATCH] chore: sltp info strings to add into modal (#647) --- config/localization/en/app.json | 4 +++- package-lock.json | 4 ++-- package.json | 2 +- scripts/generated/app.ts | 4 +++- 4 files changed, 9 insertions(+), 5 deletions(-) diff --git a/config/localization/en/app.json b/config/localization/en/app.json index 578d9b0f1..801276a61 100644 --- a/config/localization/en/app.json +++ b/config/localization/en/app.json @@ -1108,7 +1108,9 @@ "STOP_LOSS_TOOLTIP": "Protects against losses by closing a trader’s position once the oracle price crosses the trigger price.", "TAKE_PROFIT_TOOLTIP": "Allows traders to set targets and protects profits on positions by specifying a price at which to close an open position for profit.", "TP_LIMIT": "TP Limit", - "TP_PRICE": "TP Price" + "TP_PRICE": "TP Price", + "TRIGGERS_INFO_AUTOMATICALLY_CANCELED": "Take profit and stop loss orders will automatically be canceled if the underlying position is closed.", + "TRIGGERS_INFO_CUSTOM_AMOUNT": "Configuring a custom amount will apply to both take profit and stop loss orders." }, "PORTFOLIO": { "ABOUT_TRADING_DATA_DESCRIPTION": "See how your trading data is used to calculate rewards.", diff --git a/package-lock.json b/package-lock.json index 0fbb33bf0..4971d207a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@dydxprotocol/v4-localization", - "version": "1.1.171", + "version": "1.1.172", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@dydxprotocol/v4-localization", - "version": "1.1.171", + "version": "1.1.172", "license": "AGPL-3.0", "devDependencies": { "@types/node": "^20.1.7" diff --git a/package.json b/package.json index 119470d82..ba28ced26 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@dydxprotocol/v4-localization", - "version": "1.1.171", + "version": "1.1.172", "description": "v4 localization", "main": "index.ts", "scripts": { diff --git a/scripts/generated/app.ts b/scripts/generated/app.ts index 58f91cf40..13d1a69b8 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 = { @@ -1681,6 +1681,8 @@ export const APP_STRING_KEYS = { TAKE_PROFIT_TOOLTIP: 'APP.TRIGGERS_MODAL.TAKE_PROFIT_TOOLTIP', TP_LIMIT: 'APP.TRIGGERS_MODAL.TP_LIMIT', TP_PRICE: 'APP.TRIGGERS_MODAL.TP_PRICE', + TRIGGERS_INFO_AUTOMATICALLY_CANCELED: 'APP.TRIGGERS_MODAL.TRIGGERS_INFO_AUTOMATICALLY_CANCELED', + TRIGGERS_INFO_CUSTOM_AMOUNT: 'APP.TRIGGERS_MODAL.TRIGGERS_INFO_CUSTOM_AMOUNT', // UNSTAKE_CONFIRMATION_MODAL