@dydxprotocol/v4-localization 0.0.6
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.
- package/.github/workflows/publish.yml +38 -0
- package/.gitleaks.toml +17 -0
- package/.gitleaksignore +0 -0
- package/.nvmrc +1 -0
- package/config/countries.json +1117 -0
- package/config/localization/app.ts +23 -0
- package/config/localization/de/app.json +1316 -0
- package/config/localization/de/tooltips.json +228 -0
- package/config/localization/en/app.json +1316 -0
- package/config/localization/en/tooltips.json +228 -0
- package/config/localization/es/app.json +1311 -0
- package/config/localization/es/tooltips.json +228 -0
- package/config/localization/fr/app.json +1311 -0
- package/config/localization/fr/tooltips.json +228 -0
- package/config/localization/ja/app.json +1311 -0
- package/config/localization/ja/tooltips.json +228 -0
- package/config/localization/ko/app.json +1316 -0
- package/config/localization/ko/tooltips.json +228 -0
- package/config/localization/languages.json +43 -0
- package/config/localization/pt/app.json +1311 -0
- package/config/localization/pt/tooltips.json +228 -0
- package/config/localization/ru/app.json +1316 -0
- package/config/localization/ru/tooltips.json +228 -0
- package/config/localization/tooltip.ts +23 -0
- package/config/localization/tr/app.json +1311 -0
- package/config/localization/tr/tooltips.json +228 -0
- package/config/localization/zh-CN/app.json +1124 -0
- package/config/localization/zh-CN/tooltips.json +228 -0
- package/config/localization_notifications/de/app.json +40 -0
- package/config/localization_notifications/en/app.json +40 -0
- package/config/localization_notifications/es/app.json +40 -0
- package/config/localization_notifications/fr/app.json +40 -0
- package/config/localization_notifications/index.ts +23 -0
- package/config/localization_notifications/ja/app.json +40 -0
- package/config/localization_notifications/ko/app.json +40 -0
- package/config/localization_notifications/pt/app.json +40 -0
- package/config/localization_notifications/ru/app.json +40 -0
- package/config/localization_notifications/tr/app.json +40 -0
- package/config/localization_notifications/zh-CN/app.json +40 -0
- package/config/localizations_native/de/app.json +451 -0
- package/config/localizations_native/en/app.json +451 -0
- package/config/localizations_native/es/app.json +451 -0
- package/config/localizations_native/fr/app.json +451 -0
- package/config/localizations_native/index.ts +23 -0
- package/config/localizations_native/ja/app.json +451 -0
- package/config/localizations_native/ko/app.json +451 -0
- package/config/localizations_native/pt/app.json +451 -0
- package/config/localizations_native/ru/app.json +451 -0
- package/config/localizations_native/tr/app.json +451 -0
- package/config/localizations_native/zh-CN/app.json +398 -0
- package/config/markets.json +700 -0
- package/config/prod/walletsV2.json +646 -0
- package/config/staging/walletsV2.json +646 -0
- package/config/version_ios.json +14 -0
- package/index.ts +25 -0
- package/package.json +22 -0
- package/readme.md +63 -0
- package/scripts/codegen_localization_app +0 -0
- package/scripts/codegen_localization_app.swift +59 -0
- package/scripts/codegen_localization_tooltips.swift +46 -0
- package/scripts/generated/app.ts +1356 -0
- package/scripts/generated/tooltips.ts +134 -0
- package/scripts/merge_jsons.sh +48 -0
- package/scripts/publish-if-not-exists.sh +21 -0
- package/v4/staging/markets.json +704 -0
- package/wallet_connect/dapps.json +4836 -0
- package/wallet_connect/index.ts +7 -0
- package/wallet_connect/wallets.json +4033 -0
|
@@ -0,0 +1,228 @@
|
|
|
1
|
+
{
|
|
2
|
+
"GENERAL": {
|
|
3
|
+
"LEGACY_SIGNING": {
|
|
4
|
+
"TITLE": "Legacy Signing",
|
|
5
|
+
"BODY": "Only check this option if you previously used hardware wallet signing / legacy signing to generate your keys."
|
|
6
|
+
},
|
|
7
|
+
"REMEMBER_ME": {
|
|
8
|
+
"TITLE": "Remember Me",
|
|
9
|
+
"BODY": "Only use \"Remember Me\" if you are using a secure device that you own. Selecting this option can expose your keys and information to others if you are on a public or non-secured device."
|
|
10
|
+
}
|
|
11
|
+
},
|
|
12
|
+
"PORTFOLIO": {
|
|
13
|
+
"HOLDING_HEDGIES": {
|
|
14
|
+
"TITLE": "Hedgies discount",
|
|
15
|
+
"BODY": "Holding a {NFT} will bump your fee discount tier up by one. Holding multiple will have no additional effect."
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
"TRADE": {
|
|
19
|
+
"ACCOUNT_LEVERAGE": {
|
|
20
|
+
"TITLE": "Account Leverage",
|
|
21
|
+
"BODY": "Leverage of your account based on all your open positions. Because your account is cross-margined, each open position has its own leverage while also affecting your overall account leverage."
|
|
22
|
+
},
|
|
23
|
+
"BRACKET_ORDER_SL": {
|
|
24
|
+
"TITLE": "Stop Loss",
|
|
25
|
+
"BODY": "Your current trigger price to execute a Stop Loss for this bracket order."
|
|
26
|
+
},
|
|
27
|
+
"BRACKET_ORDER_TP": {
|
|
28
|
+
"TITLE": "Take Profit",
|
|
29
|
+
"BODY": "Your current trigger price to execute a Take Profit for this bracket order."
|
|
30
|
+
},
|
|
31
|
+
"BUYING_POWER": {
|
|
32
|
+
"TITLE": "Buying Power",
|
|
33
|
+
"BODY": "Total available buying power to increase your position on {MARKET}. Your buying power will change based on the market you have selected."
|
|
34
|
+
},
|
|
35
|
+
"DEFAULT_EXECUTION": {
|
|
36
|
+
"TITLE": "Default Execution",
|
|
37
|
+
"BODY": "Your order will fill any crossing orders at the time of opening. If your order is not fully filled, it will remain open until it is filled, cancelled, or expires."
|
|
38
|
+
},
|
|
39
|
+
"EQUITY": {
|
|
40
|
+
"TITLE": "Equity",
|
|
41
|
+
"BODY": "Total value of your account."
|
|
42
|
+
},
|
|
43
|
+
"EXPECTED_PRICE": {
|
|
44
|
+
"TITLE": "Expected Price",
|
|
45
|
+
"BODY": "Expected price of execution for your order. This price is only an estimate as the orderbook may change before your order is processed by the matching engine."
|
|
46
|
+
},
|
|
47
|
+
"FEE": {
|
|
48
|
+
"TITLE": "Fee",
|
|
49
|
+
"BODY": "Fees on dYdX are charged based on liquidity type. Maker orders carry a smaller fee than taker orders."
|
|
50
|
+
},
|
|
51
|
+
"FILL_OR_KILL": {
|
|
52
|
+
"TITLE": "Fill Or Kill",
|
|
53
|
+
"BODY": "Fill or kill orders must be completely filled upon execution or they will be automatically canceled."
|
|
54
|
+
},
|
|
55
|
+
"FREE_COLLATERAL": {
|
|
56
|
+
"TITLE": "Free Collateral",
|
|
57
|
+
"BODY": "The maximum amount you can withdraw. When free collateral is 0 or negative, your account is using maximum leverage."
|
|
58
|
+
},
|
|
59
|
+
"GOOD_TIL": {
|
|
60
|
+
"TITLE": "Good Til",
|
|
61
|
+
"BODY": "Time until your order expires."
|
|
62
|
+
},
|
|
63
|
+
"IMMEDIATE_OR_CANCEL": {
|
|
64
|
+
"TITLE": "Immediate or Cancel",
|
|
65
|
+
"BODY": "Your order will fill any crossing orders at the time of opening, and then cancel any unfilled order amount."
|
|
66
|
+
},
|
|
67
|
+
"INDEX_PRICE": {
|
|
68
|
+
"TITLE": "Oracle Price",
|
|
69
|
+
"BODY": "Stop orders are triggered based on the oracle price. The oracle price aggregates price data from multiple exchanges, protecting you from events like flash crashes."
|
|
70
|
+
},
|
|
71
|
+
"INITIAL_MARGIN_FRACTION": {
|
|
72
|
+
"TITLE": "Initial Margin Fraction",
|
|
73
|
+
"BODY": "Margin fraction is calculated as your position notional value divided by equity. If your margin fraction exceeds the initial margin fraction, you will no longer be allowed to increase your position. To limit risk, the initial margin fraction increases linearly with position size after a certain threshold."
|
|
74
|
+
},
|
|
75
|
+
"INITIAL_STOP": {
|
|
76
|
+
"TITLE": "Initial Stop",
|
|
77
|
+
"BODY": "Initial stop price based on your trailing percent."
|
|
78
|
+
},
|
|
79
|
+
"LEVERAGE": {
|
|
80
|
+
"TITLE": "Leverage",
|
|
81
|
+
"BODY": "Leverage changes the multiplier on your gains or losses. Increasing your leverage increases how much you would gain / lose on a trade with the same price movement."
|
|
82
|
+
},
|
|
83
|
+
"LIMIT_PRICE": {
|
|
84
|
+
"TITLE": "Limit Price",
|
|
85
|
+
"BODY": "This order can only be filled at the specified limit price or better. If your order crosses at the time of placement, your order will fill any crossing orders at the most favorable price."
|
|
86
|
+
},
|
|
87
|
+
"LIMIT_PRICE_SLIPPAGE": {
|
|
88
|
+
"TITLE": "Slippage",
|
|
89
|
+
"BODY": "Percentage difference between your trigger price and limit price."
|
|
90
|
+
},
|
|
91
|
+
"LIQUIDATION_PRICE": {
|
|
92
|
+
"TITLE": "Liquidation Price",
|
|
93
|
+
"BODY": "If the oracle price of {SYMBOL} drops below the liquidation price, your position will be liquidated. Upon liquidation, your position will be automatically closed and a liquidation fee of at least 1% will be assessed (may be higher depending on liquidity at the time of liquidation)."
|
|
94
|
+
},
|
|
95
|
+
"LIQUIDATION_PRICE_GENERAL": {
|
|
96
|
+
"TITLE": "Liquidation Price",
|
|
97
|
+
"BODY": "If the oracle price of the position market crosses the liquidation price, your position will be liquidated. Upon liquidation, your position will be automatically closed and a liquidation fee of at least 1% will be assessed (may be higher depending on liquidity at the time of liquidation)."
|
|
98
|
+
},
|
|
99
|
+
"LIQUIDITY": {
|
|
100
|
+
"TITLE": "Liquidity",
|
|
101
|
+
"BODY": "Trades that take liquidity from the book (e.g. market or crossing limit orders) execute as taker orders. Limit orders that add liquidity to the book and are filled by another party will be filled as maker orders."
|
|
102
|
+
},
|
|
103
|
+
"MAINTENANCE_MARGIN_FRACTION": {
|
|
104
|
+
"TITLE": "Maintenance Margin Fraction",
|
|
105
|
+
"BODY": "Margin fraction is calculated as your position notional value divided by equity. If your margin fraction exceeds the maintenance margin fraction, your position will be automatically closed (liquidated) and a liquidation fee of at least 1% will be assessed (may be higher depending on liquidity at the time of liquidation)."
|
|
106
|
+
},
|
|
107
|
+
"MAKER_FEE": {
|
|
108
|
+
"TITLE": "Maker Fee",
|
|
109
|
+
"BODY": "Limit orders that add liquidity to the book and are filled by another party will be filled as maker orders. Maker orders have a lower fee than taker orders."
|
|
110
|
+
},
|
|
111
|
+
"MARGIN_USAGE": {
|
|
112
|
+
"TITLE": "Margin Usage",
|
|
113
|
+
"BODY": "Percentage of your total margin used by open positions."
|
|
114
|
+
},
|
|
115
|
+
"MAX_WITHDRAW": {
|
|
116
|
+
"TITLE": "Maximum Fast Withdraw",
|
|
117
|
+
"BODY": "Maximum amount allowed for a single fast withdraw."
|
|
118
|
+
},
|
|
119
|
+
"MAXIMUM_LEVERAGE": {
|
|
120
|
+
"TITLE": "Maximum Leverage",
|
|
121
|
+
"BODY": "Maximum allowed leverage for this market. To limit risk, maximum leverage decreases linearly with position size after a certain threshold."
|
|
122
|
+
},
|
|
123
|
+
"NET_FUNDING": {
|
|
124
|
+
"TITLE": "Net Funding",
|
|
125
|
+
"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)."
|
|
126
|
+
},
|
|
127
|
+
"OPEN_INTEREST": {
|
|
128
|
+
"TITLE": "Open Interest",
|
|
129
|
+
"BODY": "Open interest represents the total size of all open positions on this market."
|
|
130
|
+
},
|
|
131
|
+
"ORACLE_PRICE": {
|
|
132
|
+
"TITLE": "Oracle Price",
|
|
133
|
+
"BODY": "Leverage and liquidations are determined based on the on-chain oracle price. The oracle price aggregates price data from multiple exchanges, protecting you from events like flash crashes."
|
|
134
|
+
},
|
|
135
|
+
"ORDER_AMOUNT": {
|
|
136
|
+
"TITLE": "Order Amount",
|
|
137
|
+
"BODY": "Amount of {SYMBOL} to buy or sell. This is the amount your position will increase or decrease by when the order is filled, not your resulting position amount."
|
|
138
|
+
},
|
|
139
|
+
"POST_ONLY": {
|
|
140
|
+
"TITLE": "Post-Only",
|
|
141
|
+
"BODY": "Orders with post-only enabled can only be placed as maker orders. If the order crosses other orders at the time of placement, it will be automatically cancelled."
|
|
142
|
+
},
|
|
143
|
+
"PRICE_IMPACT": {
|
|
144
|
+
"TITLE": "Price Impact",
|
|
145
|
+
"BODY": "The difference between the expected execution price for your order and the best order on the bid or ask side. This will increase for larger trade sizes."
|
|
146
|
+
},
|
|
147
|
+
"REALIZED_PNL": {
|
|
148
|
+
"TITLE": "Realized Profit / Loss",
|
|
149
|
+
"BODY": "Total realized profit / loss for this position through partial closes, fees and funding. Resets if you fully close your position or change position sides (long to short, or vice versa)."
|
|
150
|
+
},
|
|
151
|
+
"REDUCE_ONLY": {
|
|
152
|
+
"TITLE": "Reduce-Only",
|
|
153
|
+
"BODY": "Reduce-Only prevents an order from changing the side of your position (long to short, or short to long). An order with Reduce-Only set will automatically resize and cancel itself as your position changes."
|
|
154
|
+
},
|
|
155
|
+
"STEP_SIZE": {
|
|
156
|
+
"TITLE": "Step Size",
|
|
157
|
+
"BODY": "Step size is the smallest factor allowed for order amounts on this market."
|
|
158
|
+
},
|
|
159
|
+
"TRIGGER_PRICE": {
|
|
160
|
+
"TITLE": "Trigger Price",
|
|
161
|
+
"BODY": "When the oracle price or last trade price of this market crosses your trigger price, your stop/take profit order will either convert to a limit order or execute as a market order."
|
|
162
|
+
},
|
|
163
|
+
"TAKER_FEE": {
|
|
164
|
+
"TITLE": "Taker Fee",
|
|
165
|
+
"BODY": "Trades that take liquidity from the book (e.g. market or crossing limit orders) execute as taker orders. Taker orders have a higher fee than maker orders."
|
|
166
|
+
},
|
|
167
|
+
"TICK_SIZE": {
|
|
168
|
+
"TITLE": "Tick Size",
|
|
169
|
+
"BODY": "Tick size is the minimum price movement on this market."
|
|
170
|
+
},
|
|
171
|
+
"TIME_IN_FORCE": {
|
|
172
|
+
"TITLE": "Time In Force",
|
|
173
|
+
"BODY": "The selected time in force option controls how long an order will remain active for until it either expires or is filled."
|
|
174
|
+
},
|
|
175
|
+
"TRAILING_PERCENT": {
|
|
176
|
+
"TITLE": "Trailing Percent",
|
|
177
|
+
"BODY": "Trailing percent sets the percent your stop price will “trail” the oracle price. Whenever the oracle price moves in favor of your position, the stop price for your order will update according to your specified trailing percent."
|
|
178
|
+
},
|
|
179
|
+
"UNREALIZED_PNL": {
|
|
180
|
+
"TITLE": "Unrealized Profit / Loss",
|
|
181
|
+
"BODY": "Total profit / loss if you were to fully close the remainder of your current position at the current oracle price. Resets if you close your position or change position sides (long to short, or vice versa)."
|
|
182
|
+
}
|
|
183
|
+
},
|
|
184
|
+
"DEPOSIT": {
|
|
185
|
+
"AVAILABLE_GASLESS_DEPOSITS": {
|
|
186
|
+
"TITLE": "Available",
|
|
187
|
+
"BODY": "You are eligible! Deposit at least {GASLESS_DEPOSIT_THRESHOLD} {SYMBOL} to enable gasless deposit."
|
|
188
|
+
},
|
|
189
|
+
"DISABLED_GASLESS_DEPOSITS": {
|
|
190
|
+
"TITLE": "Unavailable",
|
|
191
|
+
"BODY": "Gasless deposits are temporarily unavailable. Don't worry, they'll be back soon!"
|
|
192
|
+
},
|
|
193
|
+
"GASLESS_DEPOSITS": {
|
|
194
|
+
"TITLE": "Gasless Deposits",
|
|
195
|
+
"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."
|
|
196
|
+
},
|
|
197
|
+
"SWAP": {
|
|
198
|
+
"TITLE": "Swap & Deposit",
|
|
199
|
+
"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."
|
|
200
|
+
}
|
|
201
|
+
},
|
|
202
|
+
"TRANSFER_AND_DEPOSIT": {
|
|
203
|
+
"ALLOWANCE_AND_DEPOSIT_NETWORK_FEE": {
|
|
204
|
+
"TITLE": "Network Fee",
|
|
205
|
+
"BODY": "This is the gas cost of the deposit and set allowance transactions, paid to Ethereum miners. You only have to set allowance once per asset you deposit."
|
|
206
|
+
},
|
|
207
|
+
"DEPOSIT_NETWORK_FEE": {
|
|
208
|
+
"TITLE": "Network Fee",
|
|
209
|
+
"BODY": "This is the gas cost of the deposit transaction, paid to Ethereum miners."
|
|
210
|
+
}
|
|
211
|
+
},
|
|
212
|
+
"WITHDRAW": {
|
|
213
|
+
"FAST_WITHDRAW_FEE": {
|
|
214
|
+
"TITLE": "Fast Withdraw Fee",
|
|
215
|
+
"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)."
|
|
216
|
+
},
|
|
217
|
+
"WITHDRAW_TYPES": {
|
|
218
|
+
"TITLE": "Withdraw Types",
|
|
219
|
+
"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."
|
|
220
|
+
}
|
|
221
|
+
},
|
|
222
|
+
"EMAIL_NOTIFICATIONS": {
|
|
223
|
+
"VERIFY_EMAIL": {
|
|
224
|
+
"TITLE": "Verify email address",
|
|
225
|
+
"BODY": "Please click the link in the email we sent you, which will help us verify ownership of your email address."
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
}
|