@dydxprotocol/v4-localization 1.1.56 → 1.1.57

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1102,6 +1102,7 @@
1102
1102
  "TRADE": {
1103
1103
  "ADD_MARGIN": "Add Margin",
1104
1104
  "ADD_TRIGGERS": "Add trigger(s)",
1105
+ "ADD_TP_OR_SL": "Add TP | SL",
1105
1106
  "ADJUST_ISOLATED_MARGIN": "Adjust Isolated Margin",
1106
1107
  "ADJUST_TARGET_LEVERAGE": "Adjust Target Leverage",
1107
1108
  "ADJUST_TARGET_LEVERAGE_DESCRIPTION": "Adjusting target leverage will not adjust margin until a new order is placed. For more information on target leverage, see {HERE}.",
@@ -1141,6 +1142,7 @@
1141
1142
  "CURRENTLY_TRADING_ROPSTEN": "You are trading on our Ropsten testnet app with test funds. Create an account on our mainnet app to start trading with real funds",
1142
1143
  "DELEVERAGED": "Deleveraged",
1143
1144
  "EDIT_STOP_LOSS": "Edit stop loss",
1145
+ "EDIT_TAKE_PROFIT": "Edit take profit",
1144
1146
  "ENTER_AMOUNT": "Enter amount",
1145
1147
  "ENTER_LIMIT_PRICE": "Enter limit price",
1146
1148
  "ENTER_TRIGGER_PRICE": "Enter trigger price",
@@ -1199,6 +1201,7 @@
1199
1201
  "MAXIMUM_POSITION_SIZE": "Maximum Position Size",
1200
1202
  "MID_MARKET": "Mid-Market",
1201
1203
  "MODIFY_GOOD_TIL": "Modify Good Til",
1204
+ "MODIFY_PRICE": "Modify price",
1202
1205
  "MODIFY_SIZE_FIELD": "Modify amount",
1203
1206
  "MODIFY_TRAILING_PERCENT": "Modify trailing %",
1204
1207
  "MODIFY_TRIGGER_PRICE": "Modify trigger price",
@@ -2043,6 +2046,12 @@
2043
2046
  "USER_MAX_ORDERS": "Too many open orders",
2044
2047
  "INVALID_GOOD_TIL": "Invalid Good Til"
2045
2048
  },
2049
+ "TRIGGERS_FORM": {
2050
+ "PRICE_MUST_POSITIVE": "All input prices must be positive. Please adjust your input prices."
2051
+ },
2052
+ "TRIGGERS_FORM_TITLE": {
2053
+ "PRICE_MUST_POSITIVE": "Invalid price input"
2054
+ },
2046
2055
  "API_STATUS": {
2047
2056
  "INDEXER_ALERT": "Indexer Alert",
2048
2057
  "INDEXER_DOWN": "Unable to get Indexer current block height.",
@@ -279,6 +279,12 @@
279
279
  "BODY": "This is the gas cost of the deposit transaction, paid to Ethereum miners."
280
280
  }
281
281
  },
282
+ "TRIGGER_ORDERS": {
283
+ "UNEQUAL_ORDER_SIZES": {
284
+ "TITLE": "Unequal Order Sizes",
285
+ "BODY": "Your take profit and stop loss orders have different order sizes. To make edits to the order size, please cancel and re-make the orders."
286
+ }
287
+ },
282
288
  "WITHDRAW": {
283
289
  "FAST_WITHDRAW_FEE": {
284
290
  "TITLE": "Fast Withdraw Fee",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dydxprotocol/v4-localization",
3
- "version": "1.1.56",
3
+ "version": "1.1.57",
4
4
  "description": "v4 localization",
5
5
  "main": "index.ts",
6
6
  "scripts": {
@@ -1,6 +1,6 @@
1
1
  // !! GENERATED FILE - DO NOT EDIT
2
2
 
3
- // Generated from ./config/localization/en/app.json using scripts/codegen_localization_app.swift
3
+ // Generated from ../config/localization/en/app.json using ./codegen_localization_app.swift
4
4
 
5
5
  export const APP_STRING_KEYS = {
6
6
 
@@ -1237,6 +1237,7 @@ export const APP_STRING_KEYS = {
1237
1237
  // TRADE
1238
1238
 
1239
1239
  ADD_MARGIN: 'APP.TRADE.ADD_MARGIN',
1240
+ ADD_TP_OR_SL: 'APP.TRADE.ADD_TP_OR_SL',
1240
1241
  ADD_TRIGGERS: 'APP.TRADE.ADD_TRIGGERS',
1241
1242
  ADJUST_ISOLATED_MARGIN: 'APP.TRADE.ADJUST_ISOLATED_MARGIN',
1242
1243
  ADJUST_TARGET_LEVERAGE: 'APP.TRADE.ADJUST_TARGET_LEVERAGE',
@@ -1276,6 +1277,7 @@ export const APP_STRING_KEYS = {
1276
1277
  CURRENT_RATE_8H: 'APP.TRADE.CURRENT_RATE_8H',
1277
1278
  DELEVERAGED: 'APP.TRADE.DELEVERAGED',
1278
1279
  EDIT_STOP_LOSS: 'APP.TRADE.EDIT_STOP_LOSS',
1280
+ EDIT_TAKE_PROFIT: 'APP.TRADE.EDIT_TAKE_PROFIT',
1279
1281
  ENTER_AMOUNT: 'APP.TRADE.ENTER_AMOUNT',
1280
1282
  ENTER_EXECUTION: 'APP.TRADE.ENTER_EXECUTION',
1281
1283
  ENTER_GOOD_UNTIL: 'APP.TRADE.ENTER_GOOD_UNTIL',
@@ -1334,6 +1336,7 @@ export const APP_STRING_KEYS = {
1334
1336
  MAXIMUM_POSITION_SIZE: 'APP.TRADE.MAXIMUM_POSITION_SIZE',
1335
1337
  MID_MARKET: 'APP.TRADE.MID_MARKET',
1336
1338
  MODIFY_GOOD_TIL: 'APP.TRADE.MODIFY_GOOD_TIL',
1339
+ MODIFY_PRICE: 'APP.TRADE.MODIFY_PRICE',
1337
1340
  MODIFY_SIZE_FIELD: 'APP.TRADE.MODIFY_SIZE_FIELD',
1338
1341
  MODIFY_TRAILING_PERCENT: 'APP.TRADE.MODIFY_TRAILING_PERCENT',
1339
1342
  MODIFY_TRIGGER_PRICE: 'APP.TRADE.MODIFY_TRIGGER_PRICE',
@@ -1680,6 +1683,13 @@ export const ERRORS_STRING_KEYS = {
1680
1683
  TRANSFER_MORE_THAN_FREE: 'ERRORS.TRANSFER_MODAL.TRANSFER_MORE_THAN_FREE',
1681
1684
  TRANSFER_TO_YOURSELF: 'ERRORS.TRANSFER_MODAL.TRANSFER_TO_YOURSELF',
1682
1685
 
1686
+ // TRIGGERS_FORM
1687
+
1688
+ PRICE_MUST_POSITIVE: 'ERRORS.TRIGGERS_FORM.PRICE_MUST_POSITIVE',
1689
+
1690
+ // TRIGGERS_FORM_TITLE
1691
+
1692
+
1683
1693
  // WITHDRAW_MODAL
1684
1694
 
1685
1695
  FAST_WITHDRAW_NOT_ENOUGH_LIQUIDITY: 'ERRORS.WITHDRAW_MODAL.FAST_WITHDRAW_NOT_ENOUGH_LIQUIDITY',
@@ -168,6 +168,11 @@ export const TOOLTIP_STRING_KEYS = {
168
168
  DEPOSIT_NETWORK_FEE_BODY: 'TOOLTIPS.TRANSFER_AND_DEPOSIT.DEPOSIT_NETWORK_FEE.BODY',
169
169
  DEPOSIT_NETWORK_FEE_TITLE: 'TOOLTIPS.TRANSFER_AND_DEPOSIT.DEPOSIT_NETWORK_FEE.TITLE',
170
170
 
171
+ // TRIGGER_ORDERS
172
+
173
+ UNEQUAL_ORDER_SIZES_BODY: 'TOOLTIPS.TRIGGER_ORDERS.UNEQUAL_ORDER_SIZES.BODY',
174
+ UNEQUAL_ORDER_SIZES_TITLE: 'TOOLTIPS.TRIGGER_ORDERS.UNEQUAL_ORDER_SIZES.TITLE',
175
+
171
176
  // WITHDRAW
172
177
 
173
178
  FAST_WITHDRAW_FEE_BODY: 'TOOLTIPS.WITHDRAW.FAST_WITHDRAW_FEE.BODY',