@dydxprotocol/v4-localization 0.1.10 → 0.1.12

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.
@@ -640,6 +640,7 @@
640
640
  "FREE_TRADING_DISCLAIMER_PERPETUAL_FUNDING": "perpetual funding",
641
641
  "GASLESS_DEPOSITS_NEW_PROMO": "If your first deposit is $1000 or more, dYdX will pay your deposit gas fees!",
642
642
  "GASLESS_DEPOSITS_PROMO": "Enjoy zero gas costs on your deposit of $2000 or more, once every three days.",
643
+ "GOVERNANCE_DESCRIPTION": "To participate in governance, you need to export your secret phrase to Keplr Wallet.",
643
644
  "HOLDING": "Holding {NUMBER}",
644
645
  "IN_THIS_EPOCH": "in this epoch",
645
646
  "MAKER_MARKET_SHARE": "maker market share",
@@ -660,6 +661,8 @@
660
661
  "REWARDS_NOT_PROVIDED": "Rewards are not provided by dYdX Trading Inc.",
661
662
  "REWARDS_UPDATE": "Rewards update",
662
663
  "SEARCH_MARKETS": "Search markets",
664
+ "STAKING": "Staking",
665
+ "STAKING_DESCRIPTION": "To stake, you need to export your secret phrase to Keplr Wallet.",
663
666
  "STOP_MARKET_ORDERS": "Stop market orders",
664
667
  "STOP_MARKET_ORDERS_DESCRIPTION": "Stop market and take profit market orders are here! Quickly and easily set triggers to limit your losses and lock in profits.",
665
668
  "TARGET_VOLUME": "Target Volume",
@@ -677,6 +680,7 @@
677
680
  "TRADING_LEAGUES": "Trading leagues",
678
681
  "TRADING_LEAGUES_DESCRIPTION": "Trading leagues are now live! Climb the rankings and earn your share of the {PRIZE}.",
679
682
  "TRADING_LEAGUES_PRIZE": "$100K weekly prize pool",
683
+ "TRADING_REWARDS": "Trading Rewards",
680
684
  "TRADING_VOLUME_LABEL": "exchanged in the last 24h",
681
685
  "TRADING_VOLUME": "Trading Volume",
682
686
  "TRAILING_VOLUME": "Trailing Volume",
@@ -1345,6 +1349,8 @@
1345
1349
  "BROADCAST_ERROR_3006": "Stateful order does not exist",
1346
1350
  "BROADCAST_ERROR_3007": "Stateful order collateralization check failed",
1347
1351
  "BROADCAST_ERROR_3008": "Stateful order was previously cancelled and therefore cannot be placed",
1352
+ "BROADCAST_ERROR_3009": "Stateful order was previously removed and therefore cannot be placed",
1353
+ "BROADCAST_ERROR_10001": "Subaccount cannot open more orders due to equity tier limit.",
1348
1354
 
1349
1355
  "GENERAL": {
1350
1356
  "SOMETHING_WENT_WRONG_WITH_MESSAGE": "Something went wrong: {ERROR_MESSAGE}",
@@ -1387,6 +1393,7 @@
1387
1393
  "TRIGGER_MUST_BELOW_INDEX_PRICE": "Your trigger price must be below the current oracle price: {INDEX_PRICE}.",
1388
1394
  "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.",
1389
1395
  "USER_MAX_ORDERS": "This order would put you above the max limit of 20 open orders per market, per side.",
1396
+ "USER_MAX_ORDERS_FOR_EQUITY_TIER": "This order would put you above the equity tier limit of {LIMIT} open orders",
1390
1397
  "WOULD_NOT_REDUCE": "Your position would not be reduced if order is filled.",
1391
1398
  "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.",
1392
1399
  "INVALID_GOOD_TIL_MAX_90_DAYS": "Good Til exceeds the maximum 90 days."
@@ -127,6 +127,10 @@
127
127
  "TITLE": "Maximum Leverage",
128
128
  "BODY": "Maximum allowed leverage for this market. To limit risk, maximum leverage decreases linearly with position size after a certain threshold."
129
129
  },
130
+ "MAXIMUM_REWARDS": {
131
+ "TITLE": "Maximum Rewards",
132
+ "BODY": "Earn rewards when you trade on dYdX. Actual rewards may vary."
133
+ },
130
134
  "NET_FUNDING": {
131
135
  "TITLE": "Net Funding",
132
136
  "BODY": "Total funding earned / paid for the lifetime of the current position. Resets if you close your position or change position sides (long to short, or vice versa)."
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dydxprotocol/v4-localization",
3
- "version": "0.1.10",
3
+ "version": "0.1.12",
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
 
@@ -379,6 +379,7 @@ export const APP_STRING_KEYS = {
379
379
  FILLS: 'APP.GENERAL.FILLS',
380
380
  FREE: 'APP.GENERAL.FREE',
381
381
  FREE_COLLATERAL: 'APP.GENERAL.FREE_COLLATERAL',
382
+ FROM: 'APP.GENERAL.FROM',
382
383
  FUNDING_RATE_CHART_SHORT: 'APP.GENERAL.FUNDING_RATE_CHART_SHORT',
383
384
  GASLESS_DEPOSITS: 'APP.GENERAL.GASLESS_DEPOSITS',
384
385
  GAS_FEE: 'APP.GENERAL.GAS_FEE',
@@ -520,6 +521,7 @@ export const APP_STRING_KEYS = {
520
521
  WEEKS_ABBREVIATED: 'APP.GENERAL.TIME_STRINGS.WEEKS_ABBREVIATED',
521
522
  _24H: 'APP.GENERAL.TIME_STRINGS._24H',
522
523
  _30D: 'APP.GENERAL.TIME_STRINGS._30D',
524
+ TO: 'APP.GENERAL.TO',
523
525
  TOTAL_BALANCE: 'APP.GENERAL.TOTAL_BALANCE',
524
526
  TOTAL_FEES: 'APP.GENERAL.TOTAL_FEES',
525
527
  TOTAL_VALUE: 'APP.GENERAL.TOTAL_VALUE',
@@ -905,6 +907,7 @@ export const APP_STRING_KEYS = {
905
907
  FREE_TRADING_TITLE_ASTERISK_FREE: 'APP.PORTFOLIO.FREE_TRADING_TITLE_ASTERISK_FREE',
906
908
  GASLESS_DEPOSITS_NEW_PROMO: 'APP.PORTFOLIO.GASLESS_DEPOSITS_NEW_PROMO',
907
909
  GASLESS_DEPOSITS_PROMO: 'APP.PORTFOLIO.GASLESS_DEPOSITS_PROMO',
910
+ GOVERNANCE_DESCRIPTION: 'APP.PORTFOLIO.GOVERNANCE_DESCRIPTION',
908
911
  HOLDING: 'APP.PORTFOLIO.HOLDING',
909
912
  IN_THIS_EPOCH: 'APP.PORTFOLIO.IN_THIS_EPOCH',
910
913
  MAKER_MARKET_SHARE: 'APP.PORTFOLIO.MAKER_MARKET_SHARE',
@@ -925,6 +928,8 @@ export const APP_STRING_KEYS = {
925
928
  REWARDS_NOT_PROVIDED: 'APP.PORTFOLIO.REWARDS_NOT_PROVIDED',
926
929
  REWARDS_UPDATE: 'APP.PORTFOLIO.REWARDS_UPDATE',
927
930
  SEARCH_MARKETS: 'APP.PORTFOLIO.SEARCH_MARKETS',
931
+ STAKING: 'APP.PORTFOLIO.STAKING',
932
+ STAKING_DESCRIPTION: 'APP.PORTFOLIO.STAKING_DESCRIPTION',
928
933
  STOP_MARKET_ORDERS: 'APP.PORTFOLIO.STOP_MARKET_ORDERS',
929
934
  STOP_MARKET_ORDERS_DESCRIPTION: 'APP.PORTFOLIO.STOP_MARKET_ORDERS_DESCRIPTION',
930
935
  TARGET_VOLUME: 'APP.PORTFOLIO.TARGET_VOLUME',
@@ -1378,6 +1383,7 @@ export const ERRORS_STRING_KEYS = {
1378
1383
  VALIDATOR_ALERT: 'ERRORS.API_STATUS.VALIDATOR_ALERT',
1379
1384
  VALIDATOR_DOWN: 'ERRORS.API_STATUS.VALIDATOR_DOWN',
1380
1385
  VALIDATOR_HALTED: 'ERRORS.API_STATUS.VALIDATOR_HALTED',
1386
+ BROADCAST_ERROR_10001: 'ERRORS.BROADCAST_ERROR_10001',
1381
1387
  BROADCAST_ERROR_2000: 'ERRORS.BROADCAST_ERROR_2000',
1382
1388
  BROADCAST_ERROR_2001: 'ERRORS.BROADCAST_ERROR_2001',
1383
1389
  BROADCAST_ERROR_2002: 'ERRORS.BROADCAST_ERROR_2002',
@@ -1391,6 +1397,7 @@ export const ERRORS_STRING_KEYS = {
1391
1397
  BROADCAST_ERROR_3006: 'ERRORS.BROADCAST_ERROR_3006',
1392
1398
  BROADCAST_ERROR_3007: 'ERRORS.BROADCAST_ERROR_3007',
1393
1399
  BROADCAST_ERROR_3008: 'ERRORS.BROADCAST_ERROR_3008',
1400
+ BROADCAST_ERROR_3009: 'ERRORS.BROADCAST_ERROR_3009',
1394
1401
 
1395
1402
  // DEPOSIT_MODAL
1396
1403
 
@@ -1455,6 +1462,7 @@ export const ERRORS_STRING_KEYS = {
1455
1462
  TRIGGER_MUST_BELOW_INDEX_PRICE: 'ERRORS.TRADE_BOX.TRIGGER_MUST_BELOW_INDEX_PRICE',
1456
1463
  TRIGGER_TOO_CLOSE_TO_LIQUIDATION_PRICE: 'ERRORS.TRADE_BOX.TRIGGER_TOO_CLOSE_TO_LIQUIDATION_PRICE',
1457
1464
  USER_MAX_ORDERS: 'ERRORS.TRADE_BOX.USER_MAX_ORDERS',
1465
+ USER_MAX_ORDERS_FOR_EQUITY_TIER: 'ERRORS.TRADE_BOX.USER_MAX_ORDERS_FOR_EQUITY_TIER',
1458
1466
  WOULD_NOT_REDUCE: 'ERRORS.TRADE_BOX.WOULD_NOT_REDUCE',
1459
1467
  WOULD_NOT_REDUCE_UNCHECK: 'ERRORS.TRADE_BOX.WOULD_NOT_REDUCE_UNCHECK',
1460
1468
 
@@ -87,6 +87,8 @@ export const TOOLTIP_STRING_KEYS = {
87
87
  MARGIN_USAGE_TITLE: 'TOOLTIPS.TRADE.MARGIN_USAGE.TITLE',
88
88
  MAXIMUM_LEVERAGE_BODY: 'TOOLTIPS.TRADE.MAXIMUM_LEVERAGE.BODY',
89
89
  MAXIMUM_LEVERAGE_TITLE: 'TOOLTIPS.TRADE.MAXIMUM_LEVERAGE.TITLE',
90
+ MAXIMUM_REWARDS_BODY: 'TOOLTIPS.TRADE.MAXIMUM_REWARDS.BODY',
91
+ MAXIMUM_REWARDS_TITLE: 'TOOLTIPS.TRADE.MAXIMUM_REWARDS.TITLE',
90
92
  MAX_WITHDRAW_BODY: 'TOOLTIPS.TRADE.MAX_WITHDRAW.BODY',
91
93
  MAX_WITHDRAW_TITLE: 'TOOLTIPS.TRADE.MAX_WITHDRAW.TITLE',
92
94
  NET_FUNDING_BODY: 'TOOLTIPS.TRADE.NET_FUNDING.BODY',