@lifi/widget 2.0.0-beta.1 → 2.0.0-beta.10
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/App.d.ts +4 -3
- package/AppDrawer.d.ts +1 -1
- package/AppDrawer.js +2 -1
- package/AppProvider.js +1 -1
- package/README.md +11 -12
- package/cjs/App.d.ts +4 -3
- package/cjs/AppDrawer.d.ts +1 -1
- package/cjs/AppDrawer.js +2 -1
- package/cjs/AppProvider.js +1 -1
- package/cjs/components/ChainSelect/ChainSelect.d.ts +1 -2
- package/cjs/components/ChainSelect/ChainSelect.style.js +1 -1
- package/cjs/components/ChainSelect/useChainSelect.js +6 -0
- package/cjs/components/GasMessage/FundsSufficiencyMessage.d.ts +1 -2
- package/cjs/components/GasMessage/GasMessage.js +1 -6
- package/cjs/components/Header/Header.js +2 -2
- package/cjs/components/Header/Header.style.d.ts +10 -3
- package/cjs/components/Header/Header.style.js +3 -0
- package/cjs/components/Header/NavigationHeader.js +23 -7
- package/cjs/components/Header/NavigationTabs.d.ts +1 -0
- package/cjs/components/Header/NavigationTabs.js +26 -0
- package/cjs/components/Header/NavigationTabs.style.d.ts +34 -0
- package/cjs/components/Header/NavigationTabs.style.js +61 -0
- package/cjs/components/Header/WalletHeader.d.ts +1 -0
- package/cjs/components/Header/WalletHeader.js +16 -9
- package/cjs/components/Header/useHeaderActionStore.js +0 -1
- package/cjs/components/Insurance/Insurance.js +2 -2
- package/cjs/components/Insurance/InsuranceCard.js +34 -12
- package/cjs/components/Insurance/InsuranceCollapsed.js +9 -11
- package/cjs/components/Insurance/index.d.ts +1 -0
- package/cjs/components/Insurance/index.js +1 -0
- package/cjs/components/Insurance/types.d.ts +12 -9
- package/cjs/components/NFT/NFT.js +2 -2
- package/cjs/components/NFT/types.d.ts +1 -1
- package/cjs/components/PoweredBy/PoweredBy.js +2 -3
- package/cjs/components/SelectChainAndToken.js +8 -7
- package/cjs/components/SelectTokenButton/SelectTokenButton.js +6 -3
- package/cjs/components/SendToWallet/SendToWallet.js +2 -2
- package/cjs/components/SmallAvatar.d.ts +1 -1
- package/cjs/components/Step/CircularProgress.d.ts +1 -2
- package/cjs/components/Step/Step.js +15 -5
- package/cjs/components/Step/StepList.d.ts +1 -2
- package/cjs/components/StepActions/StepActions.js +4 -20
- package/cjs/components/SwapButton/SwapButton.js +16 -4
- package/cjs/components/SwapInput/FormPriceHelperText.js +1 -1
- package/cjs/components/SwapInput/SwapInput.js +2 -2
- package/cjs/components/SwapInput/SwapInputEndAdornment.d.ts +1 -2
- package/cjs/components/SwapInput/SwapInputEndAdornment.js +2 -2
- package/cjs/components/SwapRouteCard/SwapRouteCard.js +19 -3
- package/cjs/components/SwapRouteCard/SwapRouteCardEssentials.js +1 -1
- package/cjs/components/SwapRouteCard/SwapRouteCardSkeleton.js +1 -1
- package/cjs/components/SwapRoutes/SwapRoutes.js +1 -1
- package/cjs/components/SwapRoutes/SwapRoutesExpanded.d.ts +2 -3
- package/cjs/components/SwapRoutes/SwapRoutesExpanded.js +2 -2
- package/cjs/components/SwapRoutes/SwapRoutesExpanded.style.js +1 -0
- package/cjs/components/Token/Token.js +1 -1
- package/cjs/components/TokenAvatar/TokenAvatar.d.ts +4 -4
- package/cjs/components/TokenList/TokenList.js +9 -4
- package/cjs/components/TokenList/TokenList.style.d.ts +5 -2
- package/cjs/components/TokenList/TokenList.style.js +20 -1
- package/cjs/components/TokenList/TokenListItem.d.ts +1 -1
- package/cjs/components/TokenList/TokenListItem.js +28 -5
- package/cjs/components/TokenList/VirtualizedTokenList.js +3 -3
- package/cjs/components/TokenList/types.d.ts +6 -3
- package/cjs/config/theme.js +15 -3
- package/cjs/config/version.d.ts +1 -1
- package/cjs/config/version.js +1 -1
- package/cjs/hooks/index.d.ts +2 -1
- package/cjs/hooks/index.js +2 -1
- package/cjs/hooks/useContentHeight.js +3 -5
- package/cjs/hooks/useFeaturedTokens.d.ts +1 -1
- package/cjs/hooks/useFundsSufficiency.js +2 -2
- package/cjs/hooks/useGasRefuel.d.ts +1 -1
- package/cjs/hooks/useGasRefuel.js +5 -15
- package/cjs/hooks/useGasSufficiency.js +12 -3
- package/cjs/hooks/useInitializer.js +0 -1
- package/cjs/hooks/useProcessMessage.d.ts +2 -1
- package/cjs/hooks/useProcessMessage.js +27 -9
- package/cjs/hooks/useRouteExecution.js +6 -5
- package/cjs/hooks/useSwapOnly.d.ts +1 -0
- package/cjs/hooks/useSwapOnly.js +9 -0
- package/cjs/hooks/useSwapRoutes.d.ts +1 -2
- package/cjs/hooks/useSwapRoutes.js +32 -18
- package/cjs/hooks/useToken.d.ts +1 -1
- package/cjs/hooks/useTokenAddressBalance.d.ts +2 -2
- package/cjs/hooks/useTokenBalance.js +6 -7
- package/cjs/hooks/useTokenBalances.d.ts +5 -5
- package/cjs/hooks/useTokenBalances.js +4 -19
- package/cjs/hooks/useTokenSearch.d.ts +2 -2
- package/cjs/hooks/useTokens.d.ts +2 -2
- package/cjs/i18n/bn.json +8 -0
- package/cjs/i18n/en.json +30 -5
- package/cjs/i18n/fr.json +8 -0
- package/cjs/i18n/id.json +22 -7
- package/cjs/i18n/ko.json +22 -7
- package/cjs/i18n/pt.json +32 -7
- package/cjs/i18n/th.json +21 -6
- package/cjs/i18n/uk.json +43 -18
- package/cjs/i18n/zh.json +23 -8
- package/cjs/icons/InsuraceLogo.d.ts +1 -1
- package/cjs/icons/LiFiFullLogo.d.ts +1 -1
- package/cjs/icons/LiFiLogo.d.ts +1 -1
- package/cjs/icons/LiFiToolLogo.d.ts +1 -1
- package/cjs/index.d.ts +1 -1
- package/cjs/pages/ActiveSwapsPage/ActiveSwapsPage.d.ts +1 -2
- package/cjs/pages/SelectTokenPage/SearchTokenInput.d.ts +1 -2
- package/cjs/pages/SelectTokenPage/SelectTokenPage.js +3 -1
- package/cjs/pages/SelectWalletPage/SelectWalletPage.d.ts +1 -2
- package/cjs/pages/SettingsPage/GasPriceSelect.d.ts +1 -2
- package/cjs/pages/SettingsPage/LanguageSelect.js +1 -1
- package/cjs/pages/SettingsPage/SettingsPage.d.ts +1 -2
- package/cjs/pages/SettingsPage/ShowDestinationWallet.d.ts +1 -2
- package/cjs/pages/SettingsPage/SlippageInput.d.ts +1 -2
- package/cjs/pages/SwapDetailsPage/SwapDetailsPage.js +6 -2
- package/cjs/pages/SwapPage/ExchangeRateBottomSheet.js +1 -1
- package/cjs/pages/SwapPage/StatusBottomSheet.js +15 -9
- package/cjs/pages/SwapPage/StatusBottomSheet.style.d.ts +1 -1
- package/cjs/pages/SwapPage/StatusBottomSheet.style.js +2 -2
- package/cjs/pages/SwapPage/SwapPage.js +31 -10
- package/cjs/pages/SwapPage/TokenValueBottomSheet.js +7 -12
- package/cjs/pages/SwapPage/utils.d.ts +2 -0
- package/cjs/pages/SwapPage/utils.js +10 -0
- package/cjs/providers/I18nProvider/I18nProvider.js +3 -3
- package/cjs/providers/SDKProvider/SDKProvider.js +2 -0
- package/cjs/providers/SwapFormProvider/FormUpdater.js +3 -0
- package/cjs/providers/WalletProvider/WalletProvider.js +77 -49
- package/cjs/providers/WalletProvider/types.d.ts +3 -5
- package/cjs/providers/WidgetProvider/WidgetProvider.js +1 -1
- package/cjs/stores/StoreProvider.d.ts +2 -2
- package/cjs/stores/StoreProvider.js +3 -2
- package/cjs/stores/routes/RouteExecutionStore.d.ts +1 -1
- package/cjs/stores/routes/RouteExecutionStore.js +0 -1
- package/cjs/stores/settings/index.d.ts +1 -0
- package/cjs/stores/settings/index.js +1 -0
- package/cjs/stores/settings/types.d.ts +11 -0
- package/cjs/stores/settings/useSplitSubvariantStore.d.ts +7 -0
- package/cjs/stores/settings/useSplitSubvariantStore.js +44 -0
- package/cjs/types/events.d.ts +9 -1
- package/cjs/types/events.js +1 -0
- package/cjs/types/token.d.ts +2 -2
- package/cjs/types/widget.d.ts +13 -8
- package/cjs/types/widget.js +4 -2
- package/cjs/utils/format.d.ts +1 -1
- package/cjs/utils/format.js +7 -12
- package/cjs/utils/wallet.d.ts +1 -1
- package/cjs/utils/wallet.js +3 -3
- package/components/ChainSelect/ChainSelect.d.ts +1 -2
- package/components/ChainSelect/ChainSelect.style.js +1 -1
- package/components/ChainSelect/useChainSelect.js +7 -1
- package/components/GasMessage/FundsSufficiencyMessage.d.ts +1 -2
- package/components/GasMessage/GasMessage.js +2 -7
- package/components/Header/Header.js +3 -3
- package/components/Header/Header.style.d.ts +10 -3
- package/components/Header/Header.style.js +3 -0
- package/components/Header/NavigationHeader.js +23 -7
- package/components/Header/NavigationTabs.d.ts +1 -0
- package/components/Header/NavigationTabs.js +22 -0
- package/components/Header/NavigationTabs.style.d.ts +34 -0
- package/components/Header/NavigationTabs.style.js +58 -0
- package/components/Header/WalletHeader.d.ts +1 -0
- package/components/Header/WalletHeader.js +14 -8
- package/components/Header/useHeaderActionStore.js +0 -1
- package/components/Insurance/Insurance.js +2 -2
- package/components/Insurance/InsuranceCard.js +37 -15
- package/components/Insurance/InsuranceCollapsed.js +9 -11
- package/components/Insurance/index.d.ts +1 -0
- package/components/Insurance/index.js +1 -0
- package/components/Insurance/types.d.ts +12 -9
- package/components/NFT/NFT.js +2 -2
- package/components/NFT/types.d.ts +1 -1
- package/components/PoweredBy/PoweredBy.js +2 -3
- package/components/SelectChainAndToken.js +9 -8
- package/components/SelectTokenButton/SelectTokenButton.js +7 -4
- package/components/SendToWallet/SendToWallet.js +2 -2
- package/components/SmallAvatar.d.ts +1 -1
- package/components/Step/CircularProgress.d.ts +1 -2
- package/components/Step/Step.js +16 -6
- package/components/Step/StepList.d.ts +1 -2
- package/components/StepActions/StepActions.js +4 -20
- package/components/SwapButton/SwapButton.js +16 -4
- package/components/SwapInput/FormPriceHelperText.js +2 -2
- package/components/SwapInput/SwapInput.js +3 -3
- package/components/SwapInput/SwapInputEndAdornment.d.ts +1 -2
- package/components/SwapInput/SwapInputEndAdornment.js +2 -2
- package/components/SwapRouteCard/SwapRouteCard.js +21 -5
- package/components/SwapRouteCard/SwapRouteCardEssentials.js +1 -1
- package/components/SwapRouteCard/SwapRouteCardSkeleton.js +1 -1
- package/components/SwapRoutes/SwapRoutes.js +1 -1
- package/components/SwapRoutes/SwapRoutesExpanded.d.ts +2 -3
- package/components/SwapRoutes/SwapRoutesExpanded.js +2 -2
- package/components/SwapRoutes/SwapRoutesExpanded.style.js +1 -0
- package/components/Token/Token.js +1 -1
- package/components/TokenAvatar/TokenAvatar.d.ts +4 -4
- package/components/TokenList/TokenList.js +10 -5
- package/components/TokenList/TokenList.style.d.ts +5 -2
- package/components/TokenList/TokenList.style.js +21 -2
- package/components/TokenList/TokenListItem.d.ts +1 -1
- package/components/TokenList/TokenListItem.js +32 -9
- package/components/TokenList/VirtualizedTokenList.js +3 -3
- package/components/TokenList/types.d.ts +6 -3
- package/config/theme.js +15 -3
- package/config/version.d.ts +1 -1
- package/config/version.js +1 -1
- package/hooks/index.d.ts +2 -1
- package/hooks/index.js +2 -1
- package/hooks/useContentHeight.js +4 -6
- package/hooks/useFeaturedTokens.d.ts +1 -1
- package/hooks/useFundsSufficiency.js +2 -2
- package/hooks/useGasRefuel.d.ts +1 -1
- package/hooks/useGasRefuel.js +5 -15
- package/hooks/useGasSufficiency.js +13 -4
- package/hooks/useInitializer.js +0 -1
- package/hooks/useProcessMessage.d.ts +2 -1
- package/hooks/useProcessMessage.js +27 -9
- package/hooks/useRouteExecution.js +6 -5
- package/hooks/useSwapOnly.d.ts +1 -0
- package/hooks/useSwapOnly.js +5 -0
- package/hooks/useSwapRoutes.d.ts +1 -2
- package/hooks/useSwapRoutes.js +32 -18
- package/hooks/useToken.d.ts +1 -1
- package/hooks/useTokenAddressBalance.d.ts +2 -2
- package/hooks/useTokenBalance.js +6 -7
- package/hooks/useTokenBalances.d.ts +5 -5
- package/hooks/useTokenBalances.js +4 -19
- package/hooks/useTokenSearch.d.ts +2 -2
- package/hooks/useTokens.d.ts +2 -2
- package/i18n/bn.json +8 -0
- package/i18n/en.json +30 -5
- package/i18n/fr.json +8 -0
- package/i18n/id.json +22 -7
- package/i18n/ko.json +22 -7
- package/i18n/pt.json +32 -7
- package/i18n/th.json +21 -6
- package/i18n/uk.json +43 -18
- package/i18n/zh.json +23 -8
- package/icons/InsuraceLogo.d.ts +1 -1
- package/icons/LiFiFullLogo.d.ts +1 -1
- package/icons/LiFiLogo.d.ts +1 -1
- package/icons/LiFiToolLogo.d.ts +1 -1
- package/index.d.ts +1 -1
- package/package.json +13 -13
- package/pages/ActiveSwapsPage/ActiveSwapsPage.d.ts +1 -2
- package/pages/SelectTokenPage/SearchTokenInput.d.ts +1 -2
- package/pages/SelectTokenPage/SelectTokenPage.js +4 -2
- package/pages/SelectWalletPage/SelectWalletPage.d.ts +1 -2
- package/pages/SettingsPage/GasPriceSelect.d.ts +1 -2
- package/pages/SettingsPage/LanguageSelect.js +1 -1
- package/pages/SettingsPage/SettingsPage.d.ts +1 -2
- package/pages/SettingsPage/ShowDestinationWallet.d.ts +1 -2
- package/pages/SettingsPage/SlippageInput.d.ts +1 -2
- package/pages/SwapDetailsPage/SwapDetailsPage.js +6 -2
- package/pages/SwapPage/ExchangeRateBottomSheet.js +2 -2
- package/pages/SwapPage/StatusBottomSheet.js +18 -12
- package/pages/SwapPage/StatusBottomSheet.style.d.ts +1 -1
- package/pages/SwapPage/StatusBottomSheet.style.js +1 -1
- package/pages/SwapPage/SwapPage.js +33 -12
- package/pages/SwapPage/TokenValueBottomSheet.js +8 -13
- package/pages/SwapPage/utils.d.ts +2 -0
- package/pages/SwapPage/utils.js +6 -0
- package/providers/I18nProvider/I18nProvider.js +3 -3
- package/providers/SDKProvider/SDKProvider.js +2 -0
- package/providers/SwapFormProvider/FormUpdater.js +3 -0
- package/providers/WalletProvider/WalletProvider.js +78 -50
- package/providers/WalletProvider/types.d.ts +3 -5
- package/providers/WidgetProvider/WidgetProvider.js +2 -2
- package/stores/StoreProvider.d.ts +2 -2
- package/stores/StoreProvider.js +3 -2
- package/stores/routes/RouteExecutionStore.d.ts +1 -1
- package/stores/routes/RouteExecutionStore.js +0 -1
- package/stores/settings/index.d.ts +1 -0
- package/stores/settings/index.js +1 -0
- package/stores/settings/types.d.ts +11 -0
- package/stores/settings/useSplitSubvariantStore.d.ts +7 -0
- package/stores/settings/useSplitSubvariantStore.js +37 -0
- package/tsconfig.cjs.tsbuildinfo +1 -1
- package/types/events.d.ts +9 -1
- package/types/events.js +1 -0
- package/types/token.d.ts +2 -2
- package/types/widget.d.ts +13 -8
- package/types/widget.js +4 -2
- package/utils/format.d.ts +1 -1
- package/utils/format.js +5 -10
- package/utils/wallet.d.ts +1 -1
- package/utils/wallet.js +1 -1
|
@@ -1,37 +1,22 @@
|
|
|
1
1
|
import { useQuery } from '@tanstack/react-query';
|
|
2
|
-
import { useState } from 'react';
|
|
3
2
|
import { useLiFi, useWallet } from '../providers';
|
|
4
|
-
import { formatTokenAmount } from '../utils';
|
|
5
3
|
import { useFeaturedTokens } from './useFeaturedTokens';
|
|
6
4
|
import { useTokens } from './useTokens';
|
|
7
|
-
const defaultRefetchInterval =
|
|
8
|
-
const minRefetchInterval = 1000;
|
|
5
|
+
const defaultRefetchInterval = 32000;
|
|
9
6
|
export const useTokenBalances = (selectedChainId) => {
|
|
10
7
|
const lifi = useLiFi();
|
|
11
8
|
const { account } = useWallet();
|
|
12
9
|
const featuredTokens = useFeaturedTokens(selectedChainId);
|
|
13
10
|
const { tokens, isLoading } = useTokens(selectedChainId);
|
|
14
|
-
const [refetchInterval, setRefetchInterval] = useState(defaultRefetchInterval);
|
|
15
11
|
const isBalanceLoadingEnabled = Boolean(account.address) &&
|
|
16
12
|
Boolean(tokens?.length) &&
|
|
17
13
|
Boolean(selectedChainId);
|
|
18
14
|
const { data: tokensWithBalance, isLoading: isBalanceLoading, refetch, } = useQuery(['token-balances', account.address, selectedChainId, tokens?.length], async ({ queryKey: [, accountAddress] }) => {
|
|
19
15
|
const tokenBalances = await lifi.getTokenBalances(accountAddress, tokens);
|
|
20
|
-
if (!tokenBalances?.length) {
|
|
21
|
-
// Sometimes RPCs (e.g. Arbitrum) don't return balances on first call
|
|
22
|
-
// TODO: fix and remove backplane
|
|
23
|
-
setRefetchInterval((interval) => interval === defaultRefetchInterval
|
|
24
|
-
? minRefetchInterval
|
|
25
|
-
: interval * 2);
|
|
26
|
-
throw Error('Could not get tokens balance.');
|
|
27
|
-
}
|
|
28
16
|
const featuredTokenAddresses = new Set(featuredTokens?.map((token) => token.address));
|
|
29
17
|
const sortFn = (a, b) => parseFloat(b.amount ?? '0') * parseFloat(b.priceUSD ?? '0') -
|
|
30
18
|
parseFloat(a.amount ?? '0') * parseFloat(a.priceUSD ?? '0');
|
|
31
|
-
const formattedTokens = (tokenBalances.length === 0 ? tokens : tokenBalances)
|
|
32
|
-
token.amount = formatTokenAmount(token.amount);
|
|
33
|
-
return token;
|
|
34
|
-
});
|
|
19
|
+
const formattedTokens = (tokenBalances.length === 0 ? tokens : tokenBalances);
|
|
35
20
|
const result = [
|
|
36
21
|
...formattedTokens
|
|
37
22
|
.filter((token) => token.amount !== '0' && featuredTokenAddresses.has(token.address))
|
|
@@ -46,8 +31,8 @@ export const useTokenBalances = (selectedChainId) => {
|
|
|
46
31
|
return result;
|
|
47
32
|
}, {
|
|
48
33
|
enabled: isBalanceLoadingEnabled,
|
|
49
|
-
refetchInterval,
|
|
50
|
-
staleTime:
|
|
34
|
+
refetchInterval: defaultRefetchInterval,
|
|
35
|
+
staleTime: defaultRefetchInterval,
|
|
51
36
|
});
|
|
52
37
|
return {
|
|
53
38
|
tokens,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { TokenAmount } from '../types';
|
|
2
2
|
export declare const useTokenSearch: (chainId?: number, tokenQuery?: string, enabled?: boolean) => {
|
|
3
|
-
token:
|
|
3
|
+
token: TokenAmount | undefined;
|
|
4
4
|
isLoading: boolean;
|
|
5
5
|
};
|
package/hooks/useTokens.d.ts
CHANGED
package/i18n/bn.json
CHANGED
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
"done": "সম্পন্ন হয়েছে",
|
|
13
13
|
"getGas": "গ্যাস পান",
|
|
14
14
|
"hide": "গোপন করুন",
|
|
15
|
+
"learnMore": "আরও জানুন",
|
|
15
16
|
"lifiSwap": "লি.ফাই সোওয়াপ",
|
|
16
17
|
"light": "লাইট",
|
|
17
18
|
"max": "সর্বোচ্চ",
|
|
@@ -29,6 +30,7 @@
|
|
|
29
30
|
"startSwap": "সোওয়াপ শুরু করুন",
|
|
30
31
|
"swap": "সোওয়াপ",
|
|
31
32
|
"tryAgain": "আবার চেষ্টা করুন",
|
|
33
|
+
"viewCoverage": "কভারেজ দেখুন",
|
|
32
34
|
"viewOnExplorer": "এক্সপ্লোরারে দেখুন"
|
|
33
35
|
},
|
|
34
36
|
"format": {
|
|
@@ -104,6 +106,12 @@
|
|
|
104
106
|
"gasFeeEstimated": "আনুমানিক গ্যাস ফি",
|
|
105
107
|
"gasFeePaid": "গ্যাস ফি প্রদান করা হয়",
|
|
106
108
|
"inProgress": "প্রক্রিয়াধীন",
|
|
109
|
+
"insurance": {
|
|
110
|
+
"bridgeExploits": "ব্রিজের ত্রুটি, হ্যাক বা শোষণ",
|
|
111
|
+
"insure": "ট্রানজিটে টোকেনের ১০০% বীমা করুন।",
|
|
112
|
+
"insured": "আপনি ট্রানজিটের ১০০% টোকেন বীমা করেছেন:",
|
|
113
|
+
"slippageError": "প্রাপ্ত টোকেনগুলির জন্য স্লিপেজে ত্রুটি।"
|
|
114
|
+
},
|
|
107
115
|
"info": {
|
|
108
116
|
"message": {
|
|
109
117
|
"autoRefuel": "আপনার {{chainName}} গ্যাস কম। চালিয়ে যাওয়ার মাধ্যমে, আপনি সোওয়াপ সম্পূর্ণ করার জন্য পর্যাপ্ত গ্যাস পাবেন।",
|
package/i18n/en.json
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"button": {
|
|
3
3
|
"auto": "Auto",
|
|
4
|
+
"buy": "Buy",
|
|
5
|
+
"buyNow": "Buy now",
|
|
4
6
|
"cancel": "Cancel",
|
|
5
7
|
"connectWallet": "Connect wallet",
|
|
6
8
|
"contactSupport": "Contact support",
|
|
@@ -12,6 +14,7 @@
|
|
|
12
14
|
"done": "Done",
|
|
13
15
|
"getGas": "Get gas",
|
|
14
16
|
"hide": "Hide",
|
|
17
|
+
"learnMore": "Learn more",
|
|
15
18
|
"lifiSwap": "LI.FI Swap",
|
|
16
19
|
"light": "Light",
|
|
17
20
|
"max": "max",
|
|
@@ -22,6 +25,7 @@
|
|
|
22
25
|
"resetSettings": "Reset settings",
|
|
23
26
|
"restartSwap": "Restart swap",
|
|
24
27
|
"reviewGasSwap": "Review gas swap",
|
|
28
|
+
"reviewPurchase": "Review purchase",
|
|
25
29
|
"reviewSwap": "Review swap",
|
|
26
30
|
"seeDetails": "See details",
|
|
27
31
|
"showAll": "Show all",
|
|
@@ -29,6 +33,7 @@
|
|
|
29
33
|
"startSwap": "Start swap",
|
|
30
34
|
"swap": "Swap",
|
|
31
35
|
"tryAgain": "Try again",
|
|
36
|
+
"viewCoverage": "View coverage",
|
|
32
37
|
"viewOnExplorer": "View on explorer"
|
|
33
38
|
},
|
|
34
39
|
"format": {
|
|
@@ -37,10 +42,14 @@
|
|
|
37
42
|
},
|
|
38
43
|
"header": {
|
|
39
44
|
"activeSwaps": "Active swaps",
|
|
45
|
+
"bridge": "Bridge",
|
|
40
46
|
"checkout": "Checkout",
|
|
41
47
|
"from": "Swap from",
|
|
42
48
|
"gas": "Gas",
|
|
43
49
|
"gasSwap": "Gas swap",
|
|
50
|
+
"payWith": "Pay with",
|
|
51
|
+
"purchase": "Purchase",
|
|
52
|
+
"purchaseDetails": "Purchase details",
|
|
44
53
|
"routes": "You get",
|
|
45
54
|
"selectChain": "Select chain",
|
|
46
55
|
"selectWallet": "Select your wallet",
|
|
@@ -73,6 +82,8 @@
|
|
|
73
82
|
"currentAmount": "Current amount",
|
|
74
83
|
"error": {
|
|
75
84
|
"message": {
|
|
85
|
+
"allowanceRequired": "Transfer amount for {{tokenSymbol}} exceeds your current allowance. Please increase your allowance and try again.",
|
|
86
|
+
"insufficientFunds": "You don't have enough gas to cover the cost of the transaction.",
|
|
76
87
|
"slippageThreshold": "The slippage is larger than the defined threshold. Please request a new route to get a fresh quote.",
|
|
77
88
|
"transactionFailed": "Please check the block explorer for more information.",
|
|
78
89
|
"transactionNotSent": "Transaction was not sent. {{amount, number(maximumFractionDigits: 9)}} {{tokenSymbol}} on {{chainName}} remain in your wallet.",
|
|
@@ -80,10 +91,12 @@
|
|
|
80
91
|
"unknown": "Please try again or contact support."
|
|
81
92
|
},
|
|
82
93
|
"title": {
|
|
94
|
+
"allowanceRequired": "Insufficient allowance",
|
|
83
95
|
"balanceIsTooLow": "The balance is too low",
|
|
84
96
|
"chainSwitch": "Chain switch required",
|
|
85
97
|
"failed": "Swap failed",
|
|
86
98
|
"gasLimitIsTooLow": "The gas limit is too low",
|
|
99
|
+
"insufficientFunds": "Insufficient funds",
|
|
87
100
|
"slippageNotMet": "Slippage conditions not met",
|
|
88
101
|
"transactionCanceled": "Transaction canceled",
|
|
89
102
|
"transactionFailed": "Transaction failed",
|
|
@@ -104,6 +117,12 @@
|
|
|
104
117
|
"gasFeeEstimated": "estimated gas fee",
|
|
105
118
|
"gasFeePaid": "gas fee paid",
|
|
106
119
|
"inProgress": "in progress",
|
|
120
|
+
"insurance": {
|
|
121
|
+
"bridgeExploits": "Bridge malfunctions, hacks or exploits",
|
|
122
|
+
"insure": "Insure <strong>{{amount, number(maximumFractionDigits: 9)}} {{tokenSymbol}}</strong> in transit.",
|
|
123
|
+
"insured": "You've insured <strong>{{amount, number(maximumFractionDigits: 9)}} {{tokenSymbol}}</strong> in transit:",
|
|
124
|
+
"slippageError": "Error in slippage for tokens received"
|
|
125
|
+
},
|
|
107
126
|
"info": {
|
|
108
127
|
"message": {
|
|
109
128
|
"autoRefuel": "You're low on {{chainName}} gas. By continuing, you'll get enough gas to complete the swap.",
|
|
@@ -123,7 +142,6 @@
|
|
|
123
142
|
"onChain": "on {{chainName}}",
|
|
124
143
|
"otherTokens": "Other tokens",
|
|
125
144
|
"ownedBy": "Owned by",
|
|
126
|
-
"payWith": "Pay with",
|
|
127
145
|
"process": {
|
|
128
146
|
"crossChain": {
|
|
129
147
|
"actionRequired": "Please sign the transaction",
|
|
@@ -131,6 +149,9 @@
|
|
|
131
149
|
"pending": "Waiting for bridge transaction",
|
|
132
150
|
"started": "Preparing bridge transaction"
|
|
133
151
|
},
|
|
152
|
+
"nft": {
|
|
153
|
+
"done": "NFT purchased"
|
|
154
|
+
},
|
|
134
155
|
"receivingChain": {
|
|
135
156
|
"done": "Bridge completed",
|
|
136
157
|
"partial": "Bridge partially completed",
|
|
@@ -157,24 +178,27 @@
|
|
|
157
178
|
"rateChange": "Rate change",
|
|
158
179
|
"receiving": "Receiving",
|
|
159
180
|
"refuelStepDetails": "Get gas via {{tool}}",
|
|
160
|
-
"
|
|
161
|
-
"selectChain": "Chain",
|
|
181
|
+
"selectChain": "Select chain",
|
|
162
182
|
"selectChainAndToken": "Select chain and token",
|
|
163
|
-
"selectToken": "
|
|
183
|
+
"selectToken": "Select token",
|
|
164
184
|
"sendToAddress": "Send to {{address}}",
|
|
165
185
|
"sendToWallet": "Send to a different wallet",
|
|
166
186
|
"sentToAddress": "Sent to {{address}}",
|
|
167
187
|
"stepBridge": "Bridge",
|
|
188
|
+
"stepBridgeAndBuy": "Bridge and buy",
|
|
168
189
|
"stepDetails": "{{tool}} via LI.FI",
|
|
169
190
|
"stepSwap": "Swap",
|
|
170
191
|
"stepSwapAndBridge": "Swap and bridge",
|
|
192
|
+
"stepSwapAndBuy": "Swap and buy",
|
|
171
193
|
"success": {
|
|
172
194
|
"message": {
|
|
173
195
|
"swapPartiallySuccessful": "We've tried to complete the swap, but {{tool}} ran out of liquidity for {{tokenSymbol}} token.",
|
|
196
|
+
"purchaseSuccessful": "You now own {{assetName}} in {{walletAddress}} wallet on {{chainName}} chain.",
|
|
174
197
|
"swapSuccessful": "There are now {{amount, number(maximumFractionDigits: 9)}} {{tokenSymbol}} in {{walletAddress}} wallet on {{chainName}} chain."
|
|
175
198
|
},
|
|
176
199
|
"title": {
|
|
177
200
|
"gasSwapSuccessful": "Gas swap successful",
|
|
201
|
+
"purchaseSuccessful": "Purchase successful",
|
|
178
202
|
"refundIssued": "Refund issued",
|
|
179
203
|
"swapPartiallySuccessful": "Swap partially successful",
|
|
180
204
|
"swapSuccessful": "Swap successful"
|
|
@@ -195,7 +219,7 @@
|
|
|
195
219
|
"to": "To",
|
|
196
220
|
"tokenOnChain": "{{tokenSymbol}} on {{chainName}}",
|
|
197
221
|
"tokenOnChainAmount": "{{amount, number(maximumFractionDigits: 9)}} {{tokenSymbol}} on {{chainName}}",
|
|
198
|
-
"tokenSearch": "Search
|
|
222
|
+
"tokenSearch": "Search by token name or address",
|
|
199
223
|
"valueLoss": "Value loss",
|
|
200
224
|
"walletAddressOrEns": "Wallet address or ENS name",
|
|
201
225
|
"warning": {
|
|
@@ -229,6 +253,7 @@
|
|
|
229
253
|
},
|
|
230
254
|
"numberOfSteps": "A number of swap steps. Each step can contain 1-2 transactions that require a signature.",
|
|
231
255
|
"progressToNextUpdate": "Displayed data will auto-refresh after {{value}} seconds. Click here to update manually.",
|
|
256
|
+
"recommended": "A cheap route that balances complexity and ease of use.",
|
|
232
257
|
"settingsModified": "Settings (modified)"
|
|
233
258
|
},
|
|
234
259
|
"wallet": {
|
package/i18n/fr.json
CHANGED
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
"done": "Terminé",
|
|
13
13
|
"getGas": "Obtenir du gaz",
|
|
14
14
|
"hide": "Cacher",
|
|
15
|
+
"learnMore": "Plus d'info",
|
|
15
16
|
"lifiSwap": "LI.FI Swap",
|
|
16
17
|
"light": "Clair",
|
|
17
18
|
"max": "max",
|
|
@@ -29,6 +30,7 @@
|
|
|
29
30
|
"startSwap": "Commencer l'échange",
|
|
30
31
|
"swap": "Échanger",
|
|
31
32
|
"tryAgain": "Réessayer",
|
|
33
|
+
"viewCoverage": "Voir la couverture",
|
|
32
34
|
"viewOnExplorer": "Voir sur l'explorateur"
|
|
33
35
|
},
|
|
34
36
|
"format": {
|
|
@@ -104,6 +106,12 @@
|
|
|
104
106
|
"gasFeeEstimated": "frais de gaz estimés",
|
|
105
107
|
"gasFeePaid": "frais de gaz payés",
|
|
106
108
|
"inProgress": "en cours",
|
|
109
|
+
"insurance": {
|
|
110
|
+
"bridgeExploits": "Des dysfonctionnements de pont, des hacks ou des exploits",
|
|
111
|
+
"insure": "Assurer 100% des jetons en cours de transit.",
|
|
112
|
+
"insured": "Vous avez assuré 100 % des jetons en cours de transit:",
|
|
113
|
+
"slippageError": "Erreur dans le slippage pour les jetons reçus"
|
|
114
|
+
},
|
|
107
115
|
"info": {
|
|
108
116
|
"message": {
|
|
109
117
|
"autoRefuel": "Vous avez peu de gaz sur {{chainName}}. En continuant, vous aurez assez de gaz pour compléter l'échange.",
|
package/i18n/id.json
CHANGED
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
"done": "Selesai",
|
|
13
13
|
"getGas": "Dapatkan gas",
|
|
14
14
|
"hide": "Sembunyikan",
|
|
15
|
+
"learnMore": "Pelajari lebih lanjut",
|
|
15
16
|
"lifiSwap": "LI.FI Swap",
|
|
16
17
|
"light": "Terang",
|
|
17
18
|
"max": "maks",
|
|
@@ -29,6 +30,7 @@
|
|
|
29
30
|
"startSwap": "Mulai swap",
|
|
30
31
|
"swap": "Swap",
|
|
31
32
|
"tryAgain": "Coba lagi",
|
|
33
|
+
"viewCoverage": "Melihat cakupan",
|
|
32
34
|
"viewOnExplorer": "Lihat di explorer"
|
|
33
35
|
},
|
|
34
36
|
"format": {
|
|
@@ -104,14 +106,22 @@
|
|
|
104
106
|
"gasFeeEstimated": "perkiraan biaya gas",
|
|
105
107
|
"gasFeePaid": "biaya gas yang dibayar",
|
|
106
108
|
"inProgress": "dalam proses",
|
|
109
|
+
"insurance": {
|
|
110
|
+
"bridgeExploits": "Malfungsi jembatan, peretasan, atau eksploitasi",
|
|
111
|
+
"insure": "Asuransikan 100% token dalam perjalanan.",
|
|
112
|
+
"insured": "Anda telah mengasuransikan 100% token dalam perjalanan:",
|
|
113
|
+
"slippageError": "Kesalahan dalam slippage untuk token yang diterima"
|
|
114
|
+
},
|
|
107
115
|
"info": {
|
|
108
116
|
"message": {
|
|
117
|
+
"autoRefuel": "Gas anda hampir habis {{chainName}}. Dengan melanjutkan, anda akan mendapatkan cukup gas untuk menyelesaikan penukaran.",
|
|
109
118
|
"emptyActiveSwaps": "Swap yang sedang berlangsung akan muncul di sini. Setelah selesai, temukan di riwayat swap.",
|
|
110
119
|
"emptySwapHistory": "Riwayat swap hanya disimpan secara lokal dan akan dihapus jika Anda menghapus data browser.",
|
|
111
120
|
"emptyTokenList": "Kami tidak dapat menemukan token di rantai {{chainName}} atau Anda tidak memilikinya. Coba cari lagi atau pilih jaringan lain.",
|
|
112
121
|
"routeNotFound": "Coba kombinasi token lain."
|
|
113
122
|
},
|
|
114
123
|
"title": {
|
|
124
|
+
"autoRefuel": "Dapatkan gas",
|
|
115
125
|
"emptyActiveSwaps": "Tidak ada swap yang aktif",
|
|
116
126
|
"emptySwapHistory": "Tidak ada swap terbaru",
|
|
117
127
|
"routeNotFound": "Rute tidak tersedia"
|
|
@@ -154,6 +164,7 @@
|
|
|
154
164
|
"quotedAmount": "Jumlah yang dikutip",
|
|
155
165
|
"rateChange": "Perubahan rate",
|
|
156
166
|
"receiving": "Menerima",
|
|
167
|
+
"refuelStepDetails": "Dapatkan gas melalui {{tool}}",
|
|
157
168
|
"routes": "Anda mendapatkan",
|
|
158
169
|
"selectChain": "Jaringan",
|
|
159
170
|
"selectChainAndToken": "Pilih jaringan dan token",
|
|
@@ -162,6 +173,7 @@
|
|
|
162
173
|
"sendToWallet": "Kirim ke dompet berbeda",
|
|
163
174
|
"sentToAddress": "Dikirim ke {{address}}",
|
|
164
175
|
"stepBridge": "Bridge",
|
|
176
|
+
"stepDetails": "{{tool}} melalui LI.FI",
|
|
165
177
|
"stepSwap": "Swap",
|
|
166
178
|
"stepSwapAndBridge": "Swap dan bridge",
|
|
167
179
|
"success": {
|
|
@@ -180,11 +192,13 @@
|
|
|
180
192
|
"swapStepDetails": "Swap di {{chain}} melalui {{tool}}",
|
|
181
193
|
"swapping": "Bertukar",
|
|
182
194
|
"tags": {
|
|
183
|
-
"
|
|
184
|
-
"
|
|
185
|
-
"
|
|
186
|
-
"
|
|
187
|
-
"
|
|
195
|
+
"cheapest": "Murah",
|
|
196
|
+
"fastest": "Cepat",
|
|
197
|
+
"insurable": "Dapat diasuransikan",
|
|
198
|
+
"insurance": "Asuransi",
|
|
199
|
+
"insured": "Diasuransikan",
|
|
200
|
+
"recommended": "Direkomendasikan",
|
|
201
|
+
"safest": "Aman"
|
|
188
202
|
},
|
|
189
203
|
"to": "Kepada",
|
|
190
204
|
"tokenOnChain": "{{tokenSymbol}} di {{chainName}}",
|
|
@@ -197,8 +211,8 @@
|
|
|
197
211
|
"deleteActiveSwaps": "Swap aktif hanya disimpan secara lokal dan tidak dapat dipulihkan jika Anda menghapusnya.",
|
|
198
212
|
"deleteSwapHistory": "Riwayat swap hanya disimpan secara lokal dan tidak dapat dipulihkan jika Anda menghapusnya.",
|
|
199
213
|
"highValueLoss": "Nilai token yang diterima jauh lebih rendah daripada token yang ditukar dan biaya transaksi.",
|
|
200
|
-
"insufficientFunds": "Anda tidak memiliki cukup dana untuk
|
|
201
|
-
"insufficientGas": "Anda perlu menambahkan setidaknya:",
|
|
214
|
+
"insufficientFunds": "Anda tidak memiliki cukup dana untuk menyelesaikan penukaran.",
|
|
215
|
+
"insufficientGas": "Anda tidak memiliki cukup gas untuk menyelesaikan penukaran. Anda perlu menambahkan setidaknya:",
|
|
202
216
|
"rateChanged": "Nilai tukar telah berubah. Dengan melanjutkan penukaran, Anda akan menerima tarif baru.",
|
|
203
217
|
"resetSettings": "Ini akan mengatur ulang prioritas rute Anda, slippage, harga gas, jembatan yang diaktifkan, dan pertukaran."
|
|
204
218
|
},
|
|
@@ -214,6 +228,7 @@
|
|
|
214
228
|
}
|
|
215
229
|
},
|
|
216
230
|
"tooltip": {
|
|
231
|
+
"additionalProviderFee": "Jembatan tambahan, DEX, dan biaya layanan.",
|
|
217
232
|
"estimatedNetworkFee": "Perkiraan biaya jaringan.",
|
|
218
233
|
"estimatedTime": "Perkiraan waktu eksekusi swap dalam hitungan menit.",
|
|
219
234
|
"notFound": {
|
package/i18n/ko.json
CHANGED
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
"done": "완료",
|
|
13
13
|
"getGas": "가스 받기",
|
|
14
14
|
"hide": "숨기기",
|
|
15
|
+
"learnMore": "자세히 알아보기",
|
|
15
16
|
"lifiSwap": "Li.Fi 스왑",
|
|
16
17
|
"light": "밝게",
|
|
17
18
|
"max": "최대",
|
|
@@ -29,6 +30,7 @@
|
|
|
29
30
|
"startSwap": "스왑 시작",
|
|
30
31
|
"swap": "스왑",
|
|
31
32
|
"tryAgain": "다시 시도",
|
|
33
|
+
"viewCoverage": "보장 범위",
|
|
32
34
|
"viewOnExplorer": "탐색기에서 보기"
|
|
33
35
|
},
|
|
34
36
|
"format": {
|
|
@@ -104,14 +106,22 @@
|
|
|
104
106
|
"gasFeeEstimated": "예상 가스비",
|
|
105
107
|
"gasFeePaid": "가스비 지불됨",
|
|
106
108
|
"inProgress": "진행 중",
|
|
109
|
+
"insurance": {
|
|
110
|
+
"bridgeExploits": "브릿지 오류, 해킹, 취약점 공격",
|
|
111
|
+
"insure": "토큰 전액에 대하여 보험 적용",
|
|
112
|
+
"insured": "토큰 전액에 대하여 보험을 적용하였습니다.",
|
|
113
|
+
"slippageError": "받을 토큰의 슬리피지 오류가 발생했습니다."
|
|
114
|
+
},
|
|
107
115
|
"info": {
|
|
108
116
|
"message": {
|
|
117
|
+
"autoRefuel": "현재 {{chainName}} 가스가 부족합니다. 이 기능을 통하여 스왑을 완료할 가스를 보충할 수 있습니다.",
|
|
109
118
|
"emptyActiveSwaps": "진행 중인 스왑이 여기에 나타납니다. 완료 후에는 스왑 기록을 참조하십시오",
|
|
110
119
|
"emptySwapHistory": "스왑 기록은 로컬에만 저장되며 브라우저 데이터를 지우면 삭제됩니다.",
|
|
111
120
|
"emptyTokenList": "{{chainName}} 체인에서 토큰을 찾을 수 없거나 보유 중인 토큰이 아닙니다. 다시 검색하거나 다른 체인을 선택하십시오.",
|
|
112
121
|
"routeNotFound": "다른 토큰 조합으로 시도하십시오."
|
|
113
122
|
},
|
|
114
123
|
"title": {
|
|
124
|
+
"autoRefuel": "가스 받기",
|
|
115
125
|
"emptyActiveSwaps": "활성화된 스왑 없음",
|
|
116
126
|
"emptySwapHistory": "최근 스왑 없음",
|
|
117
127
|
"routeNotFound": "가능한 경로가 없음"
|
|
@@ -154,6 +164,7 @@
|
|
|
154
164
|
"quotedAmount": "견적",
|
|
155
165
|
"rateChange": "비율 변경",
|
|
156
166
|
"receiving": "받는 중",
|
|
167
|
+
"refuelStepDetails": "{{tool}} 를 통해 가스 얻기",
|
|
157
168
|
"routes": "받는 수량",
|
|
158
169
|
"selectChain": "체인",
|
|
159
170
|
"selectChainAndToken": "체인과 토큰 선택",
|
|
@@ -162,6 +173,7 @@
|
|
|
162
173
|
"sendToWallet": "다른 지갑으로 전송",
|
|
163
174
|
"sentToAddress": "{{address}}로 전송",
|
|
164
175
|
"stepBridge": "브릿지",
|
|
176
|
+
"stepDetails": "LI.FI 를 통한 {{tool}}",
|
|
165
177
|
"stepSwap": "스왑",
|
|
166
178
|
"stepSwapAndBridge": "스왑 그리고 브릿지",
|
|
167
179
|
"success": {
|
|
@@ -180,11 +192,13 @@
|
|
|
180
192
|
"swapStepDetails": "{{tool}}로 {{chain}}에서 스왑",
|
|
181
193
|
"swapping": "스왑 중",
|
|
182
194
|
"tags": {
|
|
183
|
-
"
|
|
184
|
-
"
|
|
185
|
-
"
|
|
186
|
-
"
|
|
187
|
-
"
|
|
195
|
+
"cheapest": "저렴한",
|
|
196
|
+
"fastest": "빠르게",
|
|
197
|
+
"insurable": "보험 적용 가능한",
|
|
198
|
+
"insurance": "보험",
|
|
199
|
+
"insured": "보험 적용됨",
|
|
200
|
+
"recommended": "추천",
|
|
201
|
+
"safest": "안전한"
|
|
188
202
|
},
|
|
189
203
|
"to": "도착",
|
|
190
204
|
"tokenOnChain": "{{chainName}}의 {{tokenSymbol}}",
|
|
@@ -197,8 +211,8 @@
|
|
|
197
211
|
"deleteActiveSwaps": "활성화된 스왑은 로컬에만 저장되며 삭제시 복구할 수 없습니다.",
|
|
198
212
|
"deleteSwapHistory": "스왑 기록은 로컬에만 저장되며 삭제시 복구할 수 없습니다.",
|
|
199
213
|
"highValueLoss": "받은 토큰의 가치가 스왑된 토큰 및 트랜잭션 비용보다 상당히 낮습니다.",
|
|
200
|
-
"insufficientFunds": "스왑을
|
|
201
|
-
"insufficientGas": "최소
|
|
214
|
+
"insufficientFunds": "스왑을 진행할 자금이 부족합니다.",
|
|
215
|
+
"insufficientGas": "스왑을 진행할 가스가 부족합니다. 최소 다음과 같은 가스가 필요합니다:",
|
|
202
216
|
"rateChanged": "거래 비율이 변경되었습니다. 스왑을 계속하면 새로운 비율이 적용됩니다.",
|
|
203
217
|
"resetSettings": "우선 경로, 슬리피지, 가스 비용, 활성화된 브릿지 및 거래소가 재설정됩니다."
|
|
204
218
|
},
|
|
@@ -214,6 +228,7 @@
|
|
|
214
228
|
}
|
|
215
229
|
},
|
|
216
230
|
"tooltip": {
|
|
231
|
+
"additionalProviderFee": "추가적인 브릿지, 덱스, 그리고 서비스 수수료",
|
|
217
232
|
"estimatedNetworkFee": "예상 네트워크 수수료",
|
|
218
233
|
"estimatedTime": "예상 스왑 시간(분)",
|
|
219
234
|
"notFound": {
|
package/i18n/pt.json
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"button": {
|
|
3
3
|
"auto": "Automático",
|
|
4
|
+
"buy": "Comprar",
|
|
5
|
+
"buyNow": "Comprar agora",
|
|
4
6
|
"cancel": "Cancelar",
|
|
5
7
|
"connectWallet": "Conectar carteira",
|
|
6
8
|
"contactSupport": "Falar com o suporte",
|
|
@@ -12,6 +14,7 @@
|
|
|
12
14
|
"done": "Concluído",
|
|
13
15
|
"getGas": "Obter gás",
|
|
14
16
|
"hide": "Ocultar",
|
|
17
|
+
"learnMore": "Saiba mais",
|
|
15
18
|
"lifiSwap": "Conversão LI.FI",
|
|
16
19
|
"light": "Claro",
|
|
17
20
|
"max": "máximo",
|
|
@@ -22,6 +25,7 @@
|
|
|
22
25
|
"resetSettings": "Redefinir as configurações",
|
|
23
26
|
"restartSwap": "Reiniciar a conversão",
|
|
24
27
|
"reviewGasSwap": "Rever o gás de conversão",
|
|
28
|
+
"reviewPurchase": "Revisar compra",
|
|
25
29
|
"reviewSwap": "Rever conversão",
|
|
26
30
|
"seeDetails": "Ver detalhes",
|
|
27
31
|
"showAll": "Mostrar tudo",
|
|
@@ -29,6 +33,7 @@
|
|
|
29
33
|
"startSwap": "Iniciar conversão",
|
|
30
34
|
"swap": "Conversão",
|
|
31
35
|
"tryAgain": "Tente novamente",
|
|
36
|
+
"viewCoverage": "Ver cobertura",
|
|
32
37
|
"viewOnExplorer": "Ver no explorador"
|
|
33
38
|
},
|
|
34
39
|
"format": {
|
|
@@ -37,10 +42,14 @@
|
|
|
37
42
|
},
|
|
38
43
|
"header": {
|
|
39
44
|
"activeSwaps": "Conversões ativas",
|
|
45
|
+
"bridge": "Ponte",
|
|
40
46
|
"checkout": "Finalizar",
|
|
41
47
|
"from": "Converter a partir de",
|
|
42
48
|
"gas": "Gás",
|
|
43
49
|
"gasSwap": "Conversão de gás",
|
|
50
|
+
"payWith": "Pagar com",
|
|
51
|
+
"purchase": "Compra",
|
|
52
|
+
"purchaseDetails": "Detalhes da compra",
|
|
44
53
|
"routes": "Você recebe",
|
|
45
54
|
"selectChain": "Selecionar uma rede",
|
|
46
55
|
"selectWallet": "Selecionar sua carteira",
|
|
@@ -73,6 +82,8 @@
|
|
|
73
82
|
"currentAmount": "Quantidade atual",
|
|
74
83
|
"error": {
|
|
75
84
|
"message": {
|
|
85
|
+
"allowanceRequired": "A quantidade a ser transferida para {{tokenSymbol}} excede a sua permissão atual. Por favor, aumente a sua permissão e tente novamente.",
|
|
86
|
+
"insufficientFunds": "Você não tem gás suficiente para cobrir o custo da transação.",
|
|
76
87
|
"slippageThreshold": "A derrapagem é maior do que o limite definido. Solicite uma nova rota para obter uma nova cotação.",
|
|
77
88
|
"transactionFailed": "Por favor, verifique o explorador de blocos para mais informações.",
|
|
78
89
|
"transactionNotSent": "A transação não foi enviada. {{amount, number(maximumFractionDigits: 9)}} {{tokenSymbol}} na {{chainName}} permanece na sua carteira.",
|
|
@@ -80,10 +91,12 @@
|
|
|
80
91
|
"unknown": "Por favor, tente novamente ou fale com o suporte."
|
|
81
92
|
},
|
|
82
93
|
"title": {
|
|
94
|
+
"allowanceRequired": "Permissão insuficiente",
|
|
83
95
|
"balanceIsTooLow": "O saldo é muito baixo",
|
|
84
96
|
"chainSwitch": "Necessário mudança de rede",
|
|
85
97
|
"failed": "Conversão falhou",
|
|
86
98
|
"gasLimitIsTooLow": "O limite de gás é muito baixo",
|
|
99
|
+
"insufficientFunds": "Saldo insuficiente",
|
|
87
100
|
"slippageNotMet": "Condições de tolerância a discrepâncias não foram atendidas",
|
|
88
101
|
"transactionCanceled": "Transação cancelada",
|
|
89
102
|
"transactionFailed": "Transação falhou",
|
|
@@ -96,7 +109,7 @@
|
|
|
96
109
|
"walletEnsAddressInvalid": "O endereço da carteira é inválido ou a rede não suporta ENS."
|
|
97
110
|
}
|
|
98
111
|
},
|
|
99
|
-
"estimatedTime": "{{value}}
|
|
112
|
+
"estimatedTime": "{{value}}m",
|
|
100
113
|
"featuredTokens": "Tokens em destaque",
|
|
101
114
|
"from": "De",
|
|
102
115
|
"fromAmount": "Você paga",
|
|
@@ -104,6 +117,12 @@
|
|
|
104
117
|
"gasFeeEstimated": "Taxa de gás estimada",
|
|
105
118
|
"gasFeePaid": "taxa de gás paga",
|
|
106
119
|
"inProgress": "em andamento",
|
|
120
|
+
"insurance": {
|
|
121
|
+
"bridgeExploits": "Mau funcionamento da ponte, hacks ou exploits",
|
|
122
|
+
"insure": "Garantir 100% dos tokens em trânsito.",
|
|
123
|
+
"insured": "Você segurou 100% dos tokens em trânsito:",
|
|
124
|
+
"slippageError": "Erro na discrepância para tokens recebidos"
|
|
125
|
+
},
|
|
107
126
|
"info": {
|
|
108
127
|
"message": {
|
|
109
128
|
"autoRefuel": "Você está com pouco gás na rede {{chainName}}. Ao continuar, você obterá gás suficiente para completar a conversão.",
|
|
@@ -120,10 +139,9 @@
|
|
|
120
139
|
}
|
|
121
140
|
},
|
|
122
141
|
"nftStepDetails": "Comprar NFT via {{tool}}",
|
|
123
|
-
"onChain": "em {{
|
|
142
|
+
"onChain": "em {{chainName}}",
|
|
124
143
|
"otherTokens": "Outros tokens",
|
|
125
144
|
"ownedBy": "Possuído por",
|
|
126
|
-
"payWith": "Pagar com",
|
|
127
145
|
"process": {
|
|
128
146
|
"crossChain": {
|
|
129
147
|
"actionRequired": "Por favor, assine a transação",
|
|
@@ -131,6 +149,9 @@
|
|
|
131
149
|
"pending": "Aguardando a transação da ponte",
|
|
132
150
|
"started": "Preparando a transação da ponte"
|
|
133
151
|
},
|
|
152
|
+
"nft": {
|
|
153
|
+
"done": "NFT comprado"
|
|
154
|
+
},
|
|
134
155
|
"receivingChain": {
|
|
135
156
|
"done": "Ponte concluída",
|
|
136
157
|
"partial": "Ponte parcialmente concluída",
|
|
@@ -157,24 +178,27 @@
|
|
|
157
178
|
"rateChange": "Alterar taxa",
|
|
158
179
|
"receiving": "Recebendo",
|
|
159
180
|
"refuelStepDetails": "Obter gás via {{tool}}",
|
|
160
|
-
"
|
|
161
|
-
"selectChain": "Rede",
|
|
181
|
+
"selectChain": "Selecione a rede",
|
|
162
182
|
"selectChainAndToken": "Selecione a rede e o token",
|
|
163
|
-
"selectToken": "Token",
|
|
183
|
+
"selectToken": "Selecione o Token",
|
|
164
184
|
"sendToAddress": "Enviar para",
|
|
165
185
|
"sendToWallet": "Enviar para uma carteira diferente",
|
|
166
186
|
"sentToAddress": "Enviar para",
|
|
167
187
|
"stepBridge": "Ponte",
|
|
188
|
+
"stepBridgeAndBuy": "Transfira e compre",
|
|
168
189
|
"stepDetails": "{{tool}} via LI.FI",
|
|
169
190
|
"stepSwap": "Conversão",
|
|
170
191
|
"stepSwapAndBridge": "Converter e enviar pela ponte",
|
|
192
|
+
"stepSwapAndBuy": "Converta e compre",
|
|
171
193
|
"success": {
|
|
172
194
|
"message": {
|
|
173
195
|
"swapPartiallySuccessful": "Tentamos completar a conversão, mas a {{tool}} ficou sem liquidez para o token {{tokenSymbol}}.",
|
|
196
|
+
"purchaseSuccessful": "Agora você tem {{assetName}} na carteira {{walletAddress}} na cadeia {{chainName}}",
|
|
174
197
|
"swapSuccessful": "Agora há {{amount, number(maximumFractionDigits: 9)}} {{tokenSymbol}} na carteira {{walletAddress}} na rede {{chainName}}."
|
|
175
198
|
},
|
|
176
199
|
"title": {
|
|
177
200
|
"gasSwapSuccessful": "Conversão de gás bem sucedida",
|
|
201
|
+
"purchaseSuccessful": "Compra efetuada com sucesso",
|
|
178
202
|
"refundIssued": "Reembolso emitido",
|
|
179
203
|
"swapPartiallySuccessful": "Conversão parcialmente bem sucedida",
|
|
180
204
|
"swapSuccessful": "Conversão bem sucedida"
|
|
@@ -195,7 +219,7 @@
|
|
|
195
219
|
"to": "Para",
|
|
196
220
|
"tokenOnChain": "{{tokenSymbol}} na {{chainName}}",
|
|
197
221
|
"tokenOnChainAmount": "{{amount, number(maximumFractionDigits: 9)}} {{tokenSymbol}} na {{chainName}}",
|
|
198
|
-
"tokenSearch": "Pesquisar
|
|
222
|
+
"tokenSearch": "Pesquisar pelo nome do token ou endereço",
|
|
199
223
|
"valueLoss": "Perda de Valor",
|
|
200
224
|
"walletAddressOrEns": "Endereço da carteira ou nome ENS",
|
|
201
225
|
"warning": {
|
|
@@ -229,6 +253,7 @@
|
|
|
229
253
|
},
|
|
230
254
|
"numberOfSteps": "Um número de passos para a conversão. Cada etapa pode conter 1-2 transações que requerem uma assinatura.",
|
|
231
255
|
"progressToNextUpdate": "Os dados exibidos serão atualizados automaticamente após {{value}} segundos. Clique aqui para atualizar manualmente.",
|
|
256
|
+
"recommended": "Uma rota econômica que equilibra complexidade e facilidade de uso.",
|
|
232
257
|
"settingsModified": "Configurações (modificado)"
|
|
233
258
|
},
|
|
234
259
|
"wallet": {
|