@orderly.network/i18n 2.5.3 → 2.6.0-alpha.0
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/dist/constant.d.mts +2 -0
- package/dist/constant.d.ts +2 -0
- package/dist/constant.js +12 -0
- package/dist/constant.js.map +1 -0
- package/dist/constant.mjs +5 -0
- package/dist/constant.mjs.map +1 -0
- package/dist/index.d.mts +7 -962
- package/dist/index.d.ts +7 -962
- package/dist/index.js +16 -16
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -4
- package/dist/index.mjs.map +1 -1
- package/dist/locale.csv +99 -29
- package/dist/locales/de.json +94 -24
- package/dist/locales/en.json +97 -27
- package/dist/locales/es.json +94 -24
- package/dist/locales/fr.json +94 -24
- package/dist/locales/id.json +94 -24
- package/dist/locales/it.json +94 -24
- package/dist/locales/ja.json +94 -24
- package/dist/locales/ko.json +94 -24
- package/dist/locales/nl.json +94 -24
- package/dist/locales/pl.json +94 -24
- package/dist/locales/pt.json +94 -24
- package/dist/locales/ru.json +94 -24
- package/dist/locales/tr.json +94 -24
- package/dist/locales/uk.json +95 -25
- package/dist/locales/vi.json +94 -24
- package/dist/locales/zh.json +96 -26
- package/dist/types-CSDEAaDZ.d.ts +987 -0
- package/dist/utils.d.mts +64 -0
- package/dist/utils.d.ts +64 -0
- package/dist/utils.js +17 -0
- package/dist/utils.js.map +1 -0
- package/dist/utils.mjs +8 -0
- package/dist/utils.mjs.map +1 -0
- package/package.json +5 -3
package/dist/index.d.mts
CHANGED
|
@@ -1,926 +1,14 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import { L as LocaleCode, R as Resources, a as LocaleContextState } from './types-CSDEAaDZ.js';
|
|
2
|
+
export { b as Language, d as LocaleContext, f as LocaleEnum, e as LocaleMessages, P as PopupMode, c as PopupProps, g as defaultLanguages, h as defaultLng, i as defaultNS, l as en, k as i18nCookieKey, j as i18nLocalStorageKey, u as useLocaleContext } from './types-CSDEAaDZ.js';
|
|
3
3
|
import * as react_i18next from 'react-i18next';
|
|
4
4
|
import { I18nextProviderProps, FallbackNs, UseTranslationOptions } from 'react-i18next';
|
|
5
5
|
export * from 'react-i18next';
|
|
6
6
|
import * as i18next from 'i18next';
|
|
7
7
|
import { FlatNamespace, KeyPrefix } from 'i18next';
|
|
8
8
|
export { createInstance, default as i18next } from 'i18next';
|
|
9
|
+
import { ReactNode } from 'react';
|
|
9
10
|
import { $Tuple } from 'react-i18next/helpers';
|
|
10
|
-
|
|
11
|
-
type Language = {
|
|
12
|
-
localCode: LocaleCode;
|
|
13
|
-
displayName: string;
|
|
14
|
-
};
|
|
15
|
-
type PopupMode = "modal" | "dropdown" | "sheet";
|
|
16
|
-
type PopupProps = {
|
|
17
|
-
/**
|
|
18
|
-
* popup mode
|
|
19
|
-
* - modal: show in a dialog
|
|
20
|
-
* - dropdown: show in a dropdown menu
|
|
21
|
-
* - sheet: show in a sheet (only for mobile)
|
|
22
|
-
* @default modal
|
|
23
|
-
*/
|
|
24
|
-
mode?: PopupMode;
|
|
25
|
-
/** popup class name */
|
|
26
|
-
className?: string;
|
|
27
|
-
/** popup style */
|
|
28
|
-
style?: React.CSSProperties;
|
|
29
|
-
};
|
|
30
|
-
type LocaleContextState = {
|
|
31
|
-
/**
|
|
32
|
-
* custom languages
|
|
33
|
-
*/
|
|
34
|
-
languages: Language[];
|
|
35
|
-
/**
|
|
36
|
-
* called before language changed
|
|
37
|
-
*/
|
|
38
|
-
onLanguageBeforeChanged: (lang: LocaleCode) => Promise<void>;
|
|
39
|
-
/**
|
|
40
|
-
* called when language changed
|
|
41
|
-
*/
|
|
42
|
-
onLanguageChanged: (lang: LocaleCode) => Promise<void>;
|
|
43
|
-
/**
|
|
44
|
-
* popup options for language switcher
|
|
45
|
-
*/
|
|
46
|
-
popup?: PopupProps;
|
|
47
|
-
};
|
|
48
|
-
declare const LocaleContext: react.Context<LocaleContextState>;
|
|
49
|
-
declare const useLocaleContext: () => LocaleContextState;
|
|
50
|
-
|
|
51
|
-
declare enum LocaleEnum {
|
|
52
|
-
/** English */
|
|
53
|
-
en = "en",
|
|
54
|
-
/** Chinese */
|
|
55
|
-
zh = "zh",
|
|
56
|
-
/** Japanese */
|
|
57
|
-
ja = "ja",
|
|
58
|
-
/** Spanish */
|
|
59
|
-
es = "es",
|
|
60
|
-
/** Korean */
|
|
61
|
-
ko = "ko",
|
|
62
|
-
/** Vietnamese */
|
|
63
|
-
vi = "vi",
|
|
64
|
-
/** German */
|
|
65
|
-
de = "de",
|
|
66
|
-
/** French */
|
|
67
|
-
fr = "fr",
|
|
68
|
-
/** Russian */
|
|
69
|
-
ru = "ru",
|
|
70
|
-
/** Indonesian */
|
|
71
|
-
id = "id",
|
|
72
|
-
/** Turkish */
|
|
73
|
-
tr = "tr",
|
|
74
|
-
/** Italian */
|
|
75
|
-
it = "it",
|
|
76
|
-
/** Portuguese */
|
|
77
|
-
pt = "pt",
|
|
78
|
-
/** Ukrainian */
|
|
79
|
-
uk = "uk",
|
|
80
|
-
/** Polish */
|
|
81
|
-
pl = "pl",
|
|
82
|
-
/** Dutch */
|
|
83
|
-
nl = "nl"
|
|
84
|
-
}
|
|
85
|
-
declare const defaultLanguages: Language[];
|
|
86
|
-
declare const defaultLng = LocaleEnum.en;
|
|
87
|
-
declare const defaultNS = "translation";
|
|
88
|
-
declare const i18nLocalStorageKey = "orderly_i18nLng";
|
|
89
|
-
declare const i18nCookieKey = "orderly_i18nLng";
|
|
90
|
-
|
|
91
|
-
declare const en: {
|
|
92
|
-
"assetHistory.status.pending": string;
|
|
93
|
-
"assetHistory.status.confirm": string;
|
|
94
|
-
"assetHistory.status.processing": string;
|
|
95
|
-
"assetHistory.status.completed": string;
|
|
96
|
-
"assetHistory.status.failed": string;
|
|
97
|
-
"assetHistory.status.pendingRebalance": string;
|
|
98
|
-
"linkDevice.createQRCode.loading.description": string;
|
|
99
|
-
"linkDevice.createQRCode.linkMobileDevice": string;
|
|
100
|
-
"linkDevice.createQRCode.linkMobileDevice.description": string;
|
|
101
|
-
"linkDevice.createQRCode.success.description": string;
|
|
102
|
-
"linkDevice.createQRCode.success.copyUrl": string;
|
|
103
|
-
"linkDevice.scanQRCode": string;
|
|
104
|
-
"linkDevice.scanQRCode.description": string;
|
|
105
|
-
"linkDevice.scanQRCode.tooltip": string;
|
|
106
|
-
"linkDevice.scanQRCode.connected.description": string;
|
|
107
|
-
"settle.settlePnl": string;
|
|
108
|
-
"settle.settlePnl.warning": string;
|
|
109
|
-
"settle.settlePnl.description": string;
|
|
110
|
-
"settle.unsettled": string;
|
|
111
|
-
"settle.unsettled.tooltip": string;
|
|
112
|
-
"settle.settlement.requested": string;
|
|
113
|
-
"settle.settlement.completed": string;
|
|
114
|
-
"settle.settlement.failed": string;
|
|
115
|
-
"settle.settlement.error": string;
|
|
116
|
-
"languageSwitcher.language": string;
|
|
117
|
-
"languageSwitcher.tips": string;
|
|
118
|
-
"announcement.type.listing": string;
|
|
119
|
-
"announcement.type.maintenance": string;
|
|
120
|
-
"announcement.type.delisting": string;
|
|
121
|
-
"maintenance.dialog.title": string;
|
|
122
|
-
"maintenance.dialog.description": string;
|
|
123
|
-
"maintenance.tips.description": string;
|
|
124
|
-
"restrictedInfo.description.default": string;
|
|
125
|
-
"restrictedInfo.accessRestricted": string;
|
|
126
|
-
"restrictedInfo.accessRestricted.description": string;
|
|
127
|
-
"restrictedInfo.accessRestricted.agree": string;
|
|
128
|
-
"subAccount.modal.title": string;
|
|
129
|
-
"subAccount.modal.switch.success.description": string;
|
|
130
|
-
"subAccount.modal.mainAccount.title": string;
|
|
131
|
-
"subAccount.modal.subAccounts.title": string;
|
|
132
|
-
"subAccount.modal.current": string;
|
|
133
|
-
"subAccount.modal.noAccount.description": string;
|
|
134
|
-
"subAccount.modal.create.max.description": string;
|
|
135
|
-
"subAccount.modal.create.title": string;
|
|
136
|
-
"subAccount.modal.create.description": string;
|
|
137
|
-
"subAccount.modal.create.nickname.role": string;
|
|
138
|
-
"subAccount.modal.create.success.description": string;
|
|
139
|
-
"subAccount.modal.create.failed.description": string;
|
|
140
|
-
"subAccount.modal.edit.title": string;
|
|
141
|
-
"subAccount.modal.nickName.label": string;
|
|
142
|
-
"subAccount.modal.edit.success.description": string;
|
|
143
|
-
"subAccount.modal.edit.failed.description": string;
|
|
144
|
-
"funding.fundingFee": string;
|
|
145
|
-
"funding.fundingRate": string;
|
|
146
|
-
"funding.annualRate": string;
|
|
147
|
-
"funding.paymentType": string;
|
|
148
|
-
"funding.paymentType.paid": string;
|
|
149
|
-
"funding.paymentType.received": string;
|
|
150
|
-
"tradingLeaderboard.leaderboard": string;
|
|
151
|
-
"tradingLeaderboard.campaigns": string;
|
|
152
|
-
"tradingLeaderboard.ongoing": string;
|
|
153
|
-
"tradingLeaderboard.past": string;
|
|
154
|
-
"tradingLeaderboard.future": string;
|
|
155
|
-
"tradingLeaderboard.learnMore": string;
|
|
156
|
-
"tradingLeaderboard.tradeNow": string;
|
|
157
|
-
"tradingLeaderboard.tradingVolume": string;
|
|
158
|
-
"tradingLeaderboard.realizedPnl": string;
|
|
159
|
-
"tradingLeaderboard.rank": string;
|
|
160
|
-
"tradingLeaderboard.estimatedRewards": string;
|
|
161
|
-
"tradingLeaderboard.lastUpdate": string;
|
|
162
|
-
"tradingLeaderboard.estimatedTicketsEarned": string;
|
|
163
|
-
"tradingLeaderboard.ticketPrizePool": string;
|
|
164
|
-
"tradingLeaderboard.viewRules": string;
|
|
165
|
-
"tradingLeaderboard.prizePool": string;
|
|
166
|
-
"tradingLeaderboard.participants": string;
|
|
167
|
-
"tradingLeaderboard.battleStartsIn": string;
|
|
168
|
-
"tradingLeaderboard.battleEndsIn": string;
|
|
169
|
-
"tradingLeaderboard.battleStarts": string;
|
|
170
|
-
"tradingLeaderboard.battleEnds": string;
|
|
171
|
-
"tradingLeaderboard.rewardDistribution": string;
|
|
172
|
-
"tradingLeaderboard.batteleHasEnded": string;
|
|
173
|
-
"tradingLeaderboard.tradeForMoreTickets": string;
|
|
174
|
-
"tradingLeaderboard.earnTickets": string;
|
|
175
|
-
"tradingLeaderboard.arena": string;
|
|
176
|
-
"tradingLeaderboard.generalLeaderboard": string;
|
|
177
|
-
"tradingLeaderboard.maxTicketsAchieved": string;
|
|
178
|
-
"ui.pagination.morePages": string;
|
|
179
|
-
"ui.pagination.rowsPerPage": string;
|
|
180
|
-
"ui.picker.selectDate": string;
|
|
181
|
-
"ui.empty.description": string;
|
|
182
|
-
"affiliate.referral": string;
|
|
183
|
-
"affiliate.trader": string;
|
|
184
|
-
"affiliate.enter": string;
|
|
185
|
-
"affiliate.statistics": string;
|
|
186
|
-
"affiliate.connectWallet.tooltip": string;
|
|
187
|
-
"affiliate.page.title": string;
|
|
188
|
-
"affiliate.page.subTitle": string;
|
|
189
|
-
"affiliate.page.learnMore": string;
|
|
190
|
-
"affiliate.asAffiliate.affilates": string;
|
|
191
|
-
"affiliate.asAffiliate.title": string;
|
|
192
|
-
"affiliate.asAffiliate.description": string;
|
|
193
|
-
"affiliate.asAffiliate.button": string;
|
|
194
|
-
"affiliate.asTrader.title": string;
|
|
195
|
-
"affiliate.asTrader.description": string;
|
|
196
|
-
"affiliate.asTrader.button": string;
|
|
197
|
-
"affiliate.referralCode": string;
|
|
198
|
-
"affiliate.referralCode.dialog.title": string;
|
|
199
|
-
"affiliate.referralCode.dialog.description": string;
|
|
200
|
-
"affiliate.referralCode.label": string;
|
|
201
|
-
"affiliate.referralCode.bound": string;
|
|
202
|
-
"affiliate.referralCode.notExist": string;
|
|
203
|
-
"affiliate.process.title": string;
|
|
204
|
-
"affiliate.process.step1.title": string;
|
|
205
|
-
"affiliate.process.step1.description": string;
|
|
206
|
-
"affiliate.process.step1.volumeEq0.title": string;
|
|
207
|
-
"affiliate.process.step1.volumeEq0.description": string;
|
|
208
|
-
"affiliate.process.step1.volumeGt0.title": string;
|
|
209
|
-
"affiliate.process.step1.volumeGt0.description": string;
|
|
210
|
-
"affiliate.process.step2.title": string;
|
|
211
|
-
"affiliate.process.step2.description": string;
|
|
212
|
-
"affiliate.process.step3.title": string;
|
|
213
|
-
"affiliate.process.step3.description": string;
|
|
214
|
-
"affiliate.summary": string;
|
|
215
|
-
"affiliate.summary.refereesTraded": string;
|
|
216
|
-
"affiliate.referralLink": string;
|
|
217
|
-
"affiliate.referralLink.earn": string;
|
|
218
|
-
"affiliate.referralLink.earn.tooltip": string;
|
|
219
|
-
"affiliate.referralLink.share": string;
|
|
220
|
-
"affiliate.referralLink.share.tooltip": string;
|
|
221
|
-
"affiliate.referralVol": string;
|
|
222
|
-
"affiliate.referralCodes": string;
|
|
223
|
-
"affiliate.referralCodes.remaining": string;
|
|
224
|
-
"affiliate.referralCodes.column.you&Referee": string;
|
|
225
|
-
"affiliate.referralCodes.column.traders": string;
|
|
226
|
-
"affiliate.referralCodes.column.referees&Traders": string;
|
|
227
|
-
"affiliate.referralCodes.copyLink": string;
|
|
228
|
-
"affiliate.commission": string;
|
|
229
|
-
"affiliate.commission.30d": string;
|
|
230
|
-
"affiliate.commission.column.activeUsers": string;
|
|
231
|
-
"affiliate.myReferees": string;
|
|
232
|
-
"affiliate.referees": string;
|
|
233
|
-
"affiliate.referees.column.refereeAddress": string;
|
|
234
|
-
"affiliate.referees.column.totalCommission": string;
|
|
235
|
-
"affiliate.referees.column.totalVol": string;
|
|
236
|
-
"affiliate.referees.column.invitationTime": string;
|
|
237
|
-
"affiliate.trader.yourReferrer": string;
|
|
238
|
-
"affiliate.trader.rebate": string;
|
|
239
|
-
"affiliate.trader.rebates": string;
|
|
240
|
-
"affiliate.trader.rebate.30d": string;
|
|
241
|
-
"affiliate.trader.tradingRebates": string;
|
|
242
|
-
"affiliate.trader.myRebates": string;
|
|
243
|
-
"affiliate.trader.tradingVol": string;
|
|
244
|
-
"affiliate.referralCode.editCodeModal.title": string;
|
|
245
|
-
"affiliate.referralCode.editCodeModal.description": string;
|
|
246
|
-
"affiliate.referralCode.editCodeModal.label": string;
|
|
247
|
-
"affiliate.referralCode.editCodeModal.helpText.length": string;
|
|
248
|
-
"affiliate.referralCode.editCodeModal.helpText.format": string;
|
|
249
|
-
"affiliate.referralCode.editCodeModal.success": string;
|
|
250
|
-
"affiliate.referralRate.editRateModal.title": string;
|
|
251
|
-
"affiliate.referralRate.editRateModal.description": string;
|
|
252
|
-
"affiliate.referralRate.editRateModal.label": string;
|
|
253
|
-
"affiliate.referralRate.editRateModal.label.you": string;
|
|
254
|
-
"affiliate.referralRate.editRateModal.label.referee": string;
|
|
255
|
-
"affiliate.referralRate.editRateModal.helpText.max": string;
|
|
256
|
-
"affiliate.referralRate.editRateModal.success": string;
|
|
257
|
-
"affiliate.referralTooltip": string;
|
|
258
|
-
"transfer.network": string;
|
|
259
|
-
"transfer.lowestFee": string;
|
|
260
|
-
"transfer.web3Wallet.your": string;
|
|
261
|
-
"transfer.web3Wallet.my": string;
|
|
262
|
-
"transfer.brokerAccount": string;
|
|
263
|
-
"transfer.quantity.invalid": string;
|
|
264
|
-
"transfer.insufficientBalance": string;
|
|
265
|
-
"transfer.insufficientAllowance": string;
|
|
266
|
-
"transfer.rejectTransaction": string;
|
|
267
|
-
"transfer.deposit.approve.symbol": string;
|
|
268
|
-
"transfer.deposit.approve.success": string;
|
|
269
|
-
"transfer.deposit.approve.failed": string;
|
|
270
|
-
"transfer.deposit.increase.symbol": string;
|
|
271
|
-
"transfer.deposit.requested": string;
|
|
272
|
-
"transfer.deposit.completed": string;
|
|
273
|
-
"transfer.deposit.failed": string;
|
|
274
|
-
"transfer.deposit.destinationGasFee": string;
|
|
275
|
-
"transfer.deposit.destinationGasFee.description": string;
|
|
276
|
-
"transfer.withdraw.unsupported.chain": string;
|
|
277
|
-
"transfer.withdraw.unsupported.networkName": string;
|
|
278
|
-
"transfer.withdraw.crossChain.confirmWithdraw": string;
|
|
279
|
-
"transfer.withdraw.crossChain.recipientAddress": string;
|
|
280
|
-
"transfer.withdraw.crossChain.recipientNetwork": string;
|
|
281
|
-
"transfer.withdraw.crossChain.withdrawAmount": string;
|
|
282
|
-
"transfer.withdraw.crossChain.process": string;
|
|
283
|
-
"transfer.withdraw.crossChain.warning": string;
|
|
284
|
-
"transfer.withdraw.crossChain.vaultWarning": string;
|
|
285
|
-
"transfer.withdraw.minAmount.error": string;
|
|
286
|
-
"transfer.withdraw.requested": string;
|
|
287
|
-
"transfer.withdraw.completed": string;
|
|
288
|
-
"transfer.withdraw.failed": string;
|
|
289
|
-
"transfer.withdraw.otherAccount": string;
|
|
290
|
-
"transfer.withdraw.accountId.tips": string;
|
|
291
|
-
"transfer.withdraw.accountId.invalid": string;
|
|
292
|
-
"transfer.internalTransfer.from": string;
|
|
293
|
-
"transfer.internalTransfer.to": string;
|
|
294
|
-
"transfer.internalTransfer.currentAssetValue": string;
|
|
295
|
-
"transfer.internalTransfer.success": string;
|
|
296
|
-
"transfer.internalTransfer.unsettled.tooltip": string;
|
|
297
|
-
"transfer.internalTransfer.settlePnl.description": string;
|
|
298
|
-
"transfer.internalTransfer.error.default": string;
|
|
299
|
-
"transfer.internalTransfer.error.transferInProgress": string;
|
|
300
|
-
"transfer.internalTransfer.error.withdrawalInProgress": string;
|
|
301
|
-
"transfer.internalTransfer.error.transferToSelf": string;
|
|
302
|
-
"transfer.internalTransfer.error.accountIdNotExist": string;
|
|
303
|
-
"transfer.internalTransfer.error.transferToSubAccount": string;
|
|
304
|
-
"transfer.swapDeposit.crossSwap.notice": string;
|
|
305
|
-
"transfer.swapDeposit.swap.notice": string;
|
|
306
|
-
"transfer.swapDeposit.bridging": string;
|
|
307
|
-
"transfer.swapDeposit.bridge": string;
|
|
308
|
-
"transfer.swapDeposit.bridge.description": string;
|
|
309
|
-
"transfer.swapDeposit.depositing": string;
|
|
310
|
-
"transfer.swapDeposit.deposit": string;
|
|
311
|
-
"transfer.swapDeposit.deposit.description": string;
|
|
312
|
-
"transfer.swapDeposit.viewStatus": string;
|
|
313
|
-
"transfer.swapDeposit.depositFailed": string;
|
|
314
|
-
"transfer.slippage": string;
|
|
315
|
-
"transfer.slippage.slippageTolerance": string;
|
|
316
|
-
"transfer.slippage.slippageTolerance.description": string;
|
|
317
|
-
"transfer.swapDeposit.swapFee": string;
|
|
318
|
-
"transfer.swapDeposit.swapFee.description": string;
|
|
319
|
-
"transfer.swapDeposit.bridgeFee": string;
|
|
320
|
-
"transfer.swapDeposit.bridgeFee.description": string;
|
|
321
|
-
"transfer.swapDeposit.minimumReceived": string;
|
|
322
|
-
"transfer.swapDeposit.confirmSwap": string;
|
|
323
|
-
"transfer.swapDeposit.averageSwapTime": string;
|
|
324
|
-
"transfer.swapDeposit.swapDialog.title": string;
|
|
325
|
-
"transfer.swapDeposit.viewFAQs": string;
|
|
326
|
-
"transfer.swapDeposit.notEnoughLiquidity": string;
|
|
327
|
-
"transfer.convert.completed": string;
|
|
328
|
-
"transfer.convert.failed": string;
|
|
329
|
-
"transfer.deposit.convertRate": string;
|
|
330
|
-
"transfer.convert.convertAssets": string;
|
|
331
|
-
"transfer.deposit.collateralContribution": string;
|
|
332
|
-
"transfer.withdraw.InsufficientVaultBalance": string;
|
|
333
|
-
"transfer.LTV": string;
|
|
334
|
-
"transfer.LTV.description": string;
|
|
335
|
-
"transfer.LTV.tooltip": string;
|
|
336
|
-
"transfer.LTV.currentLTV": string;
|
|
337
|
-
"transfer.convert": string;
|
|
338
|
-
"transfer.deposit.userMaxQty.error": string;
|
|
339
|
-
"transfer.deposit.gasFee.error": string;
|
|
340
|
-
"transfer.deposit.status.pending.one": string;
|
|
341
|
-
"transfer.deposit.status.pending.multiple": string;
|
|
342
|
-
"transfer.deposit.status.completed.one": string;
|
|
343
|
-
"transfer.deposit.status.completed.multiple": string;
|
|
344
|
-
"connector.testnet": string;
|
|
345
|
-
"connector.mainnet": string;
|
|
346
|
-
"connector.disconnect": string;
|
|
347
|
-
"connector.connectWallet": string;
|
|
348
|
-
"connector.createAccount": string;
|
|
349
|
-
"connector.createAccountWithLedger": string;
|
|
350
|
-
"connector.enableTradingWithLedger": string;
|
|
351
|
-
"connector.disconnectWallet": string;
|
|
352
|
-
"connector.createAccount.description": string;
|
|
353
|
-
"connector.enableTrading": string;
|
|
354
|
-
"connector.enableTrading.description": string;
|
|
355
|
-
"connector.switchNetwork": string;
|
|
356
|
-
"connector.wrongNetwork": string;
|
|
357
|
-
"connector.wrongNetwork.tooltip": string;
|
|
358
|
-
"connector.expired": string;
|
|
359
|
-
"connector.rememberMe": string;
|
|
360
|
-
"connector.rememberMe.description": string;
|
|
361
|
-
"connector.referralCode.placeholder": string;
|
|
362
|
-
"connector.referralCode.invalid": string;
|
|
363
|
-
"connector.referralCode.notExist": string;
|
|
364
|
-
"connector.somethingWentWrong": string;
|
|
365
|
-
"connector.userRejected": string;
|
|
366
|
-
"connector.walletConnected": string;
|
|
367
|
-
"connector.networkSwitched": string;
|
|
368
|
-
"connector.switchChain.failed": string;
|
|
369
|
-
"connector.trade.connectWallet.tooltip": string;
|
|
370
|
-
"connector.trade.createAccount.tooltip": string;
|
|
371
|
-
"connector.trade.enableTrading.tooltip": string;
|
|
372
|
-
"connector.setUp.connectWallet.tooltip": string;
|
|
373
|
-
"connector.setUp.createAccount.tooltip": string;
|
|
374
|
-
"connector.setUp.enableTrading.tooltip": string;
|
|
375
|
-
"connector.ledger.signMessageFailed": string;
|
|
376
|
-
"connector.ledger.signMessageFailed.description": string;
|
|
377
|
-
"connector.privy.loginIn": string;
|
|
378
|
-
"connector.privy.logout": string;
|
|
379
|
-
"connector.privy.email": string;
|
|
380
|
-
"connector.privy.google": string;
|
|
381
|
-
"connector.privy.twitter": string;
|
|
382
|
-
"connector.privy.myWallet": string;
|
|
383
|
-
"connector.privy.addEvmWallet": string;
|
|
384
|
-
"connector.privy.addSolanaWallet": string;
|
|
385
|
-
"connector.privy.addAbstractWallet": string;
|
|
386
|
-
"connector.privy.createEvmWallet": string;
|
|
387
|
-
"connector.privy.createSolanaWallet": string;
|
|
388
|
-
"connector.privy.termsOfUse": string;
|
|
389
|
-
"connector.privy.supportedEvmChain": string;
|
|
390
|
-
"connector.privy.supportedSolanaChain": string;
|
|
391
|
-
"connector.privy.noWallet": string;
|
|
392
|
-
"connector.privy.noWallet.description": string;
|
|
393
|
-
"connector.privy.switchNetwork.tips": string;
|
|
394
|
-
"connector.privy.addEvmWallet.tips": string;
|
|
395
|
-
"connector.privy.addSolanaWallet.tips": string;
|
|
396
|
-
"connector.privy.addAbstractWallet.tips": string;
|
|
397
|
-
"connector.privy.pwa.title": string;
|
|
398
|
-
"connector.privy.pwa.sheetTitle": string;
|
|
399
|
-
"connector.privy.pwa.description": string;
|
|
400
|
-
"connector.privy.pwa.step1": string;
|
|
401
|
-
"connector.privy.pwa.step2": string;
|
|
402
|
-
"connector.privy.pwa.findOnPage": string;
|
|
403
|
-
"connector.privy.pwa.addToHomeScreen": string;
|
|
404
|
-
"tradingView.timeInterval.1m": string;
|
|
405
|
-
"tradingView.timeInterval.3m": string;
|
|
406
|
-
"tradingView.timeInterval.5m": string;
|
|
407
|
-
"tradingView.timeInterval.15m": string;
|
|
408
|
-
"tradingView.timeInterval.30m": string;
|
|
409
|
-
"tradingView.timeInterval.1h": string;
|
|
410
|
-
"tradingView.timeInterval.2h": string;
|
|
411
|
-
"tradingView.timeInterval.4h": string;
|
|
412
|
-
"tradingView.timeInterval.6h": string;
|
|
413
|
-
"tradingView.timeInterval.12h": string;
|
|
414
|
-
"tradingView.timeInterval.1d": string;
|
|
415
|
-
"tradingView.timeInterval.3d": string;
|
|
416
|
-
"tradingView.timeInterval.1w": string;
|
|
417
|
-
"tradingView.timeInterval.1M": string;
|
|
418
|
-
"tradingView.timeInterval.more": string;
|
|
419
|
-
"tradingView.lineType.bars": string;
|
|
420
|
-
"tradingView.lineType.candles": string;
|
|
421
|
-
"tradingView.lineType.hollowCandles": string;
|
|
422
|
-
"tradingView.lineType.line": string;
|
|
423
|
-
"tradingView.lineType.area": string;
|
|
424
|
-
"tradingView.lineType.baseline": string;
|
|
425
|
-
"tradingView.displayControl.buySell": string;
|
|
426
|
-
"tradingView.displayControl.limitOrders": string;
|
|
427
|
-
"tradingView.displayControl.stopOrders": string;
|
|
428
|
-
"tradingView.noScriptSrc": string;
|
|
429
|
-
"tradingView.noScriptSrc.1": string;
|
|
430
|
-
"tradingView.noScriptSrc.2": string;
|
|
431
|
-
"tradingRewards.rewards": string;
|
|
432
|
-
"tradingRewards.subtitle": string;
|
|
433
|
-
"tradingRewards.subtitle.mm": string;
|
|
434
|
-
"tradingRewards.learnMore": string;
|
|
435
|
-
"tradingRewards.myEstRewards": string;
|
|
436
|
-
"tradingRewards.epoch": string;
|
|
437
|
-
"tradingRewards.epochRewards": string;
|
|
438
|
-
"tradingRewards.otherOrderlyDex": string;
|
|
439
|
-
"tradingRewards.claim": string;
|
|
440
|
-
"tradingRewards.availableClaim": string;
|
|
441
|
-
"tradingRewards.stake": string;
|
|
442
|
-
"tradingRewards.booster": string;
|
|
443
|
-
"tradingRewards.stakeBooster": string;
|
|
444
|
-
"tradingRewards.avgStakedAmount": string;
|
|
445
|
-
"tradingRewards.rewardHistory": string;
|
|
446
|
-
"tradingRewards.rewardsEarned": string;
|
|
447
|
-
"tradingRewards.rewardHistory.column.start&EndDate": string;
|
|
448
|
-
"tradingRewards.rewardHistory.column.startDate": string;
|
|
449
|
-
"tradingRewards.rewardHistory.column.endDate": string;
|
|
450
|
-
"tradingRewards.epochPauseCountdown.title": string;
|
|
451
|
-
"tradingRewards.eopchStatus.pause": string;
|
|
452
|
-
"tradingRewards.eopchStatus.ended": string;
|
|
453
|
-
"tradingRewards.eopchStatus.linkDescription": string;
|
|
454
|
-
"scaffold.footer.operational": string;
|
|
455
|
-
"scaffold.footer.joinCommunity": string;
|
|
456
|
-
"scaffold.footer.poweredBy": string;
|
|
457
|
-
"leverage.maxAccountLeverage": string;
|
|
458
|
-
"leverage.accountLeverage": string;
|
|
459
|
-
"leverage.currentLeverage": string;
|
|
460
|
-
"leverage.maxLeverage": string;
|
|
461
|
-
"leverage.updated": string;
|
|
462
|
-
"orderEntry.buyLong": string;
|
|
463
|
-
"orderEntry.sellShort": string;
|
|
464
|
-
"orderEntry.reduceOnly": string;
|
|
465
|
-
"orderEntry.orderType.limit": string;
|
|
466
|
-
"orderEntry.orderType.market": string;
|
|
467
|
-
"orderEntry.orderType.limitOrder": string;
|
|
468
|
-
"orderEntry.orderType.marketOrder": string;
|
|
469
|
-
"orderEntry.orderType.stopLimit": string;
|
|
470
|
-
"orderEntry.orderType.stopMarket": string;
|
|
471
|
-
"orderEntry.orderType.postOnly": string;
|
|
472
|
-
"orderEntry.orderType.ioc": string;
|
|
473
|
-
"orderEntry.orderType.fok": string;
|
|
474
|
-
"orderEntry.orderType.scaledOrder": string;
|
|
475
|
-
"orderEntry.upperPrice": string;
|
|
476
|
-
"orderEntry.lowerPrice": string;
|
|
477
|
-
"orderEntry.skew": string;
|
|
478
|
-
"orderEntry.totalOrders": string;
|
|
479
|
-
"orderEntry.totalQuantity": string;
|
|
480
|
-
"orderEntry.quantityDistribution": string;
|
|
481
|
-
"orderEntry.quantityDistribution.description": string;
|
|
482
|
-
"orderEntry.quantityDistribution.formula": string;
|
|
483
|
-
"orderEntry.distributionType.flat": string;
|
|
484
|
-
"orderEntry.distributionType.ascending": string;
|
|
485
|
-
"orderEntry.distributionType.ascending.abbr": string;
|
|
486
|
-
"orderEntry.distributionType.descending": string;
|
|
487
|
-
"orderEntry.distributionType.descending.abbr": string;
|
|
488
|
-
"orderEntry.distributionType.custom": string;
|
|
489
|
-
"orderEntry.distributionType.flat.description": string;
|
|
490
|
-
"orderEntry.distributionType.ascending.description": string;
|
|
491
|
-
"orderEntry.distributionType.descending.description": string;
|
|
492
|
-
"orderEntry.bbo": string;
|
|
493
|
-
"orderEntry.bbo.counterparty1": string;
|
|
494
|
-
"orderEntry.bbo.counterparty5": string;
|
|
495
|
-
"orderEntry.bbo.queue1": string;
|
|
496
|
-
"orderEntry.bbo.queue5": string;
|
|
497
|
-
"orderEntry.bbo.disabled.tips": string;
|
|
498
|
-
"orderEntry.estLiqPrice": string;
|
|
499
|
-
"orderEntry.disableOrderConfirm": string;
|
|
500
|
-
"orderEntry.orderConfirm": string;
|
|
501
|
-
"orderEntry.confirmScaledOrder": string;
|
|
502
|
-
"orderEntry.hidden": string;
|
|
503
|
-
"orderEntry.keepVisible": string;
|
|
504
|
-
"orderEntry.maxBuy": string;
|
|
505
|
-
"orderEntry.maxSell": string;
|
|
506
|
-
"orderEntry.tpMarkPrice": string;
|
|
507
|
-
"orderEntry.slMarkPrice": string;
|
|
508
|
-
"orderEntry.tpsl.trigger.description": string;
|
|
509
|
-
"orderEntry.estRoi": string;
|
|
510
|
-
"orderEntry.estPnL": string;
|
|
511
|
-
"orderEntry.tpsl.tips": string;
|
|
512
|
-
"orderEntry.orderQuantity.error.required": string;
|
|
513
|
-
"orderEntry.orderQuantity.error.min": string;
|
|
514
|
-
"orderEntry.orderQuantity.error.max": string;
|
|
515
|
-
"orderEntry.orderPrice.error.required": string;
|
|
516
|
-
"orderEntry.orderPrice.error.min": string;
|
|
517
|
-
"orderEntry.orderPrice.error.max": string;
|
|
518
|
-
"orderEntry.triggerPrice.error.required": string;
|
|
519
|
-
"orderEntry.triggerPrice.error.min": string;
|
|
520
|
-
"orderEntry.triggerPrice.error.max": string;
|
|
521
|
-
"orderEntry.tpTriggerPrice.error.min": string;
|
|
522
|
-
"orderEntry.tpTriggerPrice.error.max": string;
|
|
523
|
-
"orderEntry.slTriggerPrice.error.min": string;
|
|
524
|
-
"orderEntry.slTriggerPrice.error.max": string;
|
|
525
|
-
"orderEntry.total.error.min": string;
|
|
526
|
-
"orderEntry.upperPrice.error.required": string;
|
|
527
|
-
"orderEntry.upperPrice.error.min": string;
|
|
528
|
-
"orderEntry.upperPrice.error.max": string;
|
|
529
|
-
"orderEntry.lowerPrice.error.required": string;
|
|
530
|
-
"orderEntry.lowerPrice.error.min": string;
|
|
531
|
-
"orderEntry.lowerPrice.error.max": string;
|
|
532
|
-
"orderEntry.totalOrders.error.required": string;
|
|
533
|
-
"orderEntry.totalOrders.error.range": string;
|
|
534
|
-
"orderEntry.skew.error.required": string;
|
|
535
|
-
"orderEntry.skew.error.min": string;
|
|
536
|
-
"orderEntry.skew.error.max": string;
|
|
537
|
-
"orderEntry.slippage": string;
|
|
538
|
-
"orderEntry.slippage.est": string;
|
|
539
|
-
"orderEntry.slippage.tips": string;
|
|
540
|
-
"orderEntry.slippage.error.exceed": string;
|
|
541
|
-
"orderEntry.slippage.error.max": string;
|
|
542
|
-
"orderEntry.confirmScaledOrder.orderPrice.warning": string;
|
|
543
|
-
"orderEntry.scaledOrder.fullySuccessful": string;
|
|
544
|
-
"orderEntry.scaledOrder.partiallySuccessful": string;
|
|
545
|
-
"orderEntry.scaledOrder.allFailed": string;
|
|
546
|
-
"share.pnl.sharePnl": string;
|
|
547
|
-
"share.pnl.share.long": string;
|
|
548
|
-
"share.pnl.share.short": string;
|
|
549
|
-
"share.pnl.displayFormat": string;
|
|
550
|
-
"share.pnl.displayFormat.roi&Pnl": string;
|
|
551
|
-
"share.pnl.displayFormat.roi": string;
|
|
552
|
-
"share.pnl.displayFormat.pnl": string;
|
|
553
|
-
"share.pnl.optionalInfo": string;
|
|
554
|
-
"share.pnl.optionalInfo.openPrice": string;
|
|
555
|
-
"share.pnl.optionalInfo.closePrice": string;
|
|
556
|
-
"share.pnl.optionalInfo.openTime": string;
|
|
557
|
-
"share.pnl.optionalInfo.closeTime": string;
|
|
558
|
-
"share.pnl.optionalInfo.message": string;
|
|
559
|
-
"share.pnl.optionalInfo.message.placeholder": string;
|
|
560
|
-
"share.pnl.optionalInfo.message.maxLength": string;
|
|
561
|
-
"share.pnl.image.copied": string;
|
|
562
|
-
"share.pnl.copy.failed.description": string;
|
|
563
|
-
"tpsl.tp": string;
|
|
564
|
-
"tpsl.sl": string;
|
|
565
|
-
"tpsl.tpPrice": string;
|
|
566
|
-
"tpsl.slPrice": string;
|
|
567
|
-
"tpsl.tpPnl": string;
|
|
568
|
-
"tpsl.slPnl": string;
|
|
569
|
-
"tpsl.tpTrigger": string;
|
|
570
|
-
"tpsl.slTrigger": string;
|
|
571
|
-
"tpsl.pnl": string;
|
|
572
|
-
"tpsl.offset": string;
|
|
573
|
-
"tpsl.positionTpsl": string;
|
|
574
|
-
"tpsl.entirePosition": string;
|
|
575
|
-
"tpsl.estPnl": string;
|
|
576
|
-
"tpsl.takeProfit": string;
|
|
577
|
-
"tpsl.stopLoss": string;
|
|
578
|
-
"tpsl.cancelOrder.description": string;
|
|
579
|
-
"tpsl.confirmOrder": string;
|
|
580
|
-
"orders.orderHistory": string;
|
|
581
|
-
"orders.status.pending": string;
|
|
582
|
-
"orders.status.filled": string;
|
|
583
|
-
"orders.status.partialFilled": string;
|
|
584
|
-
"orders.status.canceled": string;
|
|
585
|
-
"orders.status.rejected": string;
|
|
586
|
-
"orders.status.incomplete": string;
|
|
587
|
-
"orders.status.completed": string;
|
|
588
|
-
"orders.status.opened.toast.title": string;
|
|
589
|
-
"orders.status.filled.toast.title": string;
|
|
590
|
-
"orders.status.canceled.toast.title": string;
|
|
591
|
-
"orders.status.rejected.toast.title": string;
|
|
592
|
-
"orders.status.replaced.toast.title": string;
|
|
593
|
-
"orders.status.scaledSubOrderOpened.toast.title": string;
|
|
594
|
-
"orders.column.fill&Quantity": string;
|
|
595
|
-
"orders.column.triggerPrice": string;
|
|
596
|
-
"orders.column.orderTime": string;
|
|
597
|
-
"orders.column.hidden": string;
|
|
598
|
-
"orders.editOrder": string;
|
|
599
|
-
"order.edit.confirm.quantity": string;
|
|
600
|
-
"order.edit.confirm.price": string;
|
|
601
|
-
"order.edit.confirm.triggerPrice": string;
|
|
602
|
-
"orders.cancelOrder": string;
|
|
603
|
-
"orders.cancelOrder.description": string;
|
|
604
|
-
"orders.cancelAll": string;
|
|
605
|
-
"orders.pending.cancelAll": string;
|
|
606
|
-
"orders.pending.cancelAll.description": string;
|
|
607
|
-
"orders.tpsl.cancelAll": string;
|
|
608
|
-
"orders.tpsl.cancelAll.description": string;
|
|
609
|
-
"orders.price.greaterThan": string;
|
|
610
|
-
"orders.price.lessThan": string;
|
|
611
|
-
"orders.quantity.lessThan": string;
|
|
612
|
-
"orders.quantity.lessThanPosition": string;
|
|
613
|
-
"orders.history.renew": string;
|
|
614
|
-
"orders.download.tooltip": string;
|
|
615
|
-
"positions.positionHistory": string;
|
|
616
|
-
"positions.liquidation": string;
|
|
617
|
-
"positions.closePosition": string;
|
|
618
|
-
"positions.column.liqPrice": string;
|
|
619
|
-
"positions.column.liqPrice.tooltip": string;
|
|
620
|
-
"positions.column.unrealPnl.tooltip": string;
|
|
621
|
-
"positions.column.unrealPnl.priceBasis": string;
|
|
622
|
-
"positions.column.margin": string;
|
|
623
|
-
"positions.column.margin.tooltip": string;
|
|
624
|
-
"positions.column.margin.formula": string;
|
|
625
|
-
"positions.column.close": string;
|
|
626
|
-
"positions.limitClose": string;
|
|
627
|
-
"positions.limitClose.description": string;
|
|
628
|
-
"positions.marketClose": string;
|
|
629
|
-
"positions.marketClose.description": string;
|
|
630
|
-
"positions.limitClose.errors.exceed.title": string;
|
|
631
|
-
"positions.limitClose.errors.exceed.description": string;
|
|
632
|
-
"positions.history.status.closed": string;
|
|
633
|
-
"positions.history.status.partialClosed": string;
|
|
634
|
-
"positions.history.type.adl": string;
|
|
635
|
-
"positions.history.type.liquidated": string;
|
|
636
|
-
"positions.history.liquidated.liquidationId": string;
|
|
637
|
-
"positions.history.liquidated.liquidatorFee": string;
|
|
638
|
-
"positions.history.liquidated.insFundFee": string;
|
|
639
|
-
"positions.history.column.closed": string;
|
|
640
|
-
"positions.history.column.maxClosed": string;
|
|
641
|
-
"positions.history.column.closed&maxClosed": string;
|
|
642
|
-
"positions.history.column.netPnl": string;
|
|
643
|
-
"positions.history.column.timeOpened": string;
|
|
644
|
-
"positions.history.column.timeClosed": string;
|
|
645
|
-
"positions.history.column.updatedTime": string;
|
|
646
|
-
"positions.history.netPnl.tradingFee": string;
|
|
647
|
-
"positions.Liquidation.column.liquidationId": string;
|
|
648
|
-
"positions.Liquidation.column.insFundTransfer": string;
|
|
649
|
-
"positions.Liquidation.column.liquidationFee": string;
|
|
650
|
-
"chart.now": string;
|
|
651
|
-
"trading.layout": string;
|
|
652
|
-
"trading.layout.right": string;
|
|
653
|
-
"trading.layout.left": string;
|
|
654
|
-
"trading.orders.closeAll": string;
|
|
655
|
-
"trading.hideOtherSymbols": string;
|
|
656
|
-
"trading.history": string;
|
|
657
|
-
"trading.portfolioSettings": string;
|
|
658
|
-
"trading.portfolioSettings.decimalPrecision": string;
|
|
659
|
-
"trading.portfolioSettings.unrealPnlPriceBasis": string;
|
|
660
|
-
"trading.orderBook": string;
|
|
661
|
-
"trading.lastTrades": string;
|
|
662
|
-
"trading.orderBook.column.value": string;
|
|
663
|
-
"trading.tabs.chart": string;
|
|
664
|
-
"trading.tabs.trades": string;
|
|
665
|
-
"trading.tabs.data": string;
|
|
666
|
-
"trading.column.24High": string;
|
|
667
|
-
"trading.column.24Low": string;
|
|
668
|
-
"trading.orderBook.sum": string;
|
|
669
|
-
"trading.orderBook.markPrice.tooltip": string;
|
|
670
|
-
"trading.orderBook.spreadRatio.tooltip": string;
|
|
671
|
-
"trading.faucet.getTestUSDC": string;
|
|
672
|
-
"trading.faucet.getTestUSDC.success": string;
|
|
673
|
-
"trading.asset.startTrading": string;
|
|
674
|
-
"trading.asset.startTrading.description": string;
|
|
675
|
-
"trading.asset.myAssets": string;
|
|
676
|
-
"trading.asset.freeCollateral": string;
|
|
677
|
-
"trading.asset.freeCollateral.tooltip": string;
|
|
678
|
-
"trading.asset.freeCollateral.formula": string;
|
|
679
|
-
"trading.asset.marginRatio": string;
|
|
680
|
-
"trading.asset.marginRatio.tooltip": string;
|
|
681
|
-
"trading.asset.marginRatio.formula": string;
|
|
682
|
-
"trading.asset.unsettledPnl": string;
|
|
683
|
-
"trading.asset.free&TotalCollateral": string;
|
|
684
|
-
"trading.asset.availableBalance": string;
|
|
685
|
-
"trading.asset.maintenanceMarginRatio": string;
|
|
686
|
-
"trading.asset.maintenanceMarginRatio.tooltip": string;
|
|
687
|
-
"trading.asset.maintenanceMarginRatio.formula": string;
|
|
688
|
-
"trading.riskRate": string;
|
|
689
|
-
"trading.riskRate.tooltip": string;
|
|
690
|
-
"trading.riskRate.formula": string;
|
|
691
|
-
"trading.asset&Margin": string;
|
|
692
|
-
"trading.fundingRate.predFundingRate": string;
|
|
693
|
-
"trading.fundingRate.predFundingRate.interval": string;
|
|
694
|
-
"trading.fundingRate.predFundingRate.cap": string;
|
|
695
|
-
"trading.fundingRate.predFundingRate.floor": string;
|
|
696
|
-
"portfolio.feeTier": string;
|
|
697
|
-
"portfolio.apiKeys": string;
|
|
698
|
-
"portfolio.setting": string;
|
|
699
|
-
"portfolio.overview.availableWithdraw": string;
|
|
700
|
-
"portfolio.overview.performance": string;
|
|
701
|
-
"portfolio.overview.performance.roi": string;
|
|
702
|
-
"portfolio.overview.performance.pnl": string;
|
|
703
|
-
"portfolio.overview.performance.volume": string;
|
|
704
|
-
"portfolio.overview.performance.dailyPnl": string;
|
|
705
|
-
"portfolio.overview.performance.cumulativePnl": string;
|
|
706
|
-
"portfolio.overview.distribution": string;
|
|
707
|
-
"portfolio.overview.transferHistory": string;
|
|
708
|
-
"portfolio.overview.column.txId": string;
|
|
709
|
-
"portfolio.overview.column.token": string;
|
|
710
|
-
"portfolio.overview.column.qty": string;
|
|
711
|
-
"portfolio.overview.column.indexPrice": string;
|
|
712
|
-
"portfolio.overview.column.assetValue": string;
|
|
713
|
-
"portfolio.overview.column.collateralRatio": string;
|
|
714
|
-
"portfolio.overview.column.collateralRatio.explain": string;
|
|
715
|
-
"portfolio.overview.column.assetContribution": string;
|
|
716
|
-
"portfolio.overview.column.form": string;
|
|
717
|
-
"portfolio.overview.column.to": string;
|
|
718
|
-
"portfolio.overview.column.convert.convertedAsset": string;
|
|
719
|
-
"portfolio.overview.column.convert.usdcAmount": string;
|
|
720
|
-
"portfolio.overview.column.convert.convertId": string;
|
|
721
|
-
"portfolio.overview.column.convert.details": string;
|
|
722
|
-
"portfolio.overview.tab.convert.history": string;
|
|
723
|
-
"portfolio.overview.convert.dialog.title.details": string;
|
|
724
|
-
"portfolio.overview.distribution.type.referralCommission": string;
|
|
725
|
-
"portfolio.overview.distribution.type.refereeRebate": string;
|
|
726
|
-
"portfolio.overview.distribution.type.brokerFee": string;
|
|
727
|
-
"portfolio.feeTier.updatedDailyBy": string;
|
|
728
|
-
"portfolio.feeTier.header.yourTier": string;
|
|
729
|
-
"portfolio.feeTier.header.30dVolume": string;
|
|
730
|
-
"portfolio.feeTier.header.takerFeeRate": string;
|
|
731
|
-
"portfolio.feeTier.header.makerFeeRate": string;
|
|
732
|
-
"portfolio.feeTier.column.tier": string;
|
|
733
|
-
"portfolio.feeTier.column.30dVolume": string;
|
|
734
|
-
"portfolio.feeTier.column.30dVolume.above": string;
|
|
735
|
-
"portfolio.feeTier.column.maker": string;
|
|
736
|
-
"portfolio.feeTier.column.taker": string;
|
|
737
|
-
"portfolio.apiKey.accountId.copied": string;
|
|
738
|
-
"portfolio.apiKey.uid": string;
|
|
739
|
-
"portfolio.apiKey.secretKey": string;
|
|
740
|
-
"portfolio.apiKey.secretKey.copied": string;
|
|
741
|
-
"portfolio.apiKey.ip": string;
|
|
742
|
-
"portfolio.apiKey.permissions": string;
|
|
743
|
-
"portfolio.apiKey.permissions.read": string;
|
|
744
|
-
"portfolio.apiKey.permissions.trading": string;
|
|
745
|
-
"portfolio.apiKey.permissions.asset": string;
|
|
746
|
-
"portfolio.apiKey.description": string;
|
|
747
|
-
"portfolio.apiKey.readApiGuide": string;
|
|
748
|
-
"portfolio.apiKey.column.apiKey": string;
|
|
749
|
-
"portfolio.apiKey.column.apiKey.copy": string;
|
|
750
|
-
"portfolio.apiKey.column.permissionType": string;
|
|
751
|
-
"portfolio.apiKey.column.restrictedIP": string;
|
|
752
|
-
"portfolio.apiKey.column.restrictedIP.copy": string;
|
|
753
|
-
"portfolio.apiKey.column.expirationDate": string;
|
|
754
|
-
"portfolio.apiKey.create.dialog.title": string;
|
|
755
|
-
"portfolio.apiKey.create.connectWallet.tooltip": string;
|
|
756
|
-
"portfolio.apiKey.create.createAccount.tooltip": string;
|
|
757
|
-
"portfolio.apiKey.create.enableTrading.tooltip": string;
|
|
758
|
-
"portfolio.apiKey.create.wrongNetwork.tooltip": string;
|
|
759
|
-
"portfolio.apiKey.create.ipRestriction": string;
|
|
760
|
-
"portfolio.apiKey.create.ipRestriction.placeholder": string;
|
|
761
|
-
"portfolio.apiKey.created.warning": string;
|
|
762
|
-
"portfolio.apiKey.created.button.copyApiInfo": string;
|
|
763
|
-
"portfolio.apiKey.apiInfo.copied": string;
|
|
764
|
-
"portfolio.apiKey.created": string;
|
|
765
|
-
"portfolio.apiKey.deleted": string;
|
|
766
|
-
"portfolio.apiKey.updated": string;
|
|
767
|
-
"portfolio.apiKey.edit.dialog.title": string;
|
|
768
|
-
"portfolio.apiKey.delete.dialog.title": string;
|
|
769
|
-
"portfolio.apiKey.delete.dialog.description": string;
|
|
770
|
-
"portfolio.setting.systemUpgrade": string;
|
|
771
|
-
"portfolio.setting.cancelOpenOrders": string;
|
|
772
|
-
"portfolio.setting.cancelOpenOrders.description": string;
|
|
773
|
-
"markets.favorites": string;
|
|
774
|
-
"markets.recent": string;
|
|
775
|
-
"markets.newListings": string;
|
|
776
|
-
"markets.allMarkets": string;
|
|
777
|
-
"markets.openInterest": string;
|
|
778
|
-
"markets.openInterest.tooltip": string;
|
|
779
|
-
"markets.topGainers": string;
|
|
780
|
-
"markets.topLosers": string;
|
|
781
|
-
"markets.search.placeholder": string;
|
|
782
|
-
"markets.dataList.favorites.empty": string;
|
|
783
|
-
"markets.dataList.column.8hFunding": string;
|
|
784
|
-
"markets.dataList.column.moveTop": string;
|
|
785
|
-
"markets.favorites.dropdown.title": string;
|
|
786
|
-
"markets.favorites.dropdown.addPlaceholder": string;
|
|
787
|
-
"markets.favorites.tabs.maxList": string;
|
|
788
|
-
"markets.favorites.tabs.maxName": string;
|
|
789
|
-
"markets.favorites.tabs.delete.dialog.title": string;
|
|
790
|
-
"markets.favorites.tabs.delete.dialog.description": string;
|
|
791
|
-
"markets.favorites.addFavorites": string;
|
|
792
|
-
"markets.column.market": string;
|
|
793
|
-
"markets.column.24hChange": string;
|
|
794
|
-
"markets.column.24hVolume": string;
|
|
795
|
-
"markets.column.market&Volume": string;
|
|
796
|
-
"markets.column.price&Change": string;
|
|
797
|
-
"markets.column.last": string;
|
|
798
|
-
"markets.column.24hPercentage": string;
|
|
799
|
-
"markets.funding.comparison": string;
|
|
800
|
-
"markets.funding.column.estFunding": string;
|
|
801
|
-
"markets.funding.column.lastFunding": string;
|
|
802
|
-
"markets.funding.column.1dAvg": string;
|
|
803
|
-
"markets.funding.column.3dAvg": string;
|
|
804
|
-
"markets.funding.column.7dAvg": string;
|
|
805
|
-
"markets.funding.column.14dAvg": string;
|
|
806
|
-
"markets.funding.column.30dAvg": string;
|
|
807
|
-
"markets.funding.column.90dAvg": string;
|
|
808
|
-
"markets.funding.column.positiveRate": string;
|
|
809
|
-
"markets.symbolInfoBar.Mark": string;
|
|
810
|
-
"markets.symbolInfoBar.Mark.tooltip": string;
|
|
811
|
-
"markets.symbolInfoBar.Index": string;
|
|
812
|
-
"markets.symbolInfoBar.Index.tooltip": string;
|
|
813
|
-
"markets.symbolInfoBar.24hVolume": string;
|
|
814
|
-
"markets.symbolInfoBar.24hVolume.tooltip": string;
|
|
815
|
-
"markets.symbolInfoBar.predFundingRate": string;
|
|
816
|
-
"markets.symbolInfoBar.predFundingRate.tooltip": string;
|
|
817
|
-
"common.cancel": string;
|
|
818
|
-
"common.confirm": string;
|
|
819
|
-
"common.ok": string;
|
|
820
|
-
"common.yes": string;
|
|
821
|
-
"common.no": string;
|
|
822
|
-
"common.all": string;
|
|
823
|
-
"common.buy": string;
|
|
824
|
-
"common.sell": string;
|
|
825
|
-
"common.long": string;
|
|
826
|
-
"common.short": string;
|
|
827
|
-
"common.edit": string;
|
|
828
|
-
"common.save": string;
|
|
829
|
-
"common.add": string;
|
|
830
|
-
"common.delete": string;
|
|
831
|
-
"common.tips": string;
|
|
832
|
-
"common.max": string;
|
|
833
|
-
"common.download": string;
|
|
834
|
-
"common.copy": string;
|
|
835
|
-
"common.copy.failed": string;
|
|
836
|
-
"common.copy.copied": string;
|
|
837
|
-
"common.share": string;
|
|
838
|
-
"common.export": string;
|
|
839
|
-
"common.select.1d": string;
|
|
840
|
-
"common.select.3d": string;
|
|
841
|
-
"common.select.7d": string;
|
|
842
|
-
"common.select.14d": string;
|
|
843
|
-
"common.select.30d": string;
|
|
844
|
-
"common.select.90d": string;
|
|
845
|
-
"common.price": string;
|
|
846
|
-
"common.quantity": string;
|
|
847
|
-
"common.qty": string;
|
|
848
|
-
"common.status": string;
|
|
849
|
-
"common.status.all": string;
|
|
850
|
-
"common.date": string;
|
|
851
|
-
"common.time": string;
|
|
852
|
-
"common.volume": string;
|
|
853
|
-
"common.total": string;
|
|
854
|
-
"common.symbol": string;
|
|
855
|
-
"common.token": string;
|
|
856
|
-
"common.amount": string;
|
|
857
|
-
"common.side": string;
|
|
858
|
-
"common.side.all": string;
|
|
859
|
-
"common.type": string;
|
|
860
|
-
"common.notional": string;
|
|
861
|
-
"common.fee": string;
|
|
862
|
-
"common.fees": string;
|
|
863
|
-
"common.orderPrice": string;
|
|
864
|
-
"common.avgPrice": string;
|
|
865
|
-
"common.avgOpen": string;
|
|
866
|
-
"common.avgClose": string;
|
|
867
|
-
"common.trigger": string;
|
|
868
|
-
"common.lastPrice": string;
|
|
869
|
-
"common.indexPrice": string;
|
|
870
|
-
"common.markPrice": string;
|
|
871
|
-
"common.limitPrice": string;
|
|
872
|
-
"common.marketPrice": string;
|
|
873
|
-
"common.unrealizedPnl": string;
|
|
874
|
-
"common.realizedPnl": string;
|
|
875
|
-
"common.totalValue": string;
|
|
876
|
-
"common.address": string;
|
|
877
|
-
"common.address.search.placeholder": string;
|
|
878
|
-
"common.available": string;
|
|
879
|
-
"common.overview": string;
|
|
880
|
-
"common.funding": string;
|
|
881
|
-
"common.assets": string;
|
|
882
|
-
"common.countdown": string;
|
|
883
|
-
"common.current": string;
|
|
884
|
-
"common.account": string;
|
|
885
|
-
"common.deposit": string;
|
|
886
|
-
"common.withdraw": string;
|
|
887
|
-
"common.deposits": string;
|
|
888
|
-
"common.withdrawals": string;
|
|
889
|
-
"common.transfer": string;
|
|
890
|
-
"common.settle": string;
|
|
891
|
-
"common.markets": string;
|
|
892
|
-
"common.portfolio": string;
|
|
893
|
-
"common.positions": string;
|
|
894
|
-
"common.position": string;
|
|
895
|
-
"common.orders": string;
|
|
896
|
-
"common.tpsl": string;
|
|
897
|
-
"common.leverage": string;
|
|
898
|
-
"common.affiliate": string;
|
|
899
|
-
"common.tradingRewards": string;
|
|
900
|
-
"common.trading": string;
|
|
901
|
-
"common.allAccount": string;
|
|
902
|
-
"common.mainAccount": string;
|
|
903
|
-
"common.subAccount": string;
|
|
904
|
-
"common.settings": string;
|
|
905
|
-
"common.accountId": string;
|
|
906
|
-
"common.web3Wallet": string;
|
|
907
|
-
"common.txId": string;
|
|
908
|
-
"common.result": string;
|
|
909
|
-
};
|
|
910
|
-
|
|
911
|
-
type LocaleCode = keyof typeof LocaleEnum | (string & {});
|
|
912
|
-
type ExtendLocaleMessages = Record<`extend.${string}`, string>;
|
|
913
|
-
type LocaleMessages = typeof en & ExtendLocaleMessages;
|
|
914
|
-
type Resources<T extends {} = {}> = {
|
|
915
|
-
[key in LocaleCode]?: Partial<LocaleMessages & T>;
|
|
916
|
-
};
|
|
917
|
-
declare module "i18next" {
|
|
918
|
-
interface CustomTypeOptions {
|
|
919
|
-
resources: {
|
|
920
|
-
[defaultNS]: LocaleMessages;
|
|
921
|
-
};
|
|
922
|
-
}
|
|
923
|
-
}
|
|
11
|
+
export { generatePath, getLocalePathFromPathname, parseI18nLang, removeLangPrefix } from './utils.mjs';
|
|
924
12
|
|
|
925
13
|
declare const i18n: i18next.i18n;
|
|
926
14
|
|
|
@@ -929,7 +17,7 @@ type BackendOptions = {
|
|
|
929
17
|
};
|
|
930
18
|
|
|
931
19
|
type I18nProviderProps = Partial<I18nextProviderProps>;
|
|
932
|
-
declare const I18nProvider: FC<I18nProviderProps>;
|
|
20
|
+
declare const I18nProvider: React.FC<I18nProviderProps>;
|
|
933
21
|
type LocaleProviderProps = {
|
|
934
22
|
children: ReactNode;
|
|
935
23
|
locale?: LocaleCode;
|
|
@@ -947,53 +35,10 @@ type LocaleProviderProps = {
|
|
|
947
35
|
convertDetectedLanguage?: (lang: string) => LocaleCode;
|
|
948
36
|
backend?: BackendOptions;
|
|
949
37
|
} & Partial<LocaleContextState>;
|
|
950
|
-
declare const LocaleProvider: FC<LocaleProviderProps>;
|
|
38
|
+
declare const LocaleProvider: React.FC<LocaleProviderProps>;
|
|
951
39
|
|
|
952
40
|
declare function useTranslation<Ns extends FlatNamespace | $Tuple<FlatNamespace> | undefined, KPrefix extends KeyPrefix<FallbackNs<Ns>> = undefined>(ns?: Ns, options?: UseTranslationOptions<KPrefix>): react_i18next.UseTranslationResponse<FallbackNs<Ns>, KPrefix>;
|
|
953
41
|
|
|
954
42
|
declare function useLocaleCode(): LocaleCode;
|
|
955
43
|
|
|
956
|
-
|
|
957
|
-
* transform browser language to you given i18n locale codes
|
|
958
|
-
* @param lang - browser language
|
|
959
|
-
* @param localeCodes - locale codes to check
|
|
960
|
-
* @param defaultLang - default locale code
|
|
961
|
-
* @example
|
|
962
|
-
* parseI18nLang('en-US') => 'en'
|
|
963
|
-
* parseI18nLang('zh-CN') => 'zh'
|
|
964
|
-
* parseI18nLang('zh-TW') => 'zh'
|
|
965
|
-
* parseI18nLang('ja') => 'ja'
|
|
966
|
-
* */
|
|
967
|
-
declare function parseI18nLang(lang: string, localeCodes?: LocaleCode[], defaultLang?: LocaleCode): string;
|
|
968
|
-
/**
|
|
969
|
-
* remove lang prefix from pathname
|
|
970
|
-
* @param pathname - pathname to remove lang prefix
|
|
971
|
-
* @param localeCodes - locale codes to check
|
|
972
|
-
* @example
|
|
973
|
-
* removeLangPrefix('/en/perp/PERP_ETH_USDC') => '/perp/PERP_ETH_USDC'
|
|
974
|
-
* removeLangPrefix('/en/markets') => '/markets'
|
|
975
|
-
* removeLangPrefix('/perp/PERP_ETH_USDC') => '/perp/PERP_ETH_USDC'
|
|
976
|
-
* removeLangPrefix('/markets') => '/markets'
|
|
977
|
-
*/
|
|
978
|
-
declare function removeLangPrefix(pathname: string, localeCodes?: string[]): string;
|
|
979
|
-
/**
|
|
980
|
-
* get locale path from pathname
|
|
981
|
-
* @param pathname - pathname to get locale path
|
|
982
|
-
* @param localeCodes - locale codes to check
|
|
983
|
-
* @example
|
|
984
|
-
* getLocalePathFromPathname('/en/perp/PERP_ETH_USDC') => 'en'
|
|
985
|
-
* getLocalePathFromPathname('/perp/PERP_ETH_USDC') => null
|
|
986
|
-
* getLocalePathFromPathname('/en/markets') => 'en'
|
|
987
|
-
* getLocalePathFromPathname('/markets') => null
|
|
988
|
-
*/
|
|
989
|
-
declare function getLocalePathFromPathname(pathname: string, localeCodes?: string[]): string | null;
|
|
990
|
-
/**
|
|
991
|
-
* Generate path with locale
|
|
992
|
-
* @param lang - language
|
|
993
|
-
* @param path - path to generate
|
|
994
|
-
* @param localeCodes - locale codes to check
|
|
995
|
-
* @returns path with locale
|
|
996
|
-
*/
|
|
997
|
-
declare function generateLocalePath(lang: string, path: string, localeCodes?: string[]): string;
|
|
998
|
-
|
|
999
|
-
export { I18nProvider, type I18nProviderProps, type Language, type LocaleCode, LocaleContext, type LocaleContextState, LocaleEnum, type LocaleMessages, LocaleProvider, type LocaleProviderProps, type PopupMode, type PopupProps, type Resources, defaultLanguages, defaultLng, defaultNS, en, generateLocalePath, getLocalePathFromPathname, i18n, i18nCookieKey, i18nLocalStorageKey, parseI18nLang, removeLangPrefix, useLocaleCode, useLocaleContext, useTranslation };
|
|
44
|
+
export { I18nProvider, type I18nProviderProps, LocaleCode, LocaleContextState, LocaleProvider, type LocaleProviderProps, Resources, i18n, useLocaleCode, useTranslation };
|