@dydxprotocol/v4-localization 1.1.187 → 1.1.188

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.
@@ -1,5 +1,5 @@
1
1
 
2
- name: Python application
2
+ name: JSON Validation
3
3
 
4
4
  on:
5
5
  pull_request:
@@ -21,4 +21,15 @@ jobs:
21
21
  python-version: "3.10"
22
22
  - name: Validate JSONs
23
23
  run: |
24
- ./scripts/ci_validate_json_files.sh
24
+ json_files=$(find . -name "*.json")
25
+
26
+ # Validate JSON files
27
+ for file in $json_files
28
+ do
29
+ echo "Validating $file"
30
+ result=$(python -m json.tool "$file")
31
+ if [ $? -ne 0 ]; then
32
+ echo "Invalid JSON file: $file"
33
+ exit 1
34
+ fi
35
+ done
@@ -198,6 +198,7 @@
198
198
  "NO_RECENTLY_LISTED_MARKETS": "No recently listed markets",
199
199
  "NO_RESULTS": "No results",
200
200
  "HIGHLIGHTS": "Highlights",
201
+ "LAUNCHABLE": "Launchable",
201
202
  "LAYER_1": "Layer 1",
202
203
  "LAYER_2": "Layer 2",
203
204
  "LEARN_MORE": "Learn more",
@@ -1449,6 +1450,7 @@
1449
1450
  "SET_ORDER_SIZE": "Set order size",
1450
1451
  "SET_PRICE_TRIGGERS": "Set price triggers",
1451
1452
  "SLIDER": "Slider",
1453
+ "SPOT_VOLUME_24H": "24h Spot Volume",
1452
1454
  "STOP_LIMIT_DESCRIPTION": "A stop limit order helps protect against losses like stop market orders, but with the versatility and features of a limit order.",
1453
1455
  "STOP_LIMIT": "Stop Limit",
1454
1456
  "STOP_LOSS": "Stop Loss",
@@ -2067,6 +2069,7 @@
2067
2069
  "ADD_MARKET_STEP_2_DESCRIPTION": "Once a market is selected, all of its parameters will be automatically populated.",
2068
2070
  "ADD_MARKET_STEP_3_DESCRIPTION": "Send a transaction that creates a proposal to add the new market. This requires a balance of {REQUIRED_NUM_TOKENS} unstaked {NATIVE_TOKEN_DENOM}.",
2069
2071
  "ADD_NEW_MARKET_DETAILS": "Add a new asset to dYdX Chain via a governance proposal. Requires {AMOUNT} unstaked DYDX.",
2072
+ "AVAILABLE_TO_TRADE_POST_LAUNCH": "As soon as you launch {MARKET}, it will be available to trade.",
2070
2073
  "CONFIRM_LAUNCH_DETAILS": "Confirm Launch Details",
2071
2074
  "CONFIRM_NEW_MARKET_PROPOSAL": "Confirm new market proposal",
2072
2075
  "DEPOSIT_APR": "Deposit APR",
@@ -2074,6 +2077,7 @@
2074
2077
  "DEPOSIT_LOCKUP_DESCRIPTION": "The deposit lockup is {NUM_DAYS} days and your deposit will earn an estimated {APR_PERCENTAGE} APR (based on the last {PAST_DAYS} days).",
2075
2078
  "HIDE_STEPS": "Hide steps",
2076
2079
  "IMPACT_NOTIONAL": "Impact notional",
2080
+ "INSTANTLY_LAUNCH": "Instantly launch {MARKET}",
2077
2081
  "LAUNCH_A_MARKET": "Launch a Market",
2078
2082
  "LAUNCH_MARKET": "Launch Market",
2079
2083
  "LAUNCH_MARKETS": "Launch Markets",
@@ -2082,6 +2086,7 @@
2082
2086
  "LIST_A_NEW_MARKET": "List a new market",
2083
2087
  "LISTINGS_DESCRIPTION": "Listings on dYdX are completely community-driven. This tool will help you submit a governance proposal to list a new market.",
2084
2088
  "MARKET_LAUNCH_DETAILS": "Select the market you'd like to launch and deposit {DEPOSIT_AMOUNT} into MegaVault. Your deposit will earn an estimated {APR_PERCENTAGE} APR (based on the last {PAST_DAYS} days).",
2089
+ "MARKET_LAUNCH_DETAILS_2": "Immediately launch a new market on dYdX Chain by depositing {DEPOSIT_AMOUNT} into MegaVault. Your deposit will earn an estimated {APR_PERCENTAGE} APR (based on the last {PAST_DAYS} days).",
2085
2090
  "MARKET_TO_LAUNCH": "Market to Launch",
2086
2091
  "MESSAGE_DETAILS": "Message details",
2087
2092
  "MSG_CREATE_CLOB_PAIR": "Msg create clobPair",
@@ -311,9 +311,9 @@
311
311
  },
312
312
  "COMPLIANCE": {
313
313
  "CLOSE_ONLY_TITLE": "Close-only mode",
314
- "CLOSE_ONLY_BODY": "Because you appear to be a resident of, or trading from, a jurisdiction that violates our terms of use, or have engaged in activity that violates our terms of use, you have been blocked. You have until {DATE} to withdraw your funds before your access to the app is blocked. Please visit the web interface to see next steps. If you believe there has been an error, please email {EMAIL}.",
314
+ "CLOSE_ONLY_BODY": "Because you appear to be a resident of, or trading from, a jurisdiction that violates our terms of use, or have engaged in activity that violates our terms of use, you have been blocked. You have until {DATE} to withdraw your funds before your access to the app is blocked. Please visit the web interface to see next steps. If you believe there has been an error, please contact support at {HELP_LINK}.",
315
315
  "PERMANENTLY_BLOCKED_TITLE": "Permanently blocked",
316
- "PERMANENTLY_BLOCKED_BODY": "Because you appear to be a resident of, or trading from, a jurisdiction that violates our terms of use and previously have been given an opportunity to redress circumstances that led to restrictions on your account, you have been permanently blocked. If you believe there has been an error, please email {EMAIL}"
316
+ "PERMANENTLY_BLOCKED_BODY": "Because you appear to be a resident of, or trading from, a jurisdiction that violates our terms of use and previously have been given an opportunity to redress circumstances that led to restrictions on your account, you have been permanently blocked. If you believe there has been an error, please contact support at {HELP_LINK}."
317
317
  },
318
318
  "COMPLIANCE_MODAL": {
319
319
  "ACCOUNT_RESTRICTED": "Account Restricted",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dydxprotocol/v4-localization",
3
- "version": "1.1.187",
3
+ "version": "1.1.188",
4
4
  "description": "v4 localization",
5
5
  "main": "index.ts",
6
6
  "scripts": {
@@ -421,6 +421,7 @@ export const APP_STRING_KEYS = {
421
421
  KEEP_TRADING: 'APP.GENERAL.KEEP_TRADING',
422
422
  LANGUAGE: 'APP.GENERAL.LANGUAGE',
423
423
  LARGE_CAP: 'APP.GENERAL.LARGE_CAP',
424
+ LAUNCHABLE: 'APP.GENERAL.LAUNCHABLE',
424
425
  LAYER_1: 'APP.GENERAL.LAYER_1',
425
426
  LAYER_2: 'APP.GENERAL.LAYER_2',
426
427
  LEARN: 'APP.GENERAL.LEARN',
@@ -836,6 +837,7 @@ export const APP_STRING_KEYS = {
836
837
  ADD_MARKET_STEP_3_DESCRIPTION: 'APP.NEW_MARKET_WIDGET.ADD_MARKET_STEP_3_DESCRIPTION',
837
838
  ADD_MARKET_STEP_3_TITLE: 'APP.NEW_MARKET_WIDGET.ADD_MARKET_STEP_3_TITLE',
838
839
  ADD_NEW_MARKET_DETAILS: 'APP.NEW_MARKET_WIDGET.ADD_NEW_MARKET_DETAILS',
840
+ AVAILABLE_TO_TRADE_POST_LAUNCH: 'APP.NEW_MARKET_WIDGET.AVAILABLE_TO_TRADE_POST_LAUNCH',
839
841
  CONFIRM_LAUNCH_DETAILS: 'APP.NEW_MARKET_WIDGET.CONFIRM_LAUNCH_DETAILS',
840
842
  CONFIRM_NEW_MARKET_PROPOSAL: 'APP.NEW_MARKET_WIDGET.CONFIRM_NEW_MARKET_PROPOSAL',
841
843
  DEPOSIT_APR: 'APP.NEW_MARKET_WIDGET.DEPOSIT_APR',
@@ -843,6 +845,7 @@ export const APP_STRING_KEYS = {
843
845
  DEPOSIT_LOCKUP_DESCRIPTION: 'APP.NEW_MARKET_WIDGET.DEPOSIT_LOCKUP_DESCRIPTION',
844
846
  HIDE_STEPS: 'APP.NEW_MARKET_WIDGET.HIDE_STEPS',
845
847
  IMPACT_NOTIONAL: 'APP.NEW_MARKET_WIDGET.IMPACT_NOTIONAL',
848
+ INSTANTLY_LAUNCH: 'APP.NEW_MARKET_WIDGET.INSTANTLY_LAUNCH',
846
849
  LAUNCH_A_MARKET: 'APP.NEW_MARKET_WIDGET.LAUNCH_A_MARKET',
847
850
  LAUNCH_MARKET: 'APP.NEW_MARKET_WIDGET.LAUNCH_MARKET',
848
851
  LAUNCH_MARKETS: 'APP.NEW_MARKET_WIDGET.LAUNCH_MARKETS',
@@ -851,6 +854,7 @@ export const APP_STRING_KEYS = {
851
854
  LISTINGS_DESCRIPTION: 'APP.NEW_MARKET_WIDGET.LISTINGS_DESCRIPTION',
852
855
  LIST_A_NEW_MARKET: 'APP.NEW_MARKET_WIDGET.LIST_A_NEW_MARKET',
853
856
  MARKET_LAUNCH_DETAILS: 'APP.NEW_MARKET_WIDGET.MARKET_LAUNCH_DETAILS',
857
+ MARKET_LAUNCH_DETAILS_2: 'APP.NEW_MARKET_WIDGET.MARKET_LAUNCH_DETAILS_2',
854
858
  MARKET_TO_LAUNCH: 'APP.NEW_MARKET_WIDGET.MARKET_TO_LAUNCH',
855
859
  MESSAGE_DETAILS: 'APP.NEW_MARKET_WIDGET.MESSAGE_DETAILS',
856
860
  MSG_CREATE_CLOB_PAIR: 'APP.NEW_MARKET_WIDGET.MSG_CREATE_CLOB_PAIR',
@@ -1611,6 +1615,7 @@ export const APP_STRING_KEYS = {
1611
1615
  SET_ORDER_SIZE: 'APP.TRADE.SET_ORDER_SIZE',
1612
1616
  SET_PRICE_TRIGGERS: 'APP.TRADE.SET_PRICE_TRIGGERS',
1613
1617
  SLIDER: 'APP.TRADE.SLIDER',
1618
+ SPOT_VOLUME_24H: 'APP.TRADE.SPOT_VOLUME_24H',
1614
1619
  STOP_LIMIT: 'APP.TRADE.STOP_LIMIT',
1615
1620
  STOP_LIMIT_DESCRIPTION: 'APP.TRADE.STOP_LIMIT_DESCRIPTION',
1616
1621
  STOP_LOSS: 'APP.TRADE.STOP_LOSS',
@@ -1,14 +0,0 @@
1
- #!/bin/sh
2
-
3
- json_files=$(find . -name "*.json")
4
-
5
- # Validate JSON files
6
- for file in $json_files
7
- do
8
- echo "Validating $file"
9
- result=`python -m json.tool $file`
10
- if [ $? -ne 0 ]; then
11
- echo "Invalid JSON file: $file"
12
- exit 1
13
- fi
14
- done