@dydxprotocol/v4-localization 1.1.187 → 1.1.189
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:
|
|
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
|
-
|
|
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",
|
|
@@ -729,6 +730,29 @@
|
|
|
729
730
|
"SECONDARY": "ZetaChain is a public, decentralized blockchain and smart contract platform that enables message passing and value transfer between any blockchain."
|
|
730
731
|
}
|
|
731
732
|
},
|
|
733
|
+
"AFFILIATES": {
|
|
734
|
+
"AFFILIATES_PROGRAM": "Affiliates Program",
|
|
735
|
+
"AFFILIATE_LINK": "Affiliate Link",
|
|
736
|
+
"EARN_FOR_EACH_TRADER": "Earn up to ${AMOUNT_USD}/mo for each new trader",
|
|
737
|
+
"EARN_FEES": "Earn fees",
|
|
738
|
+
"REFER_FOR_DISCOUNTS": "Refer a friend and they can receive up to ${AMOUNT_USD} in discounts.",
|
|
739
|
+
"REFER_FOR_DISCOUNTS_FIRST_ORDER": "Receive up to ${AMOUNT_USD} in fee discounts after placing your first order!",
|
|
740
|
+
"EARCH_FOR_EACH_TRADER_REFER_FOR_DISCOUNTS": "Earn up to ${AMOUNT_PER_MONTH}/mo for each new trader you refer. Your referral can save up to ${AMOUNT_DISCOUNT} in trading fees. {LEARN_MORE_LINK}",
|
|
741
|
+
"WANT_TO_VIEW_EARNINGS": "Want to view your earnings? {LINK}",
|
|
742
|
+
"INVITE_FRIENDS": "Invite Friends",
|
|
743
|
+
"YOUR_FRIEND": "Your friend",
|
|
744
|
+
"HAS_REFERRED_YOU": "has referred you to start trading on the world’s most powerful open exchange.",
|
|
745
|
+
"EARN_USDC": "Earn USDC",
|
|
746
|
+
"EARN_USDC_DISCRIPTION": "Take advantage of staking and other products to earn USDC.",
|
|
747
|
+
"TRADE_ANYTHING": "Trade anything",
|
|
748
|
+
"TRADE_ANYTHING_DISCRIPTION": "Any asset, any time. Don't see what you're looking for? List the market and be the first to trade it!",
|
|
749
|
+
"LIGHTNING_FAST": "Lightning fast with deep liquidity",
|
|
750
|
+
"LIGHTNING_FAST_DISCRIPTION": "The most seamless and powerful experience in DeFi.",
|
|
751
|
+
"ALL_REWARDS_DYDX_COMMUNITY": "*All rewards are made available through {DYDX_COMMUNITY_LINK}.",
|
|
752
|
+
"DYDX_COMMUNITY": "dYdX Community",
|
|
753
|
+
"THE_PRO_TRADING_PLATFORM": "The Pro Trading Platform for DeFi",
|
|
754
|
+
"TWEET_SHARE_AFFILIATES": "Save up to ${AMOUNT_USD} in trading fees on @dYdX: "
|
|
755
|
+
},
|
|
732
756
|
"HEADER": {
|
|
733
757
|
"API_DOCUMENTATION": "API Documentation",
|
|
734
758
|
"CHAT": "Chat",
|
|
@@ -795,7 +819,7 @@
|
|
|
795
819
|
"COMING_SOON": "Coming soon!",
|
|
796
820
|
"COMPLETE_ONBOARDING": "Complete onboarding",
|
|
797
821
|
"CONFIRM_OWNERSHIP": "Confirm you are the owner of this wallet",
|
|
798
|
-
"CONNECT_YOUR_WALLET_EXTENDED": "Connect your
|
|
822
|
+
"CONNECT_YOUR_WALLET_EXTENDED": "Connect your wallet to deposit funds & start trading.",
|
|
799
823
|
"CONNECT_YOUR_WALLET_SEARCH": "Search wallets...",
|
|
800
824
|
"CONNECT_YOUR_WALLET": "Connect your wallet",
|
|
801
825
|
"CONNECT_YOUR_WALLET_SUBTITLE": "Select your wallet from these supported options.",
|
|
@@ -1449,6 +1473,7 @@
|
|
|
1449
1473
|
"SET_ORDER_SIZE": "Set order size",
|
|
1450
1474
|
"SET_PRICE_TRIGGERS": "Set price triggers",
|
|
1451
1475
|
"SLIDER": "Slider",
|
|
1476
|
+
"SPOT_VOLUME_24H": "24h Spot Volume",
|
|
1452
1477
|
"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
1478
|
"STOP_LIMIT": "Stop Limit",
|
|
1454
1479
|
"STOP_LOSS": "Stop Loss",
|
|
@@ -2067,6 +2092,7 @@
|
|
|
2067
2092
|
"ADD_MARKET_STEP_2_DESCRIPTION": "Once a market is selected, all of its parameters will be automatically populated.",
|
|
2068
2093
|
"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
2094
|
"ADD_NEW_MARKET_DETAILS": "Add a new asset to dYdX Chain via a governance proposal. Requires {AMOUNT} unstaked DYDX.",
|
|
2095
|
+
"AVAILABLE_TO_TRADE_POST_LAUNCH": "As soon as you launch {MARKET}, it will be available to trade.",
|
|
2070
2096
|
"CONFIRM_LAUNCH_DETAILS": "Confirm Launch Details",
|
|
2071
2097
|
"CONFIRM_NEW_MARKET_PROPOSAL": "Confirm new market proposal",
|
|
2072
2098
|
"DEPOSIT_APR": "Deposit APR",
|
|
@@ -2074,6 +2100,7 @@
|
|
|
2074
2100
|
"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
2101
|
"HIDE_STEPS": "Hide steps",
|
|
2076
2102
|
"IMPACT_NOTIONAL": "Impact notional",
|
|
2103
|
+
"INSTANTLY_LAUNCH": "Instantly launch {MARKET}",
|
|
2077
2104
|
"LAUNCH_A_MARKET": "Launch a Market",
|
|
2078
2105
|
"LAUNCH_MARKET": "Launch Market",
|
|
2079
2106
|
"LAUNCH_MARKETS": "Launch Markets",
|
|
@@ -2082,6 +2109,7 @@
|
|
|
2082
2109
|
"LIST_A_NEW_MARKET": "List a new market",
|
|
2083
2110
|
"LISTINGS_DESCRIPTION": "Listings on dYdX are completely community-driven. This tool will help you submit a governance proposal to list a new market.",
|
|
2084
2111
|
"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).",
|
|
2112
|
+
"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
2113
|
"MARKET_TO_LAUNCH": "Market to Launch",
|
|
2086
2114
|
"MESSAGE_DETAILS": "Message details",
|
|
2087
2115
|
"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
|
|
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
|
|
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
package/scripts/generated/app.ts
CHANGED
|
@@ -4,6 +4,30 @@
|
|
|
4
4
|
|
|
5
5
|
export const APP_STRING_KEYS = {
|
|
6
6
|
|
|
7
|
+
// AFFILIATES
|
|
8
|
+
|
|
9
|
+
AFFILIATES_PROGRAM: 'APP.AFFILIATES.AFFILIATES_PROGRAM',
|
|
10
|
+
AFFILIATE_LINK: 'APP.AFFILIATES.AFFILIATE_LINK',
|
|
11
|
+
ALL_REWARDS_DYDX_COMMUNITY: 'APP.AFFILIATES.ALL_REWARDS_DYDX_COMMUNITY',
|
|
12
|
+
DYDX_COMMUNITY: 'APP.AFFILIATES.DYDX_COMMUNITY',
|
|
13
|
+
EARCH_FOR_EACH_TRADER_REFER_FOR_DISCOUNTS: 'APP.AFFILIATES.EARCH_FOR_EACH_TRADER_REFER_FOR_DISCOUNTS',
|
|
14
|
+
EARN_FEES: 'APP.AFFILIATES.EARN_FEES',
|
|
15
|
+
EARN_FOR_EACH_TRADER: 'APP.AFFILIATES.EARN_FOR_EACH_TRADER',
|
|
16
|
+
EARN_USDC: 'APP.AFFILIATES.EARN_USDC',
|
|
17
|
+
EARN_USDC_DISCRIPTION: 'APP.AFFILIATES.EARN_USDC_DISCRIPTION',
|
|
18
|
+
HAS_REFERRED_YOU: 'APP.AFFILIATES.HAS_REFERRED_YOU',
|
|
19
|
+
INVITE_FRIENDS: 'APP.AFFILIATES.INVITE_FRIENDS',
|
|
20
|
+
LIGHTNING_FAST: 'APP.AFFILIATES.LIGHTNING_FAST',
|
|
21
|
+
LIGHTNING_FAST_DISCRIPTION: 'APP.AFFILIATES.LIGHTNING_FAST_DISCRIPTION',
|
|
22
|
+
REFER_FOR_DISCOUNTS: 'APP.AFFILIATES.REFER_FOR_DISCOUNTS',
|
|
23
|
+
REFER_FOR_DISCOUNTS_FIRST_ORDER: 'APP.AFFILIATES.REFER_FOR_DISCOUNTS_FIRST_ORDER',
|
|
24
|
+
THE_PRO_TRADING_PLATFORM: 'APP.AFFILIATES.THE_PRO_TRADING_PLATFORM',
|
|
25
|
+
TRADE_ANYTHING: 'APP.AFFILIATES.TRADE_ANYTHING',
|
|
26
|
+
TRADE_ANYTHING_DISCRIPTION: 'APP.AFFILIATES.TRADE_ANYTHING_DISCRIPTION',
|
|
27
|
+
TWEET_SHARE_AFFILIATES: 'APP.AFFILIATES.TWEET_SHARE_AFFILIATES',
|
|
28
|
+
WANT_TO_VIEW_EARNINGS: 'APP.AFFILIATES.WANT_TO_VIEW_EARNINGS',
|
|
29
|
+
YOUR_FRIEND: 'APP.AFFILIATES.YOUR_FRIEND',
|
|
30
|
+
|
|
7
31
|
// ALLOWANCE_ALERT_MODAL
|
|
8
32
|
|
|
9
33
|
ALLOWANCE_AFTER: 'APP.ALLOWANCE_ALERT_MODAL.ALLOWANCE_AFTER',
|
|
@@ -421,6 +445,7 @@ export const APP_STRING_KEYS = {
|
|
|
421
445
|
KEEP_TRADING: 'APP.GENERAL.KEEP_TRADING',
|
|
422
446
|
LANGUAGE: 'APP.GENERAL.LANGUAGE',
|
|
423
447
|
LARGE_CAP: 'APP.GENERAL.LARGE_CAP',
|
|
448
|
+
LAUNCHABLE: 'APP.GENERAL.LAUNCHABLE',
|
|
424
449
|
LAYER_1: 'APP.GENERAL.LAYER_1',
|
|
425
450
|
LAYER_2: 'APP.GENERAL.LAYER_2',
|
|
426
451
|
LEARN: 'APP.GENERAL.LEARN',
|
|
@@ -836,6 +861,7 @@ export const APP_STRING_KEYS = {
|
|
|
836
861
|
ADD_MARKET_STEP_3_DESCRIPTION: 'APP.NEW_MARKET_WIDGET.ADD_MARKET_STEP_3_DESCRIPTION',
|
|
837
862
|
ADD_MARKET_STEP_3_TITLE: 'APP.NEW_MARKET_WIDGET.ADD_MARKET_STEP_3_TITLE',
|
|
838
863
|
ADD_NEW_MARKET_DETAILS: 'APP.NEW_MARKET_WIDGET.ADD_NEW_MARKET_DETAILS',
|
|
864
|
+
AVAILABLE_TO_TRADE_POST_LAUNCH: 'APP.NEW_MARKET_WIDGET.AVAILABLE_TO_TRADE_POST_LAUNCH',
|
|
839
865
|
CONFIRM_LAUNCH_DETAILS: 'APP.NEW_MARKET_WIDGET.CONFIRM_LAUNCH_DETAILS',
|
|
840
866
|
CONFIRM_NEW_MARKET_PROPOSAL: 'APP.NEW_MARKET_WIDGET.CONFIRM_NEW_MARKET_PROPOSAL',
|
|
841
867
|
DEPOSIT_APR: 'APP.NEW_MARKET_WIDGET.DEPOSIT_APR',
|
|
@@ -843,6 +869,7 @@ export const APP_STRING_KEYS = {
|
|
|
843
869
|
DEPOSIT_LOCKUP_DESCRIPTION: 'APP.NEW_MARKET_WIDGET.DEPOSIT_LOCKUP_DESCRIPTION',
|
|
844
870
|
HIDE_STEPS: 'APP.NEW_MARKET_WIDGET.HIDE_STEPS',
|
|
845
871
|
IMPACT_NOTIONAL: 'APP.NEW_MARKET_WIDGET.IMPACT_NOTIONAL',
|
|
872
|
+
INSTANTLY_LAUNCH: 'APP.NEW_MARKET_WIDGET.INSTANTLY_LAUNCH',
|
|
846
873
|
LAUNCH_A_MARKET: 'APP.NEW_MARKET_WIDGET.LAUNCH_A_MARKET',
|
|
847
874
|
LAUNCH_MARKET: 'APP.NEW_MARKET_WIDGET.LAUNCH_MARKET',
|
|
848
875
|
LAUNCH_MARKETS: 'APP.NEW_MARKET_WIDGET.LAUNCH_MARKETS',
|
|
@@ -851,6 +878,7 @@ export const APP_STRING_KEYS = {
|
|
|
851
878
|
LISTINGS_DESCRIPTION: 'APP.NEW_MARKET_WIDGET.LISTINGS_DESCRIPTION',
|
|
852
879
|
LIST_A_NEW_MARKET: 'APP.NEW_MARKET_WIDGET.LIST_A_NEW_MARKET',
|
|
853
880
|
MARKET_LAUNCH_DETAILS: 'APP.NEW_MARKET_WIDGET.MARKET_LAUNCH_DETAILS',
|
|
881
|
+
MARKET_LAUNCH_DETAILS_2: 'APP.NEW_MARKET_WIDGET.MARKET_LAUNCH_DETAILS_2',
|
|
854
882
|
MARKET_TO_LAUNCH: 'APP.NEW_MARKET_WIDGET.MARKET_TO_LAUNCH',
|
|
855
883
|
MESSAGE_DETAILS: 'APP.NEW_MARKET_WIDGET.MESSAGE_DETAILS',
|
|
856
884
|
MSG_CREATE_CLOB_PAIR: 'APP.NEW_MARKET_WIDGET.MSG_CREATE_CLOB_PAIR',
|
|
@@ -1232,7 +1260,6 @@ export const APP_STRING_KEYS = {
|
|
|
1232
1260
|
EARNINGS: 'APP.PROFILES_PAGE.EARNINGS',
|
|
1233
1261
|
EARN_COMMISSION: 'APP.PROFILES_PAGE.EARN_COMMISSION',
|
|
1234
1262
|
EARN_DYDX_REWARDS: 'APP.PROFILES_PAGE.EARN_DYDX_REWARDS',
|
|
1235
|
-
EARN_USDC: 'APP.PROFILES_PAGE.EARN_USDC',
|
|
1236
1263
|
ENTITY: 'APP.PROFILES_PAGE.ENTITY',
|
|
1237
1264
|
ENTITY_NAME: 'APP.PROFILES_PAGE.ENTITY_NAME',
|
|
1238
1265
|
EPOCH_REVENUE: 'APP.PROFILES_PAGE.EPOCH_REVENUE',
|
|
@@ -1611,6 +1638,7 @@ export const APP_STRING_KEYS = {
|
|
|
1611
1638
|
SET_ORDER_SIZE: 'APP.TRADE.SET_ORDER_SIZE',
|
|
1612
1639
|
SET_PRICE_TRIGGERS: 'APP.TRADE.SET_PRICE_TRIGGERS',
|
|
1613
1640
|
SLIDER: 'APP.TRADE.SLIDER',
|
|
1641
|
+
SPOT_VOLUME_24H: 'APP.TRADE.SPOT_VOLUME_24H',
|
|
1614
1642
|
STOP_LIMIT: 'APP.TRADE.STOP_LIMIT',
|
|
1615
1643
|
STOP_LIMIT_DESCRIPTION: 'APP.TRADE.STOP_LIMIT_DESCRIPTION',
|
|
1616
1644
|
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
|