Skip to content

Commit

Permalink
chore: sltp info strings to add into modal (#647)
Browse files Browse the repository at this point in the history
  • Loading branch information
aforaleka authored Aug 13, 2024
1 parent cb13222 commit 3f384c5
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
4 changes: 3 additions & 1 deletion config/localization/en/app.json
Original file line number Diff line number Diff line change
Expand Up @@ -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.",
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dydxprotocol/v4-localization",
"version": "1.1.171",
"version": "1.1.172",
"description": "v4 localization",
"main": "index.ts",
"scripts": {
Expand Down
4 changes: 3 additions & 1 deletion scripts/generated/app.ts
Original file line number Diff line number Diff line change
@@ -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 = {

Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 3f384c5

Please sign in to comment.