Skip to content

Commit

Permalink
Add SL/TP limit translations (#331)
Browse files Browse the repository at this point in the history
* add translations

* 1.1.50
  • Loading branch information
moo-onthelawn authored Mar 12, 2024
1 parent 9d0ee4e commit b04feae
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
2 changes: 2 additions & 0 deletions config/localization/en/app.json
Original file line number Diff line number Diff line change
Expand Up @@ -988,9 +988,11 @@
"LIMIT_PRICE_TOOLTIP": "By identifying a limit price, you are placing a Take Profit Limit Order and/or a Stop Limit Order. Click {DOCUMENTATION_LINK} for more details.",
"MULTIPLE_ORDERS_FOUND": "Multiple orders found.",
"PRICE_TRIGGERS": "Price triggers",
"SL_LIMIT": "SL Limit",
"SL_PRICE": "SL Price",
"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"
},
"PORTFOLIO": {
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.49",
"version": "1.1.50",
"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 scripts/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 @@ -1493,9 +1493,11 @@ export const APP_STRING_KEYS = {
LIMIT_PRICE_TOOLTIP: 'APP.TRIGGERS_MODAL.LIMIT_PRICE_TOOLTIP',
MULTIPLE_ORDERS_FOUND: 'APP.TRIGGERS_MODAL.MULTIPLE_ORDERS_FOUND',
PRICE_TRIGGERS: 'APP.TRIGGERS_MODAL.PRICE_TRIGGERS',
SL_LIMIT: 'APP.TRIGGERS_MODAL.SL_LIMIT',
SL_PRICE: 'APP.TRIGGERS_MODAL.SL_PRICE',
STOP_LOSS_TOOLTIP: 'APP.TRIGGERS_MODAL.STOP_LOSS_TOOLTIP',
TAKE_PROFIT_TOOLTIP: 'APP.TRIGGERS_MODAL.TAKE_PROFIT_TOOLTIP',
TP_LIMIT: 'APP.TRIGGERS_MODAL.TP_LIMIT',
TP_PRICE: 'APP.TRIGGERS_MODAL.TP_PRICE',

// USER_SURVEY
Expand Down

0 comments on commit b04feae

Please sign in to comment.