@lifi/widget 1.30.0 → 1.31.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/AppProvider.js +2 -2
- package/README.md +1 -1
- package/cjs/AppProvider.js +1 -1
- package/cjs/components/Header/WalletHeader.js +4 -2
- package/cjs/components/Header/WalletMenu.d.ts +1 -0
- package/cjs/components/{Menu.js → Header/WalletMenu.js} +8 -4
- package/cjs/config/theme.js +1 -1
- package/cjs/config/version.d.ts +1 -1
- package/cjs/config/version.js +1 -1
- package/cjs/hooks/useRouteExecution.js +1 -2
- package/cjs/i18n/en.json +2 -1
- package/cjs/i18n/it.json +88 -81
- package/cjs/i18n/uk.json +3 -1
- package/cjs/i18n/zh.json +83 -76
- package/cjs/utils/format.js +5 -4
- package/cjs/utils/index.d.ts +0 -1
- package/cjs/utils/index.js +0 -1
- package/components/Header/WalletHeader.js +6 -4
- package/components/Header/WalletMenu.d.ts +1 -0
- package/components/{Menu.js → Header/WalletMenu.js} +7 -3
- package/config/theme.js +1 -1
- package/config/version.d.ts +1 -1
- package/config/version.js +1 -1
- package/hooks/useRouteExecution.js +1 -2
- package/i18n/en.json +2 -1
- package/i18n/it.json +88 -81
- package/i18n/uk.json +3 -1
- package/i18n/zh.json +83 -76
- package/package.json +11 -11
- package/tsconfig.cjs.tsbuildinfo +1 -1
- package/utils/format.js +5 -4
- package/utils/index.d.ts +0 -1
- package/utils/index.js +0 -1
- package/cjs/components/Menu.d.ts +0 -1
- package/cjs/utils/deepClone.d.ts +0 -1
- package/cjs/utils/deepClone.js +0 -7
- package/components/Menu.d.ts +0 -1
- package/utils/deepClone.d.ts +0 -1
- package/utils/deepClone.js +0 -3
package/AppProvider.js
CHANGED
|
@@ -3,10 +3,10 @@ import { QueryClientProvider } from '@tanstack/react-query';
|
|
|
3
3
|
import { Fragment } from 'react';
|
|
4
4
|
import { MemoryRouter, useInRouterContext } from 'react-router-dom';
|
|
5
5
|
import { queryClient } from './config/queryClient';
|
|
6
|
-
import { I18nProvider, SDKProvider, SwapFormProvider,
|
|
6
|
+
import { I18nProvider, SDKProvider, SwapFormProvider, ThemeProvider, WalletProvider, WidgetProvider, } from './providers';
|
|
7
7
|
import { StoreProvider } from './stores';
|
|
8
8
|
export const AppProvider = ({ children, config, }) => {
|
|
9
|
-
return (_jsx(QueryClientProvider, Object.assign({ client: queryClient }, { children: _jsx(StoreProvider, Object.assign({ namePrefix: config === null || config === void 0 ? void 0 : config.localStorageKeyPrefix }, { children: _jsx(WidgetProvider, Object.assign({ config: config }, { children: _jsx(SDKProvider, { children: _jsx(
|
|
9
|
+
return (_jsx(QueryClientProvider, Object.assign({ client: queryClient }, { children: _jsx(StoreProvider, Object.assign({ namePrefix: config === null || config === void 0 ? void 0 : config.localStorageKeyPrefix }, { children: _jsx(WidgetProvider, Object.assign({ config: config }, { children: _jsx(SDKProvider, { children: _jsx(ThemeProvider, { children: _jsx(I18nProvider, { children: _jsx(WalletProvider, { children: _jsx(SwapFormProvider, { children: _jsx(AppRouter, { children: children }) }) }) }) }) }) })) })) })));
|
|
10
10
|
};
|
|
11
11
|
export const AppRouter = ({ children }) => {
|
|
12
12
|
const inRouterContext = useInRouterContext();
|
package/README.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
[](/LICENSE.md)
|
|
4
4
|
[](https://www.npmjs.com/package/@lifi/widget)
|
|
5
5
|
[](https://www.npmjs.com/package/@lifi/widget)
|
|
6
|
-
[](https://crowdin.com/project/lifi-widget)
|
|
7
7
|
[](https://twitter.com/lifiprotocol)
|
|
8
8
|
|
|
9
9
|
</div>
|
package/cjs/AppProvider.js
CHANGED
|
@@ -9,7 +9,7 @@ const queryClient_1 = require("./config/queryClient");
|
|
|
9
9
|
const providers_1 = require("./providers");
|
|
10
10
|
const stores_1 = require("./stores");
|
|
11
11
|
const AppProvider = ({ children, config, }) => {
|
|
12
|
-
return ((0, jsx_runtime_1.jsx)(react_query_1.QueryClientProvider, Object.assign({ client: queryClient_1.queryClient }, { children: (0, jsx_runtime_1.jsx)(stores_1.StoreProvider, Object.assign({ namePrefix: config === null || config === void 0 ? void 0 : config.localStorageKeyPrefix }, { children: (0, jsx_runtime_1.jsx)(providers_1.WidgetProvider, Object.assign({ config: config }, { children: (0, jsx_runtime_1.jsx)(providers_1.SDKProvider, { children: (0, jsx_runtime_1.jsx)(providers_1.
|
|
12
|
+
return ((0, jsx_runtime_1.jsx)(react_query_1.QueryClientProvider, Object.assign({ client: queryClient_1.queryClient }, { children: (0, jsx_runtime_1.jsx)(stores_1.StoreProvider, Object.assign({ namePrefix: config === null || config === void 0 ? void 0 : config.localStorageKeyPrefix }, { children: (0, jsx_runtime_1.jsx)(providers_1.WidgetProvider, Object.assign({ config: config }, { children: (0, jsx_runtime_1.jsx)(providers_1.SDKProvider, { children: (0, jsx_runtime_1.jsx)(providers_1.ThemeProvider, { children: (0, jsx_runtime_1.jsx)(providers_1.I18nProvider, { children: (0, jsx_runtime_1.jsx)(providers_1.WalletProvider, { children: (0, jsx_runtime_1.jsx)(providers_1.SwapFormProvider, { children: (0, jsx_runtime_1.jsx)(exports.AppRouter, { children: children }) }) }) }) }) }) })) })) })));
|
|
13
13
|
};
|
|
14
14
|
exports.AppProvider = AppProvider;
|
|
15
15
|
const AppRouter = ({ children }) => {
|
|
@@ -19,8 +19,8 @@ const react_router_dom_1 = require("react-router-dom");
|
|
|
19
19
|
const hooks_1 = require("../../hooks");
|
|
20
20
|
const providers_1 = require("../../providers");
|
|
21
21
|
const utils_1 = require("../../utils");
|
|
22
|
-
const Menu_1 = require("../Menu");
|
|
23
22
|
const Header_style_1 = require("./Header.style");
|
|
23
|
+
const WalletMenu_1 = require("./WalletMenu");
|
|
24
24
|
const WalletHeader = () => {
|
|
25
25
|
const { account } = (0, providers_1.useWallet)();
|
|
26
26
|
return ((0, jsx_runtime_1.jsx)(Header_style_1.HeaderAppBar, Object.assign({ elevation: 0, sx: { justifyContent: 'flex-end' } }, { children: account.isActive ? (0, jsx_runtime_1.jsx)(ConnectedButton, {}) : (0, jsx_runtime_1.jsx)(ConnectButton, {}) })));
|
|
@@ -66,5 +66,7 @@ const ConnectedButton = () => {
|
|
|
66
66
|
});
|
|
67
67
|
return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(Header_style_1.WalletButton, Object.assign({ endIcon: (0, jsx_runtime_1.jsx)(icons_material_1.ExpandMore, {}), startIcon: (0, jsx_runtime_1.jsx)(material_1.Avatar, Object.assign({ src: chain === null || chain === void 0 ? void 0 : chain.logoURI, alt: chain === null || chain === void 0 ? void 0 : chain.key, sx: { width: 24, height: 24 } }, { children: chain === null || chain === void 0 ? void 0 : chain.name[0] })), sx: {
|
|
68
68
|
marginRight: -1.25,
|
|
69
|
-
}, onClick: handleClick }, { children: walletAddress })), (0, jsx_runtime_1.jsxs)(
|
|
69
|
+
}, onClick: handleClick }, { children: walletAddress })), (0, jsx_runtime_1.jsxs)(WalletMenu_1.WalletMenu, Object.assign({ anchorEl: anchorEl, open: Boolean(anchorEl), onClose: handleClose }, { children: [(0, jsx_runtime_1.jsxs)(material_1.MenuItem, Object.assign({ onClick: handleCopyAddress, disableRipple: true }, { children: [(0, jsx_runtime_1.jsx)(icons_material_1.ContentCopy, {}), t(`button.copyAddress`)] })), (0, jsx_runtime_1.jsxs)(material_1.MenuItem, Object.assign({ component: "a", onClick: handleClose, href: `${chain === null || chain === void 0 ? void 0 : chain.metamask.blockExplorerUrls[0]}address/${account.address}`, target: "_blank", disableRipple: true }, { children: [(0, jsx_runtime_1.jsx)(icons_material_1.OpenInNewOutlined, {}), t(`button.viewOnExplorer`)] })), (0, jsx_runtime_1.jsx)(material_1.Button, Object.assign({ onClick: handleDisconnect, fullWidth: true, startIcon: (0, jsx_runtime_1.jsx)(icons_material_1.PowerSettingsNewRounded, {}), sx: {
|
|
70
|
+
marginTop: 1,
|
|
71
|
+
} }, { children: t(`button.disconnect`) }))] }))] }));
|
|
70
72
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const WalletMenu: import("@emotion/styled").StyledComponent<import("@mui/material").MenuProps & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
@@ -1,21 +1,25 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.WalletMenu = void 0;
|
|
4
4
|
const material_1 = require("@mui/material");
|
|
5
5
|
const Menu_1 = require("@mui/material/Menu");
|
|
6
6
|
const MenuItem_1 = require("@mui/material/MenuItem");
|
|
7
7
|
const styles_1 = require("@mui/material/styles");
|
|
8
8
|
const SvgIcon_1 = require("@mui/material/SvgIcon");
|
|
9
|
-
exports.
|
|
9
|
+
exports.WalletMenu = (0, styles_1.styled)(material_1.Menu)(({ theme }) => ({
|
|
10
10
|
[`& .${Menu_1.menuClasses.paper}`]: {
|
|
11
11
|
borderRadius: theme.shape.borderRadius,
|
|
12
12
|
color: theme.palette.text.primary,
|
|
13
|
+
boxShadow: '0px 2px 4px rgb(0 0 0 / 8%), 0px 8px 16px rgb(0 0 0 / 8%)',
|
|
14
|
+
padding: theme.spacing(2),
|
|
13
15
|
[`& .${Menu_1.menuClasses.list}`]: {
|
|
14
|
-
padding:
|
|
16
|
+
padding: 0,
|
|
15
17
|
},
|
|
16
18
|
[`& .${MenuItem_1.menuItemClasses.root}`]: {
|
|
19
|
+
borderRadius: theme.shape.borderRadiusSecondary,
|
|
20
|
+
padding: theme.spacing(1, 2, 1, 1),
|
|
17
21
|
[`& .${SvgIcon_1.svgIconClasses.root}`]: {
|
|
18
|
-
fontSize:
|
|
22
|
+
fontSize: 20,
|
|
19
23
|
color: theme.palette.text.primary,
|
|
20
24
|
marginRight: theme.spacing(1.5),
|
|
21
25
|
},
|
package/cjs/config/theme.js
CHANGED
|
@@ -42,7 +42,7 @@ const paletteDark = {
|
|
|
42
42
|
};
|
|
43
43
|
const shape = {
|
|
44
44
|
borderRadius: 12,
|
|
45
|
-
borderRadiusSecondary:
|
|
45
|
+
borderRadiusSecondary: 8,
|
|
46
46
|
};
|
|
47
47
|
const createTheme = (mode, theme = {}) => {
|
|
48
48
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w;
|
package/cjs/config/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export declare const name = "@lifi/widget";
|
|
2
|
-
export declare const version = "1.
|
|
2
|
+
export declare const version = "1.31.1";
|
package/cjs/config/version.js
CHANGED
|
@@ -16,7 +16,6 @@ const shallow_1 = require("zustand/shallow");
|
|
|
16
16
|
const providers_1 = require("../providers");
|
|
17
17
|
const stores_1 = require("../stores");
|
|
18
18
|
const events_1 = require("../types/events");
|
|
19
|
-
const utils_1 = require("../utils");
|
|
20
19
|
const useWidgetEvents_1 = require("./useWidgetEvents");
|
|
21
20
|
const useRouteExecution = ({ routeId, executeInBackground, onAcceptExchangeRateUpdate, }) => {
|
|
22
21
|
const lifi = (0, providers_1.useLiFi)();
|
|
@@ -32,7 +31,7 @@ const useRouteExecution = ({ routeId, executeInBackground, onAcceptExchangeRateU
|
|
|
32
31
|
if (!routeExecution) {
|
|
33
32
|
return;
|
|
34
33
|
}
|
|
35
|
-
const clonedUpdatedRoute = (
|
|
34
|
+
const clonedUpdatedRoute = structuredClone(updatedRoute);
|
|
36
35
|
updateRoute(clonedUpdatedRoute);
|
|
37
36
|
const process = (0, stores_1.getUpdatedProcess)(routeExecution.route, clonedUpdatedRoute);
|
|
38
37
|
if (process) {
|
package/cjs/i18n/en.json
CHANGED
|
@@ -6,9 +6,10 @@
|
|
|
6
6
|
"contactSupport": "Contact support",
|
|
7
7
|
"continue": "Continue",
|
|
8
8
|
"copyAddress": "Copy address",
|
|
9
|
+
"viewOnExplorer": "View on explorer",
|
|
9
10
|
"dark": "Dark",
|
|
10
11
|
"delete": "Delete",
|
|
11
|
-
"
|
|
12
|
+
"disconnect": "Disconnect",
|
|
12
13
|
"done": "Done",
|
|
13
14
|
"getGas": "Get gas",
|
|
14
15
|
"hide": "Hide",
|
package/cjs/i18n/it.json
CHANGED
|
@@ -6,43 +6,46 @@
|
|
|
6
6
|
"contactSupport": "Contatta l'assistenza",
|
|
7
7
|
"continue": "Continua",
|
|
8
8
|
"copyAddress": "Copia indirizzo",
|
|
9
|
+
"viewOnExplorer": "Visualizza sull'Explorer",
|
|
9
10
|
"dark": "Scuro",
|
|
10
11
|
"delete": "Elimina",
|
|
11
|
-
"
|
|
12
|
+
"disconnect": "Disconnetti",
|
|
12
13
|
"done": "Fatto",
|
|
13
|
-
"getGas": "
|
|
14
|
-
"hide": "
|
|
14
|
+
"getGas": "Ottieni gas",
|
|
15
|
+
"hide": "Nascondi",
|
|
15
16
|
"lifiSwap": "Scambio LI.FI",
|
|
16
17
|
"light": "Chiaro",
|
|
17
18
|
"max": "massimo",
|
|
18
19
|
"ok": "Ok",
|
|
19
|
-
"okay": "
|
|
20
|
+
"okay": "Okay",
|
|
20
21
|
"removeSwap": "Rimuovi lo scambio",
|
|
21
22
|
"restartSwap": "Riavvia lo scambio",
|
|
23
|
+
"reviewGasSwap": "Rivedi lo scambio di gas",
|
|
22
24
|
"reviewSwap": "Rivedi lo scambio",
|
|
23
25
|
"seeDetails": "Vedi dettagli",
|
|
24
|
-
"showAll": "Mostra
|
|
25
|
-
"startGasSwap": "
|
|
26
|
+
"showAll": "Mostra tutto",
|
|
27
|
+
"startGasSwap": "Inizia lo scambio di gas",
|
|
26
28
|
"startSwap": "Avvia lo scambio",
|
|
27
29
|
"swap": "Scambio",
|
|
28
30
|
"tryAgain": "Riprova"
|
|
29
31
|
},
|
|
30
32
|
"format": {
|
|
31
33
|
"currency": "{{value, currency(currency: USD)}}",
|
|
32
|
-
"number": "{{value, number(maximumFractionDigits:
|
|
34
|
+
"number": "{{value, number(maximumFractionDigits: 9)}}"
|
|
33
35
|
},
|
|
34
36
|
"header": {
|
|
35
|
-
"activeSwaps": "
|
|
36
|
-
"
|
|
37
|
+
"activeSwaps": "Scambi attivi",
|
|
38
|
+
"checkout": "Checkout",
|
|
39
|
+
"from": "Scambia da",
|
|
37
40
|
"gas": "Gas",
|
|
38
|
-
"gasSwap": "
|
|
41
|
+
"gasSwap": "Scambio di gas",
|
|
39
42
|
"routes": "Ottieni",
|
|
40
43
|
"selectChain": "Seleziona la chain",
|
|
41
44
|
"selectWallet": "Seleziona il tuo portafoglio",
|
|
42
45
|
"settings": "Impostazioni",
|
|
43
46
|
"swap": "Scambio",
|
|
44
47
|
"swapDetails": "Dettagli sullo scambio",
|
|
45
|
-
"swapHistory": "
|
|
48
|
+
"swapHistory": "Cronologia dello scambio",
|
|
46
49
|
"to": "Scambia a",
|
|
47
50
|
"walletConnected": "Portafoglio collegato"
|
|
48
51
|
},
|
|
@@ -52,7 +55,7 @@
|
|
|
52
55
|
},
|
|
53
56
|
"settings": {
|
|
54
57
|
"advancedPreferences": "Preferenze avanzate",
|
|
55
|
-
"enabledBridges": "
|
|
58
|
+
"enabledBridges": "Bridge abilitati",
|
|
56
59
|
"enabledExchanges": "Exchange abilitati",
|
|
57
60
|
"gasPrice": {
|
|
58
61
|
"fast": "Veloce",
|
|
@@ -60,38 +63,39 @@
|
|
|
60
63
|
"slow": "Lento",
|
|
61
64
|
"title": "Prezzo gas"
|
|
62
65
|
},
|
|
63
|
-
"resetToDefault": "Ripristina
|
|
64
|
-
"routePriority": "Priorità di
|
|
65
|
-
"selectEnabledBridges": "Selezionare i
|
|
66
|
+
"resetToDefault": "Ripristina le impostazioni predefinite",
|
|
67
|
+
"routePriority": "Priorità di route",
|
|
68
|
+
"selectEnabledBridges": "Selezionare i bridge abilitati",
|
|
66
69
|
"selectEnabledExchanges": "Seleziona gli exchange abilitati",
|
|
67
70
|
"showDestinationWallet": "Mostra il portafoglio di destinazione",
|
|
68
|
-
"slippage": "
|
|
71
|
+
"slippage": "Slittamento"
|
|
69
72
|
},
|
|
70
73
|
"swap": {
|
|
71
74
|
"crossStepDetails": "Trasferisci da {{from}} a {{to}} tramite {{tool}}",
|
|
72
|
-
"currentAmount": "
|
|
75
|
+
"currentAmount": "Quantità corrente",
|
|
73
76
|
"error": {
|
|
74
77
|
"message": {
|
|
75
|
-
"slippageThreshold": "
|
|
78
|
+
"slippageThreshold": "Lo slittamento di prezzo è più alto della soglia definita. Si prega di richiedere una nuova route per ottenere una quota aggiornata.",
|
|
76
79
|
"transactionFailed": "Per ulteriori informazioni, consultare il block explorer.",
|
|
77
|
-
"transactionNotSent": "La transazione non è stata inviata
|
|
78
|
-
"transactionRejected": "Per completare la transazione è necessaria la
|
|
79
|
-
"unknown": "
|
|
80
|
+
"transactionNotSent": "La transazione non è stata inviata. {{amount, number(maximumFractionDigits: 9)}} {{tokenSymbol}} su {{chainName}} sono ancora presenti nel tuo portafoglio.",
|
|
81
|
+
"transactionRejected": "Per completare la transazione è necessaria la tua firma. {{amount, number(maximumFractionDigits: 9)}} {{tokenSymbol}} su {{chainName}} rimangono nel tuo portafoglio.",
|
|
82
|
+
"unknown": "Riprova o contatta il nostro supporto."
|
|
80
83
|
},
|
|
81
84
|
"title": {
|
|
82
|
-
"balanceIsTooLow": "
|
|
83
|
-
"chainSwitch": "È necessario cambiare la chain
|
|
84
|
-
"failed": "Scambio fallito
|
|
85
|
-
"gasLimitIsTooLow": "
|
|
86
|
-
"slippageNotMet": "
|
|
87
|
-
"transactionCanceled": "
|
|
88
|
-
"transactionFailed": "
|
|
89
|
-
"transactionRejected": "Firma obbligatoria
|
|
90
|
-
"transactionUnderpriced": "L'operazione è
|
|
91
|
-
"transactionUnprepared": "Impossibile preparare la transazione
|
|
92
|
-
"unknown": "Qualcosa è andato storto
|
|
85
|
+
"balanceIsTooLow": "Il saldo è troppo basso",
|
|
86
|
+
"chainSwitch": "È necessario cambiare la chain",
|
|
87
|
+
"failed": "Scambio fallito",
|
|
88
|
+
"gasLimitIsTooLow": "Limite di gas troppo basso",
|
|
89
|
+
"slippageNotMet": "Condizioni di slittamento di prezzo non rispettate",
|
|
90
|
+
"transactionCanceled": "Transazione cancellata",
|
|
91
|
+
"transactionFailed": "Transazione fallita",
|
|
92
|
+
"transactionRejected": "Firma obbligatoria",
|
|
93
|
+
"transactionUnderpriced": "L'operazione è sottostimata",
|
|
94
|
+
"transactionUnprepared": "Impossibile preparare la transazione",
|
|
95
|
+
"unknown": "Qualcosa è andato storto",
|
|
93
96
|
"walletAddressInvalid": "L'indirizzo del portafoglio non è valido.",
|
|
94
|
-
"
|
|
97
|
+
"walletAddressRequired": "L'indirizzo è un campo obbligatorio.",
|
|
98
|
+
"walletEnsAddressInvalid": "L'indirizzo non è valido o la rete non supporta ENS."
|
|
95
99
|
}
|
|
96
100
|
},
|
|
97
101
|
"estimatedTime": "{{value}}m",
|
|
@@ -99,81 +103,84 @@
|
|
|
99
103
|
"from": "Da",
|
|
100
104
|
"fromAmount": "Paghi",
|
|
101
105
|
"gasCost": "Costo del gas",
|
|
102
|
-
"gasFeeEstimated": "
|
|
103
|
-
"gasFeePaid": "gas
|
|
106
|
+
"gasFeeEstimated": "tassa di gas stimata",
|
|
107
|
+
"gasFeePaid": "tassa di gas pagata",
|
|
104
108
|
"inProgress": "in corso",
|
|
105
109
|
"info": {
|
|
106
110
|
"message": {
|
|
107
|
-
"emptyActiveSwaps": "Gli
|
|
108
|
-
"emptySwapHistory": "La cronologia di
|
|
111
|
+
"emptyActiveSwaps": "Gli scambi in corso verranno visualizzati qui. Una volta completati, saranno presenti nella cronologia di scambi.",
|
|
112
|
+
"emptySwapHistory": "La cronologia di scambi viene memorizzata solo localmente e verrà cancellata se si cancellano i dati del browser.",
|
|
109
113
|
"emptyTokenList": "Non siamo riusciti a trovare token sulla chain {{chainName}} o non ne hai. Riprova o scegli un'altra chain.",
|
|
110
114
|
"routeNotFound": "Prova un'altra combinazione di token."
|
|
111
115
|
},
|
|
112
116
|
"title": {
|
|
113
|
-
"emptyActiveSwaps": "Nessuno
|
|
114
|
-
"emptySwapHistory": "Nessuno
|
|
117
|
+
"emptyActiveSwaps": "Nessuno scambio attivo",
|
|
118
|
+
"emptySwapHistory": "Nessuno scambio recente",
|
|
115
119
|
"routeNotFound": "Nessuna rotta disponibile"
|
|
116
120
|
}
|
|
117
121
|
},
|
|
118
|
-
"
|
|
122
|
+
"nftStepDetails": "Acquista NFT tramite {{tool}}",
|
|
123
|
+
"onChain": "su {{chainName}}",
|
|
119
124
|
"otherTokens": "Altri token",
|
|
125
|
+
"ownedBy": "Di proprietà di",
|
|
126
|
+
"payWith": "Paga con",
|
|
120
127
|
"process": {
|
|
121
128
|
"crossChain": {
|
|
122
|
-
"actionRequired": "Si prega di firmare la transazione
|
|
123
|
-
"done": "
|
|
124
|
-
"pending": "In attesa della transazione
|
|
125
|
-
"started": "Preparazione della transazione
|
|
129
|
+
"actionRequired": "Si prega di firmare la transazione",
|
|
130
|
+
"done": "Transazione di bridge approvata",
|
|
131
|
+
"pending": "In attesa della transazione di bridge",
|
|
132
|
+
"started": "Preparazione della transazione di bridge"
|
|
126
133
|
},
|
|
127
134
|
"receivingChain": {
|
|
128
|
-
"done": "
|
|
129
|
-
"partial": "Bridge
|
|
130
|
-
"pending": "In attesa
|
|
131
|
-
"refunded": "
|
|
135
|
+
"done": "Bridge completato",
|
|
136
|
+
"partial": "Bridge parzialmente completato",
|
|
137
|
+
"pending": "In attesa della chain di destinazione",
|
|
138
|
+
"refunded": "Transazione di bridge rimborsata"
|
|
132
139
|
},
|
|
133
140
|
"swap": {
|
|
134
|
-
"actionRequired": "Si prega di firmare la transazione
|
|
135
|
-
"done": "Scambio completato
|
|
136
|
-
"pending": "
|
|
137
|
-
"started": "Preparazione dello
|
|
141
|
+
"actionRequired": "Si prega di firmare la transazione",
|
|
142
|
+
"done": "Scambio completato",
|
|
143
|
+
"pending": "In attesa della transazione di scambio",
|
|
144
|
+
"started": "Preparazione dello scambio"
|
|
138
145
|
},
|
|
139
146
|
"switchChain": {
|
|
140
|
-
"actionRequired": "È necessario cambiare
|
|
141
|
-
"done": "La chain è stata cambiata con successo
|
|
147
|
+
"actionRequired": "È necessario cambiare la chain",
|
|
148
|
+
"done": "La chain è stata cambiata con successo"
|
|
142
149
|
},
|
|
143
150
|
"tokenAllowance": {
|
|
144
|
-
"done": "
|
|
145
|
-
"pending": "In attesa dell'indennità del token
|
|
146
|
-
"started": "
|
|
151
|
+
"done": "Indennità del token approvata",
|
|
152
|
+
"pending": "In attesa dell'indennità del token",
|
|
153
|
+
"started": "Applicazione dell'indennità di token"
|
|
147
154
|
}
|
|
148
155
|
},
|
|
149
|
-
"quotedAmount": "
|
|
150
|
-
"rateChange": "
|
|
151
|
-
"receiving": "
|
|
156
|
+
"quotedAmount": "Totale quotato",
|
|
157
|
+
"rateChange": "Tasso di scambio",
|
|
158
|
+
"receiving": "In ricezione",
|
|
152
159
|
"routes": "Ottieni",
|
|
153
160
|
"selectChain": "Chain",
|
|
154
|
-
"selectChainAndToken": "Selezionare la chain
|
|
161
|
+
"selectChainAndToken": "Selezionare la chain ed il token",
|
|
155
162
|
"selectToken": "Token",
|
|
156
|
-
"sendToAddress": "
|
|
157
|
-
"sendToWallet": "
|
|
158
|
-
"sentToAddress": "
|
|
163
|
+
"sendToAddress": "Invia a {{address}}",
|
|
164
|
+
"sendToWallet": "Invia ad un altro portafoglio",
|
|
165
|
+
"sentToAddress": "Inviati a {{address}}",
|
|
159
166
|
"stepBridge": "Bridge",
|
|
160
167
|
"stepSwap": "Scambio",
|
|
161
|
-
"stepSwapAndBridge": "Scambia e
|
|
168
|
+
"stepSwapAndBridge": "Scambia e bridge",
|
|
162
169
|
"success": {
|
|
163
170
|
"message": {
|
|
164
|
-
"swapPartiallySuccessful": "
|
|
165
|
-
"swapSuccessful": "Sono presenti ora {{amount, number(maximumFractionDigits:
|
|
171
|
+
"swapPartiallySuccessful": "Abbiamo provato a completare lo scambio, ma {{tool}} ha terminato la liquidità per {{tokenSymbol}} token.",
|
|
172
|
+
"swapSuccessful": "Sono presenti ora {{amount, number(maximumFractionDigits: 9)}} {{tokenSymbol}} nel portafoglio {{walletAddress}} sulla chain {{chainName}}."
|
|
166
173
|
},
|
|
167
174
|
"title": {
|
|
168
|
-
"gasSwapSuccessful": "
|
|
169
|
-
"refundIssued": "
|
|
170
|
-
"swapPartiallySuccessful": "
|
|
171
|
-
"swapSuccessful": "Scambio
|
|
175
|
+
"gasSwapSuccessful": "Scambio di swap avvenuto con successo",
|
|
176
|
+
"refundIssued": "Rimborso inviato",
|
|
177
|
+
"swapPartiallySuccessful": "Scambio parzialmente completato con successo",
|
|
178
|
+
"swapSuccessful": "Scambio completato con successo"
|
|
172
179
|
}
|
|
173
180
|
},
|
|
174
181
|
"supportId": "ID supporto",
|
|
175
182
|
"swapStepDetails": "Scambio su {{chain}} tramite {{tool}}.",
|
|
176
|
-
"swapping": "
|
|
183
|
+
"swapping": "In fase di scambio",
|
|
177
184
|
"tags": {
|
|
178
185
|
"ALTERNATIVE": "ALTERNATIVA",
|
|
179
186
|
"CHEAPEST": "ECONOMICO",
|
|
@@ -183,18 +190,18 @@
|
|
|
183
190
|
},
|
|
184
191
|
"to": "A",
|
|
185
192
|
"tokenOnChain": "{{tokenSymbol}} su {{chainName}}",
|
|
186
|
-
"tokenOnChainAmount": "{{amount, number(maximumFractionDigits:
|
|
193
|
+
"tokenOnChainAmount": "{{amount, number(maximumFractionDigits: 9)}} {{tokenSymbol}} su {{chainName}}",
|
|
187
194
|
"tokenSearch": "Cerca il tuo token",
|
|
188
195
|
"valueLoss": "Perdita di valore",
|
|
189
196
|
"walletAddressOrEns": "Indirizzo del portafoglio o nome ENS",
|
|
190
197
|
"warning": {
|
|
191
198
|
"message": {
|
|
192
|
-
"deleteActiveSwaps": "Gli
|
|
193
|
-
"deleteSwapHistory": "La cronologia degli scambi viene memorizzata solo localmente e non può essere recuperata
|
|
194
|
-
"highValueLoss": "Il valore dei
|
|
195
|
-
"insufficientFunds": "Non hai abbastanza fondi per eseguire lo
|
|
199
|
+
"deleteActiveSwaps": "Gli scambi attivi vengono memorizzati solo localmente e non possono essere recuperati se vengono cancellati.",
|
|
200
|
+
"deleteSwapHistory": "La cronologia degli scambi viene memorizzata solo localmente e, se cancellata, non può essere recuperata.",
|
|
201
|
+
"highValueLoss": "Il valore dei token ricevuti è significativamente inferiore ai token scambiati più il costo della transazione.",
|
|
202
|
+
"insufficientFunds": "Non hai abbastanza fondi per eseguire lo scambio.",
|
|
196
203
|
"insufficientGas": "È necessario aggiungere almeno:",
|
|
197
|
-
"rateChanged": "
|
|
204
|
+
"rateChanged": "Il tasso di scambio è cambiato. Se procedi, confermi di accettare il nuovo tasso."
|
|
198
205
|
},
|
|
199
206
|
"title": {
|
|
200
207
|
"deleteActiveSwaps": "Cancellare tutti gli scambi attivi?",
|
|
@@ -202,7 +209,7 @@
|
|
|
202
209
|
"deleteSwapHistory": "Cancellare la cronologia degli scambi?",
|
|
203
210
|
"highValueLoss": "Perdita di valore elevato",
|
|
204
211
|
"insufficientGas": "Gas insufficiente",
|
|
205
|
-
"rateChanged": "
|
|
212
|
+
"rateChanged": "Tasso cambiato"
|
|
206
213
|
}
|
|
207
214
|
}
|
|
208
215
|
},
|
|
@@ -213,8 +220,8 @@
|
|
|
213
220
|
"text": "Non siamo riusciti a trovare questa pagina.",
|
|
214
221
|
"title": "404"
|
|
215
222
|
},
|
|
216
|
-
"numberOfSteps": "Una serie di fasi di
|
|
217
|
-
"progressToNextUpdate": "I dati visualizzati si aggiorneranno automaticamente dopo {{value}} secondi. Fai
|
|
223
|
+
"numberOfSteps": "Una serie di fasi di scambio. Ogni fase può contenere 1-3 transazioni che richiedono una firma.",
|
|
224
|
+
"progressToNextUpdate": "I dati visualizzati si aggiorneranno automaticamente dopo {{value}} secondi. Fai click qui per aggiornare manualmente.",
|
|
218
225
|
"settingsModified": "Impostazioni (modificate)"
|
|
219
226
|
},
|
|
220
227
|
"wallet": {
|
package/cjs/i18n/uk.json
CHANGED
|
@@ -6,9 +6,10 @@
|
|
|
6
6
|
"contactSupport": "Служба підтримки",
|
|
7
7
|
"continue": "Продовжити",
|
|
8
8
|
"copyAddress": "Скопіювати адресу",
|
|
9
|
+
"viewOnExplorer": "Переглянути в оглядачі",
|
|
9
10
|
"dark": "Темна",
|
|
10
11
|
"delete": "Видалити",
|
|
11
|
-
"
|
|
12
|
+
"disconnect": "Від'єднатись",
|
|
12
13
|
"done": "Готово",
|
|
13
14
|
"getGas": "Отримати газ",
|
|
14
15
|
"hide": "Сховати",
|
|
@@ -93,6 +94,7 @@
|
|
|
93
94
|
"transactionUnprepared": "Не вдалося підготувати транзакцію.",
|
|
94
95
|
"unknown": "Щось пішло не так.",
|
|
95
96
|
"walletAddressInvalid": "Адреса гаманця недійсна.",
|
|
97
|
+
"walletAddressRequired": "Необхідно вказати адресу гаманця.",
|
|
96
98
|
"walletEnsAddressInvalid": "Адреса гаманця недійсна або мережа не підтримує ENS."
|
|
97
99
|
}
|
|
98
100
|
},
|