@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 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, TelemetryProvider, ThemeProvider, WalletProvider, WidgetProvider, } from './providers';
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(TelemetryProvider, { children: _jsx(ThemeProvider, { children: _jsx(I18nProvider, { children: _jsx(WalletProvider, { children: _jsx(SwapFormProvider, { children: _jsx(AppRouter, { children: children }) }) }) }) }) }) }) })) })) })));
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](https://img.shields.io/badge/license-Apache%202-blue)](/LICENSE.md)
4
4
  [![npm latest package](https://img.shields.io/npm/v/@lifi/widget/latest.svg)](https://www.npmjs.com/package/@lifi/widget)
5
5
  [![npm downloads](https://img.shields.io/npm/dm/@lifi/widget.svg)](https://www.npmjs.com/package/@lifi/widget)
6
- [![Average time to resolve an issue](https://isitmaintained.com/badge/resolution/lifinance/widget.svg)](https://isitmaintained.com/project/lifinance/widget)
6
+ [![Crowdin](https://badges.crowdin.net/lifi-widget/localized.svg)](https://crowdin.com/project/lifi-widget)
7
7
  [![Follow on Twitter](https://img.shields.io/twitter/follow/lifiprotocol.svg?label=follow+LI.FI)](https://twitter.com/lifiprotocol)
8
8
 
9
9
  </div>
@@ -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.TelemetryProvider, { 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 }) }) }) }) }) }) }) })) })) })));
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)(Menu_1.Menu, Object.assign({ elevation: 2, 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({ onClick: handleDisconnect, disableRipple: true }, { children: [(0, jsx_runtime_1.jsx)(icons_material_1.PowerSettingsNewRounded, {}), t(`button.disconnectWallet`)] }))] }))] }));
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.Menu = void 0;
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.Menu = (0, styles_1.styled)(material_1.Menu)(({ theme }) => ({
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: theme.spacing(0.5, 0),
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: 18,
22
+ fontSize: 20,
19
23
  color: theme.palette.text.primary,
20
24
  marginRight: theme.spacing(1.5),
21
25
  },
@@ -42,7 +42,7 @@ const paletteDark = {
42
42
  };
43
43
  const shape = {
44
44
  borderRadius: 12,
45
- borderRadiusSecondary: 6,
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;
@@ -1,2 +1,2 @@
1
1
  export declare const name = "@lifi/widget";
2
- export declare const version = "1.30.0";
2
+ export declare const version = "1.31.1";
@@ -2,4 +2,4 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.version = exports.name = void 0;
4
4
  exports.name = '@lifi/widget';
5
- exports.version = '1.30.0';
5
+ exports.version = '1.31.1';
@@ -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 = (0, utils_1.deepClone)(updatedRoute);
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
- "disconnectWallet": "Disconnect wallet",
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
- "disconnectWallet": "Scollegare il portafoglio",
12
+ "disconnect": "Disconnetti",
12
13
  "done": "Fatto",
13
- "getGas": "Get gas",
14
- "hide": "Nascondere",
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": "Ok",
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 tutti",
25
- "startGasSwap": "Start gas swap",
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: 4)}}"
34
+ "number": "{{value, number(maximumFractionDigits: 9)}}"
33
35
  },
34
36
  "header": {
35
- "activeSwaps": "Swap attivi",
36
- "from": "Scambio da",
37
+ "activeSwaps": "Scambi attivi",
38
+ "checkout": "Checkout",
39
+ "from": "Scambia da",
37
40
  "gas": "Gas",
38
- "gasSwap": "Gas swap",
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": "Storia dello scambio",
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": "Ponti abilitati",
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 alle impostazioni predefinite",
64
- "routePriority": "Priorità di percorso",
65
- "selectEnabledBridges": "Selezionare i ponti abilitati",
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": "Slippage"
71
+ "slippage": "Slittamento"
69
72
  },
70
73
  "swap": {
71
74
  "crossStepDetails": "Trasferisci da {{from}} a {{to}} tramite {{tool}}",
72
- "currentAmount": "Current amount",
75
+ "currentAmount": "Quantità corrente",
73
76
  "error": {
74
77
  "message": {
75
- "slippageThreshold": "The slippage is larger than the defined threshold. Please request a new route to get a fresh quote.",
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, i fondi sono ancora nel tuo portafoglio ({{amount, number(maximumFractionDigits: 4)}} {{tokenSymbol}} su {{chainName}}).",
78
- "transactionRejected": "Per completare la transazione è necessaria la sua firma. {{amount, number(maximumFractionDigits: 4)}} {{tokenSymbol}} su {{chainName}} rimangono nel tuo portafoglio.",
79
- "unknown": "Please try again or contact support."
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": "The balance is too low",
83
- "chainSwitch": "È necessario cambiare la chain.",
84
- "failed": "Scambio fallito.",
85
- "gasLimitIsTooLow": "The gas limit is too low",
86
- "slippageNotMet": "Slippage conditions not met",
87
- "transactionCanceled": "Transaction canceled",
88
- "transactionFailed": "La transazione è fallita.",
89
- "transactionRejected": "Firma obbligatoria.",
90
- "transactionUnderpriced": "L'operazione è sottoprezzo.",
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
- "walletEnsAddressInvalid": "L'indirizzo del portafoglio non è valido o la rete non supporta ENS."
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": "estimated gas fee",
103
- "gasFeePaid": "gas fee paid",
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 swap in corso vengono visualizzati qui. Una volta completati, li troverete nella cronologia degli swap.",
108
- "emptySwapHistory": "La cronologia di swap viene memorizzata solo localmente e verrà cancellata se si cancellano i dati del browser.",
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 swap attivo",
114
- "emptySwapHistory": "Nessuno swap recente",
117
+ "emptyActiveSwaps": "Nessuno scambio attivo",
118
+ "emptySwapHistory": "Nessuno scambio recente",
115
119
  "routeNotFound": "Nessuna rotta disponibile"
116
120
  }
117
121
  },
118
- "onChain": "on {{chainName}}",
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": "Operazione approvata.",
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": "Fondi ricevuti.",
129
- "partial": "Bridge partially completed",
130
- "pending": "In attesa di ricevere la catena.",
131
- "refunded": "Bridge transaction 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": "Scambio.",
137
- "started": "Preparazione dello swap."
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 a chain.",
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": "Approvazione dell'indennità del token.",
145
- "pending": "In attesa dell'indennità del token.",
146
- "started": "Impostazione dell'indennità di token."
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": "Quoted amount",
150
- "rateChange": "Rate change",
151
- "receiving": "Ricezione",
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 e il token",
161
+ "selectChainAndToken": "Selezionare la chain ed il token",
155
162
  "selectToken": "Token",
156
- "sendToAddress": "Send to {{address}}",
157
- "sendToWallet": "Inviare a un altro portafoglio",
158
- "sentToAddress": "Sent to {{address}}",
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 trasferisci",
168
+ "stepSwapAndBridge": "Scambia e bridge",
162
169
  "success": {
163
170
  "message": {
164
- "swapPartiallySuccessful": "We've tried to complete the swap, but {{tool}} ran out of liquidity for {{tokenSymbol}} token.",
165
- "swapSuccessful": "Sono presenti ora {{amount, number(maximumFractionDigits: 4)}} {{tokenSymbol}} nel portafoglio {{walletAddress}} sulla chain {{chainName}}."
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": "Gas swap successful",
169
- "refundIssued": "Refund issued",
170
- "swapPartiallySuccessful": "Swap partially successful",
171
- "swapSuccessful": "Scambio avvenuto con successo"
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": "Scambio",
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: 4)}} {{tokenSymbol}} su {{chainName}}",
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 swap attivi vengono memorizzati solo localmente e non possono essere recuperati se vengono cancellati.",
193
- "deleteSwapHistory": "La cronologia degli scambi viene memorizzata solo localmente e non può essere recuperata se viene cancellata.",
194
- "highValueLoss": "Il valore dei gettoni ricevuti è significativamente inferiore ai gettoni scambiati e al costo della transazione.",
195
- "insufficientFunds": "Non hai abbastanza fondi per eseguire lo swap.",
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": "The exchange rate has changed. By continuing the swap, you'll accept the new rate."
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": "Rate changed"
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 swap. Ogni fase può contenere 1-3 transazioni che richiedono una firma.",
217
- "progressToNextUpdate": "I dati visualizzati si aggiorneranno automaticamente dopo {{value}} secondi. Fai clic qui per aggiornare manualmente.",
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
- "disconnectWallet": "Відключити гаманець",
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
  },