@dydxprotocol/v4-localization 1.1.56 → 1.1.58

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.
@@ -715,6 +715,7 @@
715
715
  "WALLET_CONNECT": "WalletConnect (1.0)",
716
716
  "WALLET_CONNECT_2": "WalletConnect",
717
717
  "TEST_WALLET": "Test Wallet",
718
+ "EMAIL_OR_SOCIAL": "Email or social",
718
719
  "OTHER_WALLET": "Other"
719
720
  },
720
721
  "ONBOARDING": {
@@ -1102,6 +1103,7 @@
1102
1103
  "TRADE": {
1103
1104
  "ADD_MARGIN": "Add Margin",
1104
1105
  "ADD_TRIGGERS": "Add trigger(s)",
1106
+ "ADD_TP_OR_SL": "Add TP | SL",
1105
1107
  "ADJUST_ISOLATED_MARGIN": "Adjust Isolated Margin",
1106
1108
  "ADJUST_TARGET_LEVERAGE": "Adjust Target Leverage",
1107
1109
  "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 +1143,7 @@
1141
1143
  "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
1144
  "DELEVERAGED": "Deleveraged",
1143
1145
  "EDIT_STOP_LOSS": "Edit stop loss",
1146
+ "EDIT_TAKE_PROFIT": "Edit take profit",
1144
1147
  "ENTER_AMOUNT": "Enter amount",
1145
1148
  "ENTER_LIMIT_PRICE": "Enter limit price",
1146
1149
  "ENTER_TRIGGER_PRICE": "Enter trigger price",
@@ -1199,6 +1202,7 @@
1199
1202
  "MAXIMUM_POSITION_SIZE": "Maximum Position Size",
1200
1203
  "MID_MARKET": "Mid-Market",
1201
1204
  "MODIFY_GOOD_TIL": "Modify Good Til",
1205
+ "MODIFY_PRICE": "Modify price",
1202
1206
  "MODIFY_SIZE_FIELD": "Modify amount",
1203
1207
  "MODIFY_TRAILING_PERCENT": "Modify trailing %",
1204
1208
  "MODIFY_TRIGGER_PRICE": "Modify trigger price",
@@ -2043,6 +2047,12 @@
2043
2047
  "USER_MAX_ORDERS": "Too many open orders",
2044
2048
  "INVALID_GOOD_TIL": "Invalid Good Til"
2045
2049
  },
2050
+ "TRIGGERS_FORM": {
2051
+ "PRICE_MUST_POSITIVE": "All input prices must be positive. Please adjust your input prices."
2052
+ },
2053
+ "TRIGGERS_FORM_TITLE": {
2054
+ "PRICE_MUST_POSITIVE": "Invalid price input"
2055
+ },
2046
2056
  "API_STATUS": {
2047
2057
  "INDEXER_ALERT": "Indexer Alert",
2048
2058
  "INDEXER_DOWN": "Unable to get Indexer current block height.",
@@ -2114,7 +2124,6 @@
2114
2124
  "TRANSFERS_PAUSED_TITLE": "Transfers are paused",
2115
2125
  "TRANSFERS_PAUSED_DESCRIPTION": "Please try again in {SECONDS} seconds.",
2116
2126
  "TRANSFERS_PAUSED_ACTION": "Transfers paused"
2117
-
2118
2127
  },
2119
2128
  "ONBOARDING": {
2120
2129
  "ALWAYS_VERIFY_URL": "Always check and verify you are on https://trade.dydx.exchange when recovering your keys."
@@ -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.58",
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',
@@ -1513,6 +1516,7 @@ export const APP_STRING_KEYS = {
1513
1516
  CLOVER_WALLET: 'APP.WALLETS.CLOVER_WALLET',
1514
1517
  COIN98: 'APP.WALLETS.COIN98',
1515
1518
  COINBASE_WALLET: 'APP.WALLETS.COINBASE_WALLET',
1519
+ EMAIL_OR_SOCIAL: 'APP.WALLETS.EMAIL_OR_SOCIAL',
1516
1520
  HUOBI_WALLET: 'APP.WALLETS.HUOBI_WALLET',
1517
1521
  IMTOKEN: 'APP.WALLETS.IMTOKEN',
1518
1522
  KEPLR: 'APP.WALLETS.KEPLR',
@@ -1680,6 +1684,13 @@ export const ERRORS_STRING_KEYS = {
1680
1684
  TRANSFER_MORE_THAN_FREE: 'ERRORS.TRANSFER_MODAL.TRANSFER_MORE_THAN_FREE',
1681
1685
  TRANSFER_TO_YOURSELF: 'ERRORS.TRANSFER_MODAL.TRANSFER_TO_YOURSELF',
1682
1686
 
1687
+ // TRIGGERS_FORM
1688
+
1689
+ PRICE_MUST_POSITIVE: 'ERRORS.TRIGGERS_FORM.PRICE_MUST_POSITIVE',
1690
+
1691
+ // TRIGGERS_FORM_TITLE
1692
+
1693
+
1683
1694
  // WITHDRAW_MODAL
1684
1695
 
1685
1696
  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',