@dydxprotocol/v4-localization 1.1.96 → 1.1.98

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.
@@ -211,6 +211,7 @@
211
211
  "MAXIMUM_LEVERAGE": "Maximum Leverage",
212
212
  "MAXIMUM_REWARDS": "Estimated Rewards",
213
213
  "MEME": "Meme",
214
+ "MEMO": "Memo",
214
215
  "MENU": "Menu",
215
216
  "METRICS": "Metrics",
216
217
  "MID_CAP": "Mid-cap",
@@ -342,6 +343,7 @@
342
343
  "VIEW_MORE": "View more",
343
344
  "VIEW_OPTIONS": "View options",
344
345
  "VIEW_ORDER": "View order",
346
+ "VIEW_ORDERS_COUNT": "View {NUM_ORDERS} orders",
345
347
  "VIEW": "View",
346
348
  "VIEW_ALL": "View all →",
347
349
  "VIEWS": "Views",
@@ -1759,6 +1761,7 @@
1759
1761
  "INVALID_ADDRESS_TITLE": "Invalid wallet address",
1760
1762
  "INVALID_ADDRESS_BODY": "Please enter a valid dYdX chain address.",
1761
1763
  "PLEASE_CONFIRM_ADDRESS": "Please confirm that this is the desired address before proceeding.",
1764
+ "REQUIRED_FOR_TRANSFERS_TO_CEX": "Required for transfers to Centralized Exchanges",
1762
1765
  "SELECT_ADDRESS": "Enter or select address"
1763
1766
  },
1764
1767
  "DEPOSIT_WITH_FIAT": {
@@ -2222,7 +2225,8 @@
2222
2225
  "TRANSFER_INVALID_ETH_ADDRESS": "We could not find an account associated with this wallet address.",
2223
2226
  "TRANSFER_MORE_THAN_FREE": "You cannot transfer more than your free collateral.",
2224
2227
  "TRANSFER_TO_YOURSELF": "You cannot complete a direct transfer to your own wallet address.",
2225
- "TRANSFER_INSUFFICIENT_GAS": "The USDC balance {USDC_BALANCE} in your chain wallet may not cover the transaction fees. Please deposit additional funds."
2228
+ "TRANSFER_INSUFFICIENT_GAS": "The USDC balance {USDC_BALANCE} in your chain wallet may not cover the transaction fees. Please deposit additional funds.",
2229
+ "TRANSFER_WITHOUT_MEMO": "Transfering to a centralized exchange without a memo can result in a loss of funds."
2226
2230
  },
2227
2231
  "ADJUST_ISOLATED_MARGIN": {
2228
2232
  "ISOLATED_MARGIN_ADJUSTMENT_MORE_THAN_FREE": "You cannot transfer more than your free collateral.",
@@ -2256,7 +2260,8 @@
2256
2260
  "MARKET_ORDER_WARNING_ORDERBOOK_SLIPPAGE": "This market order would result in {SLIPPAGE} of orderbook price impact given current liquidity.",
2257
2261
  "MARKET_STATUS_CLOSE_ONLY": "{MARKET} is currently in close only mode. No new positions can be created.",
2258
2262
  "STOP_MARKET_ORDER_MAY_NOT_EXECUTE": "Stop Market orders on dYdX are not guaranteed to fill depending on liquidity at time of triggering. For more control, try a Stop Limit order.",
2259
- "TAKE_PROFIT_MARKET_ORDER_MAY_NOT_EXECUTE": "Take Profit Market orders on dYdX are not guaranteed to fill depending on liquidity at time of triggering. For more control, try a Take Profit Limit order."
2263
+ "TAKE_PROFIT_MARKET_ORDER_MAY_NOT_EXECUTE": "Take Profit Market orders on dYdX are not guaranteed to fill depending on liquidity at time of triggering. For more control, try a Take Profit Limit order.",
2264
+ "UNABLE_TO_CHANGE_MARGIN_MODE": "Unable to change margin mode for {MARKET} with an open position."
2260
2265
  },
2261
2266
  "TRADE_BOX_TITLE": {
2262
2267
  "LIMIT_PRICE_TRIGGER_PRICE_SLIPPAGE_HIGHER": "Limit price",
@@ -231,6 +231,10 @@
231
231
  "TITLE": "Take Profit",
232
232
  "BODY": "Allows traders to set targets and protects profits on positions by specifying a price at which to close an open position for profit."
233
233
  },
234
+ "TARGET_LEVERAGE": {
235
+ "TITLE": "Target Leverage",
236
+ "BODY": "Target Leverage set to {TARGET_LEVERAGE}×, which determines the amount of margin used for your next order."
237
+ },
234
238
  "TICK_SIZE": {
235
239
  "TITLE": "Tick Size",
236
240
  "BODY": "Tick size is the minimum price movement on this market."
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dydxprotocol/v4-localization",
3
- "version": "1.1.96",
3
+ "version": "1.1.98",
4
4
  "description": "v4 localization",
5
5
  "main": "index.ts",
6
6
  "scripts": {
@@ -164,6 +164,7 @@ export const APP_STRING_KEYS = {
164
164
  INVALID_ADDRESS_BODY: 'APP.DIRECT_TRANSFER_MODAL.INVALID_ADDRESS_BODY',
165
165
  INVALID_ADDRESS_TITLE: 'APP.DIRECT_TRANSFER_MODAL.INVALID_ADDRESS_TITLE',
166
166
  PLEASE_CONFIRM_ADDRESS: 'APP.DIRECT_TRANSFER_MODAL.PLEASE_CONFIRM_ADDRESS',
167
+ REQUIRED_FOR_TRANSFERS_TO_CEX: 'APP.DIRECT_TRANSFER_MODAL.REQUIRED_FOR_TRANSFERS_TO_CEX',
167
168
  SELECT_ADDRESS: 'APP.DIRECT_TRANSFER_MODAL.SELECT_ADDRESS',
168
169
 
169
170
  // DISCOVERABILITY
@@ -424,6 +425,7 @@ export const APP_STRING_KEYS = {
424
425
  MAX_BUYING_POWER: 'APP.GENERAL.MAX_BUYING_POWER',
425
426
  MAX_WITHDRAW: 'APP.GENERAL.MAX_WITHDRAW',
426
427
  MEME: 'APP.GENERAL.MEME',
428
+ MEMO: 'APP.GENERAL.MEMO',
427
429
  MENU: 'APP.GENERAL.MENU',
428
430
  METRICS: 'APP.GENERAL.METRICS',
429
431
  MID_CAP: 'APP.GENERAL.MID_CAP',
@@ -595,6 +597,7 @@ export const APP_STRING_KEYS = {
595
597
  VIEW_MORE: 'APP.GENERAL.VIEW_MORE',
596
598
  VIEW_OPTIONS: 'APP.GENERAL.VIEW_OPTIONS',
597
599
  VIEW_ORDER: 'APP.GENERAL.VIEW_ORDER',
600
+ VIEW_ORDERS_COUNT: 'APP.GENERAL.VIEW_ORDERS_COUNT',
598
601
  VOLUME_30D: 'APP.GENERAL.VOLUME_30D',
599
602
  VOTING_LIVE: 'APP.GENERAL.VOTING_LIVE',
600
603
  WALLET: 'APP.GENERAL.WALLET',
@@ -1781,6 +1784,7 @@ export const ERRORS_STRING_KEYS = {
1781
1784
  TRANSFER_INVALID_ETH_ADDRESS: 'ERRORS.TRANSFER_MODAL.TRANSFER_INVALID_ETH_ADDRESS',
1782
1785
  TRANSFER_MORE_THAN_FREE: 'ERRORS.TRANSFER_MODAL.TRANSFER_MORE_THAN_FREE',
1783
1786
  TRANSFER_TO_YOURSELF: 'ERRORS.TRANSFER_MODAL.TRANSFER_TO_YOURSELF',
1787
+ TRANSFER_WITHOUT_MEMO: 'ERRORS.TRANSFER_MODAL.TRANSFER_WITHOUT_MEMO',
1784
1788
 
1785
1789
  // TRIGGERS_FORM
1786
1790
 
@@ -1906,5 +1910,6 @@ export const WARNINGS_STRING_KEYS = {
1906
1910
  MARKET_STATUS_CLOSE_ONLY: 'WARNINGS.TRADE_BOX.MARKET_STATUS_CLOSE_ONLY',
1907
1911
  STOP_MARKET_ORDER_MAY_NOT_EXECUTE: 'WARNINGS.TRADE_BOX.STOP_MARKET_ORDER_MAY_NOT_EXECUTE',
1908
1912
  TAKE_PROFIT_MARKET_ORDER_MAY_NOT_EXECUTE: 'WARNINGS.TRADE_BOX.TAKE_PROFIT_MARKET_ORDER_MAY_NOT_EXECUTE',
1913
+ UNABLE_TO_CHANGE_MARGIN_MODE: 'WARNINGS.TRADE_BOX.UNABLE_TO_CHANGE_MARGIN_MODE',
1909
1914
  };
1910
1915
 
@@ -160,6 +160,8 @@ export const TOOLTIP_STRING_KEYS = {
160
160
  TAKER_FEE_TITLE: 'TOOLTIPS.TRADE.TAKER_FEE.TITLE',
161
161
  TAKE_PROFIT_BODY: 'TOOLTIPS.TRADE.TAKE_PROFIT.BODY',
162
162
  TAKE_PROFIT_TITLE: 'TOOLTIPS.TRADE.TAKE_PROFIT.TITLE',
163
+ TARGET_LEVERAGE_BODY: 'TOOLTIPS.TRADE.TARGET_LEVERAGE.BODY',
164
+ TARGET_LEVERAGE_TITLE: 'TOOLTIPS.TRADE.TARGET_LEVERAGE.TITLE',
163
165
  TICK_SIZE_BODY: 'TOOLTIPS.TRADE.TICK_SIZE.BODY',
164
166
  TICK_SIZE_TITLE: 'TOOLTIPS.TRADE.TICK_SIZE.TITLE',
165
167
  TIME_IN_FORCE_BODY: 'TOOLTIPS.TRADE.TIME_IN_FORCE.BODY',