Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add SL/TP limit translations #331

Merged
merged 2 commits into from
Mar 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading