@lifi/widget 2.0.0 → 2.0.1
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/cjs/components/Step/StepList.d.ts +2 -1
- package/cjs/components/Step/StepList.js +4 -2
- package/cjs/components/StepActions/StepActions.js +12 -3
- package/cjs/config/version.d.ts +1 -1
- package/cjs/config/version.js +1 -1
- package/cjs/hooks/useRoutes.js +2 -4
- package/cjs/i18n/id.json +61 -60
- package/cjs/i18n/it.json +61 -60
- package/cjs/i18n/pt.json +62 -61
- package/cjs/i18n/uk.json +50 -49
- package/cjs/pages/TransactionDetailsPage/TransactionDetailsPage.js +1 -1
- package/cjs/pages/TransactionPage/ExchangeRateBottomSheet.js +2 -1
- package/cjs/pages/TransactionPage/StatusBottomSheet.style.js +5 -1
- package/cjs/pages/TransactionPage/TransactionPage.js +5 -1
- package/cjs/stores/routes/utils.d.ts +1 -0
- package/cjs/stores/routes/utils.js +5 -1
- package/components/Step/StepList.d.ts +2 -1
- package/components/Step/StepList.js +4 -2
- package/components/StepActions/StepActions.js +12 -3
- package/config/version.d.ts +1 -1
- package/config/version.js +1 -1
- package/hooks/useRoutes.js +2 -4
- package/i18n/id.json +61 -60
- package/i18n/it.json +61 -60
- package/i18n/pt.json +62 -61
- package/i18n/uk.json +50 -49
- package/package.json +9 -23
- package/pages/TransactionDetailsPage/TransactionDetailsPage.js +1 -1
- package/pages/TransactionPage/ExchangeRateBottomSheet.js +2 -1
- package/pages/TransactionPage/StatusBottomSheet.style.js +5 -1
- package/pages/TransactionPage/TransactionPage.js +5 -1
- package/stores/routes/utils.d.ts +1 -0
- package/stores/routes/utils.js +3 -0
- package/tsconfig.cjs.tsbuildinfo +1 -1
|
@@ -1,2 +1,3 @@
|
|
|
1
1
|
import type { Route } from '@lifi/sdk';
|
|
2
|
-
|
|
2
|
+
import type { WidgetSubvariant } from '../../types';
|
|
3
|
+
export declare const getStepList: (route?: Route, subvariant?: WidgetSubvariant) => import("react/jsx-runtime").JSX.Element[] | undefined;
|
|
@@ -5,7 +5,7 @@ const jsx_runtime_1 = require("react/jsx-runtime");
|
|
|
5
5
|
const react_1 = require("react");
|
|
6
6
|
const StepDivider_1 = require("../../components/StepDivider");
|
|
7
7
|
const Step_1 = require("./Step");
|
|
8
|
-
const getStepList = (route) => route?.steps.map((step, index, steps) => {
|
|
8
|
+
const getStepList = (route, subvariant) => route?.steps.map((step, index, steps) => {
|
|
9
9
|
const lastIndex = steps.length - 1;
|
|
10
10
|
const fromToken = index === 0
|
|
11
11
|
? { ...step.action.fromToken, amount: step.action.fromAmount }
|
|
@@ -13,7 +13,9 @@ const getStepList = (route) => route?.steps.map((step, index, steps) => {
|
|
|
13
13
|
const toToken = index === lastIndex
|
|
14
14
|
? {
|
|
15
15
|
...(step.execution?.toToken ?? step.action?.toToken),
|
|
16
|
-
amount: step.execution?.toAmount ??
|
|
16
|
+
amount: step.execution?.toAmount ?? subvariant === 'nft'
|
|
17
|
+
? route.toAmount
|
|
18
|
+
: step.estimate.toAmount,
|
|
17
19
|
}
|
|
18
20
|
: undefined;
|
|
19
21
|
const toAddress = index === lastIndex && route.fromAddress !== route.toAddress
|
|
@@ -25,8 +25,12 @@ const StepActions = ({ step, dense, ...other }) => {
|
|
|
25
25
|
setCardExpanded((expanded) => !expanded);
|
|
26
26
|
};
|
|
27
27
|
const hasCollapsedSteps = dense && step.includedSteps?.length > 1;
|
|
28
|
-
|
|
29
|
-
|
|
28
|
+
// FIXME: step transaction request overrides step tool details, but not included step tool details
|
|
29
|
+
const toolDetails = subvariant === 'nft'
|
|
30
|
+
? step.includedSteps.find((step) => step.tool === 'custom' && step.toolDetails.key !== 'custom')?.toolDetails || step.toolDetails
|
|
31
|
+
: step.toolDetails;
|
|
32
|
+
return ((0, jsx_runtime_1.jsxs)(material_1.Box, { ...other, children: [(0, jsx_runtime_1.jsxs)(material_1.Box, { display: "flex", alignItems: "center", children: [(0, jsx_runtime_1.jsx)(material_1.Badge, { overlap: "circular", anchorOrigin: { vertical: 'bottom', horizontal: 'right' }, badgeContent: (0, jsx_runtime_1.jsx)(SmallAvatar_1.SmallAvatar, { children: (0, jsx_runtime_1.jsx)(icons_1.LiFiToolLogo, {}) }), children: (0, jsx_runtime_1.jsx)(StepActions_style_1.StepAvatar, { variant: "circular", src: toolDetails.logoURI, alt: toolDetails.name, children: toolDetails.name[0] }) }), (0, jsx_runtime_1.jsx)(material_1.Typography, { ml: 2, fontSize: 18, fontWeight: "500", flex: 1, children: t(`main.stepDetails`, {
|
|
33
|
+
tool: toolDetails.name,
|
|
30
34
|
}) }), hasCollapsedSteps ? ((0, jsx_runtime_1.jsx)(Card_1.CardIconButton, { onClick: handleExpand, size: "small", children: cardExpanded ? (0, jsx_runtime_1.jsx)(ExpandLess_1.default, {}) : (0, jsx_runtime_1.jsx)(ExpandMore_1.default, {}) })) : null] }), hasCollapsedSteps ? ((0, jsx_runtime_1.jsx)(material_1.Collapse, { timeout: 225, in: cardExpanded, mountOnEnter: true, unmountOnExit: true, children: (0, jsx_runtime_1.jsx)(exports.IncludedSteps, { step: step, subvariant: subvariant }) })) : ((0, jsx_runtime_1.jsx)(exports.IncludedSteps, { step: step, subvariant: subvariant }))] }));
|
|
31
35
|
};
|
|
32
36
|
exports.StepActions = StepActions;
|
|
@@ -78,8 +82,13 @@ const CustomStepDetailsLabel = ({ step, subvariant, }) => {
|
|
|
78
82
|
if (!subvariant) {
|
|
79
83
|
return null;
|
|
80
84
|
}
|
|
85
|
+
// FIXME: step transaction request overrides step tool details, but not included step tool details
|
|
86
|
+
const toolDetails = subvariant === 'nft' &&
|
|
87
|
+
step.includedSteps?.length > 0
|
|
88
|
+
? step.includedSteps.find((step) => step.tool === 'custom' && step.toolDetails.key !== 'custom')?.toolDetails || step.toolDetails
|
|
89
|
+
: step.toolDetails;
|
|
81
90
|
return ((0, jsx_runtime_1.jsx)(material_1.Typography, { fontSize: 12, fontWeight: "500", color: "text.secondary", children: t(`main.${subvariant}StepDetails`, {
|
|
82
|
-
tool:
|
|
91
|
+
tool: toolDetails.name,
|
|
83
92
|
}) }));
|
|
84
93
|
};
|
|
85
94
|
exports.CustomStepDetailsLabel = CustomStepDetailsLabel;
|
package/cjs/config/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export declare const name = "@lifi/widget";
|
|
2
|
-
export declare const version = "2.0.
|
|
2
|
+
export declare const version = "2.0.1";
|
package/cjs/config/version.js
CHANGED
package/cjs/hooks/useRoutes.js
CHANGED
|
@@ -117,8 +117,6 @@ const useRoutes = ({ insurableRoute } = {}) => {
|
|
|
117
117
|
toFallbackAddress: toWalletAddress,
|
|
118
118
|
slippage: formattedSlippage,
|
|
119
119
|
}, { signal });
|
|
120
|
-
contractCallQuote.estimate.toAmount = toTokenAmount;
|
|
121
|
-
contractCallQuote.estimate.toAmountMin = toTokenAmount;
|
|
122
120
|
contractCallQuote.action.toToken = toToken;
|
|
123
121
|
const customStep = subvariant === 'nft'
|
|
124
122
|
? contractCallQuote.includedSteps?.find((step) => step.type === 'custom')
|
|
@@ -141,8 +139,8 @@ const useRoutes = ({ insurableRoute } = {}) => {
|
|
|
141
139
|
fromAddress: contractCallQuote.action.fromAddress,
|
|
142
140
|
toChainId: contractCallQuote.action.toChainId,
|
|
143
141
|
toAmountUSD: contractCallQuote.estimate.toAmountUSD || '',
|
|
144
|
-
toAmount:
|
|
145
|
-
toAmountMin:
|
|
142
|
+
toAmount: toTokenAmount,
|
|
143
|
+
toAmountMin: toTokenAmount,
|
|
146
144
|
toToken: toToken,
|
|
147
145
|
toAddress: toWalletAddress,
|
|
148
146
|
gasCostUSD: contractCallQuote.estimate.gasCosts?.[0].amountUSD,
|
package/cjs/i18n/id.json
CHANGED
|
@@ -1,6 +1,15 @@
|
|
|
1
1
|
{
|
|
2
|
+
"language": {
|
|
3
|
+
"name": "Indonesian",
|
|
4
|
+
"title": "Bahasa"
|
|
5
|
+
},
|
|
6
|
+
"format": {
|
|
7
|
+
"currency": "{{value, currency(currency: USD)}}",
|
|
8
|
+
"number": "{{value, number(maximumFractionDigits: 9)}}"
|
|
9
|
+
},
|
|
2
10
|
"button": {
|
|
3
11
|
"auto": "Otomatis",
|
|
12
|
+
"bridge": "Bridge",
|
|
4
13
|
"buy": "Beli",
|
|
5
14
|
"buyNow": "Beli sekarang",
|
|
6
15
|
"cancel": "Batal",
|
|
@@ -12,94 +21,74 @@
|
|
|
12
21
|
"delete": "Hapus",
|
|
13
22
|
"disconnect": "Tidak terkoneksi",
|
|
14
23
|
"done": "Selesai",
|
|
24
|
+
"exchange": "Pertukaran",
|
|
15
25
|
"getGas": "Dapatkan gas",
|
|
16
26
|
"hide": "Sembunyikan",
|
|
17
27
|
"learnMore": "Pelajari lebih lanjut",
|
|
18
|
-
"
|
|
28
|
+
"lifiCheckout": "Pembayaran LI.FI",
|
|
29
|
+
"lifiExchange": "Pertukaran LI.FI",
|
|
19
30
|
"light": "Terang",
|
|
20
31
|
"max": "maks",
|
|
21
32
|
"ok": "Ya",
|
|
22
|
-
"
|
|
23
|
-
"removeSwap": "Hapus swap",
|
|
33
|
+
"removeTransaction": "Hapus transaksi",
|
|
24
34
|
"reset": "Atur ulang",
|
|
25
35
|
"resetSettings": "Setel ulang pengaturan",
|
|
26
|
-
"
|
|
27
|
-
"reviewGasSwap": "Tinjau gas swap",
|
|
36
|
+
"reviewBridge": "Peninjauan bridge",
|
|
28
37
|
"reviewPurchase": "Tinjau pembelian",
|
|
29
38
|
"reviewSwap": "Tinjau swap",
|
|
30
39
|
"seeDetails": "Lihat rinciannya",
|
|
31
40
|
"showAll": "Tampilkan semua",
|
|
32
|
-
"
|
|
33
|
-
"
|
|
41
|
+
"startBridging": "Mulai bridge",
|
|
42
|
+
"startSwapping": "Mulai swap",
|
|
34
43
|
"swap": "Swap",
|
|
35
44
|
"tryAgain": "Coba lagi",
|
|
36
45
|
"viewCoverage": "Melihat cakupan",
|
|
37
46
|
"viewOnExplorer": "Lihat di explorer"
|
|
38
47
|
},
|
|
39
|
-
"format": {
|
|
40
|
-
"currency": "{{value, currency(currency: USD)}}",
|
|
41
|
-
"number": "{{value, number(maximumFractionDigits: 9)}}"
|
|
42
|
-
},
|
|
43
48
|
"header": {
|
|
44
|
-
"
|
|
49
|
+
"activeTransactions": "Transaksi aktif",
|
|
45
50
|
"bridge": "Bridge",
|
|
46
51
|
"checkout": "Checkout",
|
|
52
|
+
"exchange": "Pertukaran",
|
|
47
53
|
"from": "Swap dari",
|
|
48
54
|
"gas": "Gas",
|
|
49
|
-
"gasSwap": "Gas swap",
|
|
50
55
|
"payWith": "Bayar dengan",
|
|
51
56
|
"purchase": "Pembelian",
|
|
52
57
|
"purchaseDetails": "Detail pembelian",
|
|
53
|
-
"routes": "Anda mendapatkan",
|
|
54
58
|
"selectChain": "Pilih jaringan",
|
|
55
59
|
"selectWallet": "Pilih dompet",
|
|
56
60
|
"settings": "Pengaturan",
|
|
57
61
|
"swap": "Swap",
|
|
58
|
-
"swapDetails": "Rincian swap",
|
|
59
|
-
"swapHistory": "Riwayat swap",
|
|
60
62
|
"to": "Swap ke",
|
|
61
|
-
"
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
"
|
|
65
|
-
"title": "Bahasa"
|
|
66
|
-
},
|
|
67
|
-
"settings": {
|
|
68
|
-
"enabledBridges": "Jembatan diaktifkan",
|
|
69
|
-
"enabledExchanges": "Pertukaran diaktifkan",
|
|
70
|
-
"gasPrice": {
|
|
71
|
-
"fast": "Cepat",
|
|
72
|
-
"normal": "Normal",
|
|
73
|
-
"slow": "Lambat",
|
|
74
|
-
"title": "Harga gas"
|
|
75
|
-
},
|
|
76
|
-
"routePriority": "Prioritas rute",
|
|
77
|
-
"showDestinationWallet": "Tampilkan Alamat Tujuan",
|
|
78
|
-
"slippage": "Slippage"
|
|
63
|
+
"transactionDetails": "Rincian transaksi",
|
|
64
|
+
"transactionHistory": "Riwayat transaksi",
|
|
65
|
+
"walletConnected": "Dompet terhubung",
|
|
66
|
+
"youGet": "Anda mendapatkan"
|
|
79
67
|
},
|
|
80
68
|
"info": {
|
|
81
69
|
"message": {
|
|
82
70
|
"autoRefuel": "Gas anda hampir habis {{chainName}}. Dengan melanjutkan, anda akan mendapatkan cukup gas untuk menyelesaikan penukaran.",
|
|
83
|
-
"
|
|
84
|
-
"emptySwapHistory": "Riwayat swap hanya disimpan secara lokal dan akan dihapus jika Anda menghapus data browser.",
|
|
71
|
+
"emptyActiveTransactions": "Transaksi yang sedang berlangsung akan muncul di sini. Setelah selesai, temukan di riwayat transaksi.",
|
|
85
72
|
"emptyTokenList": "Kami tidak dapat menemukan token di rantai {{chainName}} atau Anda tidak memilikinya. Coba cari lagi atau pilih jaringan lain.",
|
|
73
|
+
"emptyTransactionHistory": "Riwayat transaksi hanya disimpan secara lokal dan akan dihapus jika Anda menghapus data browser.",
|
|
86
74
|
"routeNotFound": "Coba kombinasi token lain."
|
|
87
75
|
},
|
|
88
76
|
"title": {
|
|
89
77
|
"autoRefuel": "Dapatkan gas",
|
|
90
|
-
"
|
|
91
|
-
"
|
|
78
|
+
"emptyActiveTransactions": "Tidak ada transaksi yang aktif",
|
|
79
|
+
"emptyTransactionHistory": "Tidak ada transaksi terbaru",
|
|
92
80
|
"routeNotFound": "Rute tidak tersedia"
|
|
93
81
|
}
|
|
94
82
|
},
|
|
95
83
|
"success": {
|
|
96
84
|
"message": {
|
|
97
|
-
"
|
|
98
|
-
"
|
|
99
|
-
"
|
|
85
|
+
"exchangePartiallySuccessful": "Kami telah mencoba menyelesaikan transaksi, tetapi {{tool}} kehabisan likuiditas untuk token {{tokenSymbol}}.",
|
|
86
|
+
"exchangeSuccessful": "Sekarang ada {{amount, number(maximumFractionDigits: 9)}} {{tokenSymbol}} di dompet {{walletAddress}} pada jaringan {{chainName}}.",
|
|
87
|
+
"purchaseSuccessful": "Anda sekarang memiliki {{assetName}} di dompet {{walletAddress}} di chain {{chainName}}."
|
|
100
88
|
},
|
|
101
89
|
"title": {
|
|
102
|
-
"
|
|
90
|
+
"bridgePartiallySuccessful": "Bridge sebagian berhasil",
|
|
91
|
+
"bridgeSuccessful": "Bridge berhasil",
|
|
103
92
|
"purchaseSuccessful": "Pembelian berhasil",
|
|
104
93
|
"refundIssued": "Pengembalian dana diterbitkan",
|
|
105
94
|
"swapPartiallySuccessful": "Swap sebagian berhasil",
|
|
@@ -108,8 +97,8 @@
|
|
|
108
97
|
},
|
|
109
98
|
"warning": {
|
|
110
99
|
"message": {
|
|
111
|
-
"
|
|
112
|
-
"
|
|
100
|
+
"deleteActiveTransactions": "Transaksi aktif hanya disimpan secara lokal dan tidak dapat dipulihkan jika Anda menghapusnya.",
|
|
101
|
+
"deleteTransactionHistory": "Riwayat transaksi hanya disimpan secara lokal dan tidak dapat dipulihkan jika Anda menghapusnya.",
|
|
113
102
|
"highValueLoss": "Nilai token yang diterima jauh lebih rendah daripada token yang ditukar dan biaya transaksi.",
|
|
114
103
|
"insufficientFunds": "Anda tidak memiliki cukup dana untuk menyelesaikan penukaran.",
|
|
115
104
|
"insufficientGas": "Anda tidak memiliki cukup gas untuk menyelesaikan penukaran. Anda perlu menambahkan setidaknya:",
|
|
@@ -117,9 +106,9 @@
|
|
|
117
106
|
"resetSettings": "Ini akan mengatur ulang prioritas rute Anda, slippage, harga gas, jembatan yang diaktifkan, dan pertukaran."
|
|
118
107
|
},
|
|
119
108
|
"title": {
|
|
120
|
-
"
|
|
121
|
-
"
|
|
122
|
-
"
|
|
109
|
+
"deleteActiveTransactions": "Hapus seluruh transaksi aktif?",
|
|
110
|
+
"deleteTransaction": "Hapus transaksi ini?",
|
|
111
|
+
"deleteTransactionHistory": "Hapus riwayat transaksi?",
|
|
123
112
|
"highValueLoss": "Kehilangan nilai tinggi",
|
|
124
113
|
"insufficientGas": "Gas tidak mencukupi",
|
|
125
114
|
"rateChanged": "Rate berubah",
|
|
@@ -140,7 +129,6 @@
|
|
|
140
129
|
"allowanceRequired": "Saldo tidak mencukupi",
|
|
141
130
|
"balanceIsTooLow": "Saldo Anda terlalu sedikit",
|
|
142
131
|
"chainSwitch": "Penggantian jaringan diperlukan",
|
|
143
|
-
"failed": "Pertukaran gagal",
|
|
144
132
|
"gasLimitIsTooLow": "Gas limit terlalu rendah",
|
|
145
133
|
"insufficientFunds": "Dana tidak mencukupi",
|
|
146
134
|
"slippageNotMet": "Kondisi slippage tidak terpenuhi",
|
|
@@ -155,6 +143,19 @@
|
|
|
155
143
|
"walletEnsAddressInvalid": "Alamat dompet tidak valid atau jaringan tidak mendukung ENS."
|
|
156
144
|
}
|
|
157
145
|
},
|
|
146
|
+
"tooltip": {
|
|
147
|
+
"additionalProviderFee": "Jembatan tambahan, DEX, dan biaya layanan.",
|
|
148
|
+
"estimatedNetworkFee": "Perkiraan biaya jaringan.",
|
|
149
|
+
"estimatedTime": "Perkiraan waktu eksekusi swap dalam hitungan menit.",
|
|
150
|
+
"notFound": {
|
|
151
|
+
"text": "Kami tidak dapat menemukan halaman ini.",
|
|
152
|
+
"title": "404"
|
|
153
|
+
},
|
|
154
|
+
"numberOfSteps": "Sejumlah langkah swap. Setiap langkah dapat berisi 1-2 transaksi yang memerlukan tanda tangan.",
|
|
155
|
+
"progressToNextUpdate": "Data yang ditampilkan akan disegarkan secara otomatis setelah {{value}} detik. Klik di sini untuk memperbarui secara manual.",
|
|
156
|
+
"recommended": "Rute murah yang menyeimbangkan kerumitan dan kemudahan penggunaan.",
|
|
157
|
+
"settingsModified": "Pengaturan (diubah)"
|
|
158
|
+
},
|
|
158
159
|
"main": {
|
|
159
160
|
"crossStepDetails": "Bridge dari {{from}} to {{to}} via {{tool}}",
|
|
160
161
|
"currentAmount": "Jumlah saat ini",
|
|
@@ -211,6 +212,7 @@
|
|
|
211
212
|
"selectToken": "Pilih token",
|
|
212
213
|
"sendToAddress": "Kirim ke {{address}}",
|
|
213
214
|
"sendToWallet": "Kirim ke dompet berbeda",
|
|
215
|
+
"sending": "Mengirim",
|
|
214
216
|
"sentToAddress": "Dikirim ke {{address}}",
|
|
215
217
|
"stepBridge": "Bridge",
|
|
216
218
|
"stepBridgeAndBuy": "Bridge dan beli",
|
|
@@ -220,7 +222,6 @@
|
|
|
220
222
|
"stepSwapAndBuy": "Swap dan beli",
|
|
221
223
|
"supportId": "ID dukungan",
|
|
222
224
|
"swapStepDetails": "Swap di {{chain}} melalui {{tool}}",
|
|
223
|
-
"swapping": "Bertukar",
|
|
224
225
|
"tags": {
|
|
225
226
|
"cheapest": "Murah",
|
|
226
227
|
"fastest": "Cepat",
|
|
@@ -243,18 +244,18 @@
|
|
|
243
244
|
"insured": "Anda telah mengasuransikan <0>{{amount, number(maximumFractionDigits: 9)}} {{tokenSymbol}}</0> dalam perjalanan:",
|
|
244
245
|
"slippageError": "Kesalahan dalam slippage untuk token yang diterima"
|
|
245
246
|
},
|
|
246
|
-
"
|
|
247
|
-
"
|
|
248
|
-
"
|
|
249
|
-
"
|
|
250
|
-
|
|
251
|
-
"
|
|
252
|
-
"
|
|
247
|
+
"settings": {
|
|
248
|
+
"enabledBridges": "Jembatan diaktifkan",
|
|
249
|
+
"enabledExchanges": "Pertukaran diaktifkan",
|
|
250
|
+
"gasPrice": {
|
|
251
|
+
"fast": "Cepat",
|
|
252
|
+
"normal": "Normal",
|
|
253
|
+
"slow": "Lambat",
|
|
254
|
+
"title": "Harga gas"
|
|
253
255
|
},
|
|
254
|
-
"
|
|
255
|
-
"
|
|
256
|
-
"
|
|
257
|
-
"settingsModified": "Pengaturan (diubah)"
|
|
256
|
+
"routePriority": "Prioritas rute",
|
|
257
|
+
"showDestinationWallet": "Tampilkan Alamat Tujuan",
|
|
258
|
+
"slippage": "Slippage"
|
|
258
259
|
},
|
|
259
260
|
"wallet": {
|
|
260
261
|
"extensionNotFound": "Pastikan hanya ekstensi browser {{name}} yang aktif sebelum memilih dompet ini."
|
package/cjs/i18n/it.json
CHANGED
|
@@ -1,6 +1,15 @@
|
|
|
1
1
|
{
|
|
2
|
+
"language": {
|
|
3
|
+
"name": "Italiano",
|
|
4
|
+
"title": "Lingua"
|
|
5
|
+
},
|
|
6
|
+
"format": {
|
|
7
|
+
"currency": "{{value, currency(currency: USD)}}",
|
|
8
|
+
"number": "{{value, number(maximumFractionDigits: 9)}}"
|
|
9
|
+
},
|
|
2
10
|
"button": {
|
|
3
11
|
"auto": "Auto",
|
|
12
|
+
"bridge": "Bridge",
|
|
4
13
|
"buy": "Acquista",
|
|
5
14
|
"buyNow": "Acquista subito",
|
|
6
15
|
"cancel": "Annulla",
|
|
@@ -12,94 +21,74 @@
|
|
|
12
21
|
"delete": "Elimina",
|
|
13
22
|
"disconnect": "Disconnetti",
|
|
14
23
|
"done": "Fatto",
|
|
24
|
+
"exchange": "Scambia",
|
|
15
25
|
"getGas": "Ottieni gas",
|
|
16
26
|
"hide": "Nascondi",
|
|
17
27
|
"learnMore": "Ulteriori informazioni",
|
|
18
|
-
"
|
|
28
|
+
"lifiCheckout": "LI.FI Checkout",
|
|
29
|
+
"lifiExchange": "LI.FI Exchange",
|
|
19
30
|
"light": "Chiaro",
|
|
20
31
|
"max": "massimo",
|
|
21
32
|
"ok": "Ok",
|
|
22
|
-
"
|
|
23
|
-
"removeSwap": "Rimuovi lo scambio",
|
|
33
|
+
"removeTransaction": "Rimuovi transazione",
|
|
24
34
|
"reset": "Ripristina",
|
|
25
35
|
"resetSettings": "Ripristina impostazioni",
|
|
26
|
-
"
|
|
27
|
-
"reviewGasSwap": "Rivedi lo scambio di gas",
|
|
36
|
+
"reviewBridge": "Rivedi bridge",
|
|
28
37
|
"reviewPurchase": "Rivedi acquisto",
|
|
29
38
|
"reviewSwap": "Rivedi lo scambio",
|
|
30
39
|
"seeDetails": "Vedi dettagli",
|
|
31
40
|
"showAll": "Mostra tutto",
|
|
32
|
-
"
|
|
33
|
-
"
|
|
41
|
+
"startBridging": "Inizia il bridge",
|
|
42
|
+
"startSwapping": "Avvia lo scambio",
|
|
34
43
|
"swap": "Scambio",
|
|
35
44
|
"tryAgain": "Riprova",
|
|
36
45
|
"viewCoverage": "Vedi copertura",
|
|
37
46
|
"viewOnExplorer": "Visualizza sull'Explorer"
|
|
38
47
|
},
|
|
39
|
-
"format": {
|
|
40
|
-
"currency": "{{value, currency(currency: USD)}}",
|
|
41
|
-
"number": "{{value, number(maximumFractionDigits: 9)}}"
|
|
42
|
-
},
|
|
43
48
|
"header": {
|
|
44
|
-
"
|
|
49
|
+
"activeTransactions": "Transazioni attive",
|
|
45
50
|
"bridge": "Bridge",
|
|
46
51
|
"checkout": "Checkout",
|
|
52
|
+
"exchange": "Exchange",
|
|
47
53
|
"from": "Scambia da",
|
|
48
54
|
"gas": "Gas",
|
|
49
|
-
"gasSwap": "Scambio di gas",
|
|
50
55
|
"payWith": "Paga con",
|
|
51
56
|
"purchase": "Acquista",
|
|
52
57
|
"purchaseDetails": "Dettagli di acquisto",
|
|
53
|
-
"routes": "Ottieni",
|
|
54
58
|
"selectChain": "Seleziona la chain",
|
|
55
59
|
"selectWallet": "Seleziona il tuo portafoglio",
|
|
56
60
|
"settings": "Impostazioni",
|
|
57
61
|
"swap": "Scambio",
|
|
58
|
-
"swapDetails": "Dettagli sullo scambio",
|
|
59
|
-
"swapHistory": "Cronologia dello scambio",
|
|
60
62
|
"to": "Scambia a",
|
|
61
|
-
"
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
"
|
|
65
|
-
"title": "Lingua"
|
|
66
|
-
},
|
|
67
|
-
"settings": {
|
|
68
|
-
"enabledBridges": "Bridge abilitati",
|
|
69
|
-
"enabledExchanges": "Exchange abilitati",
|
|
70
|
-
"gasPrice": {
|
|
71
|
-
"fast": "Veloce",
|
|
72
|
-
"normal": "Normale",
|
|
73
|
-
"slow": "Lento",
|
|
74
|
-
"title": "Prezzo gas"
|
|
75
|
-
},
|
|
76
|
-
"routePriority": "Priorità di route",
|
|
77
|
-
"showDestinationWallet": "Mostra il portafoglio di destinazione",
|
|
78
|
-
"slippage": "Slittamento"
|
|
63
|
+
"transactionDetails": "Dettagli transazione",
|
|
64
|
+
"transactionHistory": "Storico Transazioni",
|
|
65
|
+
"walletConnected": "Portafoglio collegato",
|
|
66
|
+
"youGet": "Ricevi"
|
|
79
67
|
},
|
|
80
68
|
"info": {
|
|
81
69
|
"message": {
|
|
82
70
|
"autoRefuel": "Livello basso di gas su {{chainName}}. Continuando avrai abbastanza gas per completare lo scambio.",
|
|
83
|
-
"
|
|
84
|
-
"emptySwapHistory": "La cronologia di scambi viene memorizzata solo localmente e verrà cancellata se si cancellano i dati del browser.",
|
|
71
|
+
"emptyActiveTransactions": "Le transazioni in corso appariranno qui. Una volta completate, potrai trovarle nella cronologia delle transazioni.",
|
|
85
72
|
"emptyTokenList": "Non siamo riusciti a trovare token sulla chain {{chainName}} o non ne hai. Riprova o scegli un'altra chain.",
|
|
73
|
+
"emptyTransactionHistory": "La cronologia delle transazioni è memorizzata solo localmente e verrà eliminata se si cancellano i dati del browser.",
|
|
86
74
|
"routeNotFound": "Prova un'altra combinazione di token."
|
|
87
75
|
},
|
|
88
76
|
"title": {
|
|
89
77
|
"autoRefuel": "Ottieni gas",
|
|
90
|
-
"
|
|
91
|
-
"
|
|
78
|
+
"emptyActiveTransactions": "Nessuna transazione attiva",
|
|
79
|
+
"emptyTransactionHistory": "Nessuna transazione recente",
|
|
92
80
|
"routeNotFound": "Nessuna rotta disponibile"
|
|
93
81
|
}
|
|
94
82
|
},
|
|
95
83
|
"success": {
|
|
96
84
|
"message": {
|
|
97
|
-
"
|
|
98
|
-
"
|
|
99
|
-
"
|
|
85
|
+
"exchangePartiallySuccessful": "Abbiamo provato a completare la transazione, ma {{tool}} ha esaurito la liquidità per il token {{tokenSymbol}}.",
|
|
86
|
+
"exchangeSuccessful": "Sono presenti ora {{amount, number(maximumFractionDigits: 9)}} {{tokenSymbol}} nel portafoglio {{walletAddress}} sulla chain {{chainName}}.",
|
|
87
|
+
"purchaseSuccessful": "Ora possiedi {{assetName}} nel wallet {{walletAddress}} sulla chain {{chainName}}."
|
|
100
88
|
},
|
|
101
89
|
"title": {
|
|
102
|
-
"
|
|
90
|
+
"bridgePartiallySuccessful": "Bridge parzialmente completato con successo",
|
|
91
|
+
"bridgeSuccessful": "Bridge avvenuto con successo",
|
|
103
92
|
"purchaseSuccessful": "Acquisto completato",
|
|
104
93
|
"refundIssued": "Rimborso inviato",
|
|
105
94
|
"swapPartiallySuccessful": "Scambio parzialmente completato con successo",
|
|
@@ -108,8 +97,8 @@
|
|
|
108
97
|
},
|
|
109
98
|
"warning": {
|
|
110
99
|
"message": {
|
|
111
|
-
"
|
|
112
|
-
"
|
|
100
|
+
"deleteActiveTransactions": "Gli scambi attivi vengono memorizzati solo localmente e non possono essere recuperati se vengono cancellati.",
|
|
101
|
+
"deleteTransactionHistory": "La cronologia delle transazioni è memorizzata solo localmente e non può essere recuperata se la elimini.",
|
|
113
102
|
"highValueLoss": "Il valore dei token ricevuti è significativamente inferiore ai token scambiati più il costo della transazione.",
|
|
114
103
|
"insufficientFunds": "Non hai abbastanza fondi per completare lo scambio.",
|
|
115
104
|
"insufficientGas": "Non hai abbastanza gas per completare lo scambio. Devi aggiungere almeno:",
|
|
@@ -117,9 +106,9 @@
|
|
|
117
106
|
"resetSettings": "Questo porterà al ripristino della priorità di route, slittamento di prezzo, prezzo del gas, bridge abilitati ed exchanges."
|
|
118
107
|
},
|
|
119
108
|
"title": {
|
|
120
|
-
"
|
|
121
|
-
"
|
|
122
|
-
"
|
|
109
|
+
"deleteActiveTransactions": "Eliminare tutte le transazioni attive?",
|
|
110
|
+
"deleteTransaction": "Eliminare questa transazione?",
|
|
111
|
+
"deleteTransactionHistory": "Eliminare la cronologia transazioni?",
|
|
123
112
|
"highValueLoss": "Perdita di valore elevato",
|
|
124
113
|
"insufficientGas": "Gas insufficiente",
|
|
125
114
|
"rateChanged": "Tasso cambiato",
|
|
@@ -140,7 +129,6 @@
|
|
|
140
129
|
"allowanceRequired": "Quota massima insufficiente",
|
|
141
130
|
"balanceIsTooLow": "Il saldo è troppo basso",
|
|
142
131
|
"chainSwitch": "È necessario cambiare la chain",
|
|
143
|
-
"failed": "Scambio fallito",
|
|
144
132
|
"gasLimitIsTooLow": "Limite di gas troppo basso",
|
|
145
133
|
"insufficientFunds": "Fondi insufficienti",
|
|
146
134
|
"slippageNotMet": "Condizioni di slittamento di prezzo non rispettate",
|
|
@@ -155,6 +143,19 @@
|
|
|
155
143
|
"walletEnsAddressInvalid": "L'indirizzo non è valido o la rete non supporta ENS."
|
|
156
144
|
}
|
|
157
145
|
},
|
|
146
|
+
"tooltip": {
|
|
147
|
+
"additionalProviderFee": "Bridge aggiuntivi, DEX e spese di servizio.",
|
|
148
|
+
"estimatedNetworkFee": "Costo di rete stimato.",
|
|
149
|
+
"estimatedTime": "Tempo di esecuzione dello scambio stimato in minuti.",
|
|
150
|
+
"notFound": {
|
|
151
|
+
"text": "Non siamo riusciti a trovare questa pagina.",
|
|
152
|
+
"title": "404"
|
|
153
|
+
},
|
|
154
|
+
"numberOfSteps": "Una serie di fasi di scambio. Ogni fase può contenere 1-3 transazioni che richiedono una firma.",
|
|
155
|
+
"progressToNextUpdate": "I dati visualizzati si aggiorneranno automaticamente dopo {{value}} secondi. Fai click qui per aggiornare manualmente.",
|
|
156
|
+
"recommended": "Una rotta economica che equilibra complessità e facilità di utilizzo.",
|
|
157
|
+
"settingsModified": "Impostazioni (modificate)"
|
|
158
|
+
},
|
|
158
159
|
"main": {
|
|
159
160
|
"crossStepDetails": "Trasferisci da {{from}} a {{to}} tramite {{tool}}",
|
|
160
161
|
"currentAmount": "Quantità corrente",
|
|
@@ -211,6 +212,7 @@
|
|
|
211
212
|
"selectToken": "Seleziona un token",
|
|
212
213
|
"sendToAddress": "Invia a {{address}}",
|
|
213
214
|
"sendToWallet": "Invia ad un altro portafoglio",
|
|
215
|
+
"sending": "Invio in corso",
|
|
214
216
|
"sentToAddress": "Inviati a {{address}}",
|
|
215
217
|
"stepBridge": "Bridge",
|
|
216
218
|
"stepBridgeAndBuy": "Trasferisci e acquista",
|
|
@@ -220,7 +222,6 @@
|
|
|
220
222
|
"stepSwapAndBuy": "Scambia e acquista",
|
|
221
223
|
"supportId": "ID supporto",
|
|
222
224
|
"swapStepDetails": "Scambio su {{chain}} tramite {{tool}}.",
|
|
223
|
-
"swapping": "In fase di scambio",
|
|
224
225
|
"tags": {
|
|
225
226
|
"cheapest": "Economico",
|
|
226
227
|
"fastest": "Veloce",
|
|
@@ -243,18 +244,18 @@
|
|
|
243
244
|
"insured": "Hai assicurato <0>{{amount, number(maximumFractionDigits: 9)}} {{tokenSymbol}}</0> in transito:",
|
|
244
245
|
"slippageError": "Errore nello slippage dei token ricevuti"
|
|
245
246
|
},
|
|
246
|
-
"
|
|
247
|
-
"
|
|
248
|
-
"
|
|
249
|
-
"
|
|
250
|
-
|
|
251
|
-
"
|
|
252
|
-
"
|
|
247
|
+
"settings": {
|
|
248
|
+
"enabledBridges": "Bridge abilitati",
|
|
249
|
+
"enabledExchanges": "Exchange abilitati",
|
|
250
|
+
"gasPrice": {
|
|
251
|
+
"fast": "Veloce",
|
|
252
|
+
"normal": "Normale",
|
|
253
|
+
"slow": "Lento",
|
|
254
|
+
"title": "Prezzo gas"
|
|
253
255
|
},
|
|
254
|
-
"
|
|
255
|
-
"
|
|
256
|
-
"
|
|
257
|
-
"settingsModified": "Impostazioni (modificate)"
|
|
256
|
+
"routePriority": "Priorità di route",
|
|
257
|
+
"showDestinationWallet": "Mostra il portafoglio di destinazione",
|
|
258
|
+
"slippage": "Slittamento"
|
|
258
259
|
},
|
|
259
260
|
"wallet": {
|
|
260
261
|
"extensionNotFound": "Assicurati che solo l'estensione {{name}} del browser sia attiva prima di scegliere questo portafoglio."
|