@dydxprotocol/v4-localization 1.1.1 → 1.1.3

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.
@@ -530,25 +530,12 @@
530
530
  "OTHER_WALLET": "Other"
531
531
  },
532
532
  "ONBOARDING": {
533
- "INITIATED_DEPOSIT": "Initiated deposit",
534
- "INITIATED_WITHDRAWAL": "Initiated withdrawal",
535
- "INITIATED_TRANSFEROUT": "Initiated transfer",
536
- "AMOUNT_RECEIVED": "Amount received",
537
- "ESTIMATED_TIME": "Estimated time",
538
- "BRIDGING_TOKENS": "Bridging tokens",
539
- "DEPOSIT_TO_DYDX": "Deposit to dYdX",
540
- "DEPOSIT_TO_DESTINATION": "Deposit to {DESTINATION_CHAIN}",
541
- "DEPOSIT_ALERT_TITLE": "You have {PENDING_DEPOSITS} pending deposit from {SOURCE_CHAIN}.",
542
- "DEPOSIT_ALERT_SUBTITLE": "Check status",
543
- "DISCONNECT_CONFIRMATION": "Are you sure you want to disconnect your account?",
544
- "WITHDRAWAL_ALERT_TITLE": "You have {PENDING_WITHDRAWALS} pending withdrawal to {DESTINATION_CHAIN}.",
545
- "WITHDRAWAL_ALERT_SUBTITLE": "Check status",
546
- "TRANSFEROUT_ALERT_TITLE": "You have pending transfer of {PENDING_TRANSFERS} {TOKEN}.",
547
- "TRANSFEROUT_ALERT_SUBTITLE": "Check status",
548
533
  "ABOUT_WALLETS": "About wallets",
534
+ "AMOUNT_RECEIVED": "Amount received",
549
535
  "ACKNOWLEDGE_TERMS": "Acknowledge terms",
550
536
  "API_KEYS_NOT_FOUND": "API Key not found",
551
537
  "APPEARS_OUTSIDE_ACCESS": "It appears that you are accessing dYdX from outside the United States or a restricted territory. You hereby agree, represent and warrant that:",
538
+ "BRIDGING_TOKENS": "Bridging tokens",
552
539
  "CHECK_WALLET_FOR_REQUEST": "Check your wallet for a request!",
553
540
  "COMING_SOON": "Coming soon!",
554
541
  "COMPLETE_ONBOARDING": "Complete onboarding",
@@ -562,14 +549,20 @@
562
549
  "COULD_NOT_FIND_AFFILIATE": "We couldn't find this affiliate, please check the link.",
563
550
  "CREATE_OR_VERIFY_COSMOS_ADDRESS": "Create or verify Cosmos address.",
564
551
  "CREDITED_WITH": "Your account will be credited with ${AMOUNT_USD} in test funds.",
552
+ "DEPOSIT_ALERT_TITLE": "You have {PENDING_DEPOSITS} pending deposit from {SOURCE_CHAIN}.",
553
+ "DEPOSIT_ALERT_SUBTITLE": "Check status",
554
+ "DEPOSIT_COMPLETE": "Your deposit of {AMOUNT_USD} is now available.",
565
555
  "DEPOSIT_OF": "Deposit of {AMOUNT_USD}",
566
556
  "DEPOSIT_STATUS": "Your deposit of {AMOUNT_USD} will be available in approximately {ESTIMATED_DURATION}.",
567
557
  "DEPOSIT_STATUS_SHORTLY": "Your deposit of {AMOUNT_USD} will be available shortly.",
568
- "DEPOSIT_COMPLETE": "Your deposit of {AMOUNT_USD} is now available.",
558
+ "DEPOSIT_TO_DESTINATION": "Deposit to {DESTINATION_CHAIN}",
559
+ "DEPOSIT_TO_DYDX": "Deposit to dYdX",
560
+ "DISCONNECT_CONFIRMATION": "Are you sure you want to disconnect your account?",
569
561
  "DONT_MISS": "Don't miss your chance to get a {DISCOUNT} on trading fees!",
570
562
  "ENABLE_API": "Enable secure access to our API for lightning quick trading",
571
563
  "ENABLE_TRADING": "Enable trading",
572
564
  "ENSURES_WALLET_SUPPORT": "Ensures your wallet is supported.",
565
+ "ESTIMATED_TIME": "Estimated time",
573
566
  "FINISH_ONBOARDING_DESCRIPTION": "Complete the onboarding flow to start trading on dYdX",
574
567
  "FREE_SIGNING": "Signing is {FREE} and will not send a transaction.",
575
568
  "GASLESS_ONBOARDING_RULES": "Gasless Onboarding Rules",
@@ -581,6 +574,9 @@
581
574
  "GET_STARTED": "Get started",
582
575
  "HAVING_TROUBLE": "Having trouble?",
583
576
  "I_AGREE": "I agree",
577
+ "INITIATED_DEPOSIT": "Initiated deposit",
578
+ "INITIATED_WITHDRAWAL": "Initiated withdrawal",
579
+ "INITIATED_TRANSFEROUT": "Initiated transfer",
584
580
  "INVITED_YOU": "has referred you to start trading on the world's most powerful open exchange.",
585
581
  "JOIN_ME": "Join me on dYdX to receive a {DISCOUNT} on all trading fees!",
586
582
  "LEDGER_DERIVATION_PATH": "Path",
@@ -620,6 +616,15 @@
620
616
  "SKIP_FOR_NOW": "Skip for now",
621
617
  "START_TRADING_BLURB": "Start trading on the world's most powerful open exchange.",
622
618
  "SWITCH_NETWORK": "Switch network",
619
+ "TOS_TITLE": "By using any of our products and services, you agree to the {TERMS_LINK} and {PRIVACY_POLICY_LINK}. You hereby agree, represent and warrant that:",
620
+ "TOS_LINE1": "You are not a person or company who is a resident of, or is located, incorporated or has a registered agent in, the United States, Canada, or other blocked or restricted location.",
621
+ "TOS_LINE2": "You will not in the future access this site, or use our products or services, while located within the United States, Canada, or other blocked or restricted location.",
622
+ "TOS_LINE3": "You are not using, and will not in the future use, a VPN to mask your physical location from a blocked or restricted location.",
623
+ "TOS_LINE4": "You are lawfully permitted to access this site, and use our products and services, under the laws of the jurisdiction in which you reside and are located.",
624
+ "TOS_LINE5": "You understand the investment and technology risks associated with entering into perpetual contracts, using leverage, and engaging with blockchain and other web3 products and services.see legal request here.",
625
+ "TOS_TRANSLATION_DISCLAIMER": "As applicable, the non-English translated version of this notification is provided to you solely as a courtesy. In the event of a conflict between the translated version and the English version, the English version will prevail.",
626
+ "TRANSFEROUT_ALERT_TITLE": "You have pending transfer of {PENDING_TRANSFERS} {TOKEN}.",
627
+ "TRANSFEROUT_ALERT_SUBTITLE": "Check status",
623
628
  "TRANSFERS_PAUSED": "Transfers temporarily paused",
624
629
  "TRY_AGAIN": "Try again",
625
630
  "TWO_SIGNATURE_REQUESTS": "You will receive two signature requests. Signing is free and will not send a transaction.",
@@ -637,23 +642,18 @@
637
642
  "WANT_TO_LEARN": "Want to learn more?",
638
643
  "WELCOME_DYDX": "Welcome to dYdX",
639
644
  "WELCOME": "Welcome",
640
- "WITHDRAW_STATUS": "Your withdrawal of {AMOUNT_USD} will be available in approximately {ESTIMATED_DURATION}.",
641
- "WITHDRAW_STATUS_SHORTLY": "Your withdrawal of {AMOUNT_USD} will be available shortly.",
645
+ "WITHDRAWAL_ALERT_TITLE": "You have {PENDING_WITHDRAWALS} pending withdrawal to {DESTINATION_CHAIN}.",
646
+ "WITHDRAWAL_ALERT_SUBTITLE": "Check status",
642
647
  "WITHDRAW_COMPLETE": "Your withdrawal of {AMOUNT_USD} is now available.",
643
648
  "WITHDRAW_OF": "Withdraw of {AMOUNT_USD}",
649
+ "WITHDRAW_STATUS": "Your withdrawal of {AMOUNT_USD} will be available in approximately {ESTIMATED_DURATION}.",
650
+ "WITHDRAW_STATUS_SHORTLY": "Your withdrawal of {AMOUNT_USD} will be available shortly.",
644
651
  "WITHDRAWALS_PAUSED": "Withdrawals temporarily paused",
645
652
  "WITHDRAWALS_PAUSED_DESC": "Please try again in {ESTIMATED_DURATION}.",
646
653
  "WRONG_NETWORK_EXPLANATION_PRODUCTION": "To complete dYdX onboarding, set your wallet network to 'Ethereum Mainnet'.",
647
654
  "WRONG_NETWORK_EXPLANATION_STAGING": "To complete dYdX onboarding, set your wallet network to 'Goerli Test Network'.",
648
655
  "WRONG_NETWORK": "Wrong network",
649
- "YOU_AGREE_TO_TERMS": "By trading on dYdX, you agree to the {TERMS_LINK} and {PRIVACY_POLICY_LINK}.",
650
- "TOS_TITLE": "By using any of our products and services, you agree to the {TERMS_LINK} and {PRIVACY_POLICY_LINK}. You hereby agree, represent and warrant that:",
651
- "TOS_LINE1": "You are not a person or company who is a resident of, or is located, incorporated or has a registered agent in, the United States, Canada, or other blocked or restricted location.",
652
- "TOS_LINE2": "You will not in the future access this site, or use our products or services, while located within the United States, Canada, or other blocked or restricted location.",
653
- "TOS_LINE3": "You are not using, and will not in the future use, a VPN to mask your physical location from a blocked or restricted location.",
654
- "TOS_LINE4": "You are lawfully permitted to access this site, and use our products and services, under the laws of the jurisdiction in which you reside and are located.",
655
- "TOS_LINE5": "You understand the investment and technology risks associated with entering into perpetual contracts, using leverage, and engaging with blockchain and other web3 products and services.see legal request here.",
656
- "TOS_TRANSLATION_DISCLAIMER": "As applicable, the non-English translated version of this notification is provided to you solely as a courtesy. In the event of a conflict between the translated version and the English version, the English version will prevail."
656
+ "YOU_AGREE_TO_TERMS": "By trading on dYdX, you agree to the {TERMS_LINK} and {PRIVACY_POLICY_LINK}."
657
657
  },
658
658
  "SIGN_INTO_MOBILE": {
659
659
  "TITLE_SIGN_INTO_MOBILE": "Sign into mobile",
@@ -688,6 +688,7 @@
688
688
  "ENABLE_SYMBOL": "Enable {SYMBOL}",
689
689
  "ENABLING_SYMBOL": "Enabling {SYMBOL}...",
690
690
  "EXCHANGE_RATE": "Exchange Rate",
691
+ "EXPECTED_DEPOSIT_AMOUNT": "Expected Deposit Amount",
691
692
  "FREE_GAS": "Free!",
692
693
  "GASLESS_DEPOSITS_DESCRIPTION_PLURAL": "You have {NUM_DEPOSITS} gasless deposits available.",
693
694
  "GASLESS_DEPOSITS_DESCRIPTION_SINGULAR": "You have {NUM_DEPOSITS} gasless deposit available.",
@@ -696,6 +697,7 @@
696
697
  "GASLESS_DEPOSITS_TEMPORARILY_DISABLED": "Gasless deposits are temporarily unavailable. Don't worry, they'll be back soon!",
697
698
  "GASLESS_ETH_DEPOSITS": "Gasless deposits are not available for ETH. You can convert your ETH to WETH on {1INCH_WETH_LINK} or {UNISWAP_WETH_LINK} and use WETH gasless deposits, or directly deposit ETH by paying your own gas costs.",
698
699
  "MAX_SLIPPAGE": "Max Slippage",
700
+ "MINIMUM_DEPOSIT_AMOUNT": "Minimum Deposit Amount",
699
701
  "MINIMUM_DEPOSIT_MET": "Nice! Your deposit meets the gasless deposit minimum of {GASLESS_DEPOSIT_THRESHOLD} {SYMBOL}. dYdX will cover the gas fees for this deposit.",
700
702
  "MINIMUM_DEPOSIT_UNMET": "Deposit at least {GASLESS_DEPOSIT_THRESHOLD} {SYMBOL} and dYdX will pay the gas fees for this deposit!",
701
703
  "EXCHANGE_RECEIVED": "Receive",
@@ -710,6 +712,7 @@
710
712
  "ENABLE_WITHDRAW": "Enable withdraw",
711
713
  "ENABLE_WITHDRAW_BODY": "You must enable slow withdraws to continue. You can use fast withdraws anytime.",
712
714
  "ENABLE_WITHDRAW_TITLE": "Enable slow withdraws",
715
+ "EXPECTED_AMOUNT_RECEIVED": "Expected Amount Received",
713
716
  "FAST": "Fast",
714
717
  "FAST_WITHDRAW_CONFIRMATION": "A fee of {FEE} will be collected for this fast withdraw. Your funds will be sent immediately and will appear in your wallet once the withdraw transaction has confirmed.",
715
718
  "MAGIC_LINK_WITHDRAW_DESCRIPTION": "To access the withdrawn funds and reuse your Magic wallet outside of dYdX, you must export your wallet to another wallet provider.",
@@ -1632,6 +1635,8 @@
1632
1635
  "TRIGGER_TOO_CLOSE_TO_LIQUIDATION_PRICE": "Your trigger price is too close to your liquidation price - this order may not execute fully before you get liquidated. Please update your trigger price or use a stop limit order.",
1633
1636
  "USER_MAX_ORDERS": "This order would put you above the max limit of 20 open orders per market, per side.",
1634
1637
  "USER_MAX_ORDERS_FOR_EQUITY_TIER": "This order would put you above the equity tier limit of {LIMIT} open orders",
1638
+ "USER_MAX_ORDERS_FOR_CURRENT_EQUITY_TIER": "This order would put you over the limit of {LIMIT} open orders for your equity tier. The next equity tier is at {EQUITY}.",
1639
+ "USER_MAX_ORDERS_FOR_TOP_EQUITY_TIER": "This order would put you over the limit of {LIMIT} open orders.",
1635
1640
  "WOULD_NOT_REDUCE": "Your position would not be reduced if order is filled.",
1636
1641
  "WOULD_NOT_REDUCE_UNCHECK": "Your position would not be reduced with this order. Please uncheck Reduce-Only if you would like to place your order.",
1637
1642
  "INVALID_GOOD_TIL_MAX_90_DAYS": "Good Til exceeds the maximum 90 days."
@@ -213,6 +213,10 @@
213
213
  "TITLE": "Gasless Deposits",
214
214
  "BODY": "dYdX will cover your gas fees if you deposit {GASLESS_DEPOSIT_THRESHOLD} {SYMBOL} or more. You are eligible for one gasless deposit every three days. Gasless deposits are subject to rules."
215
215
  },
216
+ "MINIMUM_DEPOSIT_AMOUNT": {
217
+ "TITLE": "Minimum Deposit Amount",
218
+ "BODY": "Inclusive of any slippage that may occur due to liquidity changes while the bridge is in progress"
219
+ },
216
220
  "SWAP": {
217
221
  "TITLE": "Swap & Deposit",
218
222
  "BODY": "When depositing a non-USDC asset, your asset is automatically converted to USDC via the 0x API. Setting max slippage allows you to specify the slippage you will allow before the conversion fails."
@@ -233,6 +237,10 @@
233
237
  "TITLE": "Fast Withdraw Fee",
234
238
  "BODY": "Fast withdraws are sent immediately and dYdX will cover the gas costs in exchange for a fee. For fee-free withdraws, please use a slow withdraw (you pay your own gas costs and will have to wait for Layer 2 confirmation)."
235
239
  },
240
+ "MINIMUM_AMOUNT_RECEIVED": {
241
+ "TITLE": "Minimum Amount Received",
242
+ "BODY": "Inclusive of any slippage that may occur due to liquidity changes while the bridge is in progress"
243
+ },
236
244
  "WITHDRAW_TYPES": {
237
245
  "TITLE": "Withdraw Types",
238
246
  "BODY": "dYdX supports two types of withdraws from Layer 2. Fast withdraws carry a small fee but do not require gas and are sent immediately. Slow withdraws are free but require two steps, take much longer, and the user will have to pay their own gas fees."
@@ -1,5 +1,9 @@
1
1
  {
2
2
  "NOTIFICATIONS": {
3
+ "BLOCK_REWARD": {
4
+ "TITLE": "Reward Earned",
5
+ "BODY": "You have earned {BLOCK_REWARD_AMOUNT} {TOKEN_NAME} trading reward."
6
+ },
3
7
  "DELEVERAGED": {
4
8
  "TITLE": "Position Deleveraged",
5
9
  "BODY": "Your {SIDE} position on {MARKET} has been deleveraged."
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dydxprotocol/v4-localization",
3
- "version": "1.1.1",
3
+ "version": "1.1.3",
4
4
  "description": "v4 localization",
5
5
  "main": "index.ts",
6
6
  "scripts": {
@@ -38,6 +38,7 @@ export const APP_STRING_KEYS = {
38
38
  ESTIMATED_TIME: 'APP.DEPOSIT_MODAL.ESTIMATED_TIME',
39
39
  EXCHANGE_RATE: 'APP.DEPOSIT_MODAL.EXCHANGE_RATE',
40
40
  EXCHANGE_RECEIVED: 'APP.DEPOSIT_MODAL.EXCHANGE_RECEIVED',
41
+ EXPECTED_DEPOSIT_AMOUNT: 'APP.DEPOSIT_MODAL.EXPECTED_DEPOSIT_AMOUNT',
41
42
  FREE_GAS: 'APP.DEPOSIT_MODAL.FREE_GAS',
42
43
  GASLESS_DEPOSITS_DESCRIPTION_PLURAL: 'APP.DEPOSIT_MODAL.GASLESS_DEPOSITS_DESCRIPTION_PLURAL',
43
44
  GASLESS_DEPOSITS_DESCRIPTION_SINGULAR: 'APP.DEPOSIT_MODAL.GASLESS_DEPOSITS_DESCRIPTION_SINGULAR',
@@ -46,6 +47,7 @@ export const APP_STRING_KEYS = {
46
47
  GASLESS_DEPOSITS_TEMPORARILY_DISABLED: 'APP.DEPOSIT_MODAL.GASLESS_DEPOSITS_TEMPORARILY_DISABLED',
47
48
  GASLESS_ETH_DEPOSITS: 'APP.DEPOSIT_MODAL.GASLESS_ETH_DEPOSITS',
48
49
  MAX_SLIPPAGE: 'APP.DEPOSIT_MODAL.MAX_SLIPPAGE',
50
+ MINIMUM_DEPOSIT_AMOUNT: 'APP.DEPOSIT_MODAL.MINIMUM_DEPOSIT_AMOUNT',
49
51
  MINIMUM_DEPOSIT_MET: 'APP.DEPOSIT_MODAL.MINIMUM_DEPOSIT_MET',
50
52
  MINIMUM_DEPOSIT_UNMET: 'APP.DEPOSIT_MODAL.MINIMUM_DEPOSIT_UNMET',
51
53
  SETTING_ALLOWANCE_EXPLANATION: 'APP.DEPOSIT_MODAL.SETTING_ALLOWANCE_EXPLANATION',
@@ -1316,6 +1318,7 @@ export const APP_STRING_KEYS = {
1316
1318
  ENABLE_WITHDRAW: 'APP.WITHDRAW_MODAL.ENABLE_WITHDRAW',
1317
1319
  ENABLE_WITHDRAW_BODY: 'APP.WITHDRAW_MODAL.ENABLE_WITHDRAW_BODY',
1318
1320
  ENABLE_WITHDRAW_TITLE: 'APP.WITHDRAW_MODAL.ENABLE_WITHDRAW_TITLE',
1321
+ EXPECTED_AMOUNT_RECEIVED: 'APP.WITHDRAW_MODAL.EXPECTED_AMOUNT_RECEIVED',
1319
1322
  FAST: 'APP.WITHDRAW_MODAL.FAST',
1320
1323
  FAST_WITHDRAW_CONFIRMATION: 'APP.WITHDRAW_MODAL.FAST_WITHDRAW_CONFIRMATION',
1321
1324
  MAGIC_LINK_WITHDRAW_DESCRIPTION: 'APP.WITHDRAW_MODAL.MAGIC_LINK_WITHDRAW_DESCRIPTION',
@@ -1442,7 +1445,9 @@ export const ERRORS_STRING_KEYS = {
1442
1445
  TRIGGER_MUST_BELOW_INDEX_PRICE: 'ERRORS.TRADE_BOX.TRIGGER_MUST_BELOW_INDEX_PRICE',
1443
1446
  TRIGGER_TOO_CLOSE_TO_LIQUIDATION_PRICE: 'ERRORS.TRADE_BOX.TRIGGER_TOO_CLOSE_TO_LIQUIDATION_PRICE',
1444
1447
  USER_MAX_ORDERS: 'ERRORS.TRADE_BOX.USER_MAX_ORDERS',
1448
+ USER_MAX_ORDERS_FOR_CURRENT_EQUITY_TIER: 'ERRORS.TRADE_BOX.USER_MAX_ORDERS_FOR_CURRENT_EQUITY_TIER',
1445
1449
  USER_MAX_ORDERS_FOR_EQUITY_TIER: 'ERRORS.TRADE_BOX.USER_MAX_ORDERS_FOR_EQUITY_TIER',
1450
+ USER_MAX_ORDERS_FOR_TOP_EQUITY_TIER: 'ERRORS.TRADE_BOX.USER_MAX_ORDERS_FOR_TOP_EQUITY_TIER',
1446
1451
  WOULD_NOT_REDUCE: 'ERRORS.TRADE_BOX.WOULD_NOT_REDUCE',
1447
1452
  WOULD_NOT_REDUCE_UNCHECK: 'ERRORS.TRADE_BOX.WOULD_NOT_REDUCE_UNCHECK',
1448
1453
 
@@ -12,6 +12,8 @@ export const TOOLTIP_STRING_KEYS = {
12
12
  DISABLED_GASLESS_DEPOSITS_TITLE: 'TOOLTIPS.DEPOSIT.DISABLED_GASLESS_DEPOSITS.TITLE',
13
13
  GASLESS_DEPOSITS_BODY: 'TOOLTIPS.DEPOSIT.GASLESS_DEPOSITS.BODY',
14
14
  GASLESS_DEPOSITS_TITLE: 'TOOLTIPS.DEPOSIT.GASLESS_DEPOSITS.TITLE',
15
+ MINIMUM_DEPOSIT_AMOUNT_BODY: 'TOOLTIPS.DEPOSIT.MINIMUM_DEPOSIT_AMOUNT.BODY',
16
+ MINIMUM_DEPOSIT_AMOUNT_TITLE: 'TOOLTIPS.DEPOSIT.MINIMUM_DEPOSIT_AMOUNT.TITLE',
15
17
  SWAP_BODY: 'TOOLTIPS.DEPOSIT.SWAP.BODY',
16
18
  SWAP_TITLE: 'TOOLTIPS.DEPOSIT.SWAP.TITLE',
17
19
 
@@ -142,6 +144,8 @@ export const TOOLTIP_STRING_KEYS = {
142
144
 
143
145
  FAST_WITHDRAW_FEE_BODY: 'TOOLTIPS.WITHDRAW.FAST_WITHDRAW_FEE.BODY',
144
146
  FAST_WITHDRAW_FEE_TITLE: 'TOOLTIPS.WITHDRAW.FAST_WITHDRAW_FEE.TITLE',
147
+ MINIMUM_AMOUNT_RECEIVED_BODY: 'TOOLTIPS.WITHDRAW.MINIMUM_AMOUNT_RECEIVED.BODY',
148
+ MINIMUM_AMOUNT_RECEIVED_TITLE: 'TOOLTIPS.WITHDRAW.MINIMUM_AMOUNT_RECEIVED.TITLE',
145
149
  WITHDRAW_TYPES_BODY: 'TOOLTIPS.WITHDRAW.WITHDRAW_TYPES.BODY',
146
150
  WITHDRAW_TYPES_TITLE: 'TOOLTIPS.WITHDRAW.WITHDRAW_TYPES.TITLE',
147
151
  };