From cf9c6e4b4ce579128db74448f84b32f86ba9f5a5 Mon Sep 17 00:00:00 2001 From: Jordan Frankfurt Date: Wed, 27 Oct 2021 11:49:42 -0500 Subject: [PATCH 001/378] try out 'dimension1' (#2704) --- src/components/analytics/GoogleAnalyticsReporter.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/analytics/GoogleAnalyticsReporter.tsx b/src/components/analytics/GoogleAnalyticsReporter.tsx index bd7f744fc2..0611c2c90c 100644 --- a/src/components/analytics/GoogleAnalyticsReporter.tsx +++ b/src/components/analytics/GoogleAnalyticsReporter.tsx @@ -24,7 +24,7 @@ export default function GoogleAnalyticsReporter({ location: { pathname, search } const { chainId } = useActiveWeb3React() useEffect(() => { - ReactGA.set({ ['Chain ID']: chainId ?? 0 }) + ReactGA.set({ dimension1: chainId ?? 0 }) }, [chainId]) useEffect(() => { From 20f462f5a4d68836fec1d952f881a25e862fc709 Mon Sep 17 00:00:00 2001 From: Crowdin Bot Date: Wed, 27 Oct 2021 19:06:32 +0000 Subject: [PATCH 002/378] chore(i18n): synchronize translations from crowdin [skip ci] --- src/locales/ru-RU.po | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/locales/ru-RU.po b/src/locales/ru-RU.po index 93a4ba24d3..fabc3fd4d1 100644 --- a/src/locales/ru-RU.po +++ b/src/locales/ru-RU.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-10-26 22:06\n" +"PO-Revision-Date: 2021-10-27 19:06\n" "Last-Translator: \n" "Language: ru_RU\n" "Language-Team: Russian\n" @@ -1678,7 +1678,7 @@ msgstr "Этот токен не входит в активные списки #: src/components/SearchModal/BlockedToken.tsx msgid "This token is not supported in the Uniswap Labs app" -msgstr "Этот токен не поддерживается в приложении Uniswap Labs." +msgstr "Этот токен не поддерживается в приложении от Uniswap Labs" #: src/pages/MigrateV2/MigrateV2Pair.tsx msgid "This tool will safely migrate your {0} liquidity to V3. The process is completely trustless thanks to the" From 02dbed7a75775136e544adfaeb42f4d050e47904 Mon Sep 17 00:00:00 2001 From: Crowdin Bot Date: Mon, 1 Nov 2021 15:09:04 +0000 Subject: [PATCH 003/378] chore(i18n): synchronize translations from crowdin [skip ci] --- src/locales/ja-JP.po | 2 +- src/locales/zh-CN.po | 8 ++++---- src/locales/zh-TW.po | 12 ++++++------ 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/locales/ja-JP.po b/src/locales/ja-JP.po index d943c06d8f..cb8487a11b 100644 --- a/src/locales/ja-JP.po +++ b/src/locales/ja-JP.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-10-26 22:06\n" +"PO-Revision-Date: 2021-11-01 15:08\n" "Last-Translator: \n" "Language: ja_JP\n" "Language-Team: Japanese\n" diff --git a/src/locales/zh-CN.po b/src/locales/zh-CN.po index 0750bf4a71..323d649bd2 100644 --- a/src/locales/zh-CN.po +++ b/src/locales/zh-CN.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-10-27 13:10\n" +"PO-Revision-Date: 2021-11-01 15:08\n" "Last-Translator: \n" "Language: zh_CN\n" "Language-Team: Chinese Simplified\n" @@ -345,7 +345,7 @@ msgstr "添加此代币列表代表您信任其数据是正确的。任何人都 #: src/components/WalletModal/index.tsx msgid "By connecting a wallet, you agree to Uniswap Labs’ <0>Terms of Service and acknowledge that you have read and understand the Uniswap <1>Protocol Disclaimer." -msgstr "连接钱包即表示您同意 Uniswap Labs 的 <0>服务条款 并承认您已阅读并理解 Uniswap <1>协议免责声明。" +msgstr "连接钱包即表示您同意 Uniswap Labs 的 <0>服务条款 并确认您已阅读并理解 Uniswap <1>协议免责声明。" #: src/pages/Vote/styled.tsx msgid "Canceled" @@ -1606,11 +1606,11 @@ msgstr "该应用程序获取链上数据并使用 Infura API 构建合约调用 #: src/components/PrivacyPolicy/index.tsx msgid "The app fetches the optimal trade route from a Uniswap Labs server." -msgstr "该应用程序从 Uniswap Labs 服务器获取最佳交易路由。" +msgstr "该应用程序从 Uniswap Labs 服务器获取最佳交易路径。" #: src/components/PrivacyPolicy/index.tsx msgid "The app logs anonymized usage statistics in order to improve over time." -msgstr "该应用程序会匿名记录使用情况统计信息,以便随着时间的推移不断改进。" +msgstr "该应用程序会匿名记录使用情况统计信息,以便不断改进。" #: src/components/PrivacyPolicy/index.tsx msgid "The app securely collects your wallet address and shares it with TRM Labs Inc. for risk and compliance reasons." diff --git a/src/locales/zh-TW.po b/src/locales/zh-TW.po index 6df8d08493..d0fccb31ce 100644 --- a/src/locales/zh-TW.po +++ b/src/locales/zh-TW.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-10-26 22:06\n" +"PO-Revision-Date: 2021-11-01 15:08\n" "Last-Translator: \n" "Language: zh_TW\n" "Language-Team: Chinese Traditional\n" @@ -345,7 +345,7 @@ msgstr "添加此代幣列表代表您信任其數據是正確的。任何人都 #: src/components/WalletModal/index.tsx msgid "By connecting a wallet, you agree to Uniswap Labs’ <0>Terms of Service and acknowledge that you have read and understand the Uniswap <1>Protocol Disclaimer." -msgstr "連接錢包即表示您同意 Uniswap Labs 的 <0>服務條款 並承認您已閱讀並理解 Uniswap <1>協議免責聲明。" +msgstr "連接錢包即表示您同意 Uniswap Labs 的 <0>服務條款 並確認您已閱讀並理解 Uniswap <1>協議免責聲明。" #: src/pages/Vote/styled.tsx msgid "Canceled" @@ -1606,11 +1606,11 @@ msgstr "該應用程序獲取鏈上數據並使用 Infura API 構建合約調用 #: src/components/PrivacyPolicy/index.tsx msgid "The app fetches the optimal trade route from a Uniswap Labs server." -msgstr "該應用程序從 Uniswap Labs 服務器獲取最佳貿易路線。" +msgstr "該應用程序從 Uniswap Labs 服務器獲取最佳交易路徑。" #: src/components/PrivacyPolicy/index.tsx msgid "The app logs anonymized usage statistics in order to improve over time." -msgstr "該應用程序會記錄匿名使用情況統計信息,以便隨著時間的推移不斷改進。" +msgstr "該應用程序會記錄匿名使用情況統計信息,以便不斷改進。" #: src/components/PrivacyPolicy/index.tsx msgid "The app securely collects your wallet address and shares it with TRM Labs Inc. for risk and compliance reasons." @@ -1678,7 +1678,7 @@ msgstr "此代幣未出現在激活的代幣列表中。請確保這是您想要 #: src/components/SearchModal/BlockedToken.tsx msgid "This token is not supported in the Uniswap Labs app" -msgstr "Uniswap Labs 應用程序不支持此令牌" +msgstr "Uniswap Labs 應用程序不支持此代幣" #: src/pages/MigrateV2/MigrateV2Pair.tsx msgid "This tool will safely migrate your {0} liquidity to V3. The process is completely trustless thanks to the" @@ -1713,7 +1713,7 @@ msgstr "在 {0} 上交易,首先須將您的資產從 L1 橋接到 L2。請將 #: src/components/SearchModal/BlockedToken.tsx msgid "Token not supported" -msgstr "不支持令牌" +msgstr "不支持此代幣" #: src/components/SearchModal/Manage.tsx msgid "Tokens" From 5026ebded8c94b4bc54d992215ad0aab0ca8fa3f Mon Sep 17 00:00:00 2001 From: M0kY <46133205+M0kY@users.noreply.github.com> Date: Mon, 1 Nov 2021 18:42:16 +0100 Subject: [PATCH 004/378] fix: walletconnect modal re-open after user rejection (#2693) Co-authored-by: M0kY --- src/components/WalletModal/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/WalletModal/index.tsx b/src/components/WalletModal/index.tsx index 3f7dfe75d0..7937f74310 100644 --- a/src/components/WalletModal/index.tsx +++ b/src/components/WalletModal/index.tsx @@ -195,7 +195,7 @@ export default function WalletModal({ setWalletView(WALLET_VIEWS.PENDING) // if the connector is walletconnect and the user has already tried to connect, manually reset the connector - if (connector instanceof WalletConnectConnector && connector.walletConnectProvider?.wc?.uri) { + if (connector instanceof WalletConnectConnector) { connector.walletConnectProvider = undefined } From 6a90bf3b9dd584283bd0507f0fe138c931a07675 Mon Sep 17 00:00:00 2001 From: Will Hennessy Date: Mon, 1 Nov 2021 13:43:55 -0400 Subject: [PATCH 005/378] chore: update unsupported token list (#2689) * chore: update unsupported token list * Fix code style issues with ESLint Co-authored-by: Lint Action --- src/constants/tokenLists/unsupported.tokenlist.json | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/constants/tokenLists/unsupported.tokenlist.json b/src/constants/tokenLists/unsupported.tokenlist.json index c3b8a808f5..6eb0c50141 100644 --- a/src/constants/tokenLists/unsupported.tokenlist.json +++ b/src/constants/tokenLists/unsupported.tokenlist.json @@ -1080,6 +1080,13 @@ "name": "Shatner", "symbol": "SHAT", "decimals": 18 + }, + { + "chainId": 1, + "address": "0x7277a44D1325D81Ac58893002a1B40a41bea43fe", + "name": "FAANG Index", + "symbol": "FAANG", + "decimals": 18 } ] } From d18974480a1033e84c67d4122c8c926ee14682bd Mon Sep 17 00:00:00 2001 From: Moody Salem Date: Mon, 1 Nov 2021 14:01:41 -0400 Subject: [PATCH 006/378] fix: memoize the list stuff so the tokens are consistently clickable (#2724) --- .../SearchModal/CurrencySearchModal.tsx | 15 ++++++++++----- src/state/lists/hooks.ts | 10 +++++++--- 2 files changed, 17 insertions(+), 8 deletions(-) diff --git a/src/components/SearchModal/CurrencySearchModal.tsx b/src/components/SearchModal/CurrencySearchModal.tsx index 09653b90aa..8e022750d3 100644 --- a/src/components/SearchModal/CurrencySearchModal.tsx +++ b/src/components/SearchModal/CurrencySearchModal.tsx @@ -66,6 +66,13 @@ export default function CurrencySearchModal({ const [importList, setImportList] = useState() const [listURL, setListUrl] = useState() + const showImportView = useCallback(() => setModalView(CurrencyModalView.importToken), [setModalView]) + const showManageView = useCallback(() => setModalView(CurrencyModalView.manage), [setModalView]) + const handleBackImport = useCallback( + () => setModalView(prevView && prevView !== CurrencyModalView.importToken ? prevView : CurrencyModalView.search), + [setModalView, prevView] + ) + // change min height if not searching const minHeight = modalView === CurrencyModalView.importToken || modalView === CurrencyModalView.importList ? 40 : 80 let content = null @@ -81,9 +88,9 @@ export default function CurrencySearchModal({ showCommonBases={showCommonBases} showCurrencyAmount={showCurrencyAmount} disableNonToken={disableNonToken} - showImportView={() => setModalView(CurrencyModalView.importToken)} + showImportView={showImportView} setImportToken={setImportToken} - showManageView={() => setModalView(CurrencyModalView.manage)} + showManageView={showManageView} /> ) break @@ -94,9 +101,7 @@ export default function CurrencySearchModal({ tokens={[importToken]} onDismiss={onDismiss} list={importToken instanceof WrappedTokenInfo ? importToken.list : undefined} - onBack={() => - setModalView(prevView && prevView !== CurrencyModalView.importToken ? prevView : CurrencyModalView.search) - } + onBack={handleBackImport} handleCurrencySelect={handleCurrencySelect} /> ) diff --git a/src/state/lists/hooks.ts b/src/state/lists/hooks.ts index d1ef079b1c..11fc8bb761 100644 --- a/src/state/lists/hooks.ts +++ b/src/state/lists/hooks.ts @@ -99,20 +99,24 @@ function useCombinedTokenMapFromUrls(urls: string[] | undefined): TokenAddressMa // filter out unsupported lists export function useActiveListUrls(): string[] | undefined { - return useAppSelector((state) => state.lists.activeListUrls)?.filter((url) => !UNSUPPORTED_LIST_URLS.includes(url)) + const activeListUrls = useAppSelector((state) => state.lists.activeListUrls) + return useMemo(() => activeListUrls?.filter((url) => !UNSUPPORTED_LIST_URLS.includes(url)), [activeListUrls]) } export function useInactiveListUrls(): string[] { const lists = useAllLists() const allActiveListUrls = useActiveListUrls() - return Object.keys(lists).filter((url) => !allActiveListUrls?.includes(url) && !UNSUPPORTED_LIST_URLS.includes(url)) + return useMemo( + () => Object.keys(lists).filter((url) => !allActiveListUrls?.includes(url) && !UNSUPPORTED_LIST_URLS.includes(url)), + [lists, allActiveListUrls] + ) } // get all the tokens from active lists, combine with local default tokens export function useCombinedActiveList(): TokenAddressMap { const activeListUrls = useActiveListUrls() const activeTokens = useCombinedTokenMapFromUrls(activeListUrls) - return combineMaps(activeTokens, TRANSFORMED_DEFAULT_TOKEN_LIST) + return useMemo(() => combineMaps(activeTokens, TRANSFORMED_DEFAULT_TOKEN_LIST), [activeTokens]) } // list of tokens not supported on interface for various reasons, used to show warnings and prevent swaps and adds From 5dac6a03eb508a987fdb1a9cd202359b069208fd Mon Sep 17 00:00:00 2001 From: Crowdin Bot Date: Mon, 1 Nov 2021 21:06:15 +0000 Subject: [PATCH 007/378] chore(i18n): synchronize translations from crowdin [skip ci] --- src/locales/ru-RU.po | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/locales/ru-RU.po b/src/locales/ru-RU.po index fabc3fd4d1..8b4be9af12 100644 --- a/src/locales/ru-RU.po +++ b/src/locales/ru-RU.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-10-27 19:06\n" +"PO-Revision-Date: 2021-11-01 21:06\n" "Last-Translator: \n" "Language: ru_RU\n" "Language-Team: Russian\n" @@ -1512,7 +1512,7 @@ msgstr "Допустимое проскальзывание" #: src/components/swap/UnsupportedCurrencyFooter.tsx msgid "Some assets are not available through this interface because they may not work well with the smart contracts or we are unable to allow trading for legal reasons." -msgstr "Некоторые активы недоступны через этот интерфейс, потому что они могут неправильно работать со смарт-контрактами или мы не можем разрешить торговлю по юридическим причинам." +msgstr "Некоторые активы недоступны через этот интерфейс, потому что они могут неправильно работать со смарт-контрактами или из-за того, что мы не можем разрешить торговлю по юридическим причинам." #: src/components/ErrorBoundary/index.tsx msgid "Something went wrong" From b3844e38d17b9f64534efcc6bbb16c25cea9f4f3 Mon Sep 17 00:00:00 2001 From: Ian Lapham Date: Tue, 2 Nov 2021 10:39:40 -0400 Subject: [PATCH 008/378] feat: update cmc list link (#2710) * update cmc lists * update CMC url --- src/constants/lists.ts | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/constants/lists.ts b/src/constants/lists.ts index b715a0b203..4a6a47200c 100644 --- a/src/constants/lists.ts +++ b/src/constants/lists.ts @@ -1,7 +1,6 @@ const AAVE_LIST = 'tokenlist.aave.eth' const BA_LIST = 'https://raw.githubusercontent.com/The-Blockchain-Association/sec-notice-list/master/ba-sec-list.json' -const CMC_ALL_LIST = 'defi.cmc.eth' -const CMC_STABLECOIN = 'stablecoin.cmc.eth' +const CMC_ALL_LIST = 'https://api.coinmarketcap.com/data-api/v3/uniswap/all.json' const COINGECKO_LIST = 'https://tokens.coingecko.com/uniswap/all.json' const COMPOUND_LIST = 'https://raw.githubusercontent.com/compound-finance/token-list/master/compound.tokenlist.json' const GEMINI_LIST = 'https://www.gemini.com/uniswap/manifest.json' @@ -20,15 +19,14 @@ const DEFAULT_LIST_OF_LISTS_TO_DISPLAY: string[] = [ COMPOUND_LIST, AAVE_LIST, CMC_ALL_LIST, - CMC_STABLECOIN, + COINGECKO_LIST, + KLEROS_LIST, + GEMINI_LIST, WRAPPED_LIST, SET_LIST, ROLL_LIST, - COINGECKO_LIST, - KLEROS_LIST, ARBITRUM_LIST, OPTIMISM_LIST, - GEMINI_LIST, ] export const DEFAULT_LIST_OF_LISTS: string[] = [ From 714953b50eeaa72198f5e56d2301c828484fdc79 Mon Sep 17 00:00:00 2001 From: Ian Lapham Date: Tue, 2 Nov 2021 14:46:14 -0400 Subject: [PATCH 009/378] add token to unsupported list (#2732) --- src/constants/tokenLists/unsupported.tokenlist.json | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/constants/tokenLists/unsupported.tokenlist.json b/src/constants/tokenLists/unsupported.tokenlist.json index 6eb0c50141..1ab943aa1d 100644 --- a/src/constants/tokenLists/unsupported.tokenlist.json +++ b/src/constants/tokenLists/unsupported.tokenlist.json @@ -1087,6 +1087,13 @@ "name": "FAANG Index", "symbol": "FAANG", "decimals": 18 + }, + { + "chainId": 1, + "address": "0x76175599887730786bdA1545D0D7AcE8737fEBB1", + "name": "ENS DAO", + "symbol": "ENS", + "decimals": 18 } ] } From 9561cf54e4c0e7743d90716de9e4e91b2ad45d64 Mon Sep 17 00:00:00 2001 From: Jordan Frankfurt Date: Tue, 2 Nov 2021 16:31:25 -0500 Subject: [PATCH 010/378] don't overwrite localstorage lists when fetch throws (#2723) --- src/state/lists/reducer.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/state/lists/reducer.ts b/src/state/lists/reducer.ts index e2fdbb664a..264ec0e6ba 100644 --- a/src/state/lists/reducer.ts +++ b/src/state/lists/reducer.ts @@ -95,7 +95,7 @@ export default createReducer(initialState, (builder) => } state.byUrl[url] = { - current: null, + current: state.byUrl[url].current ? state.byUrl[url].current : null, pendingUpdate: null, loadingRequestId: null, error: errorMessage, From dfd442cdacd5cc4ed3be2608e0eea24b39e631d5 Mon Sep 17 00:00:00 2001 From: Jordan Frankfurt Date: Tue, 2 Nov 2021 21:50:47 -0500 Subject: [PATCH 011/378] try cd1 for custom dimension (#2734) --- src/components/analytics/GoogleAnalyticsReporter.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/analytics/GoogleAnalyticsReporter.tsx b/src/components/analytics/GoogleAnalyticsReporter.tsx index 0611c2c90c..f4f85ef5f1 100644 --- a/src/components/analytics/GoogleAnalyticsReporter.tsx +++ b/src/components/analytics/GoogleAnalyticsReporter.tsx @@ -24,7 +24,8 @@ export default function GoogleAnalyticsReporter({ location: { pathname, search } const { chainId } = useActiveWeb3React() useEffect(() => { - ReactGA.set({ dimension1: chainId ?? 0 }) + // cd1 - custom dimension 1 - chainId + ReactGA.set({ cd1: chainId ?? 0 }) }, [chainId]) useEffect(() => { From 377331c44e5c59613934c68a2909fb1c29d178e2 Mon Sep 17 00:00:00 2001 From: Brendan Weinstein <65564422+brendanww@users.noreply.github.com> Date: Wed, 3 Nov 2021 08:56:54 -0600 Subject: [PATCH 012/378] fix: Update walletlink-connector to 6.2.8 (#2655) * Update walletlink-connector to 6.2.5 which has a walletlink update to support addEthereumChain+switchEthereumChain requests * Update walletlink-connector to 6.2.7 * Update walletlink-connector to 6.2.8 --- package.json | 2 +- yarn.lock | 147 +++++++++++++++++++++++++++++++++++++++++++++++---- 2 files changed, 137 insertions(+), 12 deletions(-) diff --git a/package.json b/package.json index 225a83b27f..c46312aed9 100644 --- a/package.json +++ b/package.json @@ -72,7 +72,7 @@ "@web3-react/injected-connector": "^6.0.7", "@web3-react/portis-connector": "^6.0.9", "@web3-react/walletconnect-connector": "^7.0.2-alpha.0", - "@web3-react/walletlink-connector": "^6.2.3", + "@web3-react/walletlink-connector": "^6.2.8", "ajv": "^6.12.3", "array.prototype.flat": "^1.2.4", "array.prototype.flatmap": "^1.2.4", diff --git a/yarn.lock b/yarn.lock index 2aa3928238..bcc6fc4601 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5007,14 +5007,14 @@ "@web3-react/types" "^6.0.7" tiny-invariant "^1.0.6" -"@web3-react/walletlink-connector@^6.2.3": - version "6.2.3" - resolved "https://registry.yarnpkg.com/@web3-react/walletlink-connector/-/walletlink-connector-6.2.3.tgz#d6c2c3a1b8b7e05147845ee61fa19de13db82e19" - integrity sha512-vJsXyC2NWpVrlnfgwsssDuFo3P/xCoKOjvkEjbQyQEig2aucPijwuxc58BG/YzDx4FyeeyzpnkDMLfcXFuI1pg== +"@web3-react/walletlink-connector@^6.2.8": + version "6.2.8" + resolved "https://registry.yarnpkg.com/@web3-react/walletlink-connector/-/walletlink-connector-6.2.8.tgz#aaf7f413229f58d8087a15e0d049bbcbe5e0bd49" + integrity sha512-pSGufPz5JntSUvy88XcOrn5VN3qmX+ZVQ2lXAeWWb7YS2wTlAStPghZbln8t1li7jr1NUJ0w/gMDVpAwjwq4ZA== dependencies: "@web3-react/abstract-connector" "^6.0.7" "@web3-react/types" "^6.0.7" - walletlink "^2.1.6" + walletlink "^2.2.6" "@webassemblyjs/ast@1.9.0": version "1.9.0" @@ -5722,6 +5722,11 @@ autoprefixer@^9.6.1: postcss "^7.0.32" postcss-value-parser "^4.1.0" +available-typed-arrays@^1.0.5: + version "1.0.5" + resolved "https://registry.yarnpkg.com/available-typed-arrays/-/available-typed-arrays-1.0.5.tgz#92f95616501069d07d10edb2fc37d3e1c65123b7" + integrity sha512-DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw== + aws-sign2@~0.7.0: version "0.7.0" resolved "https://registry.yarnpkg.com/aws-sign2/-/aws-sign2-0.7.0.tgz#b46e890934a9591f2d2f6f86d7e6a9f1b3fe76a8" @@ -7006,6 +7011,14 @@ buffer@^5.2.0, buffer@^5.2.1, buffer@^5.4.3, buffer@^5.5.0, buffer@^5.7.0: base64-js "^1.3.1" ieee754 "^1.1.13" +buffer@^6.0.3: + version "6.0.3" + resolved "https://registry.yarnpkg.com/buffer/-/buffer-6.0.3.tgz#2ace578459cc8fbe2a70aaa8f52ee63b6a74c6c6" + integrity sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA== + dependencies: + base64-js "^1.3.1" + ieee754 "^1.2.1" + builtin-modules@^3.1.0: version "3.2.0" resolved "https://registry.yarnpkg.com/builtin-modules/-/builtin-modules-3.2.0.tgz#45d5db99e7ee5e6bc4f362e008bf917ab5049887" @@ -9517,6 +9530,32 @@ es-abstract@^1.17.2, es-abstract@^1.18.0-next.1, es-abstract@^1.18.0-next.2, es- string.prototype.trimstart "^1.0.4" unbox-primitive "^1.0.1" +es-abstract@^1.18.5: + version "1.19.1" + resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.19.1.tgz#d4885796876916959de78edaa0df456627115ec3" + integrity sha512-2vJ6tjA/UfqLm2MPs7jxVybLoB8i1t1Jd9R3kISld20sIxPcTbLuggQOUxeWeAvIUkduv/CfMjuh4WmiXr2v9w== + dependencies: + call-bind "^1.0.2" + es-to-primitive "^1.2.1" + function-bind "^1.1.1" + get-intrinsic "^1.1.1" + get-symbol-description "^1.0.0" + has "^1.0.3" + has-symbols "^1.0.2" + internal-slot "^1.0.3" + is-callable "^1.2.4" + is-negative-zero "^2.0.1" + is-regex "^1.1.4" + is-shared-array-buffer "^1.0.1" + is-string "^1.0.7" + is-weakref "^1.0.1" + object-inspect "^1.11.0" + object-keys "^1.1.1" + object.assign "^4.1.2" + string.prototype.trimend "^1.0.4" + string.prototype.trimstart "^1.0.4" + unbox-primitive "^1.0.1" + es-to-primitive@^1.2.1: version "1.2.1" resolved "https://registry.yarnpkg.com/es-to-primitive/-/es-to-primitive-1.2.1.tgz#e55cd4c9cdc188bcefb03b366c736323fc5c898a" @@ -10872,6 +10911,11 @@ for-in@^1.0.2: resolved "https://registry.yarnpkg.com/for-in/-/for-in-1.0.2.tgz#81068d295a8142ec0ac726c6e2200c30fb6d5e80" integrity sha1-gQaNKVqBQuwKxybG4iAMMPttXoA= +foreach@^2.0.5: + version "2.0.5" + resolved "https://registry.yarnpkg.com/foreach/-/foreach-2.0.5.tgz#0bee005018aeb260d0a3af3ae658dd0136ec1b99" + integrity sha1-C+4AUBiusmDQo6865ljdATbsG5k= + forever-agent@~0.6.1: version "0.6.1" resolved "https://registry.yarnpkg.com/forever-agent/-/forever-agent-0.6.1.tgz#fbc71f0c41adeb37f96c577ad1ed42d8fdacca91" @@ -11843,7 +11887,7 @@ identity-obj-proxy@3.0.0: dependencies: harmony-reflect "^1.4.6" -ieee754@^1.1.13, ieee754@^1.1.4: +ieee754@^1.1.13, ieee754@^1.1.4, ieee754@^1.2.1: version "1.2.1" resolved "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz" integrity sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA== @@ -12331,6 +12375,13 @@ is-generator-fn@^2.0.0: resolved "https://registry.yarnpkg.com/is-generator-fn/-/is-generator-fn-2.1.0.tgz#7d140adc389aaf3011a8f2a2a4cfa6faadffb118" integrity sha512-cTIB4yPYL/Grw0EaSzASzg6bBy9gqCofvWN8okThAYIxKJZC+udlRAmGbM0XLeniEJSs8uEgHPGuHSe1XsOLSQ== +is-generator-function@^1.0.7: + version "1.0.10" + resolved "https://registry.yarnpkg.com/is-generator-function/-/is-generator-function-1.0.10.tgz#f1558baf1ac17e0deea7c0415c438351ff2b3c72" + integrity sha512-jsEjy9l3yiXEQ+PsXdmBwEPcOxaXWLspKdplFUVI9vq1iZgIekeC0L167qeu86czQaxed3q/Uzuw0swL0irL8A== + dependencies: + has-tostringtag "^1.0.0" + is-glob@4.0.1, is-glob@^4.0.0, is-glob@^4.0.1, is-glob@~4.0.1: version "4.0.1" resolved "https://registry.npmjs.org/is-glob/-/is-glob-4.0.1.tgz" @@ -12526,6 +12577,11 @@ is-root@2.1.0: resolved "https://registry.yarnpkg.com/is-root/-/is-root-2.1.0.tgz#809e18129cf1129644302a4f8544035d51984a9c" integrity sha512-AGOriNp96vNBd3HtU+RzFEc75FfR5ymiYv8E553I71SCeXBiMsVDUtdio1OEFvrPyLIQ9tVR5RxXIFe5PUFjMg== +is-shared-array-buffer@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/is-shared-array-buffer/-/is-shared-array-buffer-1.0.1.tgz#97b0c85fbdacb59c9c446fe653b82cf2b5b7cfe6" + integrity sha512-IU0NmyknYZN0rChcKhRO1X8LYz5Isj/Fsqh8NJOSf+N/hCOTwy29F32Ik7a+QszE63IdvmwdTPDd6cZ5pg4cwA== + is-stream@^1.0.1, is-stream@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-1.1.0.tgz#12d4a3dd4e68e0b79ceb8dbc84173ae80d91ca44" @@ -12550,6 +12606,17 @@ is-symbol@^1.0.2, is-symbol@^1.0.3: dependencies: has-symbols "^1.0.2" +is-typed-array@^1.1.3, is-typed-array@^1.1.7: + version "1.1.8" + resolved "https://registry.yarnpkg.com/is-typed-array/-/is-typed-array-1.1.8.tgz#cbaa6585dc7db43318bc5b89523ea384a6f65e79" + integrity sha512-HqH41TNZq2fgtGT8WHVFVJhBVGuY3AnP3Q36K8JKXUxSxRgk/d+7NjmwG2vo2mYmXK8UYZKu0qH8bVP5gEisjA== + dependencies: + available-typed-arrays "^1.0.5" + call-bind "^1.0.2" + es-abstract "^1.18.5" + foreach "^2.0.5" + has-tostringtag "^1.0.0" + is-typedarray@1.0.0, is-typedarray@^1.0.0, is-typedarray@~1.0.0: version "1.0.0" resolved "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz" @@ -12574,6 +12641,13 @@ is-upper-case@^2.0.2: dependencies: tslib "^2.0.3" +is-weakref@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/is-weakref/-/is-weakref-1.0.1.tgz#842dba4ec17fa9ac9850df2d6efbc1737274f2a2" + integrity sha512-b2jKc2pQZjaeFYWEf7ScFj+Be1I+PXmlu572Q8coTXZ+LD/QQZ7ShPMst8h16riVgyXTQwUsFEl74mDvc/3MHQ== + dependencies: + call-bind "^1.0.0" + is-whitespace-character@^1.0.0: version "1.0.4" resolved "https://registry.npmjs.org/is-whitespace-character/-/is-whitespace-character-1.0.4.tgz" @@ -13175,6 +13249,11 @@ jpeg-js@0.4.2: resolved "https://registry.npmjs.org/jpeg-js/-/jpeg-js-0.4.2.tgz" integrity sha512-+az2gi/hvex7eLTMTlbRLOhH6P6WFdk2ITI8HJsaH2VqYO0I594zXSYEP+tf4FW+8Cy68ScDXoAsQdyQanv3sw== +js-sha256@0.9.0: + version "0.9.0" + resolved "https://registry.yarnpkg.com/js-sha256/-/js-sha256-0.9.0.tgz#0b89ac166583e91ef9123644bd3c5334ce9d0966" + integrity sha512-sga3MHh9sgQN2+pJ9VYZ+1LPwXOxuBJBA5nrR5/ofPfuiJBE2hnjsaN8se8JznOmGLN2p49Pe5U/ttafcs/apA== + js-sha3@0.5.7: version "0.5.7" resolved "https://registry.yarnpkg.com/js-sha3/-/js-sha3-0.5.7.tgz#0d4ffd8002d5333aabaf4a23eed2f6374c9f28e7" @@ -13487,6 +13566,15 @@ keccak@^3.0.0: node-addon-api "^2.0.0" node-gyp-build "^4.2.0" +keccak@^3.0.1: + version "3.0.2" + resolved "https://registry.yarnpkg.com/keccak/-/keccak-3.0.2.tgz#4c2c6e8c54e04f2670ee49fa734eb9da152206e0" + integrity sha512-PyKKjkH53wDMLGrvmRGSNWgmSxZOUqbnXwKL9tmgbFYA1iAYqW21kfR7mZXV0MlESiefxQQE9X9fTa3X+2MPDQ== + dependencies: + node-addon-api "^2.0.0" + node-gyp-build "^4.2.0" + readable-stream "^3.6.0" + keyv@^3.0.0: version "3.1.0" resolved "https://registry.yarnpkg.com/keyv/-/keyv-3.1.0.tgz#ecc228486f69991e49e9476485a5be1e8fc5c4d9" @@ -17471,7 +17559,7 @@ readable-stream@^1.0.33: isarray "0.0.1" string_decoder "~0.10.x" -readable-stream@^3.0.6, readable-stream@^3.4.0, readable-stream@^3.6.0: +readable-stream@^3.0.6, readable-stream@^3.4.0, readable-stream@^3.5.0, readable-stream@^3.6.0: version "3.6.0" resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-3.6.0.tgz#337bbda3adc0706bd3e024426a286d4b4b2c9198" integrity sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA== @@ -19013,6 +19101,14 @@ stream-browserify@^2.0.1: inherits "~2.0.1" readable-stream "^2.0.2" +stream-browserify@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/stream-browserify/-/stream-browserify-3.0.0.tgz#22b0a2850cdf6503e73085da1fc7b7d0c2122f2f" + integrity sha512-H73RAHsVBapbim0tU2JwwOiXUj+fikfiaoYAKHF3VJfA0pe2BCzkhAHBlLG6REzE+2WNZcxOXjK7lkso+9euLA== + dependencies: + inherits "~2.0.4" + readable-stream "^3.5.0" + stream-combiner@~0.0.4: version "0.0.4" resolved "https://registry.npmjs.org/stream-combiner/-/stream-combiner-0.0.4.tgz" @@ -20355,6 +20451,18 @@ util@^0.11.0: dependencies: inherits "2.0.3" +util@^0.12.4: + version "0.12.4" + resolved "https://registry.yarnpkg.com/util/-/util-0.12.4.tgz#66121a31420df8f01ca0c464be15dfa1d1850253" + integrity sha512-bxZ9qtSlGUWSOy9Qa9Xgk11kSslpuZwaxCg4sNIDj6FLucDab2JxnHwyNTCpHMtK1MjoQiWQ6DiUMZYbSrO+Sw== + dependencies: + inherits "^2.0.3" + is-arguments "^1.0.4" + is-generator-function "^1.0.7" + is-typed-array "^1.1.3" + safe-buffer "^5.1.2" + which-typed-array "^1.1.2" + utila@~0.4: version "0.4.0" resolved "https://registry.yarnpkg.com/utila/-/utila-0.4.0.tgz#8a16a05d445657a3aea5eecc5b12a4fa5379772c" @@ -20495,21 +20603,26 @@ walker@^1.0.7, walker@~1.0.5: dependencies: makeerror "1.0.x" -walletlink@^2.1.6: - version "2.1.6" - resolved "https://registry.yarnpkg.com/walletlink/-/walletlink-2.1.6.tgz#4e48310af09bb0c940a156c26c1d0b1b9506ddb9" - integrity sha512-4M+8GrDq4zUCcRsbpBVIwMLVxJ8Fg8ybWi1E6K9d2cYHO1S9WnzsV5MN6HDyThBci00a+O3tKeUD++nVaUyA5g== +walletlink@^2.2.6: + version "2.2.6" + resolved "https://registry.yarnpkg.com/walletlink/-/walletlink-2.2.6.tgz#cfea3ba94e5ea33e87b0a2f31151a77ee1a59d72" + integrity sha512-4TF1kkpo9aq1QlfKv6jTCEsV8Rc+1RIuXn2EtsTJt9/H02fG3oy7k49sqB4gXZ9CWN48yoXnmSwq1GdkvfYGjw== dependencies: "@metamask/safe-event-emitter" "2.0.0" bind-decorator "^1.0.11" bn.js "^5.1.1" + buffer "^6.0.3" clsx "^1.1.0" eth-block-tracker "4.4.3" eth-json-rpc-filters "4.2.2" eth-rpc-errors "4.0.2" + js-sha256 "0.9.0" json-rpc-engine "6.1.0" + keccak "^3.0.1" preact "^10.5.9" rxjs "^6.6.3" + stream-browserify "^3.0.0" + util "^0.12.4" warning@^4.0.2, warning@^4.0.3: version "4.0.3" @@ -20763,6 +20876,18 @@ which-module@^2.0.0: resolved "https://registry.yarnpkg.com/which-module/-/which-module-2.0.0.tgz#d9ef07dce77b9902b8a3a8fa4b31c3e3f7e6e87a" integrity sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho= +which-typed-array@^1.1.2: + version "1.1.7" + resolved "https://registry.yarnpkg.com/which-typed-array/-/which-typed-array-1.1.7.tgz#2761799b9a22d4b8660b3c1b40abaa7739691793" + integrity sha512-vjxaB4nfDqwKI0ws7wZpxIlde1XrLX5uB0ZjpfshgmapJMD7jJWhZI+yToJTqaFByF0eNBcYxbjmCzoRP7CfEw== + dependencies: + available-typed-arrays "^1.0.5" + call-bind "^1.0.2" + es-abstract "^1.18.5" + foreach "^2.0.5" + has-tostringtag "^1.0.0" + is-typed-array "^1.1.7" + which@^1.2.9, which@^1.3.1: version "1.3.1" resolved "https://registry.yarnpkg.com/which/-/which-1.3.1.tgz#a45043d54f5805316da8d62f9f50918d3da70b0a" From 188b321cc9274ac0b42afaa536e9f65a97513f89 Mon Sep 17 00:00:00 2001 From: Noah Zinsmeister Date: Wed, 3 Nov 2021 13:12:39 -0400 Subject: [PATCH 013/378] fix: Parse latest proposal description correctly --- src/constants/proposals/index.ts | 1 + src/state/governance/hooks.ts | 14 ++++++++------ 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/src/constants/proposals/index.ts b/src/constants/proposals/index.ts index 46c108b523..f4d64c8285 100644 --- a/src/constants/proposals/index.ts +++ b/src/constants/proposals/index.ts @@ -1,2 +1,3 @@ export const UNISWAP_GRANTS_START_BLOCK = 11473815 export const BRAVO_START_BLOCK = 13059344 +export const ONE_BIP_START_BLOCK = 13551293 diff --git a/src/state/governance/hooks.ts b/src/state/governance/hooks.ts index aeb02eca8b..36d7886fed 100644 --- a/src/state/governance/hooks.ts +++ b/src/state/governance/hooks.ts @@ -21,7 +21,7 @@ import { useCallback, useMemo } from 'react' import { calculateGasMargin } from 'utils/calculateGasMargin' import { SupportedChainId } from '../../constants/chains' -import { BRAVO_START_BLOCK, UNISWAP_GRANTS_START_BLOCK } from '../../constants/proposals' +import { BRAVO_START_BLOCK, ONE_BIP_START_BLOCK, UNISWAP_GRANTS_START_BLOCK } from '../../constants/proposals' import { UNI } from '../../constants/tokens' import { useLogs } from '../logs/hooks' import { useSingleCallResult, useSingleContractMultipleData } from '../multicall/hooks' @@ -104,6 +104,8 @@ function useFormattedProposalCreatedLogs( ?.filter((parsed) => indices.flat().some((i) => i === parsed.id.toNumber())) ?.map((parsed) => { let description!: string + + const startBlock = parseInt(parsed.startBlock?.toString()) try { description = parsed.description } catch (error) { @@ -111,7 +113,6 @@ function useFormattedProposalCreatedLogs( let onError = Utf8ErrorFuncs.replace // Bravo proposal reverses the codepoints for U+2018 (‘) and U+2026 (…) - const startBlock = parseInt(parsed.startBlock?.toString()) if (startBlock === BRAVO_START_BLOCK) { const U2018 = [0xe2, 0x80, 0x98].toString() const U2026 = [0xe2, 0x80, 0xa6].toString() @@ -131,12 +132,13 @@ function useFormattedProposalCreatedLogs( } description = JSON.parse(toUtf8String(error.error.value, onError)) || '' + } - // Bravo proposal omits newlines - if (startBlock === BRAVO_START_BLOCK) { - description = description.replace(/ /g, '\n').replace(/\d\. /g, '\n$&') - } + // Bravo and one bip proposals omit newlines + if (startBlock === BRAVO_START_BLOCK || startBlock === ONE_BIP_START_BLOCK) { + description = description.replace(/ /g, '\n').replace(/\d\. /g, '\n$&') } + return { description, details: parsed.targets.map((target: string, i: number) => { From 60bd0eb86cc37f3e21fa5ee2fb373493765b2fad Mon Sep 17 00:00:00 2001 From: Noah Zinsmeister Date: Wed, 3 Nov 2021 13:57:56 -0400 Subject: [PATCH 014/378] add proposal start time (#2738) --- src/pages/Vote/VotePage.tsx | 52 ++++++++++++++++++++++++++----------- 1 file changed, 37 insertions(+), 15 deletions(-) diff --git a/src/pages/Vote/VotePage.tsx b/src/pages/Vote/VotePage.tsx index 85339ad9fb..03f16d21cc 100644 --- a/src/pages/Vote/VotePage.tsx +++ b/src/pages/Vote/VotePage.tsx @@ -122,6 +122,21 @@ const ProposerAddressLink = styled(ExternalLink)` word-break: break-all; ` +function getDateFromBlock( + targetBlock: number | undefined, + currentBlock: number | undefined, + averageBlockTimeInSeconds: number | undefined, + currentTimestamp: BigNumber | undefined +): DateTime | undefined { + return targetBlock && currentBlock && averageBlockTimeInSeconds && currentTimestamp + ? DateTime.fromSeconds( + currentTimestamp + .add(BigNumber.from(averageBlockTimeInSeconds).mul(BigNumber.from(targetBlock - currentBlock))) + .toNumber() + ) + : undefined +} + export default function VotePage({ match: { params: { governorIndex, id }, @@ -146,18 +161,18 @@ export default function VotePage({ // get and format date from data const currentTimestamp = useCurrentBlockTimestamp() const currentBlock = useBlockNumber() - const endDate: DateTime | undefined = - proposalData && currentTimestamp && currentBlock - ? DateTime.fromSeconds( - currentTimestamp - .add( - BigNumber.from( - (chainId && AVERAGE_BLOCK_TIME_IN_SECS[chainId]) ?? DEFAULT_AVERAGE_BLOCK_TIME_IN_SECS - ).mul(BigNumber.from(proposalData.endBlock - currentBlock)) - ) - .toNumber() - ) - : undefined + const startDate: DateTime | undefined = getDateFromBlock( + proposalData?.startBlock, + currentBlock, + (chainId && AVERAGE_BLOCK_TIME_IN_SECS[chainId]) ?? DEFAULT_AVERAGE_BLOCK_TIME_IN_SECS, + currentTimestamp + ) + const endDate: DateTime | undefined = getDateFromBlock( + proposalData?.endBlock, + currentBlock, + (chainId && AVERAGE_BLOCK_TIME_IN_SECS[chainId]) ?? DEFAULT_AVERAGE_BLOCK_TIME_IN_SECS, + currentTimestamp + ) const now: DateTime = DateTime.local() // get total votes and format percentages for UI @@ -223,14 +238,21 @@ export default function VotePage({ {proposalData?.title} + + + {startDate && startDate > now ? ( + + Voting starts approximately {startDate && startDate.toLocaleString(DateTime.DATETIME_FULL)} + + ) : null} + + {endDate && endDate < now ? ( Voting ended {endDate && endDate.toLocaleString(DateTime.DATETIME_FULL)} - ) : proposalData ? ( - Voting ends approximately {endDate && endDate.toLocaleString(DateTime.DATETIME_FULL)} ) : ( - '' + Voting ends approximately {endDate && endDate.toLocaleString(DateTime.DATETIME_FULL)} )} From 02296c686f4123843ca2367272c22660485cc510 Mon Sep 17 00:00:00 2001 From: Crowdin Bot Date: Wed, 3 Nov 2021 18:11:33 +0000 Subject: [PATCH 015/378] chore(i18n): synchronize translations from crowdin [skip ci] --- src/locales/af-ZA.po | 6 +++++- src/locales/ar-SA.po | 6 +++++- src/locales/ca-ES.po | 6 +++++- src/locales/cs-CZ.po | 6 +++++- src/locales/da-DK.po | 6 +++++- src/locales/de-DE.po | 6 +++++- src/locales/el-GR.po | 6 +++++- src/locales/es-ES.po | 6 +++++- src/locales/fi-FI.po | 6 +++++- src/locales/fr-FR.po | 6 +++++- src/locales/he-IL.po | 6 +++++- src/locales/hu-HU.po | 6 +++++- src/locales/id-ID.po | 6 +++++- src/locales/it-IT.po | 6 +++++- src/locales/ja-JP.po | 6 +++++- src/locales/ko-KR.po | 6 +++++- src/locales/nl-NL.po | 6 +++++- src/locales/no-NO.po | 6 +++++- src/locales/pl-PL.po | 6 +++++- src/locales/pt-BR.po | 6 +++++- src/locales/pt-PT.po | 6 +++++- src/locales/ro-RO.po | 6 +++++- src/locales/ru-RU.po | 6 +++++- src/locales/sl-SI.po | 6 +++++- src/locales/sr-SP.po | 6 +++++- src/locales/sv-SE.po | 6 +++++- src/locales/sw-TZ.po | 6 +++++- src/locales/th-TH.po | 6 +++++- src/locales/tr-TR.po | 6 +++++- src/locales/uk-UA.po | 6 +++++- src/locales/vi-VN.po | 6 +++++- src/locales/zh-CN.po | 6 +++++- src/locales/zh-TW.po | 6 +++++- 33 files changed, 165 insertions(+), 33 deletions(-) diff --git a/src/locales/af-ZA.po b/src/locales/af-ZA.po index a83526159c..30c35c7999 100644 --- a/src/locales/af-ZA.po +++ b/src/locales/af-ZA.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-10-26 22:06\n" +"PO-Revision-Date: 2021-11-03 18:11\n" "Last-Translator: \n" "Language: af_ZA\n" "Language-Team: Afrikaans\n" @@ -2041,6 +2041,10 @@ msgstr "Die stemming het geeïnding {0}" msgid "Voting ends approximately {0}" msgstr "Die stemming eindig ongeveer {0}" +#: src/pages/Vote/VotePage.tsx +msgid "Voting starts approximately {0}" +msgstr "Stemming begin ongeveer {0}" + #: src/components/TransactionConfirmationModal/index.tsx msgid "Waiting For Confirmation" msgstr "Wag op bevestiging" diff --git a/src/locales/ar-SA.po b/src/locales/ar-SA.po index 51b54348df..32eec05122 100644 --- a/src/locales/ar-SA.po +++ b/src/locales/ar-SA.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-10-26 22:06\n" +"PO-Revision-Date: 2021-11-03 18:11\n" "Last-Translator: \n" "Language: ar_SA\n" "Language-Team: Arabic\n" @@ -2041,6 +2041,10 @@ msgstr "انتهى التصويت {0}" msgid "Voting ends approximately {0}" msgstr "التصويت ينتهي تقريبًا {0}" +#: src/pages/Vote/VotePage.tsx +msgid "Voting starts approximately {0}" +msgstr "يبدأ التصويت تقريبًا {0}" + #: src/components/TransactionConfirmationModal/index.tsx msgid "Waiting For Confirmation" msgstr "في انتظار التأكيد" diff --git a/src/locales/ca-ES.po b/src/locales/ca-ES.po index de58d5051c..77a4cb1a56 100644 --- a/src/locales/ca-ES.po +++ b/src/locales/ca-ES.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-10-26 22:06\n" +"PO-Revision-Date: 2021-11-03 18:11\n" "Last-Translator: \n" "Language: ca_ES\n" "Language-Team: Catalan\n" @@ -2041,6 +2041,10 @@ msgstr "La votació ha finalitzat {0}" msgid "Voting ends approximately {0}" msgstr "La votació finalitza aproximadament {0}" +#: src/pages/Vote/VotePage.tsx +msgid "Voting starts approximately {0}" +msgstr "La votació comença aproximadament a {0}" + #: src/components/TransactionConfirmationModal/index.tsx msgid "Waiting For Confirmation" msgstr "Esperant la confirmació" diff --git a/src/locales/cs-CZ.po b/src/locales/cs-CZ.po index 49eed0a072..8c25611f13 100644 --- a/src/locales/cs-CZ.po +++ b/src/locales/cs-CZ.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-10-26 22:06\n" +"PO-Revision-Date: 2021-11-03 18:11\n" "Last-Translator: \n" "Language: cs_CZ\n" "Language-Team: Czech\n" @@ -2041,6 +2041,10 @@ msgstr "Hlasování skončilo {0}" msgid "Voting ends approximately {0}" msgstr "Hlasování končí přibližně v {0}" +#: src/pages/Vote/VotePage.tsx +msgid "Voting starts approximately {0}" +msgstr "Hlasování začíná přibližně od {0}" + #: src/components/TransactionConfirmationModal/index.tsx msgid "Waiting For Confirmation" msgstr "Čeká se na potvrzení" diff --git a/src/locales/da-DK.po b/src/locales/da-DK.po index b182627033..51fbbe9196 100644 --- a/src/locales/da-DK.po +++ b/src/locales/da-DK.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-10-26 22:06\n" +"PO-Revision-Date: 2021-11-03 18:11\n" "Last-Translator: \n" "Language: da_DK\n" "Language-Team: Danish\n" @@ -2041,6 +2041,10 @@ msgstr "Afstemning sluttede {0}" msgid "Voting ends approximately {0}" msgstr "Afstemning slutter ca. {0}" +#: src/pages/Vote/VotePage.tsx +msgid "Voting starts approximately {0}" +msgstr "Afstemningen starter cirka {0}" + #: src/components/TransactionConfirmationModal/index.tsx msgid "Waiting For Confirmation" msgstr "Afventer bekræftelse" diff --git a/src/locales/de-DE.po b/src/locales/de-DE.po index d69d662af2..9c5ad467c7 100644 --- a/src/locales/de-DE.po +++ b/src/locales/de-DE.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-10-26 22:06\n" +"PO-Revision-Date: 2021-11-03 18:11\n" "Last-Translator: \n" "Language: de_DE\n" "Language-Team: German\n" @@ -2041,6 +2041,10 @@ msgstr "Abstimmung beendet {0}" msgid "Voting ends approximately {0}" msgstr "Die Abstimmung endet ungefähr {0}" +#: src/pages/Vote/VotePage.tsx +msgid "Voting starts approximately {0}" +msgstr "Die Abstimmung beginnt ungefähr {0}" + #: src/components/TransactionConfirmationModal/index.tsx msgid "Waiting For Confirmation" msgstr "Warte auf Bestätigung" diff --git a/src/locales/el-GR.po b/src/locales/el-GR.po index 2b96c4e999..0055be2103 100644 --- a/src/locales/el-GR.po +++ b/src/locales/el-GR.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-10-26 22:06\n" +"PO-Revision-Date: 2021-11-03 18:11\n" "Last-Translator: \n" "Language: el_GR\n" "Language-Team: Greek\n" @@ -2041,6 +2041,10 @@ msgstr "Η ψηφοφορία έληξε {0}" msgid "Voting ends approximately {0}" msgstr "Η ψηφοφορία λήγει περίπου {0}" +#: src/pages/Vote/VotePage.tsx +msgid "Voting starts approximately {0}" +msgstr "Η ψηφοφορία ξεκινά περίπου {0}" + #: src/components/TransactionConfirmationModal/index.tsx msgid "Waiting For Confirmation" msgstr "Αναμονή Επιβεβαίωσης" diff --git a/src/locales/es-ES.po b/src/locales/es-ES.po index 1b2f16e89e..d131ec5151 100644 --- a/src/locales/es-ES.po +++ b/src/locales/es-ES.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-10-26 22:06\n" +"PO-Revision-Date: 2021-11-03 18:11\n" "Last-Translator: \n" "Language: es_ES\n" "Language-Team: Spanish\n" @@ -2041,6 +2041,10 @@ msgstr "Voto finalizado {0}" msgid "Voting ends approximately {0}" msgstr "La votación termina aproximadamente {0}" +#: src/pages/Vote/VotePage.tsx +msgid "Voting starts approximately {0}" +msgstr "La votación comienza aproximadamente {0}" + #: src/components/TransactionConfirmationModal/index.tsx msgid "Waiting For Confirmation" msgstr "Esperando por confirmación" diff --git a/src/locales/fi-FI.po b/src/locales/fi-FI.po index 7115857ca4..f306597fb5 100644 --- a/src/locales/fi-FI.po +++ b/src/locales/fi-FI.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-10-26 22:06\n" +"PO-Revision-Date: 2021-11-03 18:11\n" "Last-Translator: \n" "Language: fi_FI\n" "Language-Team: Finnish\n" @@ -2041,6 +2041,10 @@ msgstr "Äänestys päättynyt {0}" msgid "Voting ends approximately {0}" msgstr "Äänestys päättyy noin {0}" +#: src/pages/Vote/VotePage.tsx +msgid "Voting starts approximately {0}" +msgstr "Äänestys alkaa noin {0}" + #: src/components/TransactionConfirmationModal/index.tsx msgid "Waiting For Confirmation" msgstr "Odotetaan vahvistusta" diff --git a/src/locales/fr-FR.po b/src/locales/fr-FR.po index 642a4e0a9c..199280ccd6 100644 --- a/src/locales/fr-FR.po +++ b/src/locales/fr-FR.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-10-26 22:06\n" +"PO-Revision-Date: 2021-11-03 18:11\n" "Last-Translator: \n" "Language: fr_FR\n" "Language-Team: French\n" @@ -2041,6 +2041,10 @@ msgstr "Vote terminé {0}" msgid "Voting ends approximately {0}" msgstr "Le vote se termine environ {0}" +#: src/pages/Vote/VotePage.tsx +msgid "Voting starts approximately {0}" +msgstr "Le vote commence à environ {0}" + #: src/components/TransactionConfirmationModal/index.tsx msgid "Waiting For Confirmation" msgstr "En attente de confirmation" diff --git a/src/locales/he-IL.po b/src/locales/he-IL.po index 386204a533..e14ff4c292 100644 --- a/src/locales/he-IL.po +++ b/src/locales/he-IL.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-10-26 22:06\n" +"PO-Revision-Date: 2021-11-03 18:11\n" "Last-Translator: \n" "Language: he_IL\n" "Language-Team: Hebrew\n" @@ -2041,6 +2041,10 @@ msgstr "ההצבעה הסתיימה ב {0}" msgid "Voting ends approximately {0}" msgstr "ההצבעה מסתיימת בכ- {0}" +#: src/pages/Vote/VotePage.tsx +msgid "Voting starts approximately {0}" +msgstr "ההצבעה מתחילה בערך {0}" + #: src/components/TransactionConfirmationModal/index.tsx msgid "Waiting For Confirmation" msgstr "מחכה לאישור" diff --git a/src/locales/hu-HU.po b/src/locales/hu-HU.po index 23adb0da78..c6ab654179 100644 --- a/src/locales/hu-HU.po +++ b/src/locales/hu-HU.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-10-26 22:06\n" +"PO-Revision-Date: 2021-11-03 18:11\n" "Last-Translator: \n" "Language: hu_HU\n" "Language-Team: Hungarian\n" @@ -2042,6 +2042,10 @@ msgstr "A szavazás befejeződött {0}" msgid "Voting ends approximately {0}" msgstr "A szavazás befejeződik körülbelül {0}" +#: src/pages/Vote/VotePage.tsx +msgid "Voting starts approximately {0}" +msgstr "A szavazás {0}" + #: src/components/TransactionConfirmationModal/index.tsx msgid "Waiting For Confirmation" msgstr "Visszaigazolásra vár" diff --git a/src/locales/id-ID.po b/src/locales/id-ID.po index 5dec2f658e..1a6b3f1d8b 100644 --- a/src/locales/id-ID.po +++ b/src/locales/id-ID.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-10-26 22:06\n" +"PO-Revision-Date: 2021-11-03 18:11\n" "Last-Translator: \n" "Language: id_ID\n" "Language-Team: Indonesian\n" @@ -2041,6 +2041,10 @@ msgstr "Voting berakhir {0}" msgid "Voting ends approximately {0}" msgstr "Voting berakhir kira-kira {0}" +#: src/pages/Vote/VotePage.tsx +msgid "Voting starts approximately {0}" +msgstr "Pemungutan suara dimulai sekitar {0}" + #: src/components/TransactionConfirmationModal/index.tsx msgid "Waiting For Confirmation" msgstr "Menunggu Konfirmasi" diff --git a/src/locales/it-IT.po b/src/locales/it-IT.po index 3082901c4f..e5c54c5a73 100644 --- a/src/locales/it-IT.po +++ b/src/locales/it-IT.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-10-26 22:06\n" +"PO-Revision-Date: 2021-11-03 18:11\n" "Last-Translator: \n" "Language: it_IT\n" "Language-Team: Italian\n" @@ -2041,6 +2041,10 @@ msgstr "Votazione terminata {0}" msgid "Voting ends approximately {0}" msgstr "La votazione termina approssimativamente {0}" +#: src/pages/Vote/VotePage.tsx +msgid "Voting starts approximately {0}" +msgstr "La votazione inizia circa {0}" + #: src/components/TransactionConfirmationModal/index.tsx msgid "Waiting For Confirmation" msgstr "In Attesa Di Conferma" diff --git a/src/locales/ja-JP.po b/src/locales/ja-JP.po index cb8487a11b..68d4b2fe35 100644 --- a/src/locales/ja-JP.po +++ b/src/locales/ja-JP.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-01 15:08\n" +"PO-Revision-Date: 2021-11-03 18:11\n" "Last-Translator: \n" "Language: ja_JP\n" "Language-Team: Japanese\n" @@ -2041,6 +2041,10 @@ msgstr "{0} に投票は終了しました" msgid "Voting ends approximately {0}" msgstr "投票は {0} 頃に終了します" +#: src/pages/Vote/VotePage.tsx +msgid "Voting starts approximately {0}" +msgstr "投票は約 {0}" + #: src/components/TransactionConfirmationModal/index.tsx msgid "Waiting For Confirmation" msgstr "確認待ち" diff --git a/src/locales/ko-KR.po b/src/locales/ko-KR.po index d4e21de565..fa05f55b17 100644 --- a/src/locales/ko-KR.po +++ b/src/locales/ko-KR.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-10-26 22:06\n" +"PO-Revision-Date: 2021-11-03 18:11\n" "Last-Translator: \n" "Language: ko_KR\n" "Language-Team: Korean\n" @@ -2041,6 +2041,10 @@ msgstr "투표 종료 {0}" msgid "Voting ends approximately {0}" msgstr "투표는 대략 {0}에 끝납니다" +#: src/pages/Vote/VotePage.tsx +msgid "Voting starts approximately {0}" +msgstr "투표 시작 약 {0}" + #: src/components/TransactionConfirmationModal/index.tsx msgid "Waiting For Confirmation" msgstr "확인을 기다리는 중" diff --git a/src/locales/nl-NL.po b/src/locales/nl-NL.po index bce0cb4cdc..a31e22707f 100644 --- a/src/locales/nl-NL.po +++ b/src/locales/nl-NL.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-10-26 22:06\n" +"PO-Revision-Date: 2021-11-03 18:11\n" "Last-Translator: \n" "Language: nl_NL\n" "Language-Team: Dutch\n" @@ -2041,6 +2041,10 @@ msgstr "Stemmen beëindigd {0}" msgid "Voting ends approximately {0}" msgstr "Stemmen eindigt ongeveer {0}" +#: src/pages/Vote/VotePage.tsx +msgid "Voting starts approximately {0}" +msgstr "Stemmen begint ongeveer {0}" + #: src/components/TransactionConfirmationModal/index.tsx msgid "Waiting For Confirmation" msgstr "Wachten op bevestiging" diff --git a/src/locales/no-NO.po b/src/locales/no-NO.po index f95175640d..70d6f2c76e 100644 --- a/src/locales/no-NO.po +++ b/src/locales/no-NO.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-10-26 22:06\n" +"PO-Revision-Date: 2021-11-03 18:11\n" "Last-Translator: \n" "Language: no_NO\n" "Language-Team: Norwegian\n" @@ -2041,6 +2041,10 @@ msgstr "Stemmegivningen avsluttet {0}" msgid "Voting ends approximately {0}" msgstr "Avstemming slutter om {0}" +#: src/pages/Vote/VotePage.tsx +msgid "Voting starts approximately {0}" +msgstr "Avstemningen starter ca {0}" + #: src/components/TransactionConfirmationModal/index.tsx msgid "Waiting For Confirmation" msgstr "Venter på bekreftelse" diff --git a/src/locales/pl-PL.po b/src/locales/pl-PL.po index adaf991c72..f6d2dbbd0a 100644 --- a/src/locales/pl-PL.po +++ b/src/locales/pl-PL.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-10-26 22:06\n" +"PO-Revision-Date: 2021-11-03 18:11\n" "Last-Translator: \n" "Language: pl_PL\n" "Language-Team: Polish\n" @@ -2041,6 +2041,10 @@ msgstr "Głosowanie zakończyło się {0}" msgid "Voting ends approximately {0}" msgstr "Głosowanie kończy się około {0}" +#: src/pages/Vote/VotePage.tsx +msgid "Voting starts approximately {0}" +msgstr "Głosowanie zaczyna się około {0}" + #: src/components/TransactionConfirmationModal/index.tsx msgid "Waiting For Confirmation" msgstr "Oczekiwanie na potwierdzenie" diff --git a/src/locales/pt-BR.po b/src/locales/pt-BR.po index 6f50a967c5..436257f3d9 100644 --- a/src/locales/pt-BR.po +++ b/src/locales/pt-BR.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-10-26 22:06\n" +"PO-Revision-Date: 2021-11-03 18:11\n" "Last-Translator: \n" "Language: pt_BR\n" "Language-Team: Portuguese, Brazilian\n" @@ -2041,6 +2041,10 @@ msgstr "Votação encerrada {0}" msgid "Voting ends approximately {0}" msgstr "A votação se encerra aproximadamente às {0}" +#: src/pages/Vote/VotePage.tsx +msgid "Voting starts approximately {0}" +msgstr "A votação começa aproximadamente {0}" + #: src/components/TransactionConfirmationModal/index.tsx msgid "Waiting For Confirmation" msgstr "Aguardando a confirmação" diff --git a/src/locales/pt-PT.po b/src/locales/pt-PT.po index 6b8eb270b8..934dcc5c21 100644 --- a/src/locales/pt-PT.po +++ b/src/locales/pt-PT.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-10-26 22:06\n" +"PO-Revision-Date: 2021-11-03 18:11\n" "Last-Translator: \n" "Language: pt_PT\n" "Language-Team: Portuguese\n" @@ -2041,6 +2041,10 @@ msgstr "Votação terminada {0}" msgid "Voting ends approximately {0}" msgstr "A votação termina aproximadamente em {0}" +#: src/pages/Vote/VotePage.tsx +msgid "Voting starts approximately {0}" +msgstr "A votação começa aproximadamente {0}" + #: src/components/TransactionConfirmationModal/index.tsx msgid "Waiting For Confirmation" msgstr "A aguardar confirmação" diff --git a/src/locales/ro-RO.po b/src/locales/ro-RO.po index 6543c88507..f3dadd7c86 100644 --- a/src/locales/ro-RO.po +++ b/src/locales/ro-RO.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-10-26 22:06\n" +"PO-Revision-Date: 2021-11-03 18:11\n" "Last-Translator: \n" "Language: ro_RO\n" "Language-Team: Romanian\n" @@ -2041,6 +2041,10 @@ msgstr "Votarea s-a încheiat {0}" msgid "Voting ends approximately {0}" msgstr "Votarea se termină aproximativ {0}" +#: src/pages/Vote/VotePage.tsx +msgid "Voting starts approximately {0}" +msgstr "Votarea începe cu aproximativ {0}" + #: src/components/TransactionConfirmationModal/index.tsx msgid "Waiting For Confirmation" msgstr "În Așteptarea Confirmării" diff --git a/src/locales/ru-RU.po b/src/locales/ru-RU.po index 8b4be9af12..8e02bb1cd9 100644 --- a/src/locales/ru-RU.po +++ b/src/locales/ru-RU.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-01 21:06\n" +"PO-Revision-Date: 2021-11-03 18:11\n" "Last-Translator: \n" "Language: ru_RU\n" "Language-Team: Russian\n" @@ -2041,6 +2041,10 @@ msgstr "Голосование закончилось {0}" msgid "Voting ends approximately {0}" msgstr "Голосование заканчивается примерно {0}" +#: src/pages/Vote/VotePage.tsx +msgid "Voting starts approximately {0}" +msgstr "Голосование начнется примерно с {0}" + #: src/components/TransactionConfirmationModal/index.tsx msgid "Waiting For Confirmation" msgstr "Ожидание подтверждения" diff --git a/src/locales/sl-SI.po b/src/locales/sl-SI.po index 693858b47d..b3630fa1d0 100644 --- a/src/locales/sl-SI.po +++ b/src/locales/sl-SI.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-10-27 06:07\n" +"PO-Revision-Date: 2021-11-03 18:11\n" "Last-Translator: \n" "Language: sl_SI\n" "Language-Team: Slovenian\n" @@ -2041,6 +2041,10 @@ msgstr "Glasovanje se je končalo {0}" msgid "Voting ends approximately {0}" msgstr "Glasovanje se konča okrog {0}" +#: src/pages/Vote/VotePage.tsx +msgid "Voting starts approximately {0}" +msgstr "Glasovanje se začne približno {0}" + #: src/components/TransactionConfirmationModal/index.tsx msgid "Waiting For Confirmation" msgstr "Čakanje na potrditev" diff --git a/src/locales/sr-SP.po b/src/locales/sr-SP.po index 6ed393e491..4b8534e856 100644 --- a/src/locales/sr-SP.po +++ b/src/locales/sr-SP.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-10-26 22:06\n" +"PO-Revision-Date: 2021-11-03 18:11\n" "Last-Translator: \n" "Language: sr_SP\n" "Language-Team: Serbian (Cyrillic)\n" @@ -2041,6 +2041,10 @@ msgstr "Гласање се завршило {0}" msgid "Voting ends approximately {0}" msgstr "Гласање се завршава приближно {0}" +#: src/pages/Vote/VotePage.tsx +msgid "Voting starts approximately {0}" +msgstr "Гласање почиње отприлике {0}" + #: src/components/TransactionConfirmationModal/index.tsx msgid "Waiting For Confirmation" msgstr "Чека се потврда" diff --git a/src/locales/sv-SE.po b/src/locales/sv-SE.po index c512c9f42b..78c2d0acb7 100644 --- a/src/locales/sv-SE.po +++ b/src/locales/sv-SE.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-10-26 22:06\n" +"PO-Revision-Date: 2021-11-03 18:11\n" "Last-Translator: \n" "Language: sv_SE\n" "Language-Team: Swedish\n" @@ -2041,6 +2041,10 @@ msgstr "Röstningen avslutades {0}" msgid "Voting ends approximately {0}" msgstr "Röstningen slutar ungefär {0}" +#: src/pages/Vote/VotePage.tsx +msgid "Voting starts approximately {0}" +msgstr "Omröstningen börjar cirka {0}" + #: src/components/TransactionConfirmationModal/index.tsx msgid "Waiting For Confirmation" msgstr "Väntar på bekräftelse" diff --git a/src/locales/sw-TZ.po b/src/locales/sw-TZ.po index 03ade7e3c9..9d40d74acd 100644 --- a/src/locales/sw-TZ.po +++ b/src/locales/sw-TZ.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-10-26 22:06\n" +"PO-Revision-Date: 2021-11-03 18:11\n" "Last-Translator: \n" "Language: sw_TZ\n" "Language-Team: Swahili, Tanzania\n" @@ -2041,6 +2041,10 @@ msgstr "Upigaji kura uliisha {0}" msgid "Voting ends approximately {0}" msgstr "Upigaji kura unaisha takriban {0}" +#: src/pages/Vote/VotePage.tsx +msgid "Voting starts approximately {0}" +msgstr "Upigaji kura huanza takriban {0}" + #: src/components/TransactionConfirmationModal/index.tsx msgid "Waiting For Confirmation" msgstr "Inasubiri Uthibitisho" diff --git a/src/locales/th-TH.po b/src/locales/th-TH.po index 0e0e5b7ede..bf7e835f8f 100644 --- a/src/locales/th-TH.po +++ b/src/locales/th-TH.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-10-26 22:06\n" +"PO-Revision-Date: 2021-11-03 18:11\n" "Last-Translator: \n" "Language: th_TH\n" "Language-Team: Thai\n" @@ -2041,6 +2041,10 @@ msgstr "สิ้นสุดการโหวต {0}" msgid "Voting ends approximately {0}" msgstr "การลงคะแนนจะสิ้นสุดลงประมาณ {0}" +#: src/pages/Vote/VotePage.tsx +msgid "Voting starts approximately {0}" +msgstr "การลงคะแนนเริ่มต้นประมาณ {0}" + #: src/components/TransactionConfirmationModal/index.tsx msgid "Waiting For Confirmation" msgstr "รอการยืนยัน" diff --git a/src/locales/tr-TR.po b/src/locales/tr-TR.po index 9d01317def..2252515e7a 100644 --- a/src/locales/tr-TR.po +++ b/src/locales/tr-TR.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-10-26 22:06\n" +"PO-Revision-Date: 2021-11-03 18:11\n" "Last-Translator: \n" "Language: tr_TR\n" "Language-Team: Turkish\n" @@ -2041,6 +2041,10 @@ msgstr "Oylama bitti {0}" msgid "Voting ends approximately {0}" msgstr "Oylama yaklaşık şu zamanda bitecek: {0}" +#: src/pages/Vote/VotePage.tsx +msgid "Voting starts approximately {0}" +msgstr "Oylama yaklaşık {0}" + #: src/components/TransactionConfirmationModal/index.tsx msgid "Waiting For Confirmation" msgstr "Onay Bekliyor" diff --git a/src/locales/uk-UA.po b/src/locales/uk-UA.po index d094d94322..733eccc99f 100644 --- a/src/locales/uk-UA.po +++ b/src/locales/uk-UA.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-10-26 22:06\n" +"PO-Revision-Date: 2021-11-03 18:11\n" "Last-Translator: \n" "Language: uk_UA\n" "Language-Team: Ukrainian\n" @@ -2041,6 +2041,10 @@ msgstr "Голосування завершилось {0}" msgid "Voting ends approximately {0}" msgstr "Голосування завершується приблизно {0}" +#: src/pages/Vote/VotePage.tsx +msgid "Voting starts approximately {0}" +msgstr "Голосування починається приблизно з {0}" + #: src/components/TransactionConfirmationModal/index.tsx msgid "Waiting For Confirmation" msgstr "Очікується підтвердження" diff --git a/src/locales/vi-VN.po b/src/locales/vi-VN.po index 0b3f7112af..a844fe074b 100644 --- a/src/locales/vi-VN.po +++ b/src/locales/vi-VN.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-10-26 22:06\n" +"PO-Revision-Date: 2021-11-03 18:11\n" "Last-Translator: \n" "Language: vi_VN\n" "Language-Team: Vietnamese\n" @@ -2041,6 +2041,10 @@ msgstr "Bỏ phiếu đã kết thúc {0}" msgid "Voting ends approximately {0}" msgstr "Bỏ phiếu kết thúc vào khoảng {0}" +#: src/pages/Vote/VotePage.tsx +msgid "Voting starts approximately {0}" +msgstr "Bỏ phiếu bắt đầu khoảng {0}" + #: src/components/TransactionConfirmationModal/index.tsx msgid "Waiting For Confirmation" msgstr "Chờ đợi sự xác nhận" diff --git a/src/locales/zh-CN.po b/src/locales/zh-CN.po index 323d649bd2..e65f6ec152 100644 --- a/src/locales/zh-CN.po +++ b/src/locales/zh-CN.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-01 15:08\n" +"PO-Revision-Date: 2021-11-03 18:11\n" "Last-Translator: \n" "Language: zh_CN\n" "Language-Team: Chinese Simplified\n" @@ -2041,6 +2041,10 @@ msgstr "投票结束 {0}" msgid "Voting ends approximately {0}" msgstr "投票大约结束于 {0}" +#: src/pages/Vote/VotePage.tsx +msgid "Voting starts approximately {0}" +msgstr "投票开始大约 {0}" + #: src/components/TransactionConfirmationModal/index.tsx msgid "Waiting For Confirmation" msgstr "等待确认" diff --git a/src/locales/zh-TW.po b/src/locales/zh-TW.po index d0fccb31ce..1be5d280e9 100644 --- a/src/locales/zh-TW.po +++ b/src/locales/zh-TW.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-01 15:08\n" +"PO-Revision-Date: 2021-11-03 18:11\n" "Last-Translator: \n" "Language: zh_TW\n" "Language-Team: Chinese Traditional\n" @@ -2041,6 +2041,10 @@ msgstr "投票結束 {0}" msgid "Voting ends approximately {0}" msgstr "投票大約結束於 {0}" +#: src/pages/Vote/VotePage.tsx +msgid "Voting starts approximately {0}" +msgstr "投票開始大約 {0}" + #: src/components/TransactionConfirmationModal/index.tsx msgid "Waiting For Confirmation" msgstr "等待確認中" From cf4c26a77ca5c41921a5bcd7ceebc38df35125cb Mon Sep 17 00:00:00 2001 From: Crowdin Bot Date: Wed, 3 Nov 2021 22:06:57 +0000 Subject: [PATCH 016/378] chore(i18n): synchronize translations from crowdin [skip ci] --- src/locales/sl-SI.po | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/locales/sl-SI.po b/src/locales/sl-SI.po index b3630fa1d0..f22e2ab9a5 100644 --- a/src/locales/sl-SI.po +++ b/src/locales/sl-SI.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-03 18:11\n" +"PO-Revision-Date: 2021-11-03 22:06\n" "Last-Translator: \n" "Language: sl_SI\n" "Language-Team: Slovenian\n" @@ -2043,7 +2043,7 @@ msgstr "Glasovanje se konča okrog {0}" #: src/pages/Vote/VotePage.tsx msgid "Voting starts approximately {0}" -msgstr "Glasovanje se začne približno {0}" +msgstr "Glasovanje se začne okrog {0}" #: src/components/TransactionConfirmationModal/index.tsx msgid "Waiting For Confirmation" From ab93d512d3945c2e61e29abf3e3e087df11f3d13 Mon Sep 17 00:00:00 2001 From: Ben Krochta <35636764+bkrochta@users.noreply.github.com> Date: Fri, 5 Nov 2021 10:29:55 -0400 Subject: [PATCH 017/378] fix: #2741 Increase liquidity form off center (#2746) --- src/pages/AppBody.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/pages/AppBody.tsx b/src/pages/AppBody.tsx index 06e4fe0c3e..55f3f8f7b4 100644 --- a/src/pages/AppBody.tsx +++ b/src/pages/AppBody.tsx @@ -12,6 +12,8 @@ export const BodyWrapper = styled.main<{ margin?: string; maxWidth?: string }>` 0px 24px 32px rgba(0, 0, 0, 0.01); border-radius: 24px; margin-top: 1rem; + margin-left: auto; + margin-right: auto; z-index: ${Z_INDEX.deprecated_content}; ` From 48cc6811c95f4a9cbf6e19bd58478cfc79def0db Mon Sep 17 00:00:00 2001 From: Moody Salem Date: Mon, 8 Nov 2021 23:46:27 -0500 Subject: [PATCH 018/378] fix: bump to latest token list including ENS token --- .github/dependabot.yml | 1 + package.json | 2 +- yarn.lock | 8 ++++---- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index f7add53867..62228b1248 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -7,3 +7,4 @@ updates: interval: "daily" allow: - dependency-name: "@uniswap/token-lists" + - dependency-name: "@uniswap/default-token-list" diff --git a/package.json b/package.json index c46312aed9..172235eebd 100644 --- a/package.json +++ b/package.json @@ -55,7 +55,7 @@ "@types/wcag-contrast": "^3.0.0", "@typescript-eslint/eslint-plugin": "^4.1.0", "@typescript-eslint/parser": "^4.1.0", - "@uniswap/default-token-list": "^2.0.0", + "@uniswap/default-token-list": "^2.1.0", "@uniswap/governance": "^1.0.2", "@uniswap/liquidity-staker": "^1.0.2", "@uniswap/merkle-distributor": "1.0.1", diff --git a/yarn.lock b/yarn.lock index bcc6fc4601..921e2d93d3 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4559,10 +4559,10 @@ "@typescript-eslint/types" "4.30.0" eslint-visitor-keys "^2.0.0" -"@uniswap/default-token-list@^2.0.0": - version "2.0.0" - resolved "https://registry.npmjs.org/@uniswap/default-token-list/-/default-token-list-2.0.0.tgz" - integrity sha512-P37PqBtUjEB9DIRFfmEsgougkV0555JQKiGPISeN9UFk1UgCQM5sg6+bBaShiyaqEpdtttAaBFI1QESCzPGvXw== +"@uniswap/default-token-list@^2.1.0": + version "2.1.0" + resolved "https://registry.yarnpkg.com/@uniswap/default-token-list/-/default-token-list-2.1.0.tgz#06dc33fbdb3bc4c507d4e9ac8b8b62ef5b252c8d" + integrity sha512-Cd2CrtZ+rNk55txvO76EEZRWOyojX+YyY0xxVjiMN00Y9nKDCftYoUNvwy9d+VuTySYjyCAVUef4PdcongZAPg== "@uniswap/governance@^1.0.2": version "1.0.2" From dc55a212851a8679eaff2c83d15176e15ee2ef38 Mon Sep 17 00:00:00 2001 From: Will Hennessy Date: Wed, 10 Nov 2021 16:41:00 -0500 Subject: [PATCH 019/378] fix: remove deprecated optimism status url (#2771) --- src/constants/chains.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/constants/chains.ts b/src/constants/chains.ts index a51ea1474f..ea6f99db1f 100644 --- a/src/constants/chains.ts +++ b/src/constants/chains.ts @@ -142,7 +142,6 @@ export const CHAIN_INFO: ChainInfo = { logoUrl: optimismLogoUrl, nativeCurrency: { name: 'Optimistic ETH', symbol: 'ETH', decimals: 18 }, rpcUrls: ['https://mainnet.optimism.io'], - statusPage: 'https://optimism.io/status', }, [SupportedChainId.OPTIMISTIC_KOVAN]: { blockWaitMsBeforeWarning: ms`10m`, @@ -154,7 +153,6 @@ export const CHAIN_INFO: ChainInfo = { rpcUrls: ['https://kovan.optimism.io'], logoUrl: optimismLogoUrl, nativeCurrency: { name: 'Optimistic kovETH', symbol: 'kovOpETH', decimals: 18 }, - statusPage: 'https://optimism.io/status', }, } From 74c61c0213b3bbe1c95420d00d18582124c4e646 Mon Sep 17 00:00:00 2001 From: Will Hennessy Date: Thu, 11 Nov 2021 10:31:08 -0500 Subject: [PATCH 020/378] feat: Menu update. Add help center & feature requests. Remove analytics & github. (#2709) * Add help center, remove analytics from menu * Add canny feature requests link, remove github link * add coffee icon --- src/components/Menu/index.tsx | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/src/components/Menu/index.tsx b/src/components/Menu/index.tsx index 20b86640d3..c44a6a920b 100644 --- a/src/components/Menu/index.tsx +++ b/src/components/Menu/index.tsx @@ -10,13 +10,13 @@ import { BookOpen, Check, ChevronLeft, - Code, + Coffee, FileText, Globe, + HelpCircle, Info, MessageCircle, Moon, - PieChart, Sun, } from 'react-feather' import { Link } from 'react-router-dom' @@ -252,17 +252,17 @@ export default function Menu() { - +
- Docs + Help Center
- +
- +
- Code + Request Features
- +
@@ -270,12 +270,6 @@ export default function Menu() {
- -
- Analytics -
- -
setMenu('lang')}>
Language @@ -286,6 +280,12 @@ export default function Menu() {
{darkMode ? Light Theme : Dark Theme}
{darkMode ? : } + +
+ Docs +
+ +
togglePrivacyPolicy()}>
Legal & Privacy From 659a564db88cd848dde23dcc2ff1a5c81e9e4748 Mon Sep 17 00:00:00 2001 From: Jordan Frankfurt Date: Thu, 11 Nov 2021 09:53:14 -0600 Subject: [PATCH 021/378] no unused imports eslint rule (#2773) --- .eslintrc.json | 3 ++- package.json | 1 + yarn.lock | 12 ++++++++++++ 3 files changed, 15 insertions(+), 1 deletion(-) diff --git a/.eslintrc.json b/.eslintrc.json index 3aaa4e0c7e..c7a5d5b77f 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -21,8 +21,9 @@ "prettier/@typescript-eslint", "plugin:prettier/recommended" ], - "plugins": ["simple-import-sort"], + "plugins": ["simple-import-sort", "unused-imports"], "rules": { + "unused-imports/no-unused-imports": "error", "simple-import-sort/imports": "error", "simple-import-sort/exports": "error", "@typescript-eslint/explicit-function-return-type": "off", diff --git a/package.json b/package.json index 172235eebd..7929b322ed 100644 --- a/package.json +++ b/package.json @@ -87,6 +87,7 @@ "eslint-plugin-react": "^7.19.0", "eslint-plugin-react-hooks": "^4.0.0", "eslint-plugin-simple-import-sort": "^7.0.0", + "eslint-plugin-unused-imports": "^2.0.0", "ethers": "^5.4.6", "firebase": "^9.1.3", "graphql": "^15.5.0", diff --git a/yarn.lock b/yarn.lock index 921e2d93d3..217152fdbf 100644 --- a/yarn.lock +++ b/yarn.lock @@ -9758,6 +9758,18 @@ eslint-plugin-testing-library@^3.9.2: dependencies: "@typescript-eslint/experimental-utils" "^3.10.1" +eslint-plugin-unused-imports@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/eslint-plugin-unused-imports/-/eslint-plugin-unused-imports-2.0.0.tgz#d8db8c4d0cfa0637a8b51ce3fd7d1b6bc3f08520" + integrity sha512-3APeS/tQlTrFa167ThtP0Zm0vctjr4M44HMpeg1P4bK6wItarumq0Ma82xorMKdFsWpphQBlRPzw/pxiVELX1A== + dependencies: + eslint-rule-composer "^0.3.0" + +eslint-rule-composer@^0.3.0: + version "0.3.0" + resolved "https://registry.yarnpkg.com/eslint-rule-composer/-/eslint-rule-composer-0.3.0.tgz#79320c927b0c5c0d3d3d2b76c8b4a488f25bbaf9" + integrity sha512-bt+Sh8CtDmn2OajxvNO+BX7Wn4CIWMpTRm3MaiKPCQcnnlm0CS2mhui6QaoeQugs+3Kj2ESKEEGJUdVafwhiCg== + eslint-scope@^4.0.3: version "4.0.3" resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-4.0.3.tgz#ca03833310f6889a3264781aa82e63eb9cfe7848" From cb41df4cd5e1fd6a904c682ddba2b15d2fd78304 Mon Sep 17 00:00:00 2001 From: Crowdin Bot Date: Thu, 11 Nov 2021 16:07:15 +0000 Subject: [PATCH 022/378] chore(i18n): synchronize translations from crowdin [skip ci] --- src/locales/af-ZA.po | 15 ++++++--------- src/locales/ar-SA.po | 15 ++++++--------- src/locales/ca-ES.po | 15 ++++++--------- src/locales/cs-CZ.po | 15 ++++++--------- src/locales/da-DK.po | 15 ++++++--------- src/locales/de-DE.po | 15 ++++++--------- src/locales/el-GR.po | 15 ++++++--------- src/locales/es-ES.po | 15 ++++++--------- src/locales/fi-FI.po | 15 ++++++--------- src/locales/fr-FR.po | 15 ++++++--------- src/locales/he-IL.po | 15 ++++++--------- src/locales/hu-HU.po | 15 ++++++--------- src/locales/id-ID.po | 15 ++++++--------- src/locales/it-IT.po | 15 ++++++--------- src/locales/ja-JP.po | 15 ++++++--------- src/locales/ko-KR.po | 15 ++++++--------- src/locales/nl-NL.po | 15 ++++++--------- src/locales/no-NO.po | 15 ++++++--------- src/locales/pl-PL.po | 15 ++++++--------- src/locales/pt-BR.po | 15 ++++++--------- src/locales/pt-PT.po | 15 ++++++--------- src/locales/ro-RO.po | 15 ++++++--------- src/locales/ru-RU.po | 15 ++++++--------- src/locales/sl-SI.po | 15 ++++++--------- src/locales/sr-SP.po | 15 ++++++--------- src/locales/sv-SE.po | 15 ++++++--------- src/locales/sw-TZ.po | 15 ++++++--------- src/locales/th-TH.po | 15 ++++++--------- src/locales/tr-TR.po | 15 ++++++--------- src/locales/uk-UA.po | 15 ++++++--------- src/locales/vi-VN.po | 15 ++++++--------- src/locales/zh-CN.po | 15 ++++++--------- src/locales/zh-TW.po | 15 ++++++--------- 33 files changed, 198 insertions(+), 297 deletions(-) diff --git a/src/locales/af-ZA.po b/src/locales/af-ZA.po index 30c35c7999..02ffe1e157 100644 --- a/src/locales/af-ZA.po +++ b/src/locales/af-ZA.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-03 18:11\n" +"PO-Revision-Date: 2021-11-11 16:07\n" "Last-Translator: \n" "Language: af_ZA\n" "Language-Team: Afrikaans\n" @@ -231,10 +231,6 @@ msgstr "Bedrag" msgid "An error occurred when trying to execute this swap. You may need to increase your slippage tolerance. If that does not work, there may be an incompatibility with the token you are trading. Note: fee on transfer and rebase tokens are incompatible with Uniswap V3." msgstr "'N Fout het voorgekom tydens die uitvoering van hierdie ruil. U moet dalk u glyverdraagsaamheid verhoog. As dit nie werk nie, kan daar 'n onversoenbaarheid wees met die teken wat u verhandel. Opmerking: fooi vir oordrag en herbasis-tokens is nie versoenbaar met Uniswap V3 nie." -#: src/components/Menu/index.tsx -msgid "Analytics" -msgstr "Analise" - #: src/components/earn/StakingModal.tsx #: src/pages/RemoveLiquidity/index.tsx msgid "Approve" @@ -446,10 +442,6 @@ msgstr "Naby" msgid "Closed" msgstr "Gesluit" -#: src/components/Menu/index.tsx -msgid "Code" -msgstr "Kode" - #: src/pages/Pool/PositionPage.tsx msgid "Collect" msgstr "Versamel" @@ -835,6 +827,7 @@ msgid "Get support on Discord" msgstr "Kry ondersteuning op Discord" #: src/components/Header/NetworkSelector.tsx +#: src/components/Menu/index.tsx msgid "Help Center" msgstr "Hulp Sentrum" @@ -1430,6 +1423,10 @@ msgstr "Verwyder {0} {1} en {2} {3}" msgid "Removing {0} {1} and{2} {3}" msgstr "Verwyder {0} {1} en{2} {3}" +#: src/components/Menu/index.tsx +msgid "Request Features" +msgstr "Versoek kenmerke" + #: src/components/TransactionConfirmationModal/index.tsx #: src/components/TransactionConfirmationModal/index.tsx #: src/pages/CreateProposal/ProposalSubmissionModal.tsx diff --git a/src/locales/ar-SA.po b/src/locales/ar-SA.po index 32eec05122..4f25bf71bb 100644 --- a/src/locales/ar-SA.po +++ b/src/locales/ar-SA.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-03 18:11\n" +"PO-Revision-Date: 2021-11-11 16:07\n" "Last-Translator: \n" "Language: ar_SA\n" "Language-Team: Arabic\n" @@ -231,10 +231,6 @@ msgstr "المبلغ" msgid "An error occurred when trying to execute this swap. You may need to increase your slippage tolerance. If that does not work, there may be an incompatibility with the token you are trading. Note: fee on transfer and rebase tokens are incompatible with Uniswap V3." msgstr "حدث خطأ أثناء محاولة تنفيذ هذا التبادل. قد تحتاج إلى زيادة تحملك للانزلاق. إذا لم يفلح ذلك ، فقد يكون هناك عدم توافق مع الرمز الذي تتداوله. ملاحظة: رسوم النقل وإعادة الرموز المميزة غير متوافقة مع Uniswap V3." -#: src/components/Menu/index.tsx -msgid "Analytics" -msgstr "التحليلات" - #: src/components/earn/StakingModal.tsx #: src/pages/RemoveLiquidity/index.tsx msgid "Approve" @@ -446,10 +442,6 @@ msgstr "إغلاق" msgid "Closed" msgstr "مغلق" -#: src/components/Menu/index.tsx -msgid "Code" -msgstr "الكود" - #: src/pages/Pool/PositionPage.tsx msgid "Collect" msgstr "اجمع" @@ -835,6 +827,7 @@ msgid "Get support on Discord" msgstr "احصل على الدعم على Discord" #: src/components/Header/NetworkSelector.tsx +#: src/components/Menu/index.tsx msgid "Help Center" msgstr "مركز المساعدة" @@ -1430,6 +1423,10 @@ msgstr "إزالة {0} {1} و {2} {3}" msgid "Removing {0} {1} and{2} {3}" msgstr "إزالة {0} {1} و{2} {3}" +#: src/components/Menu/index.tsx +msgid "Request Features" +msgstr "طلب الميزات" + #: src/components/TransactionConfirmationModal/index.tsx #: src/components/TransactionConfirmationModal/index.tsx #: src/pages/CreateProposal/ProposalSubmissionModal.tsx diff --git a/src/locales/ca-ES.po b/src/locales/ca-ES.po index 77a4cb1a56..76fa9be402 100644 --- a/src/locales/ca-ES.po +++ b/src/locales/ca-ES.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-03 18:11\n" +"PO-Revision-Date: 2021-11-11 16:07\n" "Last-Translator: \n" "Language: ca_ES\n" "Language-Team: Catalan\n" @@ -231,10 +231,6 @@ msgstr "Import" msgid "An error occurred when trying to execute this swap. You may need to increase your slippage tolerance. If that does not work, there may be an incompatibility with the token you are trading. Note: fee on transfer and rebase tokens are incompatible with Uniswap V3." msgstr "S'ha produït un error en intentar executar aquest intercanvi. És possible que hàgiu d'augmentar la tolerància a la relliscada. Si això no funciona, és possible que hi hagi una incompatibilitat amb el testimoni que esteu negociant. Nota: els tokens de transferència i rebase no són compatibles amb Uniswap V3." -#: src/components/Menu/index.tsx -msgid "Analytics" -msgstr "Analítica" - #: src/components/earn/StakingModal.tsx #: src/pages/RemoveLiquidity/index.tsx msgid "Approve" @@ -446,10 +442,6 @@ msgstr "Tanca" msgid "Closed" msgstr "Tancat" -#: src/components/Menu/index.tsx -msgid "Code" -msgstr "Codi" - #: src/pages/Pool/PositionPage.tsx msgid "Collect" msgstr "Cobra" @@ -835,6 +827,7 @@ msgid "Get support on Discord" msgstr "Obteniu assistència a Discord" #: src/components/Header/NetworkSelector.tsx +#: src/components/Menu/index.tsx msgid "Help Center" msgstr "Centre d'ajuda" @@ -1430,6 +1423,10 @@ msgstr "Eliminació de {0} {1} i {2} {3}" msgid "Removing {0} {1} and{2} {3}" msgstr "Eliminació de {0} {1} i{2} {3}" +#: src/components/Menu/index.tsx +msgid "Request Features" +msgstr "Sol·licitud de característiques" + #: src/components/TransactionConfirmationModal/index.tsx #: src/components/TransactionConfirmationModal/index.tsx #: src/pages/CreateProposal/ProposalSubmissionModal.tsx diff --git a/src/locales/cs-CZ.po b/src/locales/cs-CZ.po index 8c25611f13..a6f9037ced 100644 --- a/src/locales/cs-CZ.po +++ b/src/locales/cs-CZ.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-03 18:11\n" +"PO-Revision-Date: 2021-11-11 16:07\n" "Last-Translator: \n" "Language: cs_CZ\n" "Language-Team: Czech\n" @@ -231,10 +231,6 @@ msgstr "Částka" msgid "An error occurred when trying to execute this swap. You may need to increase your slippage tolerance. If that does not work, there may be an incompatibility with the token you are trading. Note: fee on transfer and rebase tokens are incompatible with Uniswap V3." msgstr "Při pokusu o provedení tohoto swapu došlo k chybě. Možná budete muset zvýšit toleranci skluzu. Pokud to nefunguje, může dojít k nekompatibilitě s tokenem, s nímž obchodujete. Poznámka: Poplatky za tokeny za převody a rebase nejsou kompatibilní s Uniswap V3." -#: src/components/Menu/index.tsx -msgid "Analytics" -msgstr "Analýza" - #: src/components/earn/StakingModal.tsx #: src/pages/RemoveLiquidity/index.tsx msgid "Approve" @@ -446,10 +442,6 @@ msgstr "Zavřít" msgid "Closed" msgstr "Zavřeno" -#: src/components/Menu/index.tsx -msgid "Code" -msgstr "Kód" - #: src/pages/Pool/PositionPage.tsx msgid "Collect" msgstr "Sbírat" @@ -835,6 +827,7 @@ msgid "Get support on Discord" msgstr "Získejte podporu o Discord" #: src/components/Header/NetworkSelector.tsx +#: src/components/Menu/index.tsx msgid "Help Center" msgstr "Centrum nápovědy" @@ -1430,6 +1423,10 @@ msgstr "Odstraňování {0} {1} a {2} {3}" msgid "Removing {0} {1} and{2} {3}" msgstr "Odebírání {0} {1} a{2} {3}" +#: src/components/Menu/index.tsx +msgid "Request Features" +msgstr "Vyžádejte si funkce" + #: src/components/TransactionConfirmationModal/index.tsx #: src/components/TransactionConfirmationModal/index.tsx #: src/pages/CreateProposal/ProposalSubmissionModal.tsx diff --git a/src/locales/da-DK.po b/src/locales/da-DK.po index 51fbbe9196..1a954f9a72 100644 --- a/src/locales/da-DK.po +++ b/src/locales/da-DK.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-03 18:11\n" +"PO-Revision-Date: 2021-11-11 16:07\n" "Last-Translator: \n" "Language: da_DK\n" "Language-Team: Danish\n" @@ -231,10 +231,6 @@ msgstr "Beløb" msgid "An error occurred when trying to execute this swap. You may need to increase your slippage tolerance. If that does not work, there may be an incompatibility with the token you are trading. Note: fee on transfer and rebase tokens are incompatible with Uniswap V3." msgstr "Der opstod en fejl under forsøg på at udføre denne swap. Det kan være nødvendigt at øge din glidningstolerance. Hvis det ikke virker, kan der være en uforenelighed med det token, du handler. Bemærk: gebyr ved overførsel og rebase-tokens er inkompatibelt med Uniswap V3." -#: src/components/Menu/index.tsx -msgid "Analytics" -msgstr "Analyser" - #: src/components/earn/StakingModal.tsx #: src/pages/RemoveLiquidity/index.tsx msgid "Approve" @@ -446,10 +442,6 @@ msgstr "Luk" msgid "Closed" msgstr "Lukket" -#: src/components/Menu/index.tsx -msgid "Code" -msgstr "Kode" - #: src/pages/Pool/PositionPage.tsx msgid "Collect" msgstr "Indsaml" @@ -835,6 +827,7 @@ msgid "Get support on Discord" msgstr "Få support på Discord" #: src/components/Header/NetworkSelector.tsx +#: src/components/Menu/index.tsx msgid "Help Center" msgstr "Hjælpecenter" @@ -1430,6 +1423,10 @@ msgstr "Fjerner {0} {1} og {2} {3}" msgid "Removing {0} {1} and{2} {3}" msgstr "Fjernelse af {0} {1} og{2} {3}" +#: src/components/Menu/index.tsx +msgid "Request Features" +msgstr "Anmod om funktioner" + #: src/components/TransactionConfirmationModal/index.tsx #: src/components/TransactionConfirmationModal/index.tsx #: src/pages/CreateProposal/ProposalSubmissionModal.tsx diff --git a/src/locales/de-DE.po b/src/locales/de-DE.po index 9c5ad467c7..6a5d84d0dd 100644 --- a/src/locales/de-DE.po +++ b/src/locales/de-DE.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-03 18:11\n" +"PO-Revision-Date: 2021-11-11 16:07\n" "Last-Translator: \n" "Language: de_DE\n" "Language-Team: German\n" @@ -231,10 +231,6 @@ msgstr "Betrag" msgid "An error occurred when trying to execute this swap. You may need to increase your slippage tolerance. If that does not work, there may be an incompatibility with the token you are trading. Note: fee on transfer and rebase tokens are incompatible with Uniswap V3." msgstr "Beim Versuch, diesen Swap auszuführen, ist ein Fehler aufgetreten. Möglicherweise müssen Sie Ihre Schlupftoleranz erhöhen. Wenn dies nicht funktioniert, liegt möglicherweise eine Inkompatibilität mit dem Token vor, den Sie handeln. Hinweis: Gebühren für Transfer- und Rebase-Token sind nicht mit Uniswap V3 kompatibel." -#: src/components/Menu/index.tsx -msgid "Analytics" -msgstr "Statistiken" - #: src/components/earn/StakingModal.tsx #: src/pages/RemoveLiquidity/index.tsx msgid "Approve" @@ -446,10 +442,6 @@ msgstr "Schließen" msgid "Closed" msgstr "Geschlossen" -#: src/components/Menu/index.tsx -msgid "Code" -msgstr "Code" - #: src/pages/Pool/PositionPage.tsx msgid "Collect" msgstr "Beziehen" @@ -835,6 +827,7 @@ msgid "Get support on Discord" msgstr "Holen Sie sich Unterstützung bei Discord" #: src/components/Header/NetworkSelector.tsx +#: src/components/Menu/index.tsx msgid "Help Center" msgstr "Hilfezentrum" @@ -1430,6 +1423,10 @@ msgstr "Entferne {0} {1} und {2} {3}" msgid "Removing {0} {1} and{2} {3}" msgstr "Entfernen {0} {1} und{2} {3}" +#: src/components/Menu/index.tsx +msgid "Request Features" +msgstr "Funktionen anfordern" + #: src/components/TransactionConfirmationModal/index.tsx #: src/components/TransactionConfirmationModal/index.tsx #: src/pages/CreateProposal/ProposalSubmissionModal.tsx diff --git a/src/locales/el-GR.po b/src/locales/el-GR.po index 0055be2103..525a93e925 100644 --- a/src/locales/el-GR.po +++ b/src/locales/el-GR.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-03 18:11\n" +"PO-Revision-Date: 2021-11-11 16:07\n" "Last-Translator: \n" "Language: el_GR\n" "Language-Team: Greek\n" @@ -231,10 +231,6 @@ msgstr "Ποσό" msgid "An error occurred when trying to execute this swap. You may need to increase your slippage tolerance. If that does not work, there may be an incompatibility with the token you are trading. Note: fee on transfer and rebase tokens are incompatible with Uniswap V3." msgstr "Παρουσιάστηκε σφάλμα κατά την προσπάθεια εκτέλεσης αυτής της ανταλλαγής. Ίσως χρειαστεί να αυξήσετε την ανοχή ολίσθησης. Εάν αυτό δεν λειτουργεί, μπορεί να υπάρχει ασυμβατότητα με το διακριτικό που διαπραγματεύεστε. Σημείωση: τα τέλη μεταφοράς και επαναφοράς δεν είναι συμβατά με το Uniswap V3." -#: src/components/Menu/index.tsx -msgid "Analytics" -msgstr "Αναλύσεις" - #: src/components/earn/StakingModal.tsx #: src/pages/RemoveLiquidity/index.tsx msgid "Approve" @@ -446,10 +442,6 @@ msgstr "Κλείσιμο" msgid "Closed" msgstr "Κλειστό" -#: src/components/Menu/index.tsx -msgid "Code" -msgstr "Κωδικός" - #: src/pages/Pool/PositionPage.tsx msgid "Collect" msgstr "Συλλογή" @@ -835,6 +827,7 @@ msgid "Get support on Discord" msgstr "Βρείτε υποστήριξη για τη Διαφωνία" #: src/components/Header/NetworkSelector.tsx +#: src/components/Menu/index.tsx msgid "Help Center" msgstr "Κέντρο βοηθείας" @@ -1430,6 +1423,10 @@ msgstr "Αφαίρεση των {0} {1} και {2} {3}" msgid "Removing {0} {1} and{2} {3}" msgstr "Αφαίρεση {0} {1} και{2} {3}" +#: src/components/Menu/index.tsx +msgid "Request Features" +msgstr "Χαρακτηριστικά αιτήματος" + #: src/components/TransactionConfirmationModal/index.tsx #: src/components/TransactionConfirmationModal/index.tsx #: src/pages/CreateProposal/ProposalSubmissionModal.tsx diff --git a/src/locales/es-ES.po b/src/locales/es-ES.po index d131ec5151..c3d2dade94 100644 --- a/src/locales/es-ES.po +++ b/src/locales/es-ES.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-03 18:11\n" +"PO-Revision-Date: 2021-11-11 16:07\n" "Last-Translator: \n" "Language: es_ES\n" "Language-Team: Spanish\n" @@ -231,10 +231,6 @@ msgstr "Cantidad" msgid "An error occurred when trying to execute this swap. You may need to increase your slippage tolerance. If that does not work, there may be an incompatibility with the token you are trading. Note: fee on transfer and rebase tokens are incompatible with Uniswap V3." msgstr "Se produjo un error al intentar ejecutar este intercambio. Es posible que deba aumentar su tolerancia al deslizamiento. Si eso no funciona, puede haber una incompatibilidad con el token que está negociando. Nota: la tarifa de transferencia y los tokens de rebase son incompatibles con Uniswap V3." -#: src/components/Menu/index.tsx -msgid "Analytics" -msgstr "Estadísticas" - #: src/components/earn/StakingModal.tsx #: src/pages/RemoveLiquidity/index.tsx msgid "Approve" @@ -446,10 +442,6 @@ msgstr "Cerrar" msgid "Closed" msgstr "Cerrado" -#: src/components/Menu/index.tsx -msgid "Code" -msgstr "Código" - #: src/pages/Pool/PositionPage.tsx msgid "Collect" msgstr "Recoger" @@ -835,6 +827,7 @@ msgid "Get support on Discord" msgstr "Obtenga apoyo en Discord" #: src/components/Header/NetworkSelector.tsx +#: src/components/Menu/index.tsx msgid "Help Center" msgstr "Centro de ayuda" @@ -1430,6 +1423,10 @@ msgstr "Eliminando {0} {1} y {2} {3}" msgid "Removing {0} {1} and{2} {3}" msgstr "Eliminando {0} {1} y{2} {3}" +#: src/components/Menu/index.tsx +msgid "Request Features" +msgstr "Solicitar características" + #: src/components/TransactionConfirmationModal/index.tsx #: src/components/TransactionConfirmationModal/index.tsx #: src/pages/CreateProposal/ProposalSubmissionModal.tsx diff --git a/src/locales/fi-FI.po b/src/locales/fi-FI.po index f306597fb5..13f309806f 100644 --- a/src/locales/fi-FI.po +++ b/src/locales/fi-FI.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-03 18:11\n" +"PO-Revision-Date: 2021-11-11 16:07\n" "Last-Translator: \n" "Language: fi_FI\n" "Language-Team: Finnish\n" @@ -231,10 +231,6 @@ msgstr "Määrä" msgid "An error occurred when trying to execute this swap. You may need to increase your slippage tolerance. If that does not work, there may be an incompatibility with the token you are trading. Note: fee on transfer and rebase tokens are incompatible with Uniswap V3." msgstr "Tapahtui virhe yritettäessä suorittaa tämä vaihto. Saatat joutua lisäämään luistonsietokykyäsi. Jos se ei toimi, kaupankäynnin kohteena olevan tunnuksen kanssa saattaa olla ristiriita. Huomautus: siirto- ja uudelleentase-tunnusten maksu ei ole yhteensopiva Uniswap V3: n kanssa." -#: src/components/Menu/index.tsx -msgid "Analytics" -msgstr "Analytiikka" - #: src/components/earn/StakingModal.tsx #: src/pages/RemoveLiquidity/index.tsx msgid "Approve" @@ -446,10 +442,6 @@ msgstr "Sulje" msgid "Closed" msgstr "Suljettu" -#: src/components/Menu/index.tsx -msgid "Code" -msgstr "Koodi" - #: src/pages/Pool/PositionPage.tsx msgid "Collect" msgstr "Kerää" @@ -835,6 +827,7 @@ msgid "Get support on Discord" msgstr "Hae apua Discordista" #: src/components/Header/NetworkSelector.tsx +#: src/components/Menu/index.tsx msgid "Help Center" msgstr "Ohjekeskus" @@ -1430,6 +1423,10 @@ msgstr "Poistetaan {0} {1} ja {2} {3}" msgid "Removing {0} {1} and{2} {3}" msgstr "Irrottaminen {0} {1} ja{2} {3}" +#: src/components/Menu/index.tsx +msgid "Request Features" +msgstr "Pyydä ominaisuuksia" + #: src/components/TransactionConfirmationModal/index.tsx #: src/components/TransactionConfirmationModal/index.tsx #: src/pages/CreateProposal/ProposalSubmissionModal.tsx diff --git a/src/locales/fr-FR.po b/src/locales/fr-FR.po index 199280ccd6..7d126fcdba 100644 --- a/src/locales/fr-FR.po +++ b/src/locales/fr-FR.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-03 18:11\n" +"PO-Revision-Date: 2021-11-11 16:07\n" "Last-Translator: \n" "Language: fr_FR\n" "Language-Team: French\n" @@ -231,10 +231,6 @@ msgstr "Montant" msgid "An error occurred when trying to execute this swap. You may need to increase your slippage tolerance. If that does not work, there may be an incompatibility with the token you are trading. Note: fee on transfer and rebase tokens are incompatible with Uniswap V3." msgstr "Une erreur s'est produite lors de la tentative d'exécution de cet échange. Vous devrez peut-être augmenter votre tolérance au slippage. Si cela ne fonctionne pas, il peut y avoir une incompatibilité avec le token que vous échangez. Remarque : les frais sur les token de transfert et de rebase sont incompatibles avec Uniswap V3." -#: src/components/Menu/index.tsx -msgid "Analytics" -msgstr "Métriques" - #: src/components/earn/StakingModal.tsx #: src/pages/RemoveLiquidity/index.tsx msgid "Approve" @@ -446,10 +442,6 @@ msgstr "Fermer" msgid "Closed" msgstr "Fermé" -#: src/components/Menu/index.tsx -msgid "Code" -msgstr "Code" - #: src/pages/Pool/PositionPage.tsx msgid "Collect" msgstr "Collecter" @@ -835,6 +827,7 @@ msgid "Get support on Discord" msgstr "Obtenez de l'aide sur Discord" #: src/components/Header/NetworkSelector.tsx +#: src/components/Menu/index.tsx msgid "Help Center" msgstr "Centre d'aide" @@ -1430,6 +1423,10 @@ msgstr "Suppression de {0} {1} et {2} {3}" msgid "Removing {0} {1} and{2} {3}" msgstr "Supprimer {0} {1} et{2} {3}" +#: src/components/Menu/index.tsx +msgid "Request Features" +msgstr "Demander des fonctionnalités" + #: src/components/TransactionConfirmationModal/index.tsx #: src/components/TransactionConfirmationModal/index.tsx #: src/pages/CreateProposal/ProposalSubmissionModal.tsx diff --git a/src/locales/he-IL.po b/src/locales/he-IL.po index e14ff4c292..0466f42ecc 100644 --- a/src/locales/he-IL.po +++ b/src/locales/he-IL.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-03 18:11\n" +"PO-Revision-Date: 2021-11-11 16:07\n" "Last-Translator: \n" "Language: he_IL\n" "Language-Team: Hebrew\n" @@ -231,10 +231,6 @@ msgstr "כמות" msgid "An error occurred when trying to execute this swap. You may need to increase your slippage tolerance. If that does not work, there may be an incompatibility with the token you are trading. Note: fee on transfer and rebase tokens are incompatible with Uniswap V3." msgstr "אירעה שגיאה בניסיון לבצע החלפה זו. יתכן שתצטרך להגביר את סובלנות ההחלקה שלך. אם זה לא עובד, ייתכן שיש אי התאמה לאסימון שאתה סוחר בו. הערה: עמלה על אסימון העברה וריבוס אינם תואמים ל- Uniswap V3." -#: src/components/Menu/index.tsx -msgid "Analytics" -msgstr "ניתוח" - #: src/components/earn/StakingModal.tsx #: src/pages/RemoveLiquidity/index.tsx msgid "Approve" @@ -446,10 +442,6 @@ msgstr "סגור" msgid "Closed" msgstr "סָגוּר" -#: src/components/Menu/index.tsx -msgid "Code" -msgstr "קוד" - #: src/pages/Pool/PositionPage.tsx msgid "Collect" msgstr "לגבות" @@ -835,6 +827,7 @@ msgid "Get support on Discord" msgstr "קבל תמיכה בדיסקורד" #: src/components/Header/NetworkSelector.tsx +#: src/components/Menu/index.tsx msgid "Help Center" msgstr "מרכז עזרה" @@ -1430,6 +1423,10 @@ msgstr "הסרת {0} {1} ו {2} {3}" msgid "Removing {0} {1} and{2} {3}" msgstr "הסרת {0} {1} ו-{2} {3}" +#: src/components/Menu/index.tsx +msgid "Request Features" +msgstr "בקשת תכונות" + #: src/components/TransactionConfirmationModal/index.tsx #: src/components/TransactionConfirmationModal/index.tsx #: src/pages/CreateProposal/ProposalSubmissionModal.tsx diff --git a/src/locales/hu-HU.po b/src/locales/hu-HU.po index c6ab654179..2cd2210a96 100644 --- a/src/locales/hu-HU.po +++ b/src/locales/hu-HU.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-03 18:11\n" +"PO-Revision-Date: 2021-11-11 16:07\n" "Last-Translator: \n" "Language: hu_HU\n" "Language-Team: Hungarian\n" @@ -231,10 +231,6 @@ msgstr "Összeg" msgid "An error occurred when trying to execute this swap. You may need to increase your slippage tolerance. If that does not work, there may be an incompatibility with the token you are trading. Note: fee on transfer and rebase tokens are incompatible with Uniswap V3." msgstr "Hiba történt a csere végrehajtása során. Lehet, hogy növelnie kell a csúszási toleranciát. Ha ez nem működik, akkor összeférhetetlenség állhat fenn az Ön által forgalmazott tokennel. Megjegyzés: az átviteli és újrabázis tokenek díja nem kompatibilis az Uniswap V3 verzióval." -#: src/components/Menu/index.tsx -msgid "Analytics" -msgstr "Analitika" - #: src/components/earn/StakingModal.tsx #: src/pages/RemoveLiquidity/index.tsx msgid "Approve" @@ -446,10 +442,6 @@ msgstr "Bezárás" msgid "Closed" msgstr "Zárva" -#: src/components/Menu/index.tsx -msgid "Code" -msgstr "Kód" - #: src/pages/Pool/PositionPage.tsx msgid "Collect" msgstr "Begyűjtés" @@ -836,6 +828,7 @@ msgid "Get support on Discord" msgstr "Kérjen támogatást a Discordon" #: src/components/Header/NetworkSelector.tsx +#: src/components/Menu/index.tsx msgid "Help Center" msgstr "Segítség Központ" @@ -1431,6 +1424,10 @@ msgstr "{0} {1} és {2} {3} eltávolítása" msgid "Removing {0} {1} and{2} {3}" msgstr "{0} {1} és{2} {3}eltávolítása" +#: src/components/Menu/index.tsx +msgid "Request Features" +msgstr "Funkciók kérése" + #: src/components/TransactionConfirmationModal/index.tsx #: src/components/TransactionConfirmationModal/index.tsx #: src/pages/CreateProposal/ProposalSubmissionModal.tsx diff --git a/src/locales/id-ID.po b/src/locales/id-ID.po index 1a6b3f1d8b..52eeb976b9 100644 --- a/src/locales/id-ID.po +++ b/src/locales/id-ID.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-03 18:11\n" +"PO-Revision-Date: 2021-11-11 16:07\n" "Last-Translator: \n" "Language: id_ID\n" "Language-Team: Indonesian\n" @@ -231,10 +231,6 @@ msgstr "Jumlah" msgid "An error occurred when trying to execute this swap. You may need to increase your slippage tolerance. If that does not work, there may be an incompatibility with the token you are trading. Note: fee on transfer and rebase tokens are incompatible with Uniswap V3." msgstr "Terjadi kesalahan saat mengeksekusi swap ini. Anda mungkin memerlukan peningkatan toleransi slip Anda. Jika tidak berhasil, kemungkinan token yang anda perdagangkan tidak cocok. Catatan: biaya transfer token rebase tidak cocok dengan Uniswap V3." -#: src/components/Menu/index.tsx -msgid "Analytics" -msgstr "Analitik" - #: src/components/earn/StakingModal.tsx #: src/pages/RemoveLiquidity/index.tsx msgid "Approve" @@ -446,10 +442,6 @@ msgstr "Tutup" msgid "Closed" msgstr "Ditutup" -#: src/components/Menu/index.tsx -msgid "Code" -msgstr "Kode" - #: src/pages/Pool/PositionPage.tsx msgid "Collect" msgstr "Tagih" @@ -835,6 +827,7 @@ msgid "Get support on Discord" msgstr "Dapatkan dukungan di Discord" #: src/components/Header/NetworkSelector.tsx +#: src/components/Menu/index.tsx msgid "Help Center" msgstr "Pusat Bantuan" @@ -1430,6 +1423,10 @@ msgstr "Menghapus {0} {1} dan {2} {3}" msgid "Removing {0} {1} and{2} {3}" msgstr "Menghapus {0} {1} dan{2} {3}" +#: src/components/Menu/index.tsx +msgid "Request Features" +msgstr "Fitur Permintaan" + #: src/components/TransactionConfirmationModal/index.tsx #: src/components/TransactionConfirmationModal/index.tsx #: src/pages/CreateProposal/ProposalSubmissionModal.tsx diff --git a/src/locales/it-IT.po b/src/locales/it-IT.po index e5c54c5a73..6f3c2cb268 100644 --- a/src/locales/it-IT.po +++ b/src/locales/it-IT.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-03 18:11\n" +"PO-Revision-Date: 2021-11-11 16:07\n" "Last-Translator: \n" "Language: it_IT\n" "Language-Team: Italian\n" @@ -231,10 +231,6 @@ msgstr "Importo" msgid "An error occurred when trying to execute this swap. You may need to increase your slippage tolerance. If that does not work, there may be an incompatibility with the token you are trading. Note: fee on transfer and rebase tokens are incompatible with Uniswap V3." msgstr "Si è verificato un errore durante il tentativo di eseguire questo scambio. Potrebbe essere necessario aumentare la tolleranza allo slittamento. Se ciò non funziona, potrebbe esserci un'incompatibilità con il token che stai scambiando. Nota: la commissione sui token di trasferimento e rebase non è compatibile con Uniswap V3." -#: src/components/Menu/index.tsx -msgid "Analytics" -msgstr "Analisi" - #: src/components/earn/StakingModal.tsx #: src/pages/RemoveLiquidity/index.tsx msgid "Approve" @@ -446,10 +442,6 @@ msgstr "Chiudi" msgid "Closed" msgstr "Chiuso" -#: src/components/Menu/index.tsx -msgid "Code" -msgstr "Codice" - #: src/pages/Pool/PositionPage.tsx msgid "Collect" msgstr "Raccogli" @@ -835,6 +827,7 @@ msgid "Get support on Discord" msgstr "Ottieni supporto su Discord" #: src/components/Header/NetworkSelector.tsx +#: src/components/Menu/index.tsx msgid "Help Center" msgstr "Centro assistenza" @@ -1430,6 +1423,10 @@ msgstr "Rimozione di {0} {1} e {2} {3}" msgid "Removing {0} {1} and{2} {3}" msgstr "Rimozione {0} {1} e{2} {3}" +#: src/components/Menu/index.tsx +msgid "Request Features" +msgstr "Funzionalità di richiesta" + #: src/components/TransactionConfirmationModal/index.tsx #: src/components/TransactionConfirmationModal/index.tsx #: src/pages/CreateProposal/ProposalSubmissionModal.tsx diff --git a/src/locales/ja-JP.po b/src/locales/ja-JP.po index 68d4b2fe35..b36aa308a0 100644 --- a/src/locales/ja-JP.po +++ b/src/locales/ja-JP.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-03 18:11\n" +"PO-Revision-Date: 2021-11-11 16:07\n" "Last-Translator: \n" "Language: ja_JP\n" "Language-Team: Japanese\n" @@ -231,10 +231,6 @@ msgstr "数量" msgid "An error occurred when trying to execute this swap. You may need to increase your slippage tolerance. If that does not work, there may be an incompatibility with the token you are trading. Note: fee on transfer and rebase tokens are incompatible with Uniswap V3." msgstr "スワップ実行時にエラーが発生しました。スリッページの許容範囲を広げる必要がある可能性があります。それでも上手くいかない場合、取引しているトークンとの互換性がない可能性があります。注:転送時に手数料が発生するトークンおよびリベースするトークンは、UniswapV3と互換性がありません。" -#: src/components/Menu/index.tsx -msgid "Analytics" -msgstr "分析" - #: src/components/earn/StakingModal.tsx #: src/pages/RemoveLiquidity/index.tsx msgid "Approve" @@ -446,10 +442,6 @@ msgstr "閉じる" msgid "Closed" msgstr "終了済" -#: src/components/Menu/index.tsx -msgid "Code" -msgstr "コード" - #: src/pages/Pool/PositionPage.tsx msgid "Collect" msgstr "取得する" @@ -835,6 +827,7 @@ msgid "Get support on Discord" msgstr "Discordでサポートを受ける" #: src/components/Header/NetworkSelector.tsx +#: src/components/Menu/index.tsx msgid "Help Center" msgstr "ヘルプセンター" @@ -1430,6 +1423,10 @@ msgstr "{0} {1} と {2} {3} を解除中" msgid "Removing {0} {1} and{2} {3}" msgstr "{0} {1} と {2} {3} を削除" +#: src/components/Menu/index.tsx +msgid "Request Features" +msgstr "機能のリクエスト" + #: src/components/TransactionConfirmationModal/index.tsx #: src/components/TransactionConfirmationModal/index.tsx #: src/pages/CreateProposal/ProposalSubmissionModal.tsx diff --git a/src/locales/ko-KR.po b/src/locales/ko-KR.po index fa05f55b17..cb708c1141 100644 --- a/src/locales/ko-KR.po +++ b/src/locales/ko-KR.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-03 18:11\n" +"PO-Revision-Date: 2021-11-11 16:07\n" "Last-Translator: \n" "Language: ko_KR\n" "Language-Team: Korean\n" @@ -231,10 +231,6 @@ msgstr "금액" msgid "An error occurred when trying to execute this swap. You may need to increase your slippage tolerance. If that does not work, there may be an incompatibility with the token you are trading. Note: fee on transfer and rebase tokens are incompatible with Uniswap V3." msgstr "이 스왑을 실행하는 중에 오류가 발생했습니다. 미끄러짐 허용치를 높여야 할 수도 있습니다. 그래도 작동하지 않으면 거래중인 토큰과 호환되지 않을 수 있습니다. 참고 : 전송 수수료 및 리베이스 토큰은 Uniswap V3와 호환되지 않습니다." -#: src/components/Menu/index.tsx -msgid "Analytics" -msgstr "분석" - #: src/components/earn/StakingModal.tsx #: src/pages/RemoveLiquidity/index.tsx msgid "Approve" @@ -446,10 +442,6 @@ msgstr "닫기" msgid "Closed" msgstr "닫힘" -#: src/components/Menu/index.tsx -msgid "Code" -msgstr "코드" - #: src/pages/Pool/PositionPage.tsx msgid "Collect" msgstr "수집" @@ -835,6 +827,7 @@ msgid "Get support on Discord" msgstr "Discord에서 지원 받기" #: src/components/Header/NetworkSelector.tsx +#: src/components/Menu/index.tsx msgid "Help Center" msgstr "지원 센터" @@ -1430,6 +1423,10 @@ msgstr "{0} {1} 및 {2} {3} 제거 중" msgid "Removing {0} {1} and{2} {3}" msgstr "{0} {1} 및{2} {3}제거" +#: src/components/Menu/index.tsx +msgid "Request Features" +msgstr "기능 요청" + #: src/components/TransactionConfirmationModal/index.tsx #: src/components/TransactionConfirmationModal/index.tsx #: src/pages/CreateProposal/ProposalSubmissionModal.tsx diff --git a/src/locales/nl-NL.po b/src/locales/nl-NL.po index a31e22707f..46bc9d56ce 100644 --- a/src/locales/nl-NL.po +++ b/src/locales/nl-NL.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-03 18:11\n" +"PO-Revision-Date: 2021-11-11 16:07\n" "Last-Translator: \n" "Language: nl_NL\n" "Language-Team: Dutch\n" @@ -231,10 +231,6 @@ msgstr "Bedrag" msgid "An error occurred when trying to execute this swap. You may need to increase your slippage tolerance. If that does not work, there may be an incompatibility with the token you are trading. Note: fee on transfer and rebase tokens are incompatible with Uniswap V3." msgstr "Er is een fout opgetreden bij het uitvoeren van deze swap. Mogelijk moet u uw sliptolerantie verhogen. Als dat niet werkt, is er mogelijk een incompatibiliteit met het token dat u verhandelt. Let op: kosten voor overdracht en rebase tokens zijn niet compatibel met Uniswap V3." -#: src/components/Menu/index.tsx -msgid "Analytics" -msgstr "Analytics" - #: src/components/earn/StakingModal.tsx #: src/pages/RemoveLiquidity/index.tsx msgid "Approve" @@ -446,10 +442,6 @@ msgstr "Sluiten" msgid "Closed" msgstr "Gesloten" -#: src/components/Menu/index.tsx -msgid "Code" -msgstr "Code" - #: src/pages/Pool/PositionPage.tsx msgid "Collect" msgstr "Verzamel" @@ -835,6 +827,7 @@ msgid "Get support on Discord" msgstr "Ontvang ondersteuning op Discord" #: src/components/Header/NetworkSelector.tsx +#: src/components/Menu/index.tsx msgid "Help Center" msgstr "Helpcentrum" @@ -1430,6 +1423,10 @@ msgstr "Verwijderen van {0} {1} en {2} {3}" msgid "Removing {0} {1} and{2} {3}" msgstr "Verwijderen {0} {1} en{2} {3}" +#: src/components/Menu/index.tsx +msgid "Request Features" +msgstr "Functies aanvragen" + #: src/components/TransactionConfirmationModal/index.tsx #: src/components/TransactionConfirmationModal/index.tsx #: src/pages/CreateProposal/ProposalSubmissionModal.tsx diff --git a/src/locales/no-NO.po b/src/locales/no-NO.po index 70d6f2c76e..55debd53da 100644 --- a/src/locales/no-NO.po +++ b/src/locales/no-NO.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-03 18:11\n" +"PO-Revision-Date: 2021-11-11 16:07\n" "Last-Translator: \n" "Language: no_NO\n" "Language-Team: Norwegian\n" @@ -231,10 +231,6 @@ msgstr "Beløp" msgid "An error occurred when trying to execute this swap. You may need to increase your slippage tolerance. If that does not work, there may be an incompatibility with the token you are trading. Note: fee on transfer and rebase tokens are incompatible with Uniswap V3." msgstr "Det oppstod en feil under forsøket på å utføre dette byttet. Det kan hende du må øke glidetoleransen. Hvis det ikke fungerer, kan det være en inkompatibilitet med symbolet du handler. Merk: gebyr ved overføring og rebase-tokens er inkompatibelt med Uniswap V3." -#: src/components/Menu/index.tsx -msgid "Analytics" -msgstr "Analyse" - #: src/components/earn/StakingModal.tsx #: src/pages/RemoveLiquidity/index.tsx msgid "Approve" @@ -446,10 +442,6 @@ msgstr "Lukk" msgid "Closed" msgstr "Lukket" -#: src/components/Menu/index.tsx -msgid "Code" -msgstr "Kode" - #: src/pages/Pool/PositionPage.tsx msgid "Collect" msgstr "Samle" @@ -835,6 +827,7 @@ msgid "Get support on Discord" msgstr "Få støtte på Discord" #: src/components/Header/NetworkSelector.tsx +#: src/components/Menu/index.tsx msgid "Help Center" msgstr "Hjelpesenter" @@ -1430,6 +1423,10 @@ msgstr "Fjerner {0} {1} og {2} {3}" msgid "Removing {0} {1} and{2} {3}" msgstr "Fjerner {0} {1} og{2} {3}" +#: src/components/Menu/index.tsx +msgid "Request Features" +msgstr "Be om funksjoner" + #: src/components/TransactionConfirmationModal/index.tsx #: src/components/TransactionConfirmationModal/index.tsx #: src/pages/CreateProposal/ProposalSubmissionModal.tsx diff --git a/src/locales/pl-PL.po b/src/locales/pl-PL.po index f6d2dbbd0a..1905869910 100644 --- a/src/locales/pl-PL.po +++ b/src/locales/pl-PL.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-03 18:11\n" +"PO-Revision-Date: 2021-11-11 16:07\n" "Last-Translator: \n" "Language: pl_PL\n" "Language-Team: Polish\n" @@ -231,10 +231,6 @@ msgstr "Kwota" msgid "An error occurred when trying to execute this swap. You may need to increase your slippage tolerance. If that does not work, there may be an incompatibility with the token you are trading. Note: fee on transfer and rebase tokens are incompatible with Uniswap V3." msgstr "Wystąpił błąd podczas próby wykonania tej wymiany. Może być konieczne zwiększenie tolerancji na poślizg. Jeśli to nie zadziała, może występować niezgodność z tokenem, którym handlujesz. Uwaga: opłata za transfer i rebase tokeny są niezgodne z Uniswap V3." -#: src/components/Menu/index.tsx -msgid "Analytics" -msgstr "Analityka" - #: src/components/earn/StakingModal.tsx #: src/pages/RemoveLiquidity/index.tsx msgid "Approve" @@ -446,10 +442,6 @@ msgstr "Zamknij" msgid "Closed" msgstr "Zamknięte" -#: src/components/Menu/index.tsx -msgid "Code" -msgstr "Kod" - #: src/pages/Pool/PositionPage.tsx msgid "Collect" msgstr "Zbierz" @@ -835,6 +827,7 @@ msgid "Get support on Discord" msgstr "Uzyskaj wsparcie na Discord" #: src/components/Header/NetworkSelector.tsx +#: src/components/Menu/index.tsx msgid "Help Center" msgstr "Centrum pomocy" @@ -1430,6 +1423,10 @@ msgstr "Usuwanie {0} {1} i {2} {3}" msgid "Removing {0} {1} and{2} {3}" msgstr "Usuwanie {0} {1} i{2} {3}" +#: src/components/Menu/index.tsx +msgid "Request Features" +msgstr "Poproś o funkcje" + #: src/components/TransactionConfirmationModal/index.tsx #: src/components/TransactionConfirmationModal/index.tsx #: src/pages/CreateProposal/ProposalSubmissionModal.tsx diff --git a/src/locales/pt-BR.po b/src/locales/pt-BR.po index 436257f3d9..cdd462c048 100644 --- a/src/locales/pt-BR.po +++ b/src/locales/pt-BR.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-03 18:11\n" +"PO-Revision-Date: 2021-11-11 16:07\n" "Last-Translator: \n" "Language: pt_BR\n" "Language-Team: Portuguese, Brazilian\n" @@ -231,10 +231,6 @@ msgstr "Valor" msgid "An error occurred when trying to execute this swap. You may need to increase your slippage tolerance. If that does not work, there may be an incompatibility with the token you are trading. Note: fee on transfer and rebase tokens are incompatible with Uniswap V3." msgstr "Ocorreu um erro ao tentar executar esta troca. Pode ser necessário aumentar sua tolerância ao deslizamento. Se isso não funcionar, pode haver uma incompatibilidade com o token que você está negociando. Nota: a taxa de transferência e tokens de rebase são incompatíveis com Uniswap V3." -#: src/components/Menu/index.tsx -msgid "Analytics" -msgstr "Análises" - #: src/components/earn/StakingModal.tsx #: src/pages/RemoveLiquidity/index.tsx msgid "Approve" @@ -446,10 +442,6 @@ msgstr "Fechar" msgid "Closed" msgstr "Fechado" -#: src/components/Menu/index.tsx -msgid "Code" -msgstr "Código" - #: src/pages/Pool/PositionPage.tsx msgid "Collect" msgstr "Coletar" @@ -835,6 +827,7 @@ msgid "Get support on Discord" msgstr "Obtenha suporte em caso de Discordância" #: src/components/Header/NetworkSelector.tsx +#: src/components/Menu/index.tsx msgid "Help Center" msgstr "Centro de ajuda" @@ -1430,6 +1423,10 @@ msgstr "Removendo {0} {1} e {2} {3}" msgid "Removing {0} {1} and{2} {3}" msgstr "Removendo {0} {1} e{2} {3}" +#: src/components/Menu/index.tsx +msgid "Request Features" +msgstr "Solicitar recursos" + #: src/components/TransactionConfirmationModal/index.tsx #: src/components/TransactionConfirmationModal/index.tsx #: src/pages/CreateProposal/ProposalSubmissionModal.tsx diff --git a/src/locales/pt-PT.po b/src/locales/pt-PT.po index 934dcc5c21..b432625e80 100644 --- a/src/locales/pt-PT.po +++ b/src/locales/pt-PT.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-03 18:11\n" +"PO-Revision-Date: 2021-11-11 16:07\n" "Last-Translator: \n" "Language: pt_PT\n" "Language-Team: Portuguese\n" @@ -231,10 +231,6 @@ msgstr "Quantia" msgid "An error occurred when trying to execute this swap. You may need to increase your slippage tolerance. If that does not work, there may be an incompatibility with the token you are trading. Note: fee on transfer and rebase tokens are incompatible with Uniswap V3." msgstr "Ocorreu um erro ao tentar executar esta troca. Pode ser necessário aumentar sua tolerância ao deslizamento. Se isso não funcionar, pode haver uma incompatibilidade com o token que você está negociando. Nota: a taxa de transferência e tokens de rebase são incompatíveis com Uniswap V3." -#: src/components/Menu/index.tsx -msgid "Analytics" -msgstr "Análises" - #: src/components/earn/StakingModal.tsx #: src/pages/RemoveLiquidity/index.tsx msgid "Approve" @@ -446,10 +442,6 @@ msgstr "Fechar" msgid "Closed" msgstr "Fechado" -#: src/components/Menu/index.tsx -msgid "Code" -msgstr "Código" - #: src/pages/Pool/PositionPage.tsx msgid "Collect" msgstr "Recolher" @@ -835,6 +827,7 @@ msgid "Get support on Discord" msgstr "Obtenha suporte no Discord" #: src/components/Header/NetworkSelector.tsx +#: src/components/Menu/index.tsx msgid "Help Center" msgstr "Centro de ajuda" @@ -1430,6 +1423,10 @@ msgstr "A remover {0} {1} e {2} {3}" msgid "Removing {0} {1} and{2} {3}" msgstr "Removendo {0} {1} e{2} {3}" +#: src/components/Menu/index.tsx +msgid "Request Features" +msgstr "Solicitar recursos" + #: src/components/TransactionConfirmationModal/index.tsx #: src/components/TransactionConfirmationModal/index.tsx #: src/pages/CreateProposal/ProposalSubmissionModal.tsx diff --git a/src/locales/ro-RO.po b/src/locales/ro-RO.po index f3dadd7c86..593c479061 100644 --- a/src/locales/ro-RO.po +++ b/src/locales/ro-RO.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-03 18:11\n" +"PO-Revision-Date: 2021-11-11 16:07\n" "Last-Translator: \n" "Language: ro_RO\n" "Language-Team: Romanian\n" @@ -231,10 +231,6 @@ msgstr "Sumă" msgid "An error occurred when trying to execute this swap. You may need to increase your slippage tolerance. If that does not work, there may be an incompatibility with the token you are trading. Note: fee on transfer and rebase tokens are incompatible with Uniswap V3." msgstr "A apărut o eroare la încercarea de a executa acest swap. Este posibil să fie nevoie să vă măriți toleranța la alunecare. Dacă acest lucru nu funcționează, poate exista o incompatibilitate cu jetonul pe care îl tranzacționați. Notă: taxa pentru jetoane de transfer și rebase sunt incompatibile cu Uniswap V3." -#: src/components/Menu/index.tsx -msgid "Analytics" -msgstr "Analitică" - #: src/components/earn/StakingModal.tsx #: src/pages/RemoveLiquidity/index.tsx msgid "Approve" @@ -446,10 +442,6 @@ msgstr "Închide" msgid "Closed" msgstr "Închis" -#: src/components/Menu/index.tsx -msgid "Code" -msgstr "Cod" - #: src/pages/Pool/PositionPage.tsx msgid "Collect" msgstr "Colectează" @@ -835,6 +827,7 @@ msgid "Get support on Discord" msgstr "Obține asistență pentru Discord" #: src/components/Header/NetworkSelector.tsx +#: src/components/Menu/index.tsx msgid "Help Center" msgstr "Centru de ajutor" @@ -1430,6 +1423,10 @@ msgstr "Se elimină {0} {1} și {2} {3}" msgid "Removing {0} {1} and{2} {3}" msgstr "Se elimină {0} {1} și{2} {3}" +#: src/components/Menu/index.tsx +msgid "Request Features" +msgstr "Solicitați caracteristici" + #: src/components/TransactionConfirmationModal/index.tsx #: src/components/TransactionConfirmationModal/index.tsx #: src/pages/CreateProposal/ProposalSubmissionModal.tsx diff --git a/src/locales/ru-RU.po b/src/locales/ru-RU.po index 8e02bb1cd9..02ed993ec7 100644 --- a/src/locales/ru-RU.po +++ b/src/locales/ru-RU.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-03 18:11\n" +"PO-Revision-Date: 2021-11-11 16:07\n" "Last-Translator: \n" "Language: ru_RU\n" "Language-Team: Russian\n" @@ -231,10 +231,6 @@ msgstr "Сумма" msgid "An error occurred when trying to execute this swap. You may need to increase your slippage tolerance. If that does not work, there may be an incompatibility with the token you are trading. Note: fee on transfer and rebase tokens are incompatible with Uniswap V3." msgstr "Произошла ошибка при попытке произвести этот обмен. Возможно, нужно увеличить допустимое проскальзывание. Если это не сработает, возможно, имеет место несовместимость с токеном, которым вы торгуете. Обратите внимание: токены с комиссией за перевод или изменяемой базой несовместимы с Uniswap V3." -#: src/components/Menu/index.tsx -msgid "Analytics" -msgstr "Аналитика" - #: src/components/earn/StakingModal.tsx #: src/pages/RemoveLiquidity/index.tsx msgid "Approve" @@ -446,10 +442,6 @@ msgstr "Закрыть" msgid "Closed" msgstr "Закрыто" -#: src/components/Menu/index.tsx -msgid "Code" -msgstr "Код" - #: src/pages/Pool/PositionPage.tsx msgid "Collect" msgstr "Получить" @@ -835,6 +827,7 @@ msgid "Get support on Discord" msgstr "Получите поддержку в Discord" #: src/components/Header/NetworkSelector.tsx +#: src/components/Menu/index.tsx msgid "Help Center" msgstr "Центр поддержки" @@ -1430,6 +1423,10 @@ msgstr "Удаление {0} {1} и {2} {3}" msgid "Removing {0} {1} and{2} {3}" msgstr "Удаление {0} {1} и{2} {3}" +#: src/components/Menu/index.tsx +msgid "Request Features" +msgstr "Запросить функции" + #: src/components/TransactionConfirmationModal/index.tsx #: src/components/TransactionConfirmationModal/index.tsx #: src/pages/CreateProposal/ProposalSubmissionModal.tsx diff --git a/src/locales/sl-SI.po b/src/locales/sl-SI.po index f22e2ab9a5..1052dc3f77 100644 --- a/src/locales/sl-SI.po +++ b/src/locales/sl-SI.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-03 22:06\n" +"PO-Revision-Date: 2021-11-11 16:07\n" "Last-Translator: \n" "Language: sl_SI\n" "Language-Team: Slovenian\n" @@ -231,10 +231,6 @@ msgstr "Znesek" msgid "An error occurred when trying to execute this swap. You may need to increase your slippage tolerance. If that does not work, there may be an incompatibility with the token you are trading. Note: fee on transfer and rebase tokens are incompatible with Uniswap V3." msgstr "Pri poskusu izvedbe te zamenjave je prišlo do napake. Morda boste morali povečati toleranco do zdrsa. Če to ne deluje, je morda težava v nezdružljivosti z žetonom, s katerim trgujete. Pozor: žetoni s provizijami ob prenosu in uravnavani (rebase) žetoni niso združljivi z Uniswap V3." -#: src/components/Menu/index.tsx -msgid "Analytics" -msgstr "Analitika" - #: src/components/earn/StakingModal.tsx #: src/pages/RemoveLiquidity/index.tsx msgid "Approve" @@ -446,10 +442,6 @@ msgstr "Zapri" msgid "Closed" msgstr "Zaprto" -#: src/components/Menu/index.tsx -msgid "Code" -msgstr "Koda" - #: src/pages/Pool/PositionPage.tsx msgid "Collect" msgstr "Prevzemi" @@ -835,6 +827,7 @@ msgid "Get support on Discord" msgstr "Poiščite podporo na Discordu" #: src/components/Header/NetworkSelector.tsx +#: src/components/Menu/index.tsx msgid "Help Center" msgstr "Center za pomoč" @@ -1430,6 +1423,10 @@ msgstr "Odstranitev {0} {1} in {2} {3}" msgid "Removing {0} {1} and{2} {3}" msgstr "Odstranitev {0} {1} in{2} {3}" +#: src/components/Menu/index.tsx +msgid "Request Features" +msgstr "Zahtevajte funkcije" + #: src/components/TransactionConfirmationModal/index.tsx #: src/components/TransactionConfirmationModal/index.tsx #: src/pages/CreateProposal/ProposalSubmissionModal.tsx diff --git a/src/locales/sr-SP.po b/src/locales/sr-SP.po index 4b8534e856..34734823a8 100644 --- a/src/locales/sr-SP.po +++ b/src/locales/sr-SP.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-03 18:11\n" +"PO-Revision-Date: 2021-11-11 16:07\n" "Last-Translator: \n" "Language: sr_SP\n" "Language-Team: Serbian (Cyrillic)\n" @@ -231,10 +231,6 @@ msgstr "Износ" msgid "An error occurred when trying to execute this swap. You may need to increase your slippage tolerance. If that does not work, there may be an incompatibility with the token you are trading. Note: fee on transfer and rebase tokens are incompatible with Uniswap V3." msgstr "Дошло је до грешке приликом покушаја извршења ове замене. Можда ћете морати повећати толеранцију клизања. Ако то не успе, можда постоји некомпатибилност са токеном којим тргујете. Напомена: накнада за токене за пренос и пребазу није компатибилна са Унисвап В3." -#: src/components/Menu/index.tsx -msgid "Analytics" -msgstr "Аналитика" - #: src/components/earn/StakingModal.tsx #: src/pages/RemoveLiquidity/index.tsx msgid "Approve" @@ -446,10 +442,6 @@ msgstr "Затвори" msgid "Closed" msgstr "Затворено" -#: src/components/Menu/index.tsx -msgid "Code" -msgstr "Код" - #: src/pages/Pool/PositionPage.tsx msgid "Collect" msgstr "Сакупи" @@ -835,6 +827,7 @@ msgid "Get support on Discord" msgstr "Затражите подршку на Discord-у" #: src/components/Header/NetworkSelector.tsx +#: src/components/Menu/index.tsx msgid "Help Center" msgstr "Центар за помоћ" @@ -1430,6 +1423,10 @@ msgstr "Уклањање {0} {1} и {2} {3}" msgid "Removing {0} {1} and{2} {3}" msgstr "Уклањање {0} {1} и{2} {3}" +#: src/components/Menu/index.tsx +msgid "Request Features" +msgstr "Рекуест Феатурес" + #: src/components/TransactionConfirmationModal/index.tsx #: src/components/TransactionConfirmationModal/index.tsx #: src/pages/CreateProposal/ProposalSubmissionModal.tsx diff --git a/src/locales/sv-SE.po b/src/locales/sv-SE.po index 78c2d0acb7..f7a835a1b0 100644 --- a/src/locales/sv-SE.po +++ b/src/locales/sv-SE.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-03 18:11\n" +"PO-Revision-Date: 2021-11-11 16:07\n" "Last-Translator: \n" "Language: sv_SE\n" "Language-Team: Swedish\n" @@ -231,10 +231,6 @@ msgstr "Belopp" msgid "An error occurred when trying to execute this swap. You may need to increase your slippage tolerance. If that does not work, there may be an incompatibility with the token you are trading. Note: fee on transfer and rebase tokens are incompatible with Uniswap V3." msgstr "Ett fel uppstod när det här försöket skulle genomföras. Du kan behöva öka din glidningstolerans. Om det inte fungerar kan det finnas en inkompatibilitet med det token du handlar. Obs: avgift för överföring och rebase-tokens är oförenliga med Uniswap V3." -#: src/components/Menu/index.tsx -msgid "Analytics" -msgstr "Analys" - #: src/components/earn/StakingModal.tsx #: src/pages/RemoveLiquidity/index.tsx msgid "Approve" @@ -446,10 +442,6 @@ msgstr "Stäng" msgid "Closed" msgstr "Stängd" -#: src/components/Menu/index.tsx -msgid "Code" -msgstr "Kod" - #: src/pages/Pool/PositionPage.tsx msgid "Collect" msgstr "Samla" @@ -835,6 +827,7 @@ msgid "Get support on Discord" msgstr "Få support angående brist på överensstämmelse" #: src/components/Header/NetworkSelector.tsx +#: src/components/Menu/index.tsx msgid "Help Center" msgstr "Hjälpcenter" @@ -1430,6 +1423,10 @@ msgstr "Tar bort {0} {1} och {2} {3}" msgid "Removing {0} {1} and{2} {3}" msgstr "Ta bort {0} {1} och{2} {3}" +#: src/components/Menu/index.tsx +msgid "Request Features" +msgstr "Begär funktioner" + #: src/components/TransactionConfirmationModal/index.tsx #: src/components/TransactionConfirmationModal/index.tsx #: src/pages/CreateProposal/ProposalSubmissionModal.tsx diff --git a/src/locales/sw-TZ.po b/src/locales/sw-TZ.po index 9d40d74acd..4960a01bd7 100644 --- a/src/locales/sw-TZ.po +++ b/src/locales/sw-TZ.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-03 18:11\n" +"PO-Revision-Date: 2021-11-11 16:07\n" "Last-Translator: \n" "Language: sw_TZ\n" "Language-Team: Swahili, Tanzania\n" @@ -231,10 +231,6 @@ msgstr "Kiasi" msgid "An error occurred when trying to execute this swap. You may need to increase your slippage tolerance. If that does not work, there may be an incompatibility with the token you are trading. Note: fee on transfer and rebase tokens are incompatible with Uniswap V3." msgstr "Hitilafu ilitokea wakati wa kujaribu kutekeleza ubadilishaji huu. Unaweza kuhitaji kuongeza uvumilivu wako wa kuteleza. Ikiwa hiyo haifanyi kazi, kunaweza kuwa na kutokubaliana na ishara unayofanya biashara. Kumbuka: ada ya uhamishaji na toa rehani haziendani na Uniswap V3." -#: src/components/Menu/index.tsx -msgid "Analytics" -msgstr "Takwimu" - #: src/components/earn/StakingModal.tsx #: src/pages/RemoveLiquidity/index.tsx msgid "Approve" @@ -446,10 +442,6 @@ msgstr "Funga" msgid "Closed" msgstr "Imefungwa" -#: src/components/Menu/index.tsx -msgid "Code" -msgstr "Code" - #: src/pages/Pool/PositionPage.tsx msgid "Collect" msgstr "Kusanya" @@ -835,6 +827,7 @@ msgid "Get support on Discord" msgstr "Pata usaidizi juu ya Ugomvi" #: src/components/Header/NetworkSelector.tsx +#: src/components/Menu/index.tsx msgid "Help Center" msgstr "Kituo cha Usaidizi" @@ -1430,6 +1423,10 @@ msgstr "Kuondoa {0} {1} na {2} {3}" msgid "Removing {0} {1} and{2} {3}" msgstr "Kuondoa {0} {1} na{2} {3}" +#: src/components/Menu/index.tsx +msgid "Request Features" +msgstr "Omba Vipengele" + #: src/components/TransactionConfirmationModal/index.tsx #: src/components/TransactionConfirmationModal/index.tsx #: src/pages/CreateProposal/ProposalSubmissionModal.tsx diff --git a/src/locales/th-TH.po b/src/locales/th-TH.po index bf7e835f8f..79f6a46ed6 100644 --- a/src/locales/th-TH.po +++ b/src/locales/th-TH.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-03 18:11\n" +"PO-Revision-Date: 2021-11-11 16:07\n" "Last-Translator: \n" "Language: th_TH\n" "Language-Team: Thai\n" @@ -231,10 +231,6 @@ msgstr "จำนวน" msgid "An error occurred when trying to execute this swap. You may need to increase your slippage tolerance. If that does not work, there may be an incompatibility with the token you are trading. Note: fee on transfer and rebase tokens are incompatible with Uniswap V3." msgstr "เกิดข้อผิดพลาดขณะพยายามดำเนินการสลับนี้ คุณอาจต้องเพิ่มความทนทานต่อการเลื่อนหลุด หากไม่ได้ผล อาจมีความไม่เข้ากันกับโทเค็นที่คุณกำลังซื้อขาย หมายเหตุ: ค่าธรรมเนียมการโอนและโทเค็นการรีเบสเข้ากันไม่ได้กับ Uniswap V3" -#: src/components/Menu/index.tsx -msgid "Analytics" -msgstr "การวิเคราะห์" - #: src/components/earn/StakingModal.tsx #: src/pages/RemoveLiquidity/index.tsx msgid "Approve" @@ -446,10 +442,6 @@ msgstr "ปิด I" msgid "Closed" msgstr "ปิด" -#: src/components/Menu/index.tsx -msgid "Code" -msgstr "รหัส" - #: src/pages/Pool/PositionPage.tsx msgid "Collect" msgstr "เก็บรวบรวม" @@ -835,6 +827,7 @@ msgid "Get support on Discord" msgstr "รับการสนับสนุนบน Discord" #: src/components/Header/NetworkSelector.tsx +#: src/components/Menu/index.tsx msgid "Help Center" msgstr "ศูนย์ช่วยเหลือ" @@ -1430,6 +1423,10 @@ msgstr "กำลังลบ {0} {1} และ {2} {3}" msgid "Removing {0} {1} and{2} {3}" msgstr "กำลังลบ {0} {1} และ{2} {3}" +#: src/components/Menu/index.tsx +msgid "Request Features" +msgstr "ขอคุณสมบัติ" + #: src/components/TransactionConfirmationModal/index.tsx #: src/components/TransactionConfirmationModal/index.tsx #: src/pages/CreateProposal/ProposalSubmissionModal.tsx diff --git a/src/locales/tr-TR.po b/src/locales/tr-TR.po index 2252515e7a..004ea190d6 100644 --- a/src/locales/tr-TR.po +++ b/src/locales/tr-TR.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-03 18:11\n" +"PO-Revision-Date: 2021-11-11 16:07\n" "Last-Translator: \n" "Language: tr_TR\n" "Language-Team: Turkish\n" @@ -231,10 +231,6 @@ msgstr "Miktar" msgid "An error occurred when trying to execute this swap. You may need to increase your slippage tolerance. If that does not work, there may be an incompatibility with the token you are trading. Note: fee on transfer and rebase tokens are incompatible with Uniswap V3." msgstr "Bu takas yürütülmeye çalışılırken bir hata oluştu. Kayma toleransınızı artırmanız gerekebilir. Bu işe yaramazsa, işlem yaptığınız token ile uyumsuzluk olabilir. Not: Transfer ve rebase jetonlarındaki ücret, Uniswap V3 ile uyumlu değildir." -#: src/components/Menu/index.tsx -msgid "Analytics" -msgstr "Analitik" - #: src/components/earn/StakingModal.tsx #: src/pages/RemoveLiquidity/index.tsx msgid "Approve" @@ -446,10 +442,6 @@ msgstr "Kapat" msgid "Closed" msgstr "Kapalı" -#: src/components/Menu/index.tsx -msgid "Code" -msgstr "Kod" - #: src/pages/Pool/PositionPage.tsx msgid "Collect" msgstr "Topla" @@ -835,6 +827,7 @@ msgid "Get support on Discord" msgstr "Discord ile ilgili destek alın" #: src/components/Header/NetworkSelector.tsx +#: src/components/Menu/index.tsx msgid "Help Center" msgstr "Yardım Merkezi" @@ -1430,6 +1423,10 @@ msgstr "{0} {1} ve {2} {3} kaldırılıyor" msgid "Removing {0} {1} and{2} {3}" msgstr "{0} {1} ve{2} {3}kaldırma" +#: src/components/Menu/index.tsx +msgid "Request Features" +msgstr "Özellikler İste" + #: src/components/TransactionConfirmationModal/index.tsx #: src/components/TransactionConfirmationModal/index.tsx #: src/pages/CreateProposal/ProposalSubmissionModal.tsx diff --git a/src/locales/uk-UA.po b/src/locales/uk-UA.po index 733eccc99f..8c8f511c28 100644 --- a/src/locales/uk-UA.po +++ b/src/locales/uk-UA.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-03 18:11\n" +"PO-Revision-Date: 2021-11-11 16:07\n" "Last-Translator: \n" "Language: uk_UA\n" "Language-Team: Ukrainian\n" @@ -231,10 +231,6 @@ msgstr "Сума" msgid "An error occurred when trying to execute this swap. You may need to increase your slippage tolerance. If that does not work, there may be an incompatibility with the token you are trading. Note: fee on transfer and rebase tokens are incompatible with Uniswap V3." msgstr "Під час спроби виконати цей обмін сталася помилка. Можливо, вам доведеться збільшити толерантність до ковзання. Якщо це не спрацює, можливо, існує несумісність з токеном, яким ви торгуєте. Примітка: плата за перенесення та перебазування токенів несумісні з Uniswap V3." -#: src/components/Menu/index.tsx -msgid "Analytics" -msgstr "Аналітика" - #: src/components/earn/StakingModal.tsx #: src/pages/RemoveLiquidity/index.tsx msgid "Approve" @@ -446,10 +442,6 @@ msgstr "Закрити" msgid "Closed" msgstr "Закрито" -#: src/components/Menu/index.tsx -msgid "Code" -msgstr "Код" - #: src/pages/Pool/PositionPage.tsx msgid "Collect" msgstr "Зібрати" @@ -835,6 +827,7 @@ msgid "Get support on Discord" msgstr "Отримайте підтримку в Discord" #: src/components/Header/NetworkSelector.tsx +#: src/components/Menu/index.tsx msgid "Help Center" msgstr "Центр допомоги" @@ -1430,6 +1423,10 @@ msgstr "Видалення {0} {1} та {2} {3}" msgid "Removing {0} {1} and{2} {3}" msgstr "Видалення {0} {1} і{2} {3}" +#: src/components/Menu/index.tsx +msgid "Request Features" +msgstr "Особливості запиту" + #: src/components/TransactionConfirmationModal/index.tsx #: src/components/TransactionConfirmationModal/index.tsx #: src/pages/CreateProposal/ProposalSubmissionModal.tsx diff --git a/src/locales/vi-VN.po b/src/locales/vi-VN.po index a844fe074b..1f80b71fcb 100644 --- a/src/locales/vi-VN.po +++ b/src/locales/vi-VN.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-03 18:11\n" +"PO-Revision-Date: 2021-11-11 16:07\n" "Last-Translator: \n" "Language: vi_VN\n" "Language-Team: Vietnamese\n" @@ -231,10 +231,6 @@ msgstr "Số tiền" msgid "An error occurred when trying to execute this swap. You may need to increase your slippage tolerance. If that does not work, there may be an incompatibility with the token you are trading. Note: fee on transfer and rebase tokens are incompatible with Uniswap V3." msgstr "Đã xảy ra lỗi khi cố gắng thực hiện hoán đổi này. Bạn có thể cần phải tăng khả năng chịu trượt của mình. Nếu điều đó không hiệu quả, có thể có sự không tương thích với mã thông báo bạn đang giao dịch. Lưu ý: phí chuyển và mã thông báo rebase không tương thích với Uniswap V3." -#: src/components/Menu/index.tsx -msgid "Analytics" -msgstr "phân tích" - #: src/components/earn/StakingModal.tsx #: src/pages/RemoveLiquidity/index.tsx msgid "Approve" @@ -446,10 +442,6 @@ msgstr "Đóng" msgid "Closed" msgstr "Đã đóng cửa" -#: src/components/Menu/index.tsx -msgid "Code" -msgstr "Mã" - #: src/pages/Pool/PositionPage.tsx msgid "Collect" msgstr "Sưu tầm" @@ -835,6 +827,7 @@ msgid "Get support on Discord" msgstr "Nhận hỗ trợ về Discord" #: src/components/Header/NetworkSelector.tsx +#: src/components/Menu/index.tsx msgid "Help Center" msgstr "Trung tâm trợ giúp" @@ -1430,6 +1423,10 @@ msgstr "Loại bỏ {0} {1} và {2} {3}" msgid "Removing {0} {1} and{2} {3}" msgstr "Loại bỏ {0} {1} và{2} {3}" +#: src/components/Menu/index.tsx +msgid "Request Features" +msgstr "Yêu cầu tính năng" + #: src/components/TransactionConfirmationModal/index.tsx #: src/components/TransactionConfirmationModal/index.tsx #: src/pages/CreateProposal/ProposalSubmissionModal.tsx diff --git a/src/locales/zh-CN.po b/src/locales/zh-CN.po index e65f6ec152..cd008a70ef 100644 --- a/src/locales/zh-CN.po +++ b/src/locales/zh-CN.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-03 18:11\n" +"PO-Revision-Date: 2021-11-11 16:07\n" "Last-Translator: \n" "Language: zh_CN\n" "Language-Team: Chinese Simplified\n" @@ -231,10 +231,6 @@ msgstr "数额" msgid "An error occurred when trying to execute this swap. You may need to increase your slippage tolerance. If that does not work, there may be an incompatibility with the token you are trading. Note: fee on transfer and rebase tokens are incompatible with Uniswap V3." msgstr "尝试执行此兑换时发生错误。您可能需要增加滑点限制。如果还是不行,则可能是您正在交易的代币与Uniswap不兼容。注:Uniswap V3不兼容转账时带扣除费用(fee-on-transfer)的代币和弹性供应(rebase)代币。" -#: src/components/Menu/index.tsx -msgid "Analytics" -msgstr "数据分析" - #: src/components/earn/StakingModal.tsx #: src/pages/RemoveLiquidity/index.tsx msgid "Approve" @@ -446,10 +442,6 @@ msgstr "关闭" msgid "Closed" msgstr "已关闭" -#: src/components/Menu/index.tsx -msgid "Code" -msgstr "代码" - #: src/pages/Pool/PositionPage.tsx msgid "Collect" msgstr "收取" @@ -835,6 +827,7 @@ msgid "Get support on Discord" msgstr "在Discord上寻求支持" #: src/components/Header/NetworkSelector.tsx +#: src/components/Menu/index.tsx msgid "Help Center" msgstr "帮助中心" @@ -1430,6 +1423,10 @@ msgstr "正在去除 {0} {1} 和 {2} {3}" msgid "Removing {0} {1} and{2} {3}" msgstr "移除 {0} {1} 和 {2} {3}" +#: src/components/Menu/index.tsx +msgid "Request Features" +msgstr "请求功能" + #: src/components/TransactionConfirmationModal/index.tsx #: src/components/TransactionConfirmationModal/index.tsx #: src/pages/CreateProposal/ProposalSubmissionModal.tsx diff --git a/src/locales/zh-TW.po b/src/locales/zh-TW.po index 1be5d280e9..a59790d62a 100644 --- a/src/locales/zh-TW.po +++ b/src/locales/zh-TW.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-03 18:11\n" +"PO-Revision-Date: 2021-11-11 16:07\n" "Last-Translator: \n" "Language: zh_TW\n" "Language-Team: Chinese Traditional\n" @@ -231,10 +231,6 @@ msgstr "數額" msgid "An error occurred when trying to execute this swap. You may need to increase your slippage tolerance. If that does not work, there may be an incompatibility with the token you are trading. Note: fee on transfer and rebase tokens are incompatible with Uniswap V3." msgstr "嘗試執行此兌換時發生錯誤。您可能需要增加滑點限制。如果還是不行,則可能是您正在交易的代幣與Uniswap不兼容。注:Uniswap V3不兼容轉賬時帶扣除費用(fee-on-transfer)的代幣和彈性供應(rebase)代幣。" -#: src/components/Menu/index.tsx -msgid "Analytics" -msgstr "分析" - #: src/components/earn/StakingModal.tsx #: src/pages/RemoveLiquidity/index.tsx msgid "Approve" @@ -446,10 +442,6 @@ msgstr "關閉" msgid "Closed" msgstr "已關閉" -#: src/components/Menu/index.tsx -msgid "Code" -msgstr "代碼" - #: src/pages/Pool/PositionPage.tsx msgid "Collect" msgstr "收取" @@ -835,6 +827,7 @@ msgid "Get support on Discord" msgstr "在 Discord 上尋求技術支持" #: src/components/Header/NetworkSelector.tsx +#: src/components/Menu/index.tsx msgid "Help Center" msgstr "幫助中心" @@ -1430,6 +1423,10 @@ msgstr "正在去除 {0} {1} 和 {2} {3}" msgid "Removing {0} {1} and{2} {3}" msgstr "移除 {0} {1} 和 {2} {3}" +#: src/components/Menu/index.tsx +msgid "Request Features" +msgstr "請求功能" + #: src/components/TransactionConfirmationModal/index.tsx #: src/components/TransactionConfirmationModal/index.tsx #: src/pages/CreateProposal/ProposalSubmissionModal.tsx From 0ea029db4fce9c3a855b94a347fce884d7c8e9db Mon Sep 17 00:00:00 2001 From: Justin Domingue Date: Thu, 11 Nov 2021 11:42:17 -0500 Subject: [PATCH 023/378] add protocols param to quote endpoint (#2774) * add protocols param to quote endpoint * Fix code style issues with ESLint Co-authored-by: Lint Action --- src/state/routing/slice.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/state/routing/slice.ts b/src/state/routing/slice.ts index 62ec6813a2..73ec57bba8 100644 --- a/src/state/routing/slice.ts +++ b/src/state/routing/slice.ts @@ -21,7 +21,7 @@ export const routingApi = createApi({ type: 'exactIn' | 'exactOut' } >({ - query: (args) => `quote?${qs.stringify(args)}`, + query: (args) => `quote?${qs.stringify({ ...args, protocols: 'v3' })}`, }), }), }) From 1903a160974a140426fe71b3c6156c316f54693d Mon Sep 17 00:00:00 2001 From: Justin Domingue Date: Thu, 11 Nov 2021 13:12:09 -0500 Subject: [PATCH 024/378] fix: lint error (#2775) --- src/components/Menu/index.tsx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/components/Menu/index.tsx b/src/components/Menu/index.tsx index c44a6a920b..0aca7429f5 100644 --- a/src/components/Menu/index.tsx +++ b/src/components/Menu/index.tsx @@ -1,7 +1,7 @@ // eslint-disable-next-line no-restricted-imports import { t, Trans } from '@lingui/macro' import { PrivacyPolicyModal } from 'components/PrivacyPolicy' -import { CHAIN_INFO, L2_CHAIN_IDS, SupportedChainId } from 'constants/chains' +import { L2_CHAIN_IDS } from 'constants/chains' import { LOCALE_LABEL, SUPPORTED_LOCALES, SupportedLocale } from 'constants/locales' import { useActiveLocale } from 'hooks/useActiveLocale' import { useLocationLinkProps } from 'hooks/useLocationLinkProps' @@ -179,8 +179,6 @@ const ToggleMenuItem = styled.button` } ` -const CODE_LINK = 'https://github.com/Uniswap/uniswap-interface' - function LanguageMenuItem({ locale, active, key }: { locale: SupportedLocale; active: boolean; key: string }) { const { to, onClick } = useLocationLinkProps(locale) @@ -219,7 +217,6 @@ export default function Menu() { const togglePrivacyPolicy = useToggleModal(ApplicationModal.PRIVACY_POLICY) const openClaimModal = useToggleModal(ApplicationModal.ADDRESS_CLAIM) const showUNIClaimOption = Boolean(!!account && !!chainId && !L2_CHAIN_IDS.includes(chainId)) - const { infoLink } = CHAIN_INFO[chainId ? chainId : SupportedChainId.MAINNET] const [darkMode, toggleDarkMode] = useDarkModeManager() From ccad45d24e6b2314ea0886856607a88d673c4711 Mon Sep 17 00:00:00 2001 From: Moody Salem Date: Thu, 11 Nov 2021 15:40:12 -0500 Subject: [PATCH 025/378] fix(optimism): Optimism regenesis support (#2703) * feat(optimism): optimistic kovan local regenesis changes * use the regenesis version of the sdk * remove the override no longer necessary * diff rpc url * back to kovan url * lint error * Optimism mainnet regenesis test (#2695) * remove the optimism mainnet specific code and point to the mainnet regenesis rpc url * point at the old mainnet multicall address * bump the sdk version * copy the list * multicall address regenesis change * revert the gas limit special casing for optimism * bump the sdk version * remove a couple other temporary edits * unused test case * specific version of v3-sdk --- package.json | 2 +- src/constants/addresses.ts | 6 +- src/hooks/useApproveCallback.ts | 2 +- src/hooks/useClientSideV3Trade.ts | 2 - src/hooks/useSwapCallback.tsx | 4 +- src/pages/AddLiquidity/index.tsx | 115 ++++---------------------- src/pages/AddLiquidityV2/index.tsx | 2 +- src/pages/MigrateV2/MigrateV2Pair.tsx | 2 +- src/pages/Pool/PositionPage.tsx | 7 +- src/pages/RemoveLiquidity/V3.tsx | 7 +- src/pages/RemoveLiquidity/index.tsx | 2 +- src/state/claim/hooks.ts | 2 +- src/state/governance/hooks.ts | 6 +- src/state/wallet/hooks.ts | 10 +-- src/utils/calculateGasMargin.test.ts | 9 +- src/utils/calculateGasMargin.ts | 12 +-- yarn.lock | 30 ++++++- 17 files changed, 67 insertions(+), 153 deletions(-) diff --git a/package.json b/package.json index 7929b322ed..ff03940913 100644 --- a/package.json +++ b/package.json @@ -66,7 +66,7 @@ "@uniswap/v2-sdk": "^3.0.0-alpha.2", "@uniswap/v3-core": "1.0.0", "@uniswap/v3-periphery": "^1.1.1", - "@uniswap/v3-sdk": "^3.4.1", + "@uniswap/v3-sdk": "3.6.3", "@web3-react/core": "^6.0.9", "@web3-react/fortmatic-connector": "^6.0.9", "@web3-react/injected-connector": "^6.0.7", diff --git a/src/constants/addresses.ts b/src/constants/addresses.ts index e5cc2006f0..a2a84c01ef 100644 --- a/src/constants/addresses.ts +++ b/src/constants/addresses.ts @@ -8,8 +8,10 @@ type AddressMap = { [chainId: number]: string } export const UNI_ADDRESS: AddressMap = constructSameAddressMap('0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984') export const MULTICALL_ADDRESS: AddressMap = { - ...constructSameAddressMap('0x1F98415757620B543A52E61c46B32eB19261F984', [SupportedChainId.OPTIMISTIC_KOVAN]), - [SupportedChainId.OPTIMISM]: '0x90f872b3d8f33f305e0250db6A2761B354f7710A', + ...constructSameAddressMap('0x1F98415757620B543A52E61c46B32eB19261F984', [ + SupportedChainId.OPTIMISTIC_KOVAN, + SupportedChainId.OPTIMISM, + ]), [SupportedChainId.ARBITRUM_ONE]: '0xadF885960B47eA2CD9B55E6DAc6B42b7Cb2806dB', [SupportedChainId.ARBITRUM_RINKEBY]: '0xa501c031958F579dB7676fF1CE78AD305794d579', } diff --git a/src/hooks/useApproveCallback.ts b/src/hooks/useApproveCallback.ts index f440f2ec69..5ec7f5c079 100644 --- a/src/hooks/useApproveCallback.ts +++ b/src/hooks/useApproveCallback.ts @@ -87,7 +87,7 @@ export function useApproveCallback( return tokenContract .approve(spender, useExact ? amountToApprove.quotient.toString() : MaxUint256, { - gasLimit: calculateGasMargin(chainId, estimatedGas), + gasLimit: calculateGasMargin(estimatedGas), }) .then((response: TransactionResponse) => { addTransaction(response, { type: TransactionType.APPROVAL, tokenAddress: token.address, spender }) diff --git a/src/hooks/useClientSideV3Trade.ts b/src/hooks/useClientSideV3Trade.ts index 7059b9c21d..d2e498ff5a 100644 --- a/src/hooks/useClientSideV3Trade.ts +++ b/src/hooks/useClientSideV3Trade.ts @@ -11,8 +11,6 @@ import { useV3Quoter } from './useContract' import { useActiveWeb3React } from './web3' const QUOTE_GAS_OVERRIDES: { [chainId: number]: number } = { - [SupportedChainId.OPTIMISM]: 6_000_000, - [SupportedChainId.OPTIMISTIC_KOVAN]: 6_000_000, [SupportedChainId.ARBITRUM_ONE]: 25_000_000, [SupportedChainId.ARBITRUM_RINKEBY]: 25_000_000, } diff --git a/src/hooks/useSwapCallback.tsx b/src/hooks/useSwapCallback.tsx index 92cb3e1874..41f1f2fec1 100644 --- a/src/hooks/useSwapCallback.tsx +++ b/src/hooks/useSwapCallback.tsx @@ -363,9 +363,7 @@ export function useSwapCallback( to: address, data: calldata, // let the wallet try if we can't estimate the gas - ...('gasEstimate' in bestCallOption - ? { gasLimit: calculateGasMargin(chainId, bestCallOption.gasEstimate) } - : {}), + ...('gasEstimate' in bestCallOption ? { gasLimit: calculateGasMargin(bestCallOption.gasEstimate) } : {}), ...(value && !isZero(value) ? { value } : {}), }) .then((response) => { diff --git a/src/pages/AddLiquidity/index.tsx b/src/pages/AddLiquidity/index.tsx index 7900ed1b1a..3af32806e0 100644 --- a/src/pages/AddLiquidity/index.tsx +++ b/src/pages/AddLiquidity/index.tsx @@ -34,7 +34,6 @@ import Row, { AutoRow, RowBetween, RowFixed } from '../../components/Row' import { SwitchLocaleLink } from '../../components/SwitchLocaleLink' import TransactionConfirmationModal, { ConfirmationModalContent } from '../../components/TransactionConfirmationModal' import { NONFUNGIBLE_POSITION_MANAGER_ADDRESSES } from '../../constants/addresses' -import { CHAIN_INFO, SupportedChainId } from '../../constants/chains' import { ZERO_PERCENT } from '../../constants/misc' import { WETH9_EXTENDED } from '../../constants/tokens' import { useCurrency } from '../../hooks/Tokens' @@ -205,60 +204,6 @@ export default function AddLiquidity({ outOfRange ? ZERO_PERCENT : DEFAULT_ADD_IN_RANGE_SLIPPAGE_TOLERANCE ) - // only called on optimism, atm - async function onCreate() { - if (!chainId || !library) return - - if (chainId && library && position && account && deadline && baseCurrency && quoteCurrency && positionManager) { - const { calldata, value } = NonfungiblePositionManager.createCallParameters(position.pool) - - const txn: { to: string; data: string; value: string } = { - to: NONFUNGIBLE_POSITION_MANAGER_ADDRESSES[chainId], - data: calldata, - value, - } - - setAttemptingTxn(true) - - library - .getSigner() - .estimateGas(txn) - .then((estimate) => { - const newTxn = { - ...txn, - gasLimit: calculateGasMargin(chainId, estimate), - } - return library - .getSigner() - .sendTransaction(newTxn) - .then((response: TransactionResponse) => { - setAttemptingTxn(false) - addTransaction(response, { - type: TransactionType.CREATE_V3_POOL, - baseCurrencyId: currencyId(baseCurrency), - quoteCurrencyId: currencyId(quoteCurrency), - }) - // dont set txn hash as we dont want submitted txn screen for create - ReactGA.event({ - category: 'Liquidity', - action: 'Create', - label: [currencies[Field.CURRENCY_A]?.symbol, currencies[Field.CURRENCY_B]?.symbol].join('/'), - }) - }) - }) - .catch((error) => { - console.error('Failed to send transaction', error) - setAttemptingTxn(false) - // we only care if the error is something _other_ than the user rejected the tx - if (error?.code !== 4001) { - console.error(error) - } - }) - } else { - return - } - } - async function onAdd() { if (!chainId || !library || !account) return @@ -322,7 +267,7 @@ export default function AddLiquidity({ .then((estimate) => { const newTxn = { ...txn, - gasLimit: calculateGasMargin(chainId, estimate), + gasLimit: calculateGasMargin(estimate), } return library @@ -418,22 +363,16 @@ export default function AddLiquidity({ [currencyIdA, currencyIdB, history, onLeftRangeInput, onRightRangeInput] ) - // flag for whether pool creation must be a separate tx - const mustCreateSeparately = - noLiquidity && (chainId === SupportedChainId.OPTIMISM || chainId === SupportedChainId.OPTIMISTIC_KOVAN) - const handleDismissConfirmation = useCallback(() => { setShowConfirm(false) // if there was a tx hash, we want to clear the input if (txHash) { onFieldAInput('') // dont jump to pool page if creating - if (!mustCreateSeparately) { - history.push('/pool') - } + history.push('/pool') } setTxHash('') - }, [history, mustCreateSeparately, onFieldAInput, txHash]) + }, [history, onFieldAInput, txHash]) const addIsUnsupported = useIsSwapUnsupported(currencies?.CURRENCY_A, currencies?.CURRENCY_B) @@ -458,15 +397,11 @@ export default function AddLiquidity({ const showApprovalB = !argentWalletContract && approvalB !== ApprovalState.APPROVED && !!parsedAmounts[Field.CURRENCY_B] - const pendingText = mustCreateSeparately - ? `Creating ${currencies[Field.CURRENCY_A]?.symbol}/${currencies[Field.CURRENCY_B]?.symbol} ${ - feeAmount ? feeAmount / 10000 : '' - }% Pool` - : `Supplying ${!depositADisabled ? parsedAmounts[Field.CURRENCY_A]?.toSignificant(6) : ''} ${ - !depositADisabled ? currencies[Field.CURRENCY_A]?.symbol : '' - } ${!outOfRange ? 'and' : ''} ${!depositBDisabled ? parsedAmounts[Field.CURRENCY_B]?.toSignificant(6) : ''} ${ - !depositBDisabled ? currencies[Field.CURRENCY_B]?.symbol : '' - }` + const pendingText = `Supplying ${!depositADisabled ? parsedAmounts[Field.CURRENCY_A]?.toSignificant(6) : ''} ${ + !depositADisabled ? currencies[Field.CURRENCY_A]?.symbol : '' + } ${!outOfRange ? 'and' : ''} ${!depositBDisabled ? parsedAmounts[Field.CURRENCY_B]?.toSignificant(6) : ''} ${ + !depositBDisabled ? currencies[Field.CURRENCY_B]?.symbol : '' + }` const Buttons = () => addIsUnsupported ? ( @@ -519,32 +454,18 @@ export default function AddLiquidity({ )} )} - {mustCreateSeparately && ( - - {attemptingTxn ? ( - - Confirm Create - - ) : ( - {errorMessage ? errorMessage : Create} - )} - - )} { expertMode ? onAdd() : setShowConfirm(true) }} disabled={ - mustCreateSeparately || !isValid || (!argentWalletContract && approvalA !== ApprovalState.APPROVED && !depositADisabled) || (!argentWalletContract && approvalB !== ApprovalState.APPROVED && !depositBDisabled) } error={!isValid && !!parsedAmounts[Field.CURRENCY_A] && !!parsedAmounts[Field.CURRENCY_B]} > - - {mustCreateSeparately ? Add : errorMessage ? errorMessage : Preview} - + {errorMessage ? errorMessage : Preview} ) @@ -793,19 +714,11 @@ export default function AddLiquidity({ textAlign="left" color={theme.primaryText1} > - {mustCreateSeparately ? ( - - {`This pool must be initialized on ${ - chainId && CHAIN_INFO ? CHAIN_INFO[chainId].label : '' - } before you can add liquidity. To initialize, select a starting price for the pool. Then, enter your liquidity price range and deposit amount.`} - - ) : ( - - This pool must be initialized before you can add liquidity. To initialize, select a - starting price for the pool. Then, enter your liquidity price range and deposit - amount. Gas fees will be higher than usual due to the initialization transaction. - - )} + + This pool must be initialized before you can add liquidity. To initialize, select a + starting price for the pool. Then, enter your liquidity price range and deposit + amount. Gas fees will be higher than usual due to the initialization transaction. + )} diff --git a/src/pages/AddLiquidityV2/index.tsx b/src/pages/AddLiquidityV2/index.tsx index ecf7e99feb..0cd872d64d 100644 --- a/src/pages/AddLiquidityV2/index.tsx +++ b/src/pages/AddLiquidityV2/index.tsx @@ -184,7 +184,7 @@ export default function AddLiquidity({ .then((estimatedGasLimit) => method(...args, { ...(value ? { value } : {}), - gasLimit: calculateGasMargin(chainId, estimatedGasLimit), + gasLimit: calculateGasMargin(estimatedGasLimit), }).then((response) => { setAttemptingTxn(false) diff --git a/src/pages/MigrateV2/MigrateV2Pair.tsx b/src/pages/MigrateV2/MigrateV2Pair.tsx index 7137bc9595..65d1825adf 100644 --- a/src/pages/MigrateV2/MigrateV2Pair.tsx +++ b/src/pages/MigrateV2/MigrateV2Pair.tsx @@ -334,7 +334,7 @@ function V2PairMigration({ .multicall(data) .then((gasEstimate) => { return migrator - .multicall(data, { gasLimit: calculateGasMargin(chainId, gasEstimate) }) + .multicall(data, { gasLimit: calculateGasMargin(gasEstimate) }) .then((response: TransactionResponse) => { ReactGA.event({ category: 'Migrate', diff --git a/src/pages/Pool/PositionPage.tsx b/src/pages/Pool/PositionPage.tsx index 47bae53b54..ce1ad662fd 100644 --- a/src/pages/Pool/PositionPage.tsx +++ b/src/pages/Pool/PositionPage.tsx @@ -14,7 +14,6 @@ import { RowBetween, RowFixed } from 'components/Row' import { Dots } from 'components/swap/styleds' import Toggle from 'components/Toggle' import TransactionConfirmationModal, { ConfirmationModalContent } from 'components/TransactionConfirmationModal' -import { SupportedChainId } from 'constants/chains' import { useToken } from 'hooks/Tokens' import { useV3NFTPositionManagerContract } from 'hooks/useContract' import useIsTickAtLimit from 'hooks/useIsTickAtLimit' @@ -443,7 +442,7 @@ export function PositionPage({ .then((estimate) => { const newTxn = { ...txn, - gasLimit: calculateGasMargin(chainId, estimate), + gasLimit: calculateGasMargin(estimate), } return library @@ -514,15 +513,13 @@ export function PositionPage({ ) } - const onOptimisticChain = chainId && [SupportedChainId.OPTIMISM, SupportedChainId.OPTIMISTIC_KOVAN].includes(chainId) const showCollectAsWeth = Boolean( ownsNFT && (feeValue0?.greaterThan(0) || feeValue1?.greaterThan(0)) && currency0 && currency1 && (currency0.isNative || currency1.isNative) && - !collectMigrationHash && - !onOptimisticChain + !collectMigrationHash ) return loading || poolState === PoolState.LOADING || !feeAmount ? ( diff --git a/src/pages/RemoveLiquidity/V3.tsx b/src/pages/RemoveLiquidity/V3.tsx index b8f4f831ba..58ffb55251 100644 --- a/src/pages/RemoveLiquidity/V3.tsx +++ b/src/pages/RemoveLiquidity/V3.tsx @@ -16,7 +16,6 @@ import { AddRemoveTabs } from 'components/NavigationTabs' import { AutoRow, RowBetween, RowFixed } from 'components/Row' import Slider from 'components/Slider' import Toggle from 'components/Toggle' -import { SupportedChainId } from 'constants/chains' import { useV3NFTPositionManagerContract } from 'hooks/useContract' import useDebouncedChangeHandler from 'hooks/useDebouncedChangeHandler' import useTheme from 'hooks/useTheme' @@ -140,7 +139,7 @@ function Remove({ tokenId }: { tokenId: BigNumber }) { .then((estimate) => { const newTxn = { ...txn, - gasLimit: calculateGasMargin(chainId, estimate), + gasLimit: calculateGasMargin(estimate), } return library @@ -262,10 +261,8 @@ function Remove({ tokenId }: { tokenId: BigNumber }) { ) } - const onOptimisticChain = chainId && [SupportedChainId.OPTIMISM, SupportedChainId.OPTIMISTIC_KOVAN].includes(chainId) const showCollectAsWeth = Boolean( - !onOptimisticChain && - liquidityValue0?.currency && + liquidityValue0?.currency && liquidityValue1?.currency && (liquidityValue0.currency.isNative || liquidityValue1.currency.isNative || diff --git a/src/pages/RemoveLiquidity/index.tsx b/src/pages/RemoveLiquidity/index.tsx index b740bacb55..c2e7048444 100644 --- a/src/pages/RemoveLiquidity/index.tsx +++ b/src/pages/RemoveLiquidity/index.tsx @@ -239,7 +239,7 @@ export default function RemoveLiquidity({ const safeGasEstimates: (BigNumber | undefined)[] = await Promise.all( methodNames.map((methodName) => router.estimateGas[methodName](...args) - .then((estimateGas) => calculateGasMargin(chainId, estimateGas)) + .then((estimateGas) => calculateGasMargin(estimateGas)) .catch((error) => { console.error(`estimateGas failed`, methodName, args, error) return undefined diff --git a/src/state/claim/hooks.ts b/src/state/claim/hooks.ts index 17bae80f6d..7f6cda6ea6 100644 --- a/src/state/claim/hooks.ts +++ b/src/state/claim/hooks.ts @@ -164,7 +164,7 @@ export function useClaimCallback(account: string | null | undefined): { return distributorContract.estimateGas['claim'](...args, {}).then((estimatedGasLimit) => { return distributorContract - .claim(...args, { value: null, gasLimit: calculateGasMargin(chainId, estimatedGasLimit) }) + .claim(...args, { value: null, gasLimit: calculateGasMargin(estimatedGasLimit) }) .then((response: TransactionResponse) => { addTransaction(response, { type: TransactionType.CLAIM, diff --git a/src/state/governance/hooks.ts b/src/state/governance/hooks.ts index 36d7886fed..e44c03b75e 100644 --- a/src/state/governance/hooks.ts +++ b/src/state/governance/hooks.ts @@ -306,7 +306,7 @@ export function useDelegateCallback(): (delegatee: string | undefined) => undefi if (!uniContract) throw new Error('No UNI Contract!') return uniContract.estimateGas.delegate(...args, {}).then((estimatedGasLimit) => { return uniContract - .delegate(...args, { value: null, gasLimit: calculateGasMargin(chainId, estimatedGasLimit) }) + .delegate(...args, { value: null, gasLimit: calculateGasMargin(estimatedGasLimit) }) .then((response: TransactionResponse) => { addTransaction(response, { type: TransactionType.DELEGATE, @@ -335,7 +335,7 @@ export function useVoteCallback(): { const args = [proposalId, voteOption === VoteOption.Against ? 0 : voteOption === VoteOption.For ? 1 : 2] return latestGovernanceContract.estimateGas.castVote(...args, {}).then((estimatedGasLimit) => { return latestGovernanceContract - .castVote(...args, { value: null, gasLimit: calculateGasMargin(chainId, estimatedGasLimit) }) + .castVote(...args, { value: null, gasLimit: calculateGasMargin(estimatedGasLimit) }) .then((response: TransactionResponse) => { addTransaction(response, { type: TransactionType.VOTE, @@ -375,7 +375,7 @@ export function useCreateProposalCallback(): ( return latestGovernanceContract.estimateGas.propose(...args).then((estimatedGasLimit) => { return latestGovernanceContract - .propose(...args, { gasLimit: calculateGasMargin(chainId, estimatedGasLimit) }) + .propose(...args, { gasLimit: calculateGasMargin(estimatedGasLimit) }) .then((response: TransactionResponse) => { addTransaction(response, { type: TransactionType.SUBMIT_PROPOSAL, diff --git a/src/state/wallet/hooks.ts b/src/state/wallet/hooks.ts index 9fbde50c50..54c8f8aa53 100644 --- a/src/state/wallet/hooks.ts +++ b/src/state/wallet/hooks.ts @@ -2,7 +2,6 @@ import { Interface } from '@ethersproject/abi' import { Currency, CurrencyAmount, Ether, Token } from '@uniswap/sdk-core' import ERC20ABI from 'abis/erc20.json' import { Erc20Interface } from 'abis/types/Erc20' -import { SupportedChainId } from 'constants/chains' import JSBI from 'jsbi' import { useMemo } from 'react' @@ -52,11 +51,6 @@ export function useETHBalances(uncheckedAddresses?: (string | undefined)[]): { ) } -const TOKEN_BALANCE_GAS_OVERRIDE: { [chainId: number]: number } = { - [SupportedChainId.OPTIMISM]: 250_000, - [SupportedChainId.OPTIMISTIC_KOVAN]: 250_000, -} - /** * Returns a map of token addresses to their eventually consistent token balances for a single account. */ @@ -69,12 +63,10 @@ export function useTokenBalancesWithLoadingIndicator( [tokens] ) - const { chainId } = useActiveWeb3React() - const validatedTokenAddresses = useMemo(() => validatedTokens.map((vt) => vt.address), [validatedTokens]) const ERC20Interface = new Interface(ERC20ABI) as Erc20Interface const balances = useMultipleContractSingleData(validatedTokenAddresses, ERC20Interface, 'balanceOf', [address], { - gasRequired: (chainId && TOKEN_BALANCE_GAS_OVERRIDE[chainId]) ?? 100_000, + gasRequired: 100_000, }) const anyLoading: boolean = useMemo(() => balances.some((callState) => callState.loading), [balances]) diff --git a/src/utils/calculateGasMargin.test.ts b/src/utils/calculateGasMargin.test.ts index fe2491c4fb..82da8c6cd2 100644 --- a/src/utils/calculateGasMargin.test.ts +++ b/src/utils/calculateGasMargin.test.ts @@ -4,12 +4,7 @@ import { calculateGasMargin } from './calculateGasMargin' describe('#calculateGasMargin', () => { it('adds 20%', () => { - expect(calculateGasMargin(1, BigNumber.from(1000)).toString()).toEqual('1200') - expect(calculateGasMargin(1, BigNumber.from(50)).toString()).toEqual('60') - }) - - it('optimism - returns exact value', () => { - expect(calculateGasMargin(69, BigNumber.from(1000)).toString()).toEqual('1000') - expect(calculateGasMargin(69, BigNumber.from(50)).toString()).toEqual('50') + expect(calculateGasMargin(BigNumber.from(1000)).toString()).toEqual('1200') + expect(calculateGasMargin(BigNumber.from(50)).toString()).toEqual('60') }) }) diff --git a/src/utils/calculateGasMargin.ts b/src/utils/calculateGasMargin.ts index 5bfcd7af3e..67ef2dc936 100644 --- a/src/utils/calculateGasMargin.ts +++ b/src/utils/calculateGasMargin.ts @@ -1,9 +1,9 @@ import { BigNumber } from '@ethersproject/bignumber' -import { SupportedChainId } from 'constants/chains' -// add 20% (except on optimism) -export function calculateGasMargin(chainId: number, value: BigNumber): BigNumber { - return chainId === SupportedChainId.OPTIMISM || chainId === SupportedChainId.OPTIMISTIC_KOVAN - ? value - : value.mul(BigNumber.from(10000 + 2000)).div(BigNumber.from(10000)) +/** + * Returns the gas value plus a margin for unexpected or variable gas costs + * @param value the gas value to pad + */ +export function calculateGasMargin(value: BigNumber): BigNumber { + return value.mul(120).div(100) } diff --git a/yarn.lock b/yarn.lock index 217152fdbf..2d7c5b3670 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4642,6 +4642,18 @@ resolved "https://registry.npmjs.org/@uniswap/v3-core/-/v3-core-1.0.0.tgz" integrity sha512-kSC4djMGKMHj7sLMYVnn61k9nu+lHjMIxgg9CDQT+s2QYLoA56GbSK9Oxr+qJXzzygbkrmuY6cwgP6cW2JXPFA== +"@uniswap/v3-periphery@^1.0.1": + version "1.2.1" + resolved "https://registry.yarnpkg.com/@uniswap/v3-periphery/-/v3-periphery-1.2.1.tgz#7775630bea774a2cf989ab87ce3c328ac52e0d50" + integrity sha512-45W8hT8X1j9ZcXa+y3NSVao90hMZtgtoJyDlMOg91wmUGi2idXAiGivOQYdB7+7Lq8Gc6Upv/ggFZknixZrv7g== + dependencies: + "@openzeppelin/contracts" "3.4.1-solc-0.7-2" + "@uniswap/lib" "^4.0.1-alpha" + "@uniswap/v2-core" "1.0.1" + "@uniswap/v3-core" "1.0.0" + base64-sol "1.0.1" + hardhat-watcher "^2.1.1" + "@uniswap/v3-periphery@^1.1.1": version "1.1.1" resolved "https://registry.yarnpkg.com/@uniswap/v3-periphery/-/v3-periphery-1.1.1.tgz#be6dfca7b29318ea0d76a7baf15d3b33c3c5e90a" @@ -4654,18 +4666,28 @@ base64-sol "1.0.1" hardhat-watcher "^2.1.1" -"@uniswap/v3-sdk@^3.4.1": - version "3.4.1" - resolved "https://registry.yarnpkg.com/@uniswap/v3-sdk/-/v3-sdk-3.4.1.tgz#2cf9b5f4dd826d6600245254e7bc7d2d4a4282ee" - integrity sha512-P0zcgOgpSqEbI/2DVESm8kf8OydagMEAzZR7qqLOe4JsUyhK1A4u1dy8tYDgWUBW0WeruEXSPNGiEL0pYPy3HQ== +"@uniswap/v3-sdk@3.6.3": + version "3.6.3" + resolved "https://registry.yarnpkg.com/@uniswap/v3-sdk/-/v3-sdk-3.6.3.tgz#f2fca86cfde1450976581028195fc0ee4b11036d" + integrity sha512-nepNTZMpM1uwLJAlQaUUEDMFrSujS1sOqyVD739zoPWsVHAUPvqVAKQN0GlgZcLXOqeCMKjO3lteaNHEXef1XA== dependencies: "@ethersproject/abi" "^5.0.12" "@ethersproject/solidity" "^5.0.9" "@uniswap/sdk-core" "^3.0.1" "@uniswap/v3-periphery" "^1.1.1" + "@uniswap/v3-staker" "1.0.0" tiny-invariant "^1.1.0" tiny-warning "^1.0.3" +"@uniswap/v3-staker@1.0.0": + version "1.0.0" + resolved "https://registry.yarnpkg.com/@uniswap/v3-staker/-/v3-staker-1.0.0.tgz#9a6915ec980852479dfc903f50baf822ff8fa66e" + integrity sha512-JV0Qc46Px5alvg6YWd+UIaGH9lDuYG/Js7ngxPit1SPaIP30AlVer1UYB7BRYeUVVxE+byUyIeN5jeQ7LLDjIw== + dependencies: + "@openzeppelin/contracts" "3.4.1-solc-0.7-2" + "@uniswap/v3-core" "1.0.0" + "@uniswap/v3-periphery" "^1.0.1" + "@vibrant/color@^3.2.1-alpha.1": version "3.2.1-alpha.1" resolved "https://registry.yarnpkg.com/@vibrant/color/-/color-3.2.1-alpha.1.tgz#1bcee4545d2276d36f9a1acb42ab3485a9b489ec" From ec4cd57dc0868be652a0898d150d4a04e544a546 Mon Sep 17 00:00:00 2001 From: Crowdin Bot Date: Thu, 11 Nov 2021 21:07:22 +0000 Subject: [PATCH 026/378] chore(i18n): synchronize translations from crowdin [skip ci] --- src/locales/af-ZA.po | 15 +-------------- src/locales/ar-SA.po | 15 +-------------- src/locales/ca-ES.po | 15 +-------------- src/locales/cs-CZ.po | 15 +-------------- src/locales/da-DK.po | 15 +-------------- src/locales/de-DE.po | 15 +-------------- src/locales/el-GR.po | 15 +-------------- src/locales/es-ES.po | 15 +-------------- src/locales/fi-FI.po | 15 +-------------- src/locales/fr-FR.po | 15 +-------------- src/locales/he-IL.po | 15 +-------------- src/locales/hu-HU.po | 15 +-------------- src/locales/id-ID.po | 15 +-------------- src/locales/it-IT.po | 15 +-------------- src/locales/ja-JP.po | 15 +-------------- src/locales/ko-KR.po | 15 +-------------- src/locales/nl-NL.po | 15 +-------------- src/locales/no-NO.po | 15 +-------------- src/locales/pl-PL.po | 15 +-------------- src/locales/pt-BR.po | 15 +-------------- src/locales/pt-PT.po | 15 +-------------- src/locales/ro-RO.po | 15 +-------------- src/locales/ru-RU.po | 15 +-------------- src/locales/sl-SI.po | 15 +-------------- src/locales/sr-SP.po | 15 +-------------- src/locales/sv-SE.po | 15 +-------------- src/locales/sw-TZ.po | 15 +-------------- src/locales/th-TH.po | 15 +-------------- src/locales/tr-TR.po | 15 +-------------- src/locales/uk-UA.po | 15 +-------------- src/locales/vi-VN.po | 15 +-------------- src/locales/zh-CN.po | 15 +-------------- src/locales/zh-TW.po | 15 +-------------- 33 files changed, 33 insertions(+), 462 deletions(-) diff --git a/src/locales/af-ZA.po b/src/locales/af-ZA.po index 02ffe1e157..267163730f 100644 --- a/src/locales/af-ZA.po +++ b/src/locales/af-ZA.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-11 16:07\n" +"PO-Revision-Date: 2021-11-11 21:07\n" "Last-Translator: \n" "Language: af_ZA\n" "Language-Team: Afrikaans\n" @@ -150,7 +150,6 @@ msgstr "Aktief" #: src/components/PositionCard/index.tsx #: src/pages/AddLiquidity/index.tsx -#: src/pages/AddLiquidity/index.tsx msgid "Add" msgstr "Voeg by" @@ -483,10 +482,6 @@ msgstr "Algemene basisse" msgid "Confirm" msgstr "Bevestig" -#: src/pages/AddLiquidity/index.tsx -msgid "Confirm Create" -msgstr "Bevestig Skep" - #: src/pages/AddLiquidityV2/ConfirmAddModalBottom.tsx msgid "Confirm Supply" msgstr "Bevestig die aanbod" @@ -554,10 +549,6 @@ msgstr "Gekopieer" msgid "Copy Address" msgstr "Kopieer adres" -#: src/pages/AddLiquidity/index.tsx -msgid "Create" -msgstr "Skep" - #: src/pages/AddLiquidityV2/ConfirmAddModalBottom.tsx msgid "Create Pool & Supply" msgstr "Skep Poel en Verskaf" @@ -1661,10 +1652,6 @@ msgstr "Hierdie toepassing gebruik die volgende derdeparty-API's:" msgid "This pool must be initialized before you can add liquidity. To initialize, select a starting price for the pool. Then, enter your liquidity price range and deposit amount. Gas fees will be higher than usual due to the initialization transaction." msgstr "Hierdie poel moet geïnisialiseer word voordat u likiditeit kan byvoeg. Kies 'n aanvangsprys vir die swembad om te initialiseer. Voer dan u likiditeitspryse en depositobedrag in. Gasfooie sal hoër wees as gewoonlik as gevolg van die initialiseringstransaksie." -#: src/pages/AddLiquidity/index.tsx -msgid "This pool must be initialized on {0} before you can add liquidity. To initialize, select a starting price for the pool. Then, enter your liquidity price range and deposit amount." -msgstr "Hierdie poel moet op {0} geïnisialiseer word voordat u likiditeit kan byvoeg. Kies 'n aanvangsprys vir die swembad om te initialiseer. Voer dan u likiditeitspryse en depositobedrag in." - #: src/components/swap/SwapRoute.tsx msgid "This route optimizes your price by considering split routes, multiple hops, and gas costs." msgstr "Hierdie roete optimaliseer u prys deur middel van gesplete roetes, veelvuldige hop en gaskoste." diff --git a/src/locales/ar-SA.po b/src/locales/ar-SA.po index 4f25bf71bb..c22e8a4c09 100644 --- a/src/locales/ar-SA.po +++ b/src/locales/ar-SA.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-11 16:07\n" +"PO-Revision-Date: 2021-11-11 21:07\n" "Last-Translator: \n" "Language: ar_SA\n" "Language-Team: Arabic\n" @@ -150,7 +150,6 @@ msgstr "نشط" #: src/components/PositionCard/index.tsx #: src/pages/AddLiquidity/index.tsx -#: src/pages/AddLiquidity/index.tsx msgid "Add" msgstr "إضافة" @@ -483,10 +482,6 @@ msgstr "القواعد المشتركة" msgid "Confirm" msgstr "تأكيد" -#: src/pages/AddLiquidity/index.tsx -msgid "Confirm Create" -msgstr "تأكيد إنشاء" - #: src/pages/AddLiquidityV2/ConfirmAddModalBottom.tsx msgid "Confirm Supply" msgstr "تأكيد الإمداد" @@ -554,10 +549,6 @@ msgstr "تم النسخ" msgid "Copy Address" msgstr "نسخ العنوان" -#: src/pages/AddLiquidity/index.tsx -msgid "Create" -msgstr "يخلق" - #: src/pages/AddLiquidityV2/ConfirmAddModalBottom.tsx msgid "Create Pool & Supply" msgstr "إنشاء مجموعة وإمدادات" @@ -1661,10 +1652,6 @@ msgstr "يستخدم هذا التطبيق واجهات برمجة التطبي msgid "This pool must be initialized before you can add liquidity. To initialize, select a starting price for the pool. Then, enter your liquidity price range and deposit amount. Gas fees will be higher than usual due to the initialization transaction." msgstr "يجب تهيئة هذا المستودع قبل أن تتمكن من إضافة السيولة. للتهيئة ، حدد سعر البداية للمجمع. ثم أدخل نطاق سعر السيولة ومبلغ الإيداع. ستكون رسوم الغاز أعلى من المعتاد بسبب معاملة التهيئة." -#: src/pages/AddLiquidity/index.tsx -msgid "This pool must be initialized on {0} before you can add liquidity. To initialize, select a starting price for the pool. Then, enter your liquidity price range and deposit amount." -msgstr "يجب تهيئة هذا المستودع على {0} قبل أن تتمكن من إضافة السيولة. للتهيئة ، حدد سعر البداية للمجمع. ثم أدخل نطاق سعر السيولة ومبلغ الإيداع." - #: src/components/swap/SwapRoute.tsx msgid "This route optimizes your price by considering split routes, multiple hops, and gas costs." msgstr "يعمل هذا المسار على تحسين سعرك من خلال التفكير في الطرق المنقسمة والقفزات المتعددة وتكاليف الغاز." diff --git a/src/locales/ca-ES.po b/src/locales/ca-ES.po index 76fa9be402..8dfa530b7d 100644 --- a/src/locales/ca-ES.po +++ b/src/locales/ca-ES.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-11 16:07\n" +"PO-Revision-Date: 2021-11-11 21:07\n" "Last-Translator: \n" "Language: ca_ES\n" "Language-Team: Catalan\n" @@ -150,7 +150,6 @@ msgstr "Actiu" #: src/components/PositionCard/index.tsx #: src/pages/AddLiquidity/index.tsx -#: src/pages/AddLiquidity/index.tsx msgid "Add" msgstr "Afegeix" @@ -483,10 +482,6 @@ msgstr "Bases comunes" msgid "Confirm" msgstr "Confirmeu" -#: src/pages/AddLiquidity/index.tsx -msgid "Confirm Create" -msgstr "Confirmeu Crea" - #: src/pages/AddLiquidityV2/ConfirmAddModalBottom.tsx msgid "Confirm Supply" msgstr "Confirmeu el subministrament" @@ -554,10 +549,6 @@ msgstr "Copiat" msgid "Copy Address" msgstr "Copia l'adreça" -#: src/pages/AddLiquidity/index.tsx -msgid "Create" -msgstr "Crear" - #: src/pages/AddLiquidityV2/ConfirmAddModalBottom.tsx msgid "Create Pool & Supply" msgstr "Crea grup i subministrament" @@ -1661,10 +1652,6 @@ msgstr "Aquesta aplicació utilitza les següents API de tercers:" msgid "This pool must be initialized before you can add liquidity. To initialize, select a starting price for the pool. Then, enter your liquidity price range and deposit amount. Gas fees will be higher than usual due to the initialization transaction." msgstr "Aquest grup s’ha d’inicialitzar abans d’afegir liquiditat. Per inicialitzar, seleccioneu un preu inicial per a la piscina. A continuació, introduïu l'interval de preus de liquiditat i l'import del dipòsit. Les comissions de gas seran superiors a l'habitual a causa de la transacció d'inicialització." -#: src/pages/AddLiquidity/index.tsx -msgid "This pool must be initialized on {0} before you can add liquidity. To initialize, select a starting price for the pool. Then, enter your liquidity price range and deposit amount." -msgstr "Aquest grup s’ha d’inicialitzar a {0} abans d’afegir liquiditat. Per inicialitzar, seleccioneu un preu inicial per a la piscina. A continuació, introduïu l'interval de preus de liquiditat i l'import del dipòsit." - #: src/components/swap/SwapRoute.tsx msgid "This route optimizes your price by considering split routes, multiple hops, and gas costs." msgstr "Aquesta ruta optimitza el vostre preu tenint en compte les rutes dividides, diversos salts i els costos de gasolina." diff --git a/src/locales/cs-CZ.po b/src/locales/cs-CZ.po index a6f9037ced..f5e19af0db 100644 --- a/src/locales/cs-CZ.po +++ b/src/locales/cs-CZ.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-11 16:07\n" +"PO-Revision-Date: 2021-11-11 21:07\n" "Last-Translator: \n" "Language: cs_CZ\n" "Language-Team: Czech\n" @@ -150,7 +150,6 @@ msgstr "Aktivní" #: src/components/PositionCard/index.tsx #: src/pages/AddLiquidity/index.tsx -#: src/pages/AddLiquidity/index.tsx msgid "Add" msgstr "Přidat" @@ -483,10 +482,6 @@ msgstr "Společné základny" msgid "Confirm" msgstr "Potvrdit" -#: src/pages/AddLiquidity/index.tsx -msgid "Confirm Create" -msgstr "Potvrďte vytvoření" - #: src/pages/AddLiquidityV2/ConfirmAddModalBottom.tsx msgid "Confirm Supply" msgstr "Potvrdit zásobu" @@ -554,10 +549,6 @@ msgstr "Zkopírováno" msgid "Copy Address" msgstr "Zkopírovat adresu" -#: src/pages/AddLiquidity/index.tsx -msgid "Create" -msgstr "Vytvořit" - #: src/pages/AddLiquidityV2/ConfirmAddModalBottom.tsx msgid "Create Pool & Supply" msgstr "Vytvořit fond a zásobu" @@ -1661,10 +1652,6 @@ msgstr "Tato aplikace používá následující rozhraní API třetích stran:" msgid "This pool must be initialized before you can add liquidity. To initialize, select a starting price for the pool. Then, enter your liquidity price range and deposit amount. Gas fees will be higher than usual due to the initialization transaction." msgstr "Tento fond musí být inicializován, než budete moci přidat likviditu. Chcete-li inicializovat, vyberte počáteční cenu fondu. Poté zadejte rozsah cen likvidity a částku vkladu. Poplatky za plyn budou kvůli inicializační transakci vyšší než obvykle." -#: src/pages/AddLiquidity/index.tsx -msgid "This pool must be initialized on {0} before you can add liquidity. To initialize, select a starting price for the pool. Then, enter your liquidity price range and deposit amount." -msgstr "Tento fond musí být inicializován na {0} než budete moci přidat likviditu. Chcete-li inicializovat, vyberte počáteční cenu fondu. Poté zadejte rozsah cen likvidity a částku vkladu." - #: src/components/swap/SwapRoute.tsx msgid "This route optimizes your price by considering split routes, multiple hops, and gas costs." msgstr "Tato trasa optimalizuje vaši cenu zvážením dělených tras, vícenásobného chmele a nákladů na plyn." diff --git a/src/locales/da-DK.po b/src/locales/da-DK.po index 1a954f9a72..41d64863fc 100644 --- a/src/locales/da-DK.po +++ b/src/locales/da-DK.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-11 16:07\n" +"PO-Revision-Date: 2021-11-11 21:07\n" "Last-Translator: \n" "Language: da_DK\n" "Language-Team: Danish\n" @@ -150,7 +150,6 @@ msgstr "Aktiv" #: src/components/PositionCard/index.tsx #: src/pages/AddLiquidity/index.tsx -#: src/pages/AddLiquidity/index.tsx msgid "Add" msgstr "Tilføj" @@ -483,10 +482,6 @@ msgstr "Almindelige baser" msgid "Confirm" msgstr "Bekræft" -#: src/pages/AddLiquidity/index.tsx -msgid "Confirm Create" -msgstr "Bekræft Opret" - #: src/pages/AddLiquidityV2/ConfirmAddModalBottom.tsx msgid "Confirm Supply" msgstr "Bekræft levering" @@ -554,10 +549,6 @@ msgstr "Kopieret" msgid "Copy Address" msgstr "Kopiér adresse" -#: src/pages/AddLiquidity/index.tsx -msgid "Create" -msgstr "skab" - #: src/pages/AddLiquidityV2/ConfirmAddModalBottom.tsx msgid "Create Pool & Supply" msgstr "Opret pulje og forsyning" @@ -1661,10 +1652,6 @@ msgstr "Denne app bruger følgende tredjeparts API'er:" msgid "This pool must be initialized before you can add liquidity. To initialize, select a starting price for the pool. Then, enter your liquidity price range and deposit amount. Gas fees will be higher than usual due to the initialization transaction." msgstr "Denne pulje skal initialiseres, før du kan tilføje likviditet. For at initialisere skal du vælge en startpris for puljen. Indtast derefter dit likviditetsprisklasse og indbetalingsbeløb. Gasafgifter vil være højere end normalt på grund af initialiseringstransaktionen." -#: src/pages/AddLiquidity/index.tsx -msgid "This pool must be initialized on {0} before you can add liquidity. To initialize, select a starting price for the pool. Then, enter your liquidity price range and deposit amount." -msgstr "Denne pool skal initialiseres {0} før du kan tilføje likviditet. For at initialisere skal du vælge en startpris for puljen. Indtast derefter dit likviditetsprisklasse og indbetalingsbeløb." - #: src/components/swap/SwapRoute.tsx msgid "This route optimizes your price by considering split routes, multiple hops, and gas costs." msgstr "Denne rute optimerer din pris ved at overveje opdelte ruter, flere humle- og gasomkostninger." diff --git a/src/locales/de-DE.po b/src/locales/de-DE.po index 6a5d84d0dd..3a2eaa0306 100644 --- a/src/locales/de-DE.po +++ b/src/locales/de-DE.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-11 16:07\n" +"PO-Revision-Date: 2021-11-11 21:07\n" "Last-Translator: \n" "Language: de_DE\n" "Language-Team: German\n" @@ -150,7 +150,6 @@ msgstr "Aktiv" #: src/components/PositionCard/index.tsx #: src/pages/AddLiquidity/index.tsx -#: src/pages/AddLiquidity/index.tsx msgid "Add" msgstr "Hinzufügen" @@ -483,10 +482,6 @@ msgstr "Häufige Basistoken" msgid "Confirm" msgstr "Bestätigen" -#: src/pages/AddLiquidity/index.tsx -msgid "Confirm Create" -msgstr "Erstellen bestätigen" - #: src/pages/AddLiquidityV2/ConfirmAddModalBottom.tsx msgid "Confirm Supply" msgstr "Angebot bestätigen" @@ -554,10 +549,6 @@ msgstr "Kopiert" msgid "Copy Address" msgstr "Adresse kopieren" -#: src/pages/AddLiquidity/index.tsx -msgid "Create" -msgstr "Hinzufügen" - #: src/pages/AddLiquidityV2/ConfirmAddModalBottom.tsx msgid "Create Pool & Supply" msgstr "Pool erstellen & versorgen" @@ -1661,10 +1652,6 @@ msgstr "Diese App verwendet die folgenden Drittanbieter-APIs:" msgid "This pool must be initialized before you can add liquidity. To initialize, select a starting price for the pool. Then, enter your liquidity price range and deposit amount. Gas fees will be higher than usual due to the initialization transaction." msgstr "Dieser Pool muss initialisiert werden, bevor Sie Liquidität hinzufügen können. Wählen Sie zum Initialisieren einen Startpreis für den Pool aus. Geben Sie dann Ihre Liquiditätspreisspanne und den Einzahlungsbetrag ein. Die Gasgebühren werden aufgrund der Initialisierungstransaktion höher als üblich sein." -#: src/pages/AddLiquidity/index.tsx -msgid "This pool must be initialized on {0} before you can add liquidity. To initialize, select a starting price for the pool. Then, enter your liquidity price range and deposit amount." -msgstr "Dieser Pool muss auf {0} initialisiert werden, bevor Sie Liquidität hinzufügen können. Wählen Sie zum Initialisieren einen Startpreis für den Pool aus. Geben Sie dann Ihre Liquiditätspreisspanne und den Einzahlungsbetrag ein." - #: src/components/swap/SwapRoute.tsx msgid "This route optimizes your price by considering split routes, multiple hops, and gas costs." msgstr "Diese Route optimiert Ihren Preis, indem geteilte Routen, mehrere Hops und Benzinkosten berücksichtigt werden." diff --git a/src/locales/el-GR.po b/src/locales/el-GR.po index 525a93e925..e9c70543ba 100644 --- a/src/locales/el-GR.po +++ b/src/locales/el-GR.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-11 16:07\n" +"PO-Revision-Date: 2021-11-11 21:07\n" "Last-Translator: \n" "Language: el_GR\n" "Language-Team: Greek\n" @@ -150,7 +150,6 @@ msgstr "Ενεργός" #: src/components/PositionCard/index.tsx #: src/pages/AddLiquidity/index.tsx -#: src/pages/AddLiquidity/index.tsx msgid "Add" msgstr "Προσθήκη" @@ -483,10 +482,6 @@ msgstr "Κοινές βάσεις" msgid "Confirm" msgstr "Επιβεβαίωση" -#: src/pages/AddLiquidity/index.tsx -msgid "Confirm Create" -msgstr "Επιβεβαίωση Δημιουργίας" - #: src/pages/AddLiquidityV2/ConfirmAddModalBottom.tsx msgid "Confirm Supply" msgstr "Επιβεβαίωση Παροχής" @@ -554,10 +549,6 @@ msgstr "Αντιγράφηκε" msgid "Copy Address" msgstr "Αντιγραφή Διεύθυνσης" -#: src/pages/AddLiquidity/index.tsx -msgid "Create" -msgstr "Δημιουργώ" - #: src/pages/AddLiquidityV2/ConfirmAddModalBottom.tsx msgid "Create Pool & Supply" msgstr "Δημιουργία Ψηφοφορίας & Παροχής" @@ -1661,10 +1652,6 @@ msgstr "Αυτή η εφαρμογή χρησιμοποιεί τα ακόλου msgid "This pool must be initialized before you can add liquidity. To initialize, select a starting price for the pool. Then, enter your liquidity price range and deposit amount. Gas fees will be higher than usual due to the initialization transaction." msgstr "Αυτή η ομάδα πρέπει να προετοιμαστεί για να μπορέσετε να προσθέσετε ρευστότητα. Για να ξεκινήσετε, επιλέξτε μια τιμή εκκίνησης για την ομάδα. Στη συνέχεια, εισαγάγετε το εύρος τιμών ρευστότητας και το ποσό κατάθεσης. Τα τέλη φυσικού αερίου θα είναι υψηλότερα από το συνηθισμένο λόγω της αρχικής συναλλαγής." -#: src/pages/AddLiquidity/index.tsx -msgid "This pool must be initialized on {0} before you can add liquidity. To initialize, select a starting price for the pool. Then, enter your liquidity price range and deposit amount." -msgstr "Αυτή η ομάδα πρέπει να αρχικοποιηθεί στις {0} για να μπορέσετε να προσθέσετε ρευστότητα. Για να ξεκινήσετε, επιλέξτε μια τιμή εκκίνησης για την ομάδα. Στη συνέχεια, εισαγάγετε το εύρος τιμών ρευστότητας και το ποσό κατάθεσης." - #: src/components/swap/SwapRoute.tsx msgid "This route optimizes your price by considering split routes, multiple hops, and gas costs." msgstr "Αυτή η διαδρομή βελτιστοποιεί την τιμή σας λαμβάνοντας υπόψη τις χωρισμένες διαδρομές, το πολλαπλό λυκίσκο και το κόστος αερίου." diff --git a/src/locales/es-ES.po b/src/locales/es-ES.po index c3d2dade94..f9b6bcd955 100644 --- a/src/locales/es-ES.po +++ b/src/locales/es-ES.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-11 16:07\n" +"PO-Revision-Date: 2021-11-11 21:07\n" "Last-Translator: \n" "Language: es_ES\n" "Language-Team: Spanish\n" @@ -150,7 +150,6 @@ msgstr "Activo" #: src/components/PositionCard/index.tsx #: src/pages/AddLiquidity/index.tsx -#: src/pages/AddLiquidity/index.tsx msgid "Add" msgstr "Añadir" @@ -483,10 +482,6 @@ msgstr "Bases comunes" msgid "Confirm" msgstr "Confirmar" -#: src/pages/AddLiquidity/index.tsx -msgid "Confirm Create" -msgstr "Confirmar Crear" - #: src/pages/AddLiquidityV2/ConfirmAddModalBottom.tsx msgid "Confirm Supply" msgstr "Confirmar suministro" @@ -554,10 +549,6 @@ msgstr "Copiado" msgid "Copy Address" msgstr "Copiar dirección" -#: src/pages/AddLiquidity/index.tsx -msgid "Create" -msgstr "Crear" - #: src/pages/AddLiquidityV2/ConfirmAddModalBottom.tsx msgid "Create Pool & Supply" msgstr "Limpiar fondo común y suministro" @@ -1661,10 +1652,6 @@ msgstr "Esta aplicación utiliza las siguientes API de terceros:" msgid "This pool must be initialized before you can add liquidity. To initialize, select a starting price for the pool. Then, enter your liquidity price range and deposit amount. Gas fees will be higher than usual due to the initialization transaction." msgstr "Este grupo debe inicializarse antes de poder agregar liquidez. Para inicializar, seleccione un precio inicial para el grupo. Luego, ingrese su rango de precio de liquidez y el monto del depósito. Las tarifas del gas serán más altas de lo habitual debido a la transacción de inicialización." -#: src/pages/AddLiquidity/index.tsx -msgid "This pool must be initialized on {0} before you can add liquidity. To initialize, select a starting price for the pool. Then, enter your liquidity price range and deposit amount." -msgstr "Este grupo debe inicializarse en {0} antes de que pueda agregar liquidez. Para inicializar, seleccione un precio inicial para el grupo. Luego, ingrese su rango de precio de liquidez y el monto del depósito." - #: src/components/swap/SwapRoute.tsx msgid "This route optimizes your price by considering split routes, multiple hops, and gas costs." msgstr "Esta ruta optimiza su precio considerando rutas divididas, múltiples saltos y costos de gasolina." diff --git a/src/locales/fi-FI.po b/src/locales/fi-FI.po index 13f309806f..ad3fd24d98 100644 --- a/src/locales/fi-FI.po +++ b/src/locales/fi-FI.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-11 16:07\n" +"PO-Revision-Date: 2021-11-11 21:07\n" "Last-Translator: \n" "Language: fi_FI\n" "Language-Team: Finnish\n" @@ -150,7 +150,6 @@ msgstr "Aktiivinen" #: src/components/PositionCard/index.tsx #: src/pages/AddLiquidity/index.tsx -#: src/pages/AddLiquidity/index.tsx msgid "Add" msgstr "Lisää" @@ -483,10 +482,6 @@ msgstr "Yleiset baset" msgid "Confirm" msgstr "Vahvista" -#: src/pages/AddLiquidity/index.tsx -msgid "Confirm Create" -msgstr "Vahvista Luo" - #: src/pages/AddLiquidityV2/ConfirmAddModalBottom.tsx msgid "Confirm Supply" msgstr "Vahvista tarjonta" @@ -554,10 +549,6 @@ msgstr "Kopioitu" msgid "Copy Address" msgstr "Kopioi osoite" -#: src/pages/AddLiquidity/index.tsx -msgid "Create" -msgstr "Luoda" - #: src/pages/AddLiquidityV2/ConfirmAddModalBottom.tsx msgid "Create Pool & Supply" msgstr "Luo pooli ja tarjonta" @@ -1661,10 +1652,6 @@ msgstr "Tämä sovellus käyttää seuraavia kolmannen osapuolen sovellusliittym msgid "This pool must be initialized before you can add liquidity. To initialize, select a starting price for the pool. Then, enter your liquidity price range and deposit amount. Gas fees will be higher than usual due to the initialization transaction." msgstr "Tämä pooli on alustettava, ennen kuin voit lisätä likviditeettiä. Alusta valitsemalla altaan aloitushinta. Syötä sitten likviditeetin hintaluokka ja talletussumma. Kaasumaksut ovat tavallista korkeampia alustustapahtuman takia." -#: src/pages/AddLiquidity/index.tsx -msgid "This pool must be initialized on {0} before you can add liquidity. To initialize, select a starting price for the pool. Then, enter your liquidity price range and deposit amount." -msgstr "Tämä pooli on alustettava arvoon {0} ennen kuin voit lisätä likviditeettiä. Alusta valitsemalla altaan aloitushinta. Syötä sitten likviditeetin hintaluokka ja talletussumma." - #: src/components/swap/SwapRoute.tsx msgid "This route optimizes your price by considering split routes, multiple hops, and gas costs." msgstr "Tämä reitti optimoi hintasi ottamalla huomioon jaetut reitit, useita hyppyjä ja kaasukustannuksia." diff --git a/src/locales/fr-FR.po b/src/locales/fr-FR.po index 7d126fcdba..1ff31fd275 100644 --- a/src/locales/fr-FR.po +++ b/src/locales/fr-FR.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-11 16:07\n" +"PO-Revision-Date: 2021-11-11 21:07\n" "Last-Translator: \n" "Language: fr_FR\n" "Language-Team: French\n" @@ -150,7 +150,6 @@ msgstr "Actif" #: src/components/PositionCard/index.tsx #: src/pages/AddLiquidity/index.tsx -#: src/pages/AddLiquidity/index.tsx msgid "Add" msgstr "Ajouter" @@ -483,10 +482,6 @@ msgstr "Bases communes" msgid "Confirm" msgstr "Valider" -#: src/pages/AddLiquidity/index.tsx -msgid "Confirm Create" -msgstr "Confirmer la création" - #: src/pages/AddLiquidityV2/ConfirmAddModalBottom.tsx msgid "Confirm Supply" msgstr "Valider la fourniture" @@ -554,10 +549,6 @@ msgstr "Copié" msgid "Copy Address" msgstr "Copier l'adresse" -#: src/pages/AddLiquidity/index.tsx -msgid "Create" -msgstr "Créer" - #: src/pages/AddLiquidityV2/ConfirmAddModalBottom.tsx msgid "Create Pool & Supply" msgstr "Créer un Pool & Approvisionner" @@ -1661,10 +1652,6 @@ msgstr "Cette application utilise les API tierces suivantes :" msgid "This pool must be initialized before you can add liquidity. To initialize, select a starting price for the pool. Then, enter your liquidity price range and deposit amount. Gas fees will be higher than usual due to the initialization transaction." msgstr "Ce pool doit être initialisé avant de pouvoir ajouter des liquidités. Pour initialiser, sélectionnez un prix de départ pour le pool. Ensuite, entrez votre fourchette de prix de liquidité et le montant du dépôt. Les frais de gaz seront plus élevés que d'habitude en raison de la transaction d'initialisation." -#: src/pages/AddLiquidity/index.tsx -msgid "This pool must be initialized on {0} before you can add liquidity. To initialize, select a starting price for the pool. Then, enter your liquidity price range and deposit amount." -msgstr "Ce pool doit être initialisé à {0} avant de pouvoir ajouter de la liquidité. Pour initialiser, sélectionnez un prix de départ pour le pool. Ensuite, entrez votre fourchette de prix de liquidité et le montant du dépôt." - #: src/components/swap/SwapRoute.tsx msgid "This route optimizes your price by considering split routes, multiple hops, and gas costs." msgstr "Cet itinéraire optimise votre prix en tenant compte des itinéraires fractionnés, des sauts multiples et des coûts de gaz." diff --git a/src/locales/he-IL.po b/src/locales/he-IL.po index 0466f42ecc..260a5c35b7 100644 --- a/src/locales/he-IL.po +++ b/src/locales/he-IL.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-11 16:07\n" +"PO-Revision-Date: 2021-11-11 21:07\n" "Last-Translator: \n" "Language: he_IL\n" "Language-Team: Hebrew\n" @@ -150,7 +150,6 @@ msgstr "פָּעִיל" #: src/components/PositionCard/index.tsx #: src/pages/AddLiquidity/index.tsx -#: src/pages/AddLiquidity/index.tsx msgid "Add" msgstr "הוספה" @@ -483,10 +482,6 @@ msgstr "מכנים משותפים" msgid "Confirm" msgstr "לְאַשֵׁר" -#: src/pages/AddLiquidity/index.tsx -msgid "Confirm Create" -msgstr "אשר יצירת" - #: src/pages/AddLiquidityV2/ConfirmAddModalBottom.tsx msgid "Confirm Supply" msgstr "אשר אספקה" @@ -554,10 +549,6 @@ msgstr "מוּעֲתָק" msgid "Copy Address" msgstr "העתק כתובת" -#: src/pages/AddLiquidity/index.tsx -msgid "Create" -msgstr "לִיצוֹר" - #: src/pages/AddLiquidityV2/ConfirmAddModalBottom.tsx msgid "Create Pool & Supply" msgstr "צור בריכה ואספקה" @@ -1661,10 +1652,6 @@ msgstr "אפליקציה זו משתמשת בממשקי ה-API של צד שלי msgid "This pool must be initialized before you can add liquidity. To initialize, select a starting price for the pool. Then, enter your liquidity price range and deposit amount. Gas fees will be higher than usual due to the initialization transaction." msgstr "יש לאתחל את המאגר הזה לפני שתוכל להוסיף נזילות. כדי לאתחל, בחר מחיר התחלתי לבריכה. לאחר מכן, הזן את טווח מחירי הנזילות ואת סכום ההפקדה. דמי הגז יהיו גבוהים מהרגיל עקב עסקת האתחול." -#: src/pages/AddLiquidity/index.tsx -msgid "This pool must be initialized on {0} before you can add liquidity. To initialize, select a starting price for the pool. Then, enter your liquidity price range and deposit amount." -msgstr "יש לאתחל את המאגר הזה ב- {0} לפני שתוכל להוסיף נזילות. כדי לאתחל, בחר מחיר התחלתי לבריכה. לאחר מכן, הזן את טווח מחירי הנזילות ואת סכום ההפקדה." - #: src/components/swap/SwapRoute.tsx msgid "This route optimizes your price by considering split routes, multiple hops, and gas costs." msgstr "מסלול זה מייעל את המחיר שלך על ידי התחשבות במסלולים מפוצלים, כשות מרובות ועלויות גז." diff --git a/src/locales/hu-HU.po b/src/locales/hu-HU.po index 2cd2210a96..bdc56608db 100644 --- a/src/locales/hu-HU.po +++ b/src/locales/hu-HU.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-11 16:07\n" +"PO-Revision-Date: 2021-11-11 21:07\n" "Last-Translator: \n" "Language: hu_HU\n" "Language-Team: Hungarian\n" @@ -150,7 +150,6 @@ msgstr "Aktív" #: src/components/PositionCard/index.tsx #: src/pages/AddLiquidity/index.tsx -#: src/pages/AddLiquidity/index.tsx msgid "Add" msgstr "Hozzáadás" @@ -483,10 +482,6 @@ msgstr "Közös alapok" msgid "Confirm" msgstr "Megerősítés" -#: src/pages/AddLiquidity/index.tsx -msgid "Confirm Create" -msgstr "Erősítse meg a létrehozást" - #: src/pages/AddLiquidityV2/ConfirmAddModalBottom.tsx msgid "Confirm Supply" msgstr "Kínálat megerősítése" @@ -554,10 +549,6 @@ msgstr "Másolva" msgid "Copy Address" msgstr "Cím másolása" -#: src/pages/AddLiquidity/index.tsx -msgid "Create" -msgstr "Teremt" - #: src/pages/AddLiquidityV2/ConfirmAddModalBottom.tsx msgid "Create Pool & Supply" msgstr "Pool és kínálat létrehozása" @@ -1662,10 +1653,6 @@ msgstr "Ez az alkalmazás a következő harmadik féltől származó API-kat has msgid "This pool must be initialized before you can add liquidity. To initialize, select a starting price for the pool. Then, enter your liquidity price range and deposit amount. Gas fees will be higher than usual due to the initialization transaction." msgstr "Ezt a készletet inicializálni kell a likviditás növelése előtt. Az inicializáláshoz válassza ki a készlet kikiáltási árát. Ezután adja meg likviditási ártartományát és betéti összegét. Az inicializálási tranzakció miatt a gázdíjak a szokásosnál magasabbak lesznek." -#: src/pages/AddLiquidity/index.tsx -msgid "This pool must be initialized on {0} before you can add liquidity. To initialize, select a starting price for the pool. Then, enter your liquidity price range and deposit amount." -msgstr "{0} on kell inicializálni, mielőtt hozzáadhatná a likviditást. Az inicializáláshoz válassza ki a készlet kikiáltási árát. Ezután adja meg likviditási ártartományát és betéti összegét." - #: src/components/swap/SwapRoute.tsx msgid "This route optimizes your price by considering split routes, multiple hops, and gas costs." msgstr "Ez az útvonal optimalizálja az árát, figyelembe véve a megosztott útvonalakat, a több ugrást és a gázköltségeket." diff --git a/src/locales/id-ID.po b/src/locales/id-ID.po index 52eeb976b9..a1f29aff29 100644 --- a/src/locales/id-ID.po +++ b/src/locales/id-ID.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-11 16:07\n" +"PO-Revision-Date: 2021-11-11 21:07\n" "Last-Translator: \n" "Language: id_ID\n" "Language-Team: Indonesian\n" @@ -150,7 +150,6 @@ msgstr "Aktif" #: src/components/PositionCard/index.tsx #: src/pages/AddLiquidity/index.tsx -#: src/pages/AddLiquidity/index.tsx msgid "Add" msgstr "Tambahkan" @@ -483,10 +482,6 @@ msgstr "Basis umum" msgid "Confirm" msgstr "Konfirmasikan" -#: src/pages/AddLiquidity/index.tsx -msgid "Confirm Create" -msgstr "Konfirmasi Buat" - #: src/pages/AddLiquidityV2/ConfirmAddModalBottom.tsx msgid "Confirm Supply" msgstr "Konfirmasikan Pasokan" @@ -554,10 +549,6 @@ msgstr "Disalin" msgid "Copy Address" msgstr "Salin Alamat" -#: src/pages/AddLiquidity/index.tsx -msgid "Create" -msgstr "Membuat" - #: src/pages/AddLiquidityV2/ConfirmAddModalBottom.tsx msgid "Create Pool & Supply" msgstr "Buat Pool & Pasokan" @@ -1661,10 +1652,6 @@ msgstr "Aplikasi ini menggunakan API pihak ketiga berikut:" msgid "This pool must be initialized before you can add liquidity. To initialize, select a starting price for the pool. Then, enter your liquidity price range and deposit amount. Gas fees will be higher than usual due to the initialization transaction." msgstr "Pool ini harus diinisialisasi sebelum Anda dapat menambahkan likuiditas. Untuk menginisialisasi, pilih harga awal untuk pool. Kemudian, masukkan kisaran harga likuiditas dan jumlah deposit Anda. Biaya gas akan lebih tinggi dari biasanya karena transaksi inisialisasi." -#: src/pages/AddLiquidity/index.tsx -msgid "This pool must be initialized on {0} before you can add liquidity. To initialize, select a starting price for the pool. Then, enter your liquidity price range and deposit amount." -msgstr "Pool ini harus diinisialisasi pada {0} sebelum Anda dapat menambahkan likuiditas. Untuk menginisialisasi, pilih harga awal untuk kumpulan. Kemudian, masukkan kisaran harga likuiditas dan jumlah deposit Anda." - #: src/components/swap/SwapRoute.tsx msgid "This route optimizes your price by considering split routes, multiple hops, and gas costs." msgstr "Rute ini mengoptimalkan harga Anda dengan mempertimbangkan rute terpisah, beberapa lompatan, dan biaya bahan bakar." diff --git a/src/locales/it-IT.po b/src/locales/it-IT.po index 6f3c2cb268..d0b8a7d91f 100644 --- a/src/locales/it-IT.po +++ b/src/locales/it-IT.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-11 16:07\n" +"PO-Revision-Date: 2021-11-11 21:07\n" "Last-Translator: \n" "Language: it_IT\n" "Language-Team: Italian\n" @@ -150,7 +150,6 @@ msgstr "Attivo" #: src/components/PositionCard/index.tsx #: src/pages/AddLiquidity/index.tsx -#: src/pages/AddLiquidity/index.tsx msgid "Add" msgstr "Aggiungi" @@ -483,10 +482,6 @@ msgstr "Basi comuni" msgid "Confirm" msgstr "Conferma" -#: src/pages/AddLiquidity/index.tsx -msgid "Confirm Create" -msgstr "Conferma Crea" - #: src/pages/AddLiquidityV2/ConfirmAddModalBottom.tsx msgid "Confirm Supply" msgstr "Conferma Fornitura" @@ -554,10 +549,6 @@ msgstr "Copiato" msgid "Copy Address" msgstr "Copia Indirizzo" -#: src/pages/AddLiquidity/index.tsx -msgid "Create" -msgstr "Creare" - #: src/pages/AddLiquidityV2/ConfirmAddModalBottom.tsx msgid "Create Pool & Supply" msgstr "Crea Pool e Fornitura" @@ -1661,10 +1652,6 @@ msgstr "Questa app utilizza le seguenti API di terze parti:" msgid "This pool must be initialized before you can add liquidity. To initialize, select a starting price for the pool. Then, enter your liquidity price range and deposit amount. Gas fees will be higher than usual due to the initialization transaction." msgstr "Questo pool deve essere inizializzato prima di poter aggiungere liquidità. Per inizializzare, seleziona un prezzo di partenza per il pool. Quindi, inserisci la tua fascia di prezzo della liquidità e l'importo del deposito. Le tariffe del gas saranno più alte del solito a causa della transazione di inizializzazione." -#: src/pages/AddLiquidity/index.tsx -msgid "This pool must be initialized on {0} before you can add liquidity. To initialize, select a starting price for the pool. Then, enter your liquidity price range and deposit amount." -msgstr "Questo pool deve essere inizializzato su {0} prima di poter aggiungere liquidità. Per inizializzare, seleziona un prezzo di partenza per il pool. Quindi, inserisci la tua fascia di prezzo della liquidità e l'importo del deposito." - #: src/components/swap/SwapRoute.tsx msgid "This route optimizes your price by considering split routes, multiple hops, and gas costs." msgstr "Questo percorso ottimizza il tuo prezzo considerando percorsi divisi, più luppoli e costi del gas." diff --git a/src/locales/ja-JP.po b/src/locales/ja-JP.po index b36aa308a0..59ec755355 100644 --- a/src/locales/ja-JP.po +++ b/src/locales/ja-JP.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-11 16:07\n" +"PO-Revision-Date: 2021-11-11 21:07\n" "Last-Translator: \n" "Language: ja_JP\n" "Language-Team: Japanese\n" @@ -150,7 +150,6 @@ msgstr "アクティブ" #: src/components/PositionCard/index.tsx #: src/pages/AddLiquidity/index.tsx -#: src/pages/AddLiquidity/index.tsx msgid "Add" msgstr "追加" @@ -483,10 +482,6 @@ msgstr "共通のベース" msgid "Confirm" msgstr "確認" -#: src/pages/AddLiquidity/index.tsx -msgid "Confirm Create" -msgstr "作成の確認" - #: src/pages/AddLiquidityV2/ConfirmAddModalBottom.tsx msgid "Confirm Supply" msgstr "供給を確認" @@ -554,10 +549,6 @@ msgstr "コピーしました" msgid "Copy Address" msgstr "アドレスをコピー" -#: src/pages/AddLiquidity/index.tsx -msgid "Create" -msgstr "作成する" - #: src/pages/AddLiquidityV2/ConfirmAddModalBottom.tsx msgid "Create Pool & Supply" msgstr "プール作成と流動性の追加" @@ -1661,10 +1652,6 @@ msgstr "このアプリは、次のサードパーティAPIを使用します。 msgid "This pool must be initialized before you can add liquidity. To initialize, select a starting price for the pool. Then, enter your liquidity price range and deposit amount. Gas fees will be higher than usual due to the initialization transaction." msgstr "流動性を追加する前に、このプールを初期化する必要があります。初期化するには、プールの開始価格を選択します。次に、流動性の価格帯と預け入れ数量を入力します。初期化取引のため、ガス料金は通常より高くなります。" -#: src/pages/AddLiquidity/index.tsx -msgid "This pool must be initialized on {0} before you can add liquidity. To initialize, select a starting price for the pool. Then, enter your liquidity price range and deposit amount." -msgstr "流動性を追加する前に {0} に初期化する必要があります。初期化するには、プールの開始価格を選択します。次に、流動性の価格帯と預け入れ数量を入力します。" - #: src/components/swap/SwapRoute.tsx msgid "This route optimizes your price by considering split routes, multiple hops, and gas costs." msgstr "このルートは、分割ルート、複数のホップ、およびガスのコストを考慮して価格を最適化します。" diff --git a/src/locales/ko-KR.po b/src/locales/ko-KR.po index cb708c1141..1ed0ce52bc 100644 --- a/src/locales/ko-KR.po +++ b/src/locales/ko-KR.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-11 16:07\n" +"PO-Revision-Date: 2021-11-11 21:07\n" "Last-Translator: \n" "Language: ko_KR\n" "Language-Team: Korean\n" @@ -150,7 +150,6 @@ msgstr "활성" #: src/components/PositionCard/index.tsx #: src/pages/AddLiquidity/index.tsx -#: src/pages/AddLiquidity/index.tsx msgid "Add" msgstr "추가" @@ -483,10 +482,6 @@ msgstr "공통 기준" msgid "Confirm" msgstr "확인" -#: src/pages/AddLiquidity/index.tsx -msgid "Confirm Create" -msgstr "생성 확인" - #: src/pages/AddLiquidityV2/ConfirmAddModalBottom.tsx msgid "Confirm Supply" msgstr "공급 확인" @@ -554,10 +549,6 @@ msgstr "복사 됨" msgid "Copy Address" msgstr "주소 복사" -#: src/pages/AddLiquidity/index.tsx -msgid "Create" -msgstr "창조하다" - #: src/pages/AddLiquidityV2/ConfirmAddModalBottom.tsx msgid "Create Pool & Supply" msgstr "풀 생성 및 공급" @@ -1661,10 +1652,6 @@ msgstr "이 앱은 다음 타사 API를 사용합니다." msgid "This pool must be initialized before you can add liquidity. To initialize, select a starting price for the pool. Then, enter your liquidity price range and deposit amount. Gas fees will be higher than usual due to the initialization transaction." msgstr "유동성을 추가하려면 이 풀을 초기화해야 합니다. 초기화하려면 풀의 시작 가격을 선택하십시오. 그런 다음 유동성 가격 범위와 예금 금액을 입력하십시오. 초기화 트랜잭션으로 인해 가스 요금이 평소보다 높아집니다." -#: src/pages/AddLiquidity/index.tsx -msgid "This pool must be initialized on {0} before you can add liquidity. To initialize, select a starting price for the pool. Then, enter your liquidity price range and deposit amount." -msgstr "유동성을 추가하려면 이 풀을 {0} 초기화하려면 풀의 시작 가격을 선택하십시오. 그런 다음 유동성 가격 범위와 예금 금액을 입력하십시오." - #: src/components/swap/SwapRoute.tsx msgid "This route optimizes your price by considering split routes, multiple hops, and gas costs." msgstr "이 경로는 분할 경로, 다중 홉 및 가스 비용을 고려하여 가격을 최적화합니다." diff --git a/src/locales/nl-NL.po b/src/locales/nl-NL.po index 46bc9d56ce..a0a41babbc 100644 --- a/src/locales/nl-NL.po +++ b/src/locales/nl-NL.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-11 16:07\n" +"PO-Revision-Date: 2021-11-11 21:07\n" "Last-Translator: \n" "Language: nl_NL\n" "Language-Team: Dutch\n" @@ -150,7 +150,6 @@ msgstr "Actief" #: src/components/PositionCard/index.tsx #: src/pages/AddLiquidity/index.tsx -#: src/pages/AddLiquidity/index.tsx msgid "Add" msgstr "Toevoegen" @@ -483,10 +482,6 @@ msgstr "Gemeenschappelijke bases" msgid "Confirm" msgstr "Bevestigen" -#: src/pages/AddLiquidity/index.tsx -msgid "Confirm Create" -msgstr "Bevestig Aanmaken" - #: src/pages/AddLiquidityV2/ConfirmAddModalBottom.tsx msgid "Confirm Supply" msgstr "Bevestig levering" @@ -554,10 +549,6 @@ msgstr "Gekopieerd" msgid "Copy Address" msgstr "Adres kopiëren" -#: src/pages/AddLiquidity/index.tsx -msgid "Create" -msgstr "Aanmaken" - #: src/pages/AddLiquidityV2/ConfirmAddModalBottom.tsx msgid "Create Pool & Supply" msgstr "Maak pool en levering aan" @@ -1661,10 +1652,6 @@ msgstr "Deze app gebruikt de volgende API's van derden:" msgid "This pool must be initialized before you can add liquidity. To initialize, select a starting price for the pool. Then, enter your liquidity price range and deposit amount. Gas fees will be higher than usual due to the initialization transaction." msgstr "Deze pool moet worden geïnitialiseerd voordat u liquiditeit kunt toevoegen. Selecteer een startprijs voor het zwembad om te initialiseren. Voer vervolgens uw liquiditeitsprijsbereik en stortingsbedrag in. Vanwege de initialisatietransactie zullen de gaskosten hoger zijn dan normaal." -#: src/pages/AddLiquidity/index.tsx -msgid "This pool must be initialized on {0} before you can add liquidity. To initialize, select a starting price for the pool. Then, enter your liquidity price range and deposit amount." -msgstr "Deze pool moet worden geïnitialiseerd op {0} voordat u liquiditeit kunt toevoegen. Selecteer een startprijs voor het zwembad om te initialiseren. Voer vervolgens uw liquiditeitsprijsbereik en stortingsbedrag in." - #: src/components/swap/SwapRoute.tsx msgid "This route optimizes your price by considering split routes, multiple hops, and gas costs." msgstr "Deze route optimaliseert uw prijs door rekening te houden met gesplitste routes, meerdere hops en gaskosten." diff --git a/src/locales/no-NO.po b/src/locales/no-NO.po index 55debd53da..e680231528 100644 --- a/src/locales/no-NO.po +++ b/src/locales/no-NO.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-11 16:07\n" +"PO-Revision-Date: 2021-11-11 21:07\n" "Last-Translator: \n" "Language: no_NO\n" "Language-Team: Norwegian\n" @@ -150,7 +150,6 @@ msgstr "Aktiv" #: src/components/PositionCard/index.tsx #: src/pages/AddLiquidity/index.tsx -#: src/pages/AddLiquidity/index.tsx msgid "Add" msgstr "Legg til" @@ -483,10 +482,6 @@ msgstr "Vanlige baser" msgid "Confirm" msgstr "Bekreft" -#: src/pages/AddLiquidity/index.tsx -msgid "Confirm Create" -msgstr "Bekreft Opprett" - #: src/pages/AddLiquidityV2/ConfirmAddModalBottom.tsx msgid "Confirm Supply" msgstr "Bekreft levering" @@ -554,10 +549,6 @@ msgstr "Kopiert" msgid "Copy Address" msgstr "Kopier adresse" -#: src/pages/AddLiquidity/index.tsx -msgid "Create" -msgstr "Skape" - #: src/pages/AddLiquidityV2/ConfirmAddModalBottom.tsx msgid "Create Pool & Supply" msgstr "Opprett samling & forsyning" @@ -1661,10 +1652,6 @@ msgstr "Denne appen bruker følgende tredjeparts APIer:" msgid "This pool must be initialized before you can add liquidity. To initialize, select a starting price for the pool. Then, enter your liquidity price range and deposit amount. Gas fees will be higher than usual due to the initialization transaction." msgstr "Dette bassenget må initialiseres før du kan tilføre likviditet. For å initialisere, velg en startpris for bassenget. Deretter angir du likviditetsprisklasse og innskuddsbeløp. Bensinavgifter vil være høyere enn vanlig på grunn av initialiseringstransaksjonen." -#: src/pages/AddLiquidity/index.tsx -msgid "This pool must be initialized on {0} before you can add liquidity. To initialize, select a starting price for the pool. Then, enter your liquidity price range and deposit amount." -msgstr "Dette bassenget må initialiseres {0} før du kan tilføre likviditet. For å initialisere, velg en startpris for bassenget. Deretter angir du likviditetsprisklasse og innskuddsbeløp." - #: src/components/swap/SwapRoute.tsx msgid "This route optimizes your price by considering split routes, multiple hops, and gas costs." msgstr "Denne ruten optimaliserer prisen ved å vurdere delte ruter, flere hopp og bensinkostnader." diff --git a/src/locales/pl-PL.po b/src/locales/pl-PL.po index 1905869910..e4cebcbdde 100644 --- a/src/locales/pl-PL.po +++ b/src/locales/pl-PL.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-11 16:07\n" +"PO-Revision-Date: 2021-11-11 21:07\n" "Last-Translator: \n" "Language: pl_PL\n" "Language-Team: Polish\n" @@ -150,7 +150,6 @@ msgstr "Aktywne" #: src/components/PositionCard/index.tsx #: src/pages/AddLiquidity/index.tsx -#: src/pages/AddLiquidity/index.tsx msgid "Add" msgstr "Dodaj" @@ -483,10 +482,6 @@ msgstr "Wspólne podstawy" msgid "Confirm" msgstr "Potwierdź" -#: src/pages/AddLiquidity/index.tsx -msgid "Confirm Create" -msgstr "Potwierdź utworzenie" - #: src/pages/AddLiquidityV2/ConfirmAddModalBottom.tsx msgid "Confirm Supply" msgstr "Potwierdź dostawę" @@ -554,10 +549,6 @@ msgstr "Skopiowano" msgid "Copy Address" msgstr "Kopiuj adres" -#: src/pages/AddLiquidity/index.tsx -msgid "Create" -msgstr "Stwórz" - #: src/pages/AddLiquidityV2/ConfirmAddModalBottom.tsx msgid "Create Pool & Supply" msgstr "Utwórz Pulę i Zaopatrzenie" @@ -1661,10 +1652,6 @@ msgstr "Ta aplikacja korzysta z następujących interfejsów API innych firm:" msgid "This pool must be initialized before you can add liquidity. To initialize, select a starting price for the pool. Then, enter your liquidity price range and deposit amount. Gas fees will be higher than usual due to the initialization transaction." msgstr "Ta pula musi zostać zainicjowana, zanim będzie można dodać płynność. Aby zainicjować, wybierz cenę wywoławczą dla puli. Następnie wprowadź zakres cen płynności i kwotę depozytu. Opłaty za gaz będą wyższe niż zwykle ze względu na transakcję inicjalizacji." -#: src/pages/AddLiquidity/index.tsx -msgid "This pool must be initialized on {0} before you can add liquidity. To initialize, select a starting price for the pool. Then, enter your liquidity price range and deposit amount." -msgstr "Ta pula musi zostać zainicjowana na {0} zanim będzie można dodać płynność. Aby zainicjować, wybierz cenę wywoławczą dla puli. Następnie wprowadź zakres cen płynności i kwotę depozytu." - #: src/components/swap/SwapRoute.tsx msgid "This route optimizes your price by considering split routes, multiple hops, and gas costs." msgstr "Ta trasa optymalizuje cenę, biorąc pod uwagę podzielone trasy, wiele przeskoków i koszty gazu." diff --git a/src/locales/pt-BR.po b/src/locales/pt-BR.po index cdd462c048..d32bfe924a 100644 --- a/src/locales/pt-BR.po +++ b/src/locales/pt-BR.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-11 16:07\n" +"PO-Revision-Date: 2021-11-11 21:07\n" "Last-Translator: \n" "Language: pt_BR\n" "Language-Team: Portuguese, Brazilian\n" @@ -150,7 +150,6 @@ msgstr "Ativa" #: src/components/PositionCard/index.tsx #: src/pages/AddLiquidity/index.tsx -#: src/pages/AddLiquidity/index.tsx msgid "Add" msgstr "Adicionar" @@ -483,10 +482,6 @@ msgstr "Bases comuns" msgid "Confirm" msgstr "Confirmar" -#: src/pages/AddLiquidity/index.tsx -msgid "Confirm Create" -msgstr "Confirme a criação" - #: src/pages/AddLiquidityV2/ConfirmAddModalBottom.tsx msgid "Confirm Supply" msgstr "Confirmar fornecimento" @@ -554,10 +549,6 @@ msgstr "Copiado" msgid "Copy Address" msgstr "Copiar endereço" -#: src/pages/AddLiquidity/index.tsx -msgid "Create" -msgstr "Crio" - #: src/pages/AddLiquidityV2/ConfirmAddModalBottom.tsx msgid "Create Pool & Supply" msgstr "Criar Lote e Fornecimento" @@ -1661,10 +1652,6 @@ msgstr "Este aplicativo usa as seguintes APIs de terceiros:" msgid "This pool must be initialized before you can add liquidity. To initialize, select a starting price for the pool. Then, enter your liquidity price range and deposit amount. Gas fees will be higher than usual due to the initialization transaction." msgstr "Este pool deve ser inicializado antes que você possa adicionar liquidez. Para inicializar, selecione um preço inicial para o pool. Em seguida, insira sua faixa de preço de liquidez e o valor do depósito. As taxas de gás serão mais altas do que o normal devido à transação de inicialização." -#: src/pages/AddLiquidity/index.tsx -msgid "This pool must be initialized on {0} before you can add liquidity. To initialize, select a starting price for the pool. Then, enter your liquidity price range and deposit amount." -msgstr "Este pool deve ser inicializado em {0} antes que você possa adicionar liquidez. Para inicializar, selecione um preço inicial para o pool. Em seguida, insira sua faixa de preço de liquidez e o valor do depósito." - #: src/components/swap/SwapRoute.tsx msgid "This route optimizes your price by considering split routes, multiple hops, and gas costs." msgstr "Esta rota otimiza seu preço considerando rotas divididas, vários saltos e custos de gás." diff --git a/src/locales/pt-PT.po b/src/locales/pt-PT.po index b432625e80..8a42669ddb 100644 --- a/src/locales/pt-PT.po +++ b/src/locales/pt-PT.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-11 16:07\n" +"PO-Revision-Date: 2021-11-11 21:07\n" "Last-Translator: \n" "Language: pt_PT\n" "Language-Team: Portuguese\n" @@ -150,7 +150,6 @@ msgstr "Ativo" #: src/components/PositionCard/index.tsx #: src/pages/AddLiquidity/index.tsx -#: src/pages/AddLiquidity/index.tsx msgid "Add" msgstr "Adicionar" @@ -483,10 +482,6 @@ msgstr "Bases comuns" msgid "Confirm" msgstr "Confirmar" -#: src/pages/AddLiquidity/index.tsx -msgid "Confirm Create" -msgstr "Confirme a criação" - #: src/pages/AddLiquidityV2/ConfirmAddModalBottom.tsx msgid "Confirm Supply" msgstr "Confirmar fornecimento" @@ -554,10 +549,6 @@ msgstr "Copiado" msgid "Copy Address" msgstr "Copiar Endereço" -#: src/pages/AddLiquidity/index.tsx -msgid "Create" -msgstr "Crio" - #: src/pages/AddLiquidityV2/ConfirmAddModalBottom.tsx msgid "Create Pool & Supply" msgstr "Criar Pool e Oferta" @@ -1661,10 +1652,6 @@ msgstr "Este aplicativo usa as seguintes APIs de terceiros:" msgid "This pool must be initialized before you can add liquidity. To initialize, select a starting price for the pool. Then, enter your liquidity price range and deposit amount. Gas fees will be higher than usual due to the initialization transaction." msgstr "Este pool deve ser inicializado antes que você possa adicionar liquidez. Para inicializar, selecione um preço inicial para o pool. Em seguida, insira sua faixa de preço de liquidez e o valor do depósito. As taxas de gás serão mais altas do que o normal devido à transação de inicialização." -#: src/pages/AddLiquidity/index.tsx -msgid "This pool must be initialized on {0} before you can add liquidity. To initialize, select a starting price for the pool. Then, enter your liquidity price range and deposit amount." -msgstr "Este pool deve ser inicializado em {0} antes que você possa adicionar liquidez. Para inicializar, selecione um preço inicial para o pool. Em seguida, insira sua faixa de preço de liquidez e o valor do depósito." - #: src/components/swap/SwapRoute.tsx msgid "This route optimizes your price by considering split routes, multiple hops, and gas costs." msgstr "Esta rota otimiza seu preço considerando rotas divididas, vários saltos e custos de gás." diff --git a/src/locales/ro-RO.po b/src/locales/ro-RO.po index 593c479061..b85b178879 100644 --- a/src/locales/ro-RO.po +++ b/src/locales/ro-RO.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-11 16:07\n" +"PO-Revision-Date: 2021-11-11 21:07\n" "Last-Translator: \n" "Language: ro_RO\n" "Language-Team: Romanian\n" @@ -150,7 +150,6 @@ msgstr "Activ" #: src/components/PositionCard/index.tsx #: src/pages/AddLiquidity/index.tsx -#: src/pages/AddLiquidity/index.tsx msgid "Add" msgstr "Adăugare" @@ -483,10 +482,6 @@ msgstr "Baze comune" msgid "Confirm" msgstr "Confirmare" -#: src/pages/AddLiquidity/index.tsx -msgid "Confirm Create" -msgstr "Confirmați Creați" - #: src/pages/AddLiquidityV2/ConfirmAddModalBottom.tsx msgid "Confirm Supply" msgstr "Confirmă Aprovizionarea" @@ -554,10 +549,6 @@ msgstr "Copiat" msgid "Copy Address" msgstr "Copiază Adresa" -#: src/pages/AddLiquidity/index.tsx -msgid "Create" -msgstr "Crea" - #: src/pages/AddLiquidityV2/ConfirmAddModalBottom.tsx msgid "Create Pool & Supply" msgstr "Crează Rezervă & Aprovizionare" @@ -1661,10 +1652,6 @@ msgstr "Această aplicație folosește următoarele API-uri terță parte:" msgid "This pool must be initialized before you can add liquidity. To initialize, select a starting price for the pool. Then, enter your liquidity price range and deposit amount. Gas fees will be higher than usual due to the initialization transaction." msgstr "Acest pool trebuie inițializat înainte de a putea adăuga lichidități. Pentru a inițializa, selectați un preț de pornire pentru piscină. Apoi, introduceți intervalul de preț al lichidității și suma depozitului. Taxele pe gaz vor fi mai mari decât de obicei datorită tranzacției de inițializare." -#: src/pages/AddLiquidity/index.tsx -msgid "This pool must be initialized on {0} before you can add liquidity. To initialize, select a starting price for the pool. Then, enter your liquidity price range and deposit amount." -msgstr "Acest pool trebuie inițializat la {0} înainte de a putea adăuga lichiditate. Pentru a inițializa, selectați un preț de pornire pentru piscină. Apoi, introduceți intervalul de preț al lichidității și suma depozitului." - #: src/components/swap/SwapRoute.tsx msgid "This route optimizes your price by considering split routes, multiple hops, and gas costs." msgstr "Această rută vă optimizează prețul luând în considerare traseele împărțite, hameiul multiplu și costurile cu benzina." diff --git a/src/locales/ru-RU.po b/src/locales/ru-RU.po index 02ed993ec7..f8b126ed34 100644 --- a/src/locales/ru-RU.po +++ b/src/locales/ru-RU.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-11 16:07\n" +"PO-Revision-Date: 2021-11-11 21:07\n" "Last-Translator: \n" "Language: ru_RU\n" "Language-Team: Russian\n" @@ -150,7 +150,6 @@ msgstr "Активный" #: src/components/PositionCard/index.tsx #: src/pages/AddLiquidity/index.tsx -#: src/pages/AddLiquidity/index.tsx msgid "Add" msgstr "Добавить" @@ -483,10 +482,6 @@ msgstr "Часто используемые базовые" msgid "Confirm" msgstr "Подтвердить" -#: src/pages/AddLiquidity/index.tsx -msgid "Confirm Create" -msgstr "Подтвердить создание" - #: src/pages/AddLiquidityV2/ConfirmAddModalBottom.tsx msgid "Confirm Supply" msgstr "Подтвердить внесение" @@ -554,10 +549,6 @@ msgstr "Скопировано" msgid "Copy Address" msgstr "Копировать адрес" -#: src/pages/AddLiquidity/index.tsx -msgid "Create" -msgstr "Создать" - #: src/pages/AddLiquidityV2/ConfirmAddModalBottom.tsx msgid "Create Pool & Supply" msgstr "Создать пул и внести" @@ -1661,10 +1652,6 @@ msgstr "Это приложение использует следующие ст msgid "This pool must be initialized before you can add liquidity. To initialize, select a starting price for the pool. Then, enter your liquidity price range and deposit amount. Gas fees will be higher than usual due to the initialization transaction." msgstr "Этот пул необходимо инициализировать, прежде чем вы сможете добавить ликвидность. Для инициализации выберите начальную цену для пула. Затем введите диапазон цен для ликвидности и сумму депозита. Плата за газ будет выше, чем обычно, из-за инициализирующей транзакции." -#: src/pages/AddLiquidity/index.tsx -msgid "This pool must be initialized on {0} before you can add liquidity. To initialize, select a starting price for the pool. Then, enter your liquidity price range and deposit amount." -msgstr "Этот пул необходимо инициализировать в {0}, прежде чем вы сможете добавить ликвидность. Для инициализации выберите начальную цену для пула. Затем введите диапазон цен для ликвидности и сумму депозита." - #: src/components/swap/SwapRoute.tsx msgid "This route optimizes your price by considering split routes, multiple hops, and gas costs." msgstr "Этот маршрут оптимизирует вашу конечную цену с учётом возможности разбивки маршрутов, использования сложных маршрутов, а также стоимости газа." diff --git a/src/locales/sl-SI.po b/src/locales/sl-SI.po index 1052dc3f77..8e13483c0b 100644 --- a/src/locales/sl-SI.po +++ b/src/locales/sl-SI.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-11 16:07\n" +"PO-Revision-Date: 2021-11-11 21:07\n" "Last-Translator: \n" "Language: sl_SI\n" "Language-Team: Slovenian\n" @@ -150,7 +150,6 @@ msgstr "Aktiven" #: src/components/PositionCard/index.tsx #: src/pages/AddLiquidity/index.tsx -#: src/pages/AddLiquidity/index.tsx msgid "Add" msgstr "Dodaj" @@ -483,10 +482,6 @@ msgstr "Pogoste osnove" msgid "Confirm" msgstr "Potrdi" -#: src/pages/AddLiquidity/index.tsx -msgid "Confirm Create" -msgstr "Potrdi tvorbo" - #: src/pages/AddLiquidityV2/ConfirmAddModalBottom.tsx msgid "Confirm Supply" msgstr "Potrdi polog" @@ -554,10 +549,6 @@ msgstr "Kopirano" msgid "Copy Address" msgstr "Kopiraj naslov" -#: src/pages/AddLiquidity/index.tsx -msgid "Create" -msgstr "Ustvari" - #: src/pages/AddLiquidityV2/ConfirmAddModalBottom.tsx msgid "Create Pool & Supply" msgstr "Ustvari sklad & položi likvidnost" @@ -1661,10 +1652,6 @@ msgstr "Ta aplikacija uporablja naslednje API-je tretjih oseb:" msgid "This pool must be initialized before you can add liquidity. To initialize, select a starting price for the pool. Then, enter your liquidity price range and deposit amount. Gas fees will be higher than usual due to the initialization transaction." msgstr "Ta sklad je treba inicializirati, preden lahko dodate likvidnost. Za inicializacijo izberite začetno ceno za sklad. Nato vnesite svoj cenovni razpon likvidnosti in znesek depozita. Provizije za plin (gas) bodo zaradi inicializacijske transakcije višje kot običajno." -#: src/pages/AddLiquidity/index.tsx -msgid "This pool must be initialized on {0} before you can add liquidity. To initialize, select a starting price for the pool. Then, enter your liquidity price range and deposit amount." -msgstr "Ta sklad mora biti inicializiran na {0}, preden lahko dodate likvidnost. Za inicializacijo izberite začetno ceno za sklad. Nato vnesite svoj cenovni razpon likvidnosti in znesek depozita." - #: src/components/swap/SwapRoute.tsx msgid "This route optimizes your price by considering split routes, multiple hops, and gas costs." msgstr "Ta pot je optimalna ob upoštevanju razcepljenih in veriženih poti ter stroškov plina." diff --git a/src/locales/sr-SP.po b/src/locales/sr-SP.po index 34734823a8..281e1f2834 100644 --- a/src/locales/sr-SP.po +++ b/src/locales/sr-SP.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-11 16:07\n" +"PO-Revision-Date: 2021-11-11 21:07\n" "Last-Translator: \n" "Language: sr_SP\n" "Language-Team: Serbian (Cyrillic)\n" @@ -150,7 +150,6 @@ msgstr "Активно" #: src/components/PositionCard/index.tsx #: src/pages/AddLiquidity/index.tsx -#: src/pages/AddLiquidity/index.tsx msgid "Add" msgstr "Додати" @@ -483,10 +482,6 @@ msgstr "Заједничке основе" msgid "Confirm" msgstr "Потврди" -#: src/pages/AddLiquidity/index.tsx -msgid "Confirm Create" -msgstr "Потврдите Створи" - #: src/pages/AddLiquidityV2/ConfirmAddModalBottom.tsx msgid "Confirm Supply" msgstr "Потврдите снабдевање" @@ -554,10 +549,6 @@ msgstr "Копирано" msgid "Copy Address" msgstr "Копирај адресу" -#: src/pages/AddLiquidity/index.tsx -msgid "Create" -msgstr "Креирај" - #: src/pages/AddLiquidityV2/ConfirmAddModalBottom.tsx msgid "Create Pool & Supply" msgstr "Направите Фонд & Снабдевање" @@ -1661,10 +1652,6 @@ msgstr "Ova aplikacija koristi sledeće API-je treće strane:" msgid "This pool must be initialized before you can add liquidity. To initialize, select a starting price for the pool. Then, enter your liquidity price range and deposit amount. Gas fees will be higher than usual due to the initialization transaction." msgstr "Овај фонд мора бити иницијализован да бисте могли да додате ликвидност. Да бисте иницијализирали, одаберите почетну цену за базен. Затим унесите опсег цена ликвидности и износ депозита. Накнаде за плин биће веће него обично због трансакције иницијализације." -#: src/pages/AddLiquidity/index.tsx -msgid "This pool must be initialized on {0} before you can add liquidity. To initialize, select a starting price for the pool. Then, enter your liquidity price range and deposit amount." -msgstr "Овај фонд мора бити иницијализован на {0} да бисте могли да додате ликвидност. Да бисте иницијализирали, одаберите почетну цену за базен. Затим унесите опсег цена ликвидности и износ депозита." - #: src/components/swap/SwapRoute.tsx msgid "This route optimizes your price by considering split routes, multiple hops, and gas costs." msgstr "Ова рута оптимизује вашу цену узимајући у обзир подељене руте, више прескакања и трошкове гаса." diff --git a/src/locales/sv-SE.po b/src/locales/sv-SE.po index f7a835a1b0..9503485faf 100644 --- a/src/locales/sv-SE.po +++ b/src/locales/sv-SE.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-11 16:07\n" +"PO-Revision-Date: 2021-11-11 21:07\n" "Last-Translator: \n" "Language: sv_SE\n" "Language-Team: Swedish\n" @@ -150,7 +150,6 @@ msgstr "Aktivt" #: src/components/PositionCard/index.tsx #: src/pages/AddLiquidity/index.tsx -#: src/pages/AddLiquidity/index.tsx msgid "Add" msgstr "Lägg till" @@ -483,10 +482,6 @@ msgstr "Gemensamma baser" msgid "Confirm" msgstr "Bekräfta" -#: src/pages/AddLiquidity/index.tsx -msgid "Confirm Create" -msgstr "Bekräfta Skapa" - #: src/pages/AddLiquidityV2/ConfirmAddModalBottom.tsx msgid "Confirm Supply" msgstr "Bekräfta tillförsel" @@ -554,10 +549,6 @@ msgstr "Kopierad" msgid "Copy Address" msgstr "Kopiera adress" -#: src/pages/AddLiquidity/index.tsx -msgid "Create" -msgstr "Skapa" - #: src/pages/AddLiquidityV2/ConfirmAddModalBottom.tsx msgid "Create Pool & Supply" msgstr "Skapa pool & tillgång" @@ -1661,10 +1652,6 @@ msgstr "Den här appen använder följande API:er från tredje part:" msgid "This pool must be initialized before you can add liquidity. To initialize, select a starting price for the pool. Then, enter your liquidity price range and deposit amount. Gas fees will be higher than usual due to the initialization transaction." msgstr "Denna pool måste initieras innan du kan lägga till likviditet. För att initialisera, välj ett startpris för poolen. Ange sedan ditt likviditetsprisklass och insättningsbelopp. Gasavgifterna kommer att vara högre än vanligt på grund av initialiseringstransaktionen." -#: src/pages/AddLiquidity/index.tsx -msgid "This pool must be initialized on {0} before you can add liquidity. To initialize, select a starting price for the pool. Then, enter your liquidity price range and deposit amount." -msgstr "Denna pool måste initieras den {0} innan du kan lägga till likviditet. För att initialisera, välj ett startpris för poolen. Ange sedan ditt likviditetsprisklass och insättningsbelopp." - #: src/components/swap/SwapRoute.tsx msgid "This route optimizes your price by considering split routes, multiple hops, and gas costs." msgstr "Denna rutt optimerar ditt pris genom att överväga delade rutter, flera hopp och bensinkostnader." diff --git a/src/locales/sw-TZ.po b/src/locales/sw-TZ.po index 4960a01bd7..9e6bf497c9 100644 --- a/src/locales/sw-TZ.po +++ b/src/locales/sw-TZ.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-11 16:07\n" +"PO-Revision-Date: 2021-11-11 21:07\n" "Last-Translator: \n" "Language: sw_TZ\n" "Language-Team: Swahili, Tanzania\n" @@ -150,7 +150,6 @@ msgstr "Inatumika" #: src/components/PositionCard/index.tsx #: src/pages/AddLiquidity/index.tsx -#: src/pages/AddLiquidity/index.tsx msgid "Add" msgstr "Ongeza" @@ -483,10 +482,6 @@ msgstr "Besi za kawaida" msgid "Confirm" msgstr "Kubali" -#: src/pages/AddLiquidity/index.tsx -msgid "Confirm Create" -msgstr "Thibitisha Unda" - #: src/pages/AddLiquidityV2/ConfirmAddModalBottom.tsx msgid "Confirm Supply" msgstr "Thibitisha Ugavi" @@ -554,10 +549,6 @@ msgstr "Imenakiliwa" msgid "Copy Address" msgstr "Nakili Anwani" -#: src/pages/AddLiquidity/index.tsx -msgid "Create" -msgstr "Unda" - #: src/pages/AddLiquidityV2/ConfirmAddModalBottom.tsx msgid "Create Pool & Supply" msgstr "Unda Dimbwi na Ugavi" @@ -1661,10 +1652,6 @@ msgstr "Programu hii hutumia API za wahusika wengine zifuatazo:" msgid "This pool must be initialized before you can add liquidity. To initialize, select a starting price for the pool. Then, enter your liquidity price range and deposit amount. Gas fees will be higher than usual due to the initialization transaction." msgstr "Bwawa hili lazima lianzishwe kabla ya kuongeza ukwasi. Ili kuanzisha, chagua bei ya kuanzia ya bwawa. Kisha, ingiza anuwai ya bei ya ukwasi na kiwango cha amana. Ada ya gesi itakuwa kubwa kuliko kawaida kwa sababu ya shughuli za uanzishaji." -#: src/pages/AddLiquidity/index.tsx -msgid "This pool must be initialized on {0} before you can add liquidity. To initialize, select a starting price for the pool. Then, enter your liquidity price range and deposit amount." -msgstr "Bwawa hili lazima lianzishwe kwa {0} kabla ya kuongeza ukwasi. Ili kuanzisha, chagua bei ya kuanzia ya bwawa. Kisha, ingiza anuwai ya bei ya ukwasi na kiwango cha amana." - #: src/components/swap/SwapRoute.tsx msgid "This route optimizes your price by considering split routes, multiple hops, and gas costs." msgstr "Njia hii inaboresha bei yako kwa kuzingatia njia zilizogawanyika, hops nyingi, na gharama za gesi." diff --git a/src/locales/th-TH.po b/src/locales/th-TH.po index 79f6a46ed6..ac46eec958 100644 --- a/src/locales/th-TH.po +++ b/src/locales/th-TH.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-11 16:07\n" +"PO-Revision-Date: 2021-11-11 21:07\n" "Last-Translator: \n" "Language: th_TH\n" "Language-Team: Thai\n" @@ -150,7 +150,6 @@ msgstr "คล่องแคล่ว" #: src/components/PositionCard/index.tsx #: src/pages/AddLiquidity/index.tsx -#: src/pages/AddLiquidity/index.tsx msgid "Add" msgstr "เพิ่ม" @@ -483,10 +482,6 @@ msgstr "ฐานทั่วไป" msgid "Confirm" msgstr "ยืนยัน" -#: src/pages/AddLiquidity/index.tsx -msgid "Confirm Create" -msgstr "ยืนยันการสร้าง" - #: src/pages/AddLiquidityV2/ConfirmAddModalBottom.tsx msgid "Confirm Supply" msgstr "ยืนยันการจัดหา" @@ -554,10 +549,6 @@ msgstr "คัดลอกแล้ว" msgid "Copy Address" msgstr "คัดลอกที่อยู่" -#: src/pages/AddLiquidity/index.tsx -msgid "Create" -msgstr "สร้าง" - #: src/pages/AddLiquidityV2/ConfirmAddModalBottom.tsx msgid "Create Pool & Supply" msgstr "สร้างพูลและซัพพลาย" @@ -1661,10 +1652,6 @@ msgstr "แอพนี้ใช้ API บุคคลที่สามต่ msgid "This pool must be initialized before you can add liquidity. To initialize, select a starting price for the pool. Then, enter your liquidity price range and deposit amount. Gas fees will be higher than usual due to the initialization transaction." msgstr "ต้องเริ่มต้นกลุ่มนี้ก่อนจึงจะสามารถเพิ่มสภาพคล่องได้ ในการเริ่มต้น เลือกราคาเริ่มต้นสำหรับพูล จากนั้นป้อนช่วงราคาสภาพคล่องและจำนวนเงินฝาก ค่าธรรมเนียมก๊าซจะสูงกว่าปกติเนื่องจากการทำธุรกรรมเริ่มต้น" -#: src/pages/AddLiquidity/index.tsx -msgid "This pool must be initialized on {0} before you can add liquidity. To initialize, select a starting price for the pool. Then, enter your liquidity price range and deposit amount." -msgstr "พูลนี้ต้องเริ่มต้นในวันที่ {0} ก่อนที่คุณจะสามารถเพิ่มสภาพคล่องได้ ในการเริ่มต้น เลือกราคาเริ่มต้นสำหรับพูล จากนั้นป้อนช่วงราคาสภาพคล่องและจำนวนเงินฝาก" - #: src/components/swap/SwapRoute.tsx msgid "This route optimizes your price by considering split routes, multiple hops, and gas costs." msgstr "เส้นทางนี้ปรับราคาของคุณให้เหมาะสมโดยพิจารณาจากเส้นทางแยก การกระโดดหลายครั้ง และค่าน้ำมัน" diff --git a/src/locales/tr-TR.po b/src/locales/tr-TR.po index 004ea190d6..2c2eb724fc 100644 --- a/src/locales/tr-TR.po +++ b/src/locales/tr-TR.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-11 16:07\n" +"PO-Revision-Date: 2021-11-11 21:07\n" "Last-Translator: \n" "Language: tr_TR\n" "Language-Team: Turkish\n" @@ -150,7 +150,6 @@ msgstr "Aktif" #: src/components/PositionCard/index.tsx #: src/pages/AddLiquidity/index.tsx -#: src/pages/AddLiquidity/index.tsx msgid "Add" msgstr "Ekle" @@ -483,10 +482,6 @@ msgstr "Ortak tabanlar" msgid "Confirm" msgstr "Onayla" -#: src/pages/AddLiquidity/index.tsx -msgid "Confirm Create" -msgstr "Oluşturmayı Onayla" - #: src/pages/AddLiquidityV2/ConfirmAddModalBottom.tsx msgid "Confirm Supply" msgstr "Kaynağı Onayla" @@ -554,10 +549,6 @@ msgstr "Kopyalandı" msgid "Copy Address" msgstr "Adresi Kopyala" -#: src/pages/AddLiquidity/index.tsx -msgid "Create" -msgstr "Oluşturmak" - #: src/pages/AddLiquidityV2/ConfirmAddModalBottom.tsx msgid "Create Pool & Supply" msgstr "Havuz ve Kaynak Oluştur" @@ -1661,10 +1652,6 @@ msgstr "Bu uygulama, aşağıdaki üçüncü taraf API'lerini kullanır:" msgid "This pool must be initialized before you can add liquidity. To initialize, select a starting price for the pool. Then, enter your liquidity price range and deposit amount. Gas fees will be higher than usual due to the initialization transaction." msgstr "Likidite eklemeden önce bu havuzun başlatılması gerekir. Başlatmak için havuz için bir başlangıç fiyatı seçin. Ardından likidite fiyat aralığınızı ve mevduat tutarınızı girin. Başlatma işlemi nedeniyle gaz ücretleri normalden daha yüksek olacaktır." -#: src/pages/AddLiquidity/index.tsx -msgid "This pool must be initialized on {0} before you can add liquidity. To initialize, select a starting price for the pool. Then, enter your liquidity price range and deposit amount." -msgstr "Likidite ekleyebilmeniz için bu havuzun {0} Başlatmak için havuz için bir başlangıç fiyatı seçin. Ardından likidite fiyat aralığınızı ve mevduat tutarınızı girin." - #: src/components/swap/SwapRoute.tsx msgid "This route optimizes your price by considering split routes, multiple hops, and gas costs." msgstr "Bu rota, bölünmüş rotaları, birden fazla duraklamayı ve gaz maliyetlerini göz önünde bulundurarak fiyatınızı optimize eder." diff --git a/src/locales/uk-UA.po b/src/locales/uk-UA.po index 8c8f511c28..a1005176c0 100644 --- a/src/locales/uk-UA.po +++ b/src/locales/uk-UA.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-11 16:07\n" +"PO-Revision-Date: 2021-11-11 21:07\n" "Last-Translator: \n" "Language: uk_UA\n" "Language-Team: Ukrainian\n" @@ -150,7 +150,6 @@ msgstr "Активний" #: src/components/PositionCard/index.tsx #: src/pages/AddLiquidity/index.tsx -#: src/pages/AddLiquidity/index.tsx msgid "Add" msgstr "Додати" @@ -483,10 +482,6 @@ msgstr "Загальні основи" msgid "Confirm" msgstr "Підтвердити" -#: src/pages/AddLiquidity/index.tsx -msgid "Confirm Create" -msgstr "Підтвердьте Створити" - #: src/pages/AddLiquidityV2/ConfirmAddModalBottom.tsx msgid "Confirm Supply" msgstr "Підтвердити пропозицію" @@ -554,10 +549,6 @@ msgstr "Скопійовано" msgid "Copy Address" msgstr "Копіювати адресу" -#: src/pages/AddLiquidity/index.tsx -msgid "Create" -msgstr "Створити" - #: src/pages/AddLiquidityV2/ConfirmAddModalBottom.tsx msgid "Create Pool & Supply" msgstr "Створити пул і пропозицію" @@ -1661,10 +1652,6 @@ msgstr "Ця програма використовує такі сторонні msgid "This pool must be initialized before you can add liquidity. To initialize, select a starting price for the pool. Then, enter your liquidity price range and deposit amount. Gas fees will be higher than usual due to the initialization transaction." msgstr "Цей пул потрібно ініціалізувати, перш ніж ви зможете додати ліквідність. Для ініціалізації виберіть початкову ціну пулу. Потім введіть діапазон цін ліквідності та суму депозиту. Плата за газ буде вищою, ніж зазвичай, через транзакцію ініціалізації." -#: src/pages/AddLiquidity/index.tsx -msgid "This pool must be initialized on {0} before you can add liquidity. To initialize, select a starting price for the pool. Then, enter your liquidity price range and deposit amount." -msgstr "Цей пул потрібно ініціалізувати на {0} перш ніж ви зможете додати ліквідність. Для ініціалізації виберіть початкову ціну пулу. Потім введіть діапазон цін ліквідності та суму депозиту." - #: src/components/swap/SwapRoute.tsx msgid "This route optimizes your price by considering split routes, multiple hops, and gas costs." msgstr "Цей маршрут оптимізує вашу ціну, враховуючи розділені маршрути, декілька стрибків та витрати на газ." diff --git a/src/locales/vi-VN.po b/src/locales/vi-VN.po index 1f80b71fcb..f60b5f2fb2 100644 --- a/src/locales/vi-VN.po +++ b/src/locales/vi-VN.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-11 16:07\n" +"PO-Revision-Date: 2021-11-11 21:07\n" "Last-Translator: \n" "Language: vi_VN\n" "Language-Team: Vietnamese\n" @@ -150,7 +150,6 @@ msgstr "Hoạt động" #: src/components/PositionCard/index.tsx #: src/pages/AddLiquidity/index.tsx -#: src/pages/AddLiquidity/index.tsx msgid "Add" msgstr "Thêm vào" @@ -483,10 +482,6 @@ msgstr "Cơ sở chung" msgid "Confirm" msgstr "Xác nhận" -#: src/pages/AddLiquidity/index.tsx -msgid "Confirm Create" -msgstr "Xác nhận Tạo" - #: src/pages/AddLiquidityV2/ConfirmAddModalBottom.tsx msgid "Confirm Supply" msgstr "Xác nhận cung cấp" @@ -554,10 +549,6 @@ msgstr "Đã sao chép" msgid "Copy Address" msgstr "Sao chép địa chỉ" -#: src/pages/AddLiquidity/index.tsx -msgid "Create" -msgstr "Tạo nên" - #: src/pages/AddLiquidityV2/ConfirmAddModalBottom.tsx msgid "Create Pool & Supply" msgstr "Tạo Nhóm & Nguồn cung" @@ -1661,10 +1652,6 @@ msgstr "Ứng dụng này sử dụng các API của bên thứ ba sau:" msgid "This pool must be initialized before you can add liquidity. To initialize, select a starting price for the pool. Then, enter your liquidity price range and deposit amount. Gas fees will be higher than usual due to the initialization transaction." msgstr "Nhóm này phải được khởi tạo trước khi bạn có thể thêm thanh khoản. Để khởi tạo, hãy chọn giá khởi điểm cho nhóm. Sau đó, nhập phạm vi giá thanh khoản và số tiền ký quỹ của bạn. Phí gas sẽ cao hơn bình thường do giao dịch khởi tạo." -#: src/pages/AddLiquidity/index.tsx -msgid "This pool must be initialized on {0} before you can add liquidity. To initialize, select a starting price for the pool. Then, enter your liquidity price range and deposit amount." -msgstr "Nhóm này phải được khởi tạo bằng {0} trước khi bạn có thể thêm thanh khoản. Để khởi tạo, hãy chọn giá khởi điểm cho nhóm. Sau đó, nhập phạm vi giá thanh khoản và số tiền ký quỹ của bạn." - #: src/components/swap/SwapRoute.tsx msgid "This route optimizes your price by considering split routes, multiple hops, and gas costs." msgstr "Tuyến đường này tối ưu hóa giá của bạn bằng cách xem xét các tuyến đường chia nhỏ, nhiều chặng và chi phí xăng." diff --git a/src/locales/zh-CN.po b/src/locales/zh-CN.po index cd008a70ef..9ff3045226 100644 --- a/src/locales/zh-CN.po +++ b/src/locales/zh-CN.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-11 16:07\n" +"PO-Revision-Date: 2021-11-11 21:07\n" "Last-Translator: \n" "Language: zh_CN\n" "Language-Team: Chinese Simplified\n" @@ -150,7 +150,6 @@ msgstr "已激活" #: src/components/PositionCard/index.tsx #: src/pages/AddLiquidity/index.tsx -#: src/pages/AddLiquidity/index.tsx msgid "Add" msgstr "添加" @@ -483,10 +482,6 @@ msgstr "常用代币" msgid "Confirm" msgstr "确认" -#: src/pages/AddLiquidity/index.tsx -msgid "Confirm Create" -msgstr "确认创建" - #: src/pages/AddLiquidityV2/ConfirmAddModalBottom.tsx msgid "Confirm Supply" msgstr "确认供应" @@ -554,10 +549,6 @@ msgstr "已复制" msgid "Copy Address" msgstr "复制地址" -#: src/pages/AddLiquidity/index.tsx -msgid "Create" -msgstr "创建" - #: src/pages/AddLiquidityV2/ConfirmAddModalBottom.tsx msgid "Create Pool & Supply" msgstr "创建流动池和供应流动资金" @@ -1661,10 +1652,6 @@ msgstr "此应用程序使用以下第三方 API:" msgid "This pool must be initialized before you can add liquidity. To initialize, select a starting price for the pool. Then, enter your liquidity price range and deposit amount. Gas fees will be higher than usual due to the initialization transaction." msgstr "需要先初始化,然后再添加流动性。初始化时,请先选择起始价格,然后输入您的流动性价格范围和存款金额。因需进行初始化相关操作,Gas 费将比平时高一些。" -#: src/pages/AddLiquidity/index.tsx -msgid "This pool must be initialized on {0} before you can add liquidity. To initialize, select a starting price for the pool. Then, enter your liquidity price range and deposit amount." -msgstr "在您添加流动性之前, {0} 池需要先初始化。请先选择起始价格,然后输入您的流动性价格范围和存款金额。" - #: src/components/swap/SwapRoute.tsx msgid "This route optimizes your price by considering split routes, multiple hops, and gas costs." msgstr "这个路由方案通过考虑拆分路由、多级路由和gas 成本等因素来优化价格。" diff --git a/src/locales/zh-TW.po b/src/locales/zh-TW.po index a59790d62a..d2127f0628 100644 --- a/src/locales/zh-TW.po +++ b/src/locales/zh-TW.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-11 16:07\n" +"PO-Revision-Date: 2021-11-11 21:07\n" "Last-Translator: \n" "Language: zh_TW\n" "Language-Team: Chinese Traditional\n" @@ -150,7 +150,6 @@ msgstr "啟用" #: src/components/PositionCard/index.tsx #: src/pages/AddLiquidity/index.tsx -#: src/pages/AddLiquidity/index.tsx msgid "Add" msgstr "新增" @@ -483,10 +482,6 @@ msgstr "常用代幣" msgid "Confirm" msgstr "確認" -#: src/pages/AddLiquidity/index.tsx -msgid "Confirm Create" -msgstr "確認創建" - #: src/pages/AddLiquidityV2/ConfirmAddModalBottom.tsx msgid "Confirm Supply" msgstr "確認供應" @@ -554,10 +549,6 @@ msgstr "已複製" msgid "Copy Address" msgstr "複製地址" -#: src/pages/AddLiquidity/index.tsx -msgid "Create" -msgstr "創建" - #: src/pages/AddLiquidityV2/ConfirmAddModalBottom.tsx msgid "Create Pool & Supply" msgstr "創建流動池和供應流動資金" @@ -1661,10 +1652,6 @@ msgstr "此應用程序使用以下第三方 API:" msgid "This pool must be initialized before you can add liquidity. To initialize, select a starting price for the pool. Then, enter your liquidity price range and deposit amount. Gas fees will be higher than usual due to the initialization transaction." msgstr "需要先初始化,然後再添加流動性。初始化時,請先選擇起始價格,然後輸入您的流動性價格範圍和存款金額。因需進行初始化相關操作,Gas 費將比平時高一些。" -#: src/pages/AddLiquidity/index.tsx -msgid "This pool must be initialized on {0} before you can add liquidity. To initialize, select a starting price for the pool. Then, enter your liquidity price range and deposit amount." -msgstr "在您添加流動性之前, {0} 池需要先初始化。請先選擇起始價格,然後輸入您的流動性價格範圍和存款金額。" - #: src/components/swap/SwapRoute.tsx msgid "This route optimizes your price by considering split routes, multiple hops, and gas costs." msgstr "這個路由方案通過考慮拆分路由、多級路由和gas 成本等因素來優化價格。" From 5ba3d2f679c0b994f4f8c721d38d3a5047f5a147 Mon Sep 17 00:00:00 2001 From: Crowdin Bot Date: Fri, 12 Nov 2021 01:27:47 +0000 Subject: [PATCH 027/378] chore(i18n): synchronize translations from crowdin [skip ci] --- src/locales/zh-CN.po | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/locales/zh-CN.po b/src/locales/zh-CN.po index 9ff3045226..b273e830ef 100644 --- a/src/locales/zh-CN.po +++ b/src/locales/zh-CN.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-11 21:07\n" +"PO-Revision-Date: 2021-11-12 01:27\n" "Last-Translator: \n" "Language: zh_CN\n" "Language-Team: Chinese Simplified\n" @@ -1416,7 +1416,7 @@ msgstr "移除 {0} {1} 和 {2} {3}" #: src/components/Menu/index.tsx msgid "Request Features" -msgstr "请求功能" +msgstr "功能建议" #: src/components/TransactionConfirmationModal/index.tsx #: src/components/TransactionConfirmationModal/index.tsx From 8a99bad7368c24dd86e76f23a3312f7c203bf819 Mon Sep 17 00:00:00 2001 From: Crowdin Bot Date: Fri, 12 Nov 2021 09:07:00 +0000 Subject: [PATCH 028/378] chore(i18n): synchronize translations from crowdin [skip ci] --- src/locales/zh-CN.po | 4 ++-- src/locales/zh-TW.po | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/locales/zh-CN.po b/src/locales/zh-CN.po index b273e830ef..048ebcec84 100644 --- a/src/locales/zh-CN.po +++ b/src/locales/zh-CN.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-12 01:27\n" +"PO-Revision-Date: 2021-11-12 09:06\n" "Last-Translator: \n" "Language: zh_CN\n" "Language-Team: Chinese Simplified\n" @@ -2027,7 +2027,7 @@ msgstr "投票大约结束于 {0}" #: src/pages/Vote/VotePage.tsx msgid "Voting starts approximately {0}" -msgstr "投票开始大约 {0}" +msgstr "投票大约于 {0} 开始" #: src/components/TransactionConfirmationModal/index.tsx msgid "Waiting For Confirmation" diff --git a/src/locales/zh-TW.po b/src/locales/zh-TW.po index d2127f0628..a3c870dac3 100644 --- a/src/locales/zh-TW.po +++ b/src/locales/zh-TW.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-11 21:07\n" +"PO-Revision-Date: 2021-11-12 09:06\n" "Last-Translator: \n" "Language: zh_TW\n" "Language-Team: Chinese Traditional\n" @@ -1416,7 +1416,7 @@ msgstr "移除 {0} {1} 和 {2} {3}" #: src/components/Menu/index.tsx msgid "Request Features" -msgstr "請求功能" +msgstr "功能建議" #: src/components/TransactionConfirmationModal/index.tsx #: src/components/TransactionConfirmationModal/index.tsx @@ -2027,7 +2027,7 @@ msgstr "投票大約結束於 {0}" #: src/pages/Vote/VotePage.tsx msgid "Voting starts approximately {0}" -msgstr "投票開始大約 {0}" +msgstr "投票大約於 {0} 開始" #: src/components/TransactionConfirmationModal/index.tsx msgid "Waiting For Confirmation" From 408c9078709932bb42d04fb1f2e75c6a750e866d Mon Sep 17 00:00:00 2001 From: Justin Domingue Date: Fri, 12 Nov 2021 09:46:26 -0500 Subject: [PATCH 029/378] feat: add support for 0.01% tier (#2769) * chore: add support for 0.01% tier * only show 1bps on mainnet * rename VERY_LOW to LOWEST * upgrade to v3-sdk 3.7.0 * add snapshot testing for lowest tier * fix integration test * fix integration test * use ALL_SUPPORTED_CHAIN_IDS over string all * consider 0.01% tier in pool (#2770) * merge main and only consider lowest tier for mainnet --- cypress/fixtures/feeTierDistribution.json | 7 +- cypress/integration/add-liquidity.test.ts | 2 +- package.json | 2 +- src/components/Button/index.tsx | 10 +- src/components/FeeSelector/FeeOption.tsx | 51 ++++++ .../FeeSelector/FeeTierPercentageBadge.tsx | 31 ++++ src/components/FeeSelector/index.tsx | 162 ++++-------------- src/components/FeeSelector/shared.tsx | 30 ++++ .../LiquidityChartRangeInput/index.tsx | 6 + .../RoutingDiagram/RoutingDiagram.test.tsx | 2 +- .../RoutingDiagram.test.tsx.snap | 2 +- src/hooks/useFeeTierDistribution.ts | 33 +++- src/hooks/useV3SwapPools.ts | 23 ++- yarn.lock | 8 +- 14 files changed, 215 insertions(+), 154 deletions(-) create mode 100644 src/components/FeeSelector/FeeOption.tsx create mode 100644 src/components/FeeSelector/FeeTierPercentageBadge.tsx create mode 100644 src/components/FeeSelector/shared.tsx diff --git a/cypress/fixtures/feeTierDistribution.json b/cypress/fixtures/feeTierDistribution.json index 20d8f28a77..4a01d75b84 100644 --- a/cypress/fixtures/feeTierDistribution.json +++ b/cypress/fixtures/feeTierDistribution.json @@ -5,6 +5,11 @@ } }, "asToken0": [ + { + "feeTier": "100", + "totalValueLockedToken0": "0", + "totalValueLockedToken1": "3" + }, { "feeTier": "500", "totalValueLockedToken0": "0", @@ -13,7 +18,7 @@ { "feeTier": "3000", "totalValueLockedToken0": "0", - "totalValueLockedToken1": "7" + "totalValueLockedToken1": "4" }, { "feeTier": "10000", diff --git a/cypress/integration/add-liquidity.test.ts b/cypress/integration/add-liquidity.test.ts index b4c18d8485..ab2eb4b3ec 100644 --- a/cypress/integration/add-liquidity.test.ts +++ b/cypress/integration/add-liquidity.test.ts @@ -58,7 +58,7 @@ describe('Add Liquidity', () => { cy.wait('@feeTierDistributionQuery') cy.get('#add-liquidity-selected-fee .selected-fee-label').should('contain.text', '0.3% fee tier') - cy.get('#add-liquidity-selected-fee .selected-fee-percentage').should('contain.text', '70%') + cy.get('#add-liquidity-selected-fee .selected-fee-percentage').should('contain.text', '40%') }) }) }) diff --git a/package.json b/package.json index ff03940913..13c00b1358 100644 --- a/package.json +++ b/package.json @@ -66,7 +66,7 @@ "@uniswap/v2-sdk": "^3.0.0-alpha.2", "@uniswap/v3-core": "1.0.0", "@uniswap/v3-periphery": "^1.1.1", - "@uniswap/v3-sdk": "3.6.3", + "@uniswap/v3-sdk": "^3.7.1", "@web3-react/core": "^6.0.9", "@web3-react/fortmatic-connector": "^6.0.9", "@web3-react/injected-connector": "^6.0.7", diff --git a/src/components/Button/index.tsx b/src/components/Button/index.tsx index 9edfd32180..c35e5161e0 100644 --- a/src/components/Button/index.tsx +++ b/src/components/Button/index.tsx @@ -315,8 +315,8 @@ const ActiveOutlined = styled(ButtonOutlined)` ` const Circle = styled.div` - height: 20px; - width: 20px; + height: 17px; + width: 17px; border-radius: 50%; background-color: ${({ theme }) => theme.primary1}; display: flex; @@ -325,11 +325,11 @@ const Circle = styled.div` ` const CheckboxWrapper = styled.div` - width: 30px; + width: 20px; padding: 0 10px; position: absolute; - top: 10px; - right: 10px; + top: 11px; + right: 15px; ` const ResponsiveCheck = styled(Check)` diff --git a/src/components/FeeSelector/FeeOption.tsx b/src/components/FeeSelector/FeeOption.tsx new file mode 100644 index 0000000000..83f504844b --- /dev/null +++ b/src/components/FeeSelector/FeeOption.tsx @@ -0,0 +1,51 @@ +import { Trans } from '@lingui/macro' +import { FeeAmount } from '@uniswap/v3-sdk' +import { ButtonRadioChecked } from 'components/Button' +import { AutoColumn } from 'components/Column' +import { useFeeTierDistribution } from 'hooks/useFeeTierDistribution' +import { PoolState } from 'hooks/usePools' +import React from 'react' +import styled from 'styled-components/macro' +import { TYPE } from 'theme' + +import { FeeTierPercentageBadge } from './FeeTierPercentageBadge' +import { FEE_AMOUNT_DETAIL } from './shared' + +const ResponsiveText = styled(TYPE.label)` + line-height: 16px; + font-size: 14px; + + ${({ theme }) => theme.mediaWidth.upToSmall` + font-size: 12px; + line-height: 12px; + `}; +` + +interface FeeOptionProps { + feeAmount: FeeAmount + active: boolean + distributions: ReturnType['distributions'] + poolState: PoolState + onClick: () => void +} + +export function FeeOption({ feeAmount, active, poolState, distributions, onClick }: FeeOptionProps) { + return ( + + + + + {FEE_AMOUNT_DETAIL[feeAmount].label}% + + + {FEE_AMOUNT_DETAIL[feeAmount].description} + + + + {distributions && ( + + )} + + + ) +} diff --git a/src/components/FeeSelector/FeeTierPercentageBadge.tsx b/src/components/FeeSelector/FeeTierPercentageBadge.tsx new file mode 100644 index 0000000000..cc87279bc0 --- /dev/null +++ b/src/components/FeeSelector/FeeTierPercentageBadge.tsx @@ -0,0 +1,31 @@ +import { Trans } from '@lingui/macro' +import { FeeAmount } from '@uniswap/v3-sdk' +import Badge from 'components/Badge' +import { useFeeTierDistribution } from 'hooks/useFeeTierDistribution' +import { PoolState } from 'hooks/usePools' +import React from 'react' +import { TYPE } from 'theme' + +export function FeeTierPercentageBadge({ + feeAmount, + distributions, + poolState, +}: { + feeAmount: FeeAmount + distributions: ReturnType['distributions'] + poolState: PoolState +}) { + return ( + + + {!distributions || poolState === PoolState.NOT_EXISTS || poolState === PoolState.INVALID ? ( + Not created + ) : distributions[feeAmount] !== undefined ? ( + {distributions[feeAmount]?.toFixed(0)}% select + ) : ( + No data + )} + + + ) +} diff --git a/src/components/FeeSelector/index.tsx b/src/components/FeeSelector/index.tsx index 545a9ceba7..0cfa5cba28 100644 --- a/src/components/FeeSelector/index.tsx +++ b/src/components/FeeSelector/index.tsx @@ -1,14 +1,14 @@ import { Trans } from '@lingui/macro' import { Currency } from '@uniswap/sdk-core' import { FeeAmount } from '@uniswap/v3-sdk' -import Badge from 'components/Badge' -import { ButtonGray, ButtonRadioChecked } from 'components/Button' +import { ButtonGray } from 'components/Button' import Card from 'components/Card' import { AutoColumn } from 'components/Column' import { RowBetween } from 'components/Row' import { useFeeTierDistribution } from 'hooks/useFeeTierDistribution' import { PoolState, usePools } from 'hooks/usePools' import usePrevious from 'hooks/usePrevious' +import { useActiveWeb3React } from 'hooks/web3' import { DynamicSection } from 'pages/AddLiquidity/styled' import React, { useCallback, useEffect, useMemo, useRef, useState } from 'react' import ReactGA from 'react-ga' @@ -16,6 +16,10 @@ import { Box } from 'rebass' import styled, { keyframes } from 'styled-components/macro' import { TYPE } from 'theme' +import { FeeOption } from './FeeOption' +import { FeeTierPercentageBadge } from './FeeTierPercentageBadge' +import { FEE_AMOUNT_DETAIL } from './shared' + const pulse = (color: string) => keyframes` 0% { box-shadow: 0 0 0 0 ${color}; @@ -29,60 +33,18 @@ const pulse = (color: string) => keyframes` box-shadow: 0 0 0 0 ${color}; } ` - -const ResponsiveText = styled(TYPE.label)` - line-height: 16px; - - ${({ theme }) => theme.mediaWidth.upToSmall` - font-size: 12px; - line-height: 12px; - `}; -` - const FocusedOutlineCard = styled(Card)<{ pulsing: boolean }>` border: 1px solid ${({ theme }) => theme.bg2}; animation: ${({ pulsing, theme }) => pulsing && pulse(theme.primary1)} 0.6s linear; align-self: center; ` -const FeeAmountLabel = { - [FeeAmount.LOW]: { - label: '0.05', - description: Best for stable pairs., - }, - [FeeAmount.MEDIUM]: { - label: '0.3', - description: Best for most pairs., - }, - [FeeAmount.HIGH]: { - label: '1', - description: Best for exotic pairs., - }, -} - -function FeeTierPercentageBadge({ - feeAmount, - distributions, - poolState, -}: { - feeAmount: FeeAmount - distributions: ReturnType['distributions'] - poolState: PoolState -}) { - return ( - - - {!distributions || poolState === PoolState.NOT_EXISTS || poolState === PoolState.INVALID ? ( - Not created - ) : distributions[feeAmount] !== undefined ? ( - {distributions[feeAmount]?.toFixed(0)}% select - ) : ( - No data - )} - - - ) -} +const Select = styled.div` + align-items: flex-start; + display: grid; + grid-auto-flow: column; + grid-gap: 8px; +` export default function FeeSelector({ disabled = false, @@ -97,16 +59,19 @@ export default function FeeSelector({ currencyA?: Currency | undefined currencyB?: Currency | undefined }) { + const { chainId } = useActiveWeb3React() + const { isLoading, isError, largestUsageFeeTier, distributions } = useFeeTierDistribution(currencyA, currencyB) // get pool data on-chain for latest states const pools = usePools([ + [currencyA, currencyB, FeeAmount.LOWEST], [currencyA, currencyB, FeeAmount.LOW], [currencyA, currencyB, FeeAmount.MEDIUM], [currencyA, currencyB, FeeAmount.HIGH], ]) - const poolsByFeeTier = useMemo( + const poolsByFeeTier: Record = useMemo( () => pools.reduce( (acc, [curPoolState, curPool]) => { @@ -118,6 +83,7 @@ export default function FeeSelector({ }, { // default all states to NOT_EXISTS + [FeeAmount.LOWEST]: PoolState.NOT_EXISTS, [FeeAmount.LOW]: PoolState.NOT_EXISTS, [FeeAmount.MEDIUM]: PoolState.NOT_EXISTS, [FeeAmount.HIGH]: PoolState.NOT_EXISTS, @@ -134,7 +100,7 @@ export default function FeeSelector({ const recommended = useRef(false) const handleFeePoolSelectWithEvent = useCallback( - (fee) => { + (fee: FeeAmount) => { ReactGA.event({ category: 'FeePoolSelect', action: 'Manual', @@ -193,7 +159,7 @@ export default function FeeSelector({ ) : ( <> - {FeeAmountLabel[feeAmount].label}% fee tier + {FEE_AMOUNT_DETAIL[feeAmount].label}% fee tier {distributions && ( @@ -214,81 +180,25 @@ export default function FeeSelector({ - {showOptions && ( - - handleFeePoolSelectWithEvent(FeeAmount.LOW)} - > - - - - 0.05% fee - - - Best for stable pairs. - - - - {distributions && ( - + {[FeeAmount.LOWEST, FeeAmount.LOW, FeeAmount.MEDIUM, FeeAmount.HIGH].map((_feeAmount, i) => { + const { supportedChains } = FEE_AMOUNT_DETAIL[_feeAmount] + if (supportedChains.includes(chainId)) { + return ( + handleFeePoolSelectWithEvent(_feeAmount)} distributions={distributions} - feeAmount={FeeAmount.LOW} - poolState={poolsByFeeTier[FeeAmount.LOW]} + poolState={poolsByFeeTier[_feeAmount]} + key={i} /> - )} - - - handleFeePoolSelectWithEvent(FeeAmount.MEDIUM)} - > - - - - 0.3% fee - - - Best for most pairs. - - - - {distributions && ( - - )} - - - handleFeePoolSelectWithEvent(FeeAmount.HIGH)} - > - - - - 1% fee - - - Best for exotic pairs. - - - - {distributions && ( - - )} - - - + ) + } + return null + })} + )} diff --git a/src/components/FeeSelector/shared.tsx b/src/components/FeeSelector/shared.tsx new file mode 100644 index 0000000000..4b93e68d9f --- /dev/null +++ b/src/components/FeeSelector/shared.tsx @@ -0,0 +1,30 @@ +import { Trans } from '@lingui/macro' +import { FeeAmount } from '@uniswap/v3-sdk' +import { ALL_SUPPORTED_CHAIN_IDS, SupportedChainId } from 'constants/chains' +import { ReactNode } from 'react' + +export const FEE_AMOUNT_DETAIL: Record< + FeeAmount, + { label: string; description: ReactNode; supportedChains: SupportedChainId[] } +> = { + [FeeAmount.LOWEST]: { + label: '0.01', + description: Best for very stable pairs., + supportedChains: [SupportedChainId.MAINNET], + }, + [FeeAmount.LOW]: { + label: '0.05', + description: Best for stable pairs., + supportedChains: ALL_SUPPORTED_CHAIN_IDS, + }, + [FeeAmount.MEDIUM]: { + label: '0.3', + description: Best for most pairs., + supportedChains: ALL_SUPPORTED_CHAIN_IDS, + }, + [FeeAmount.HIGH]: { + label: '1', + description: Best for exotic pairs., + supportedChains: ALL_SUPPORTED_CHAIN_IDS, + }, +} diff --git a/src/components/LiquidityChartRangeInput/index.tsx b/src/components/LiquidityChartRangeInput/index.tsx index f9133d4aa5..b85fb19585 100644 --- a/src/components/LiquidityChartRangeInput/index.tsx +++ b/src/components/LiquidityChartRangeInput/index.tsx @@ -20,6 +20,12 @@ import { useDensityChartData } from './hooks' import { ZoomLevels } from './types' const ZOOM_LEVELS: Record = { + [FeeAmount.LOWEST]: { + initialMin: 0.999, + initialMax: 1.001, + min: 0.00001, + max: 1.5, + }, [FeeAmount.LOW]: { initialMin: 0.999, initialMax: 1.001, diff --git a/src/components/RoutingDiagram/RoutingDiagram.test.tsx b/src/components/RoutingDiagram/RoutingDiagram.test.tsx index 178def7e38..ba1a6b4389 100644 --- a/src/components/RoutingDiagram/RoutingDiagram.test.tsx +++ b/src/components/RoutingDiagram/RoutingDiagram.test.tsx @@ -10,7 +10,7 @@ const percent = (strings: TemplateStringsArray) => new Percent(parseInt(strings[ const singleRoute: RoutingDiagramEntry = { percent: percent`100`, path: [[USDC, DAI, FeeAmount.LOW]] } const multiRoute: RoutingDiagramEntry[] = [ - { percent: percent`75`, path: [[USDC, DAI, FeeAmount.LOW]] }, + { percent: percent`75`, path: [[USDC, DAI, FeeAmount.LOWEST]] }, { percent: percent`25`, path: [ diff --git a/src/components/RoutingDiagram/__snapshots__/RoutingDiagram.test.tsx.snap b/src/components/RoutingDiagram/__snapshots__/RoutingDiagram.test.tsx.snap index 5b5ac9b6f1..618620d93f 100644 --- a/src/components/RoutingDiagram/__snapshots__/RoutingDiagram.test.tsx.snap +++ b/src/components/RoutingDiagram/__snapshots__/RoutingDiagram.test.tsx.snap @@ -47,7 +47,7 @@ exports[`renders multi route 1`] = `
- 0.05% + 0.01%
diff --git a/src/hooks/useFeeTierDistribution.ts b/src/hooks/useFeeTierDistribution.ts index 14209a282a..be7f4677cf 100644 --- a/src/hooks/useFeeTierDistribution.ts +++ b/src/hooks/useFeeTierDistribution.ts @@ -19,11 +19,7 @@ interface FeeTierDistribution { largestUsageFeeTier?: FeeAmount | undefined // distributions as percentages of overall liquidity - distributions?: { - [FeeAmount.LOW]: number | undefined - [FeeAmount.MEDIUM]: number | undefined - [FeeAmount.HIGH]: number | undefined - } + distributions?: Record } export function useFeeTierDistribution( @@ -36,6 +32,7 @@ export function useFeeTierDistribution( ) // fetch all pool states to determine pool state + const [poolStateVeryLow] = usePool(currencyA, currencyB, FeeAmount.LOWEST) const [poolStateLow] = usePool(currencyA, currencyB, FeeAmount.LOW) const [poolStateMedium] = usePool(currencyA, currencyB, FeeAmount.MEDIUM) const [poolStateHigh] = usePool(currencyA, currencyB, FeeAmount.HIGH) @@ -58,10 +55,13 @@ export function useFeeTierDistribution( !isLoading && !isError && distributions && + poolStateVeryLow !== PoolState.LOADING && poolStateLow !== PoolState.LOADING && poolStateMedium !== PoolState.LOADING && poolStateHigh !== PoolState.LOADING ? { + [FeeAmount.LOWEST]: + poolStateVeryLow === PoolState.EXISTS ? (distributions[FeeAmount.LOWEST] ?? 0) * 100 : undefined, [FeeAmount.LOW]: poolStateLow === PoolState.EXISTS ? (distributions[FeeAmount.LOW] ?? 0) * 100 : undefined, [FeeAmount.MEDIUM]: poolStateMedium === PoolState.EXISTS ? (distributions[FeeAmount.MEDIUM] ?? 0) * 100 : undefined, @@ -76,7 +76,17 @@ export function useFeeTierDistribution( distributions: percentages, largestUsageFeeTier: largestUsageFeeTier === -1 ? undefined : largestUsageFeeTier, } - }, [isLoading, isFetching, isUninitialized, isError, distributions, poolStateLow, poolStateMedium, poolStateHigh]) + }, [ + isLoading, + isFetching, + isUninitialized, + isError, + distributions, + poolStateVeryLow, + poolStateLow, + poolStateMedium, + poolStateHigh, + ]) } function usePoolTVL(token0: Token | undefined, token1: Token | undefined) { @@ -124,10 +134,11 @@ function usePoolTVL(token0: Token | undefined, token1: Token | undefined) { return acc }, { + [FeeAmount.LOWEST]: [undefined, undefined], [FeeAmount.LOW]: [undefined, undefined], [FeeAmount.MEDIUM]: [undefined, undefined], [FeeAmount.HIGH]: [undefined, undefined], - } + } as Record ) // sum total tvl for token0 and token1 @@ -144,7 +155,13 @@ function usePoolTVL(token0: Token | undefined, token1: Token | undefined) { const mean = (tvl0: number | undefined, sumTvl0: number, tvl1: number | undefined, sumTvl1: number) => tvl0 === undefined && tvl1 === undefined ? undefined : ((tvl0 ?? 0) + (tvl1 ?? 0)) / (sumTvl0 + sumTvl1) || 0 - const distributions = { + const distributions: Record = { + [FeeAmount.LOWEST]: mean( + tvlByFeeTier[FeeAmount.LOWEST][0], + sumToken0Tvl, + tvlByFeeTier[FeeAmount.LOWEST][1], + sumToken1Tvl + ), [FeeAmount.LOW]: mean(tvlByFeeTier[FeeAmount.LOW][0], sumToken0Tvl, tvlByFeeTier[FeeAmount.LOW][1], sumToken1Tvl), [FeeAmount.MEDIUM]: mean( tvlByFeeTier[FeeAmount.MEDIUM][0], diff --git a/src/hooks/useV3SwapPools.ts b/src/hooks/useV3SwapPools.ts index ac901edd66..05ebea4f43 100644 --- a/src/hooks/useV3SwapPools.ts +++ b/src/hooks/useV3SwapPools.ts @@ -1,9 +1,11 @@ import { Currency, Token } from '@uniswap/sdk-core' import { FeeAmount, Pool } from '@uniswap/v3-sdk' +import { SupportedChainId } from 'constants/chains' import { useMemo } from 'react' import { useAllCurrencyCombinations } from './useAllCurrencyCombinations' import { PoolState, usePools } from './usePools' +import { useActiveWeb3React } from './web3' /** * Returns all the existing pools that should be considered for swapping between an input currency and an output currency @@ -17,18 +19,27 @@ export function useV3SwapPools( pools: Pool[] loading: boolean } { + const { chainId } = useActiveWeb3React() + const allCurrencyCombinations = useAllCurrencyCombinations(currencyIn, currencyOut) const allCurrencyCombinationsWithAllFees: [Token, Token, FeeAmount][] = useMemo( () => allCurrencyCombinations.reduce<[Token, Token, FeeAmount][]>((list, [tokenA, tokenB]) => { - return list.concat([ - [tokenA, tokenB, FeeAmount.LOW], - [tokenA, tokenB, FeeAmount.MEDIUM], - [tokenA, tokenB, FeeAmount.HIGH], - ]) + return chainId === SupportedChainId.MAINNET + ? list.concat([ + [tokenA, tokenB, FeeAmount.LOW], + [tokenA, tokenB, FeeAmount.MEDIUM], + [tokenA, tokenB, FeeAmount.HIGH], + ]) + : list.concat([ + [tokenA, tokenB, FeeAmount.LOWEST], + [tokenA, tokenB, FeeAmount.LOW], + [tokenA, tokenB, FeeAmount.MEDIUM], + [tokenA, tokenB, FeeAmount.HIGH], + ]) }, []), - [allCurrencyCombinations] + [allCurrencyCombinations, chainId] ) const pools = usePools(allCurrencyCombinationsWithAllFees) diff --git a/yarn.lock b/yarn.lock index 2d7c5b3670..c604b0a044 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4666,10 +4666,10 @@ base64-sol "1.0.1" hardhat-watcher "^2.1.1" -"@uniswap/v3-sdk@3.6.3": - version "3.6.3" - resolved "https://registry.yarnpkg.com/@uniswap/v3-sdk/-/v3-sdk-3.6.3.tgz#f2fca86cfde1450976581028195fc0ee4b11036d" - integrity sha512-nepNTZMpM1uwLJAlQaUUEDMFrSujS1sOqyVD739zoPWsVHAUPvqVAKQN0GlgZcLXOqeCMKjO3lteaNHEXef1XA== +"@uniswap/v3-sdk@^3.7.1": + version "3.7.1" + resolved "https://registry.yarnpkg.com/@uniswap/v3-sdk/-/v3-sdk-3.7.1.tgz#8a3740ff6302d8069e7ce4a38b7588721398048b" + integrity sha512-/0FBsrRijfAEOVO0ejCQX36MwaKzjKCaInUA1dNqFyDNZ5dthvv6jUhMADYuNXZnhN6NcSdIj6xhlc/cpgPm9Q== dependencies: "@ethersproject/abi" "^5.0.12" "@ethersproject/solidity" "^5.0.9" From b79fe4b8339ebe37288ea9a19a92b311988c520a Mon Sep 17 00:00:00 2001 From: Crowdin Bot Date: Fri, 12 Nov 2021 15:06:38 +0000 Subject: [PATCH 030/378] chore(i18n): synchronize translations from crowdin [skip ci] --- src/locales/af-ZA.po | 34 ++++++++++++---------------------- src/locales/ar-SA.po | 34 ++++++++++++---------------------- src/locales/ca-ES.po | 34 ++++++++++++---------------------- src/locales/cs-CZ.po | 34 ++++++++++++---------------------- src/locales/da-DK.po | 34 ++++++++++++---------------------- src/locales/de-DE.po | 34 ++++++++++++---------------------- src/locales/el-GR.po | 34 ++++++++++++---------------------- src/locales/es-ES.po | 34 ++++++++++++---------------------- src/locales/fi-FI.po | 34 ++++++++++++---------------------- src/locales/fr-FR.po | 34 ++++++++++++---------------------- src/locales/he-IL.po | 34 ++++++++++++---------------------- src/locales/hu-HU.po | 34 ++++++++++++---------------------- src/locales/id-ID.po | 34 ++++++++++++---------------------- src/locales/it-IT.po | 34 ++++++++++++---------------------- src/locales/ja-JP.po | 34 ++++++++++++---------------------- src/locales/ko-KR.po | 34 ++++++++++++---------------------- src/locales/nl-NL.po | 34 ++++++++++++---------------------- src/locales/no-NO.po | 34 ++++++++++++---------------------- src/locales/pl-PL.po | 34 ++++++++++++---------------------- src/locales/pt-BR.po | 34 ++++++++++++---------------------- src/locales/pt-PT.po | 34 ++++++++++++---------------------- src/locales/ro-RO.po | 34 ++++++++++++---------------------- src/locales/ru-RU.po | 34 ++++++++++++---------------------- src/locales/sl-SI.po | 34 ++++++++++++---------------------- src/locales/sr-SP.po | 34 ++++++++++++---------------------- src/locales/sv-SE.po | 34 ++++++++++++---------------------- src/locales/sw-TZ.po | 34 ++++++++++++---------------------- src/locales/th-TH.po | 34 ++++++++++++---------------------- src/locales/tr-TR.po | 34 ++++++++++++---------------------- src/locales/uk-UA.po | 34 ++++++++++++---------------------- src/locales/vi-VN.po | 34 ++++++++++++---------------------- src/locales/zh-CN.po | 34 ++++++++++++---------------------- src/locales/zh-TW.po | 34 ++++++++++++---------------------- 33 files changed, 396 insertions(+), 726 deletions(-) diff --git a/src/locales/af-ZA.po b/src/locales/af-ZA.po index 267163730f..f5cbae24a5 100644 --- a/src/locales/af-ZA.po +++ b/src/locales/af-ZA.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-11 21:07\n" +"PO-Revision-Date: 2021-11-12 15:06\n" "Last-Translator: \n" "Language: af_ZA\n" "Language-Team: Afrikaans\n" @@ -62,18 +62,6 @@ msgstr "- Verwyder ontvanger" msgid "0 UNI / week" msgstr "0 UNI / week" -#: src/components/FeeSelector/index.tsx -msgid "0.05% fee" -msgstr "0,05% fooi" - -#: src/components/FeeSelector/index.tsx -msgid "0.3% fee" -msgstr "0,3% fooi" - -#: src/components/FeeSelector/index.tsx -msgid "1% fee" -msgstr "1% fooi" - #: src/pages/RemoveLiquidity/V3.tsx msgid "25%" msgstr "25%" @@ -307,21 +295,22 @@ msgstr "Saldo:" msgid "Balance: {0} {1}" msgstr "Saldo: {0} {1}" -#: src/components/FeeSelector/index.tsx -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/shared.tsx msgid "Best for exotic pairs." msgstr "Die beste vir eksotiese pare." -#: src/components/FeeSelector/index.tsx -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/shared.tsx msgid "Best for most pairs." msgstr "Die beste vir die meeste pare." -#: src/components/FeeSelector/index.tsx -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/shared.tsx msgid "Best for stable pairs." msgstr "Die beste vir stabiele pare." +#: src/components/FeeSelector/shared.tsx +msgid "Best for very stable pairs." +msgstr "Beste vir baie stabiele pare." + #: src/components/Blocklist/index.tsx msgid "Blocked address" msgstr "Adres geblokkeer" @@ -1121,7 +1110,7 @@ msgstr "Geen V2-likiditeit gevind nie." msgid "No active pools" msgstr "Geen aktiewe poele nie" -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/FeeTierPercentageBadge.tsx msgid "No data" msgstr "Geen data" @@ -1145,7 +1134,7 @@ msgstr "Geen voorstelle gevind nie." msgid "No results found." msgstr "Geen resultate gevind." -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/FeeTierPercentageBadge.tsx msgid "Not created" msgstr "Nie geskep nie" @@ -2378,6 +2367,7 @@ msgid "{0} • Added by user" msgstr "{0} • Bygevoeg deur gebruiker" #: src/components/CurrencyInputPanel/FiatValue.tsx +#: src/components/FeeSelector/FeeOption.tsx #: src/components/PositionListItem/index.tsx #: src/components/PositionPreview/index.tsx #: src/pages/AddLiquidityV2/ConfirmAddModalBottom.tsx @@ -2392,7 +2382,7 @@ msgstr "{0}%" msgid "{0}% fee tier" msgstr "{0}% fooi-vlak" -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/FeeTierPercentageBadge.tsx msgid "{0}% select" msgstr "{0}% kies" diff --git a/src/locales/ar-SA.po b/src/locales/ar-SA.po index c22e8a4c09..6ceb15c09e 100644 --- a/src/locales/ar-SA.po +++ b/src/locales/ar-SA.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-11 21:07\n" +"PO-Revision-Date: 2021-11-12 15:06\n" "Last-Translator: \n" "Language: ar_SA\n" "Language-Team: Arabic\n" @@ -62,18 +62,6 @@ msgstr "- إزالة المستلم" msgid "0 UNI / week" msgstr "0 UNI / أسبوع" -#: src/components/FeeSelector/index.tsx -msgid "0.05% fee" -msgstr "رسم 0.05٪" - -#: src/components/FeeSelector/index.tsx -msgid "0.3% fee" -msgstr "رسم 0.3%" - -#: src/components/FeeSelector/index.tsx -msgid "1% fee" -msgstr "رسم 1%" - #: src/pages/RemoveLiquidity/V3.tsx msgid "25%" msgstr "25%" @@ -307,21 +295,22 @@ msgstr "الرصيد:" msgid "Balance: {0} {1}" msgstr "التوازن: {0} {1}" -#: src/components/FeeSelector/index.tsx -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/shared.tsx msgid "Best for exotic pairs." msgstr "الأفضل للأزواج الغريبة." -#: src/components/FeeSelector/index.tsx -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/shared.tsx msgid "Best for most pairs." msgstr "الأفضل لمعظم الأزواج." -#: src/components/FeeSelector/index.tsx -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/shared.tsx msgid "Best for stable pairs." msgstr "الأفضل للأزواج مستقرة." +#: src/components/FeeSelector/shared.tsx +msgid "Best for very stable pairs." +msgstr "الأفضل للأزواج المستقرة جدًا." + #: src/components/Blocklist/index.tsx msgid "Blocked address" msgstr "عنوان محظور" @@ -1121,7 +1110,7 @@ msgstr "لم يتم العثور على سيولة V2." msgid "No active pools" msgstr "لا توجد محموعات نشطة" -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/FeeTierPercentageBadge.tsx msgid "No data" msgstr "لايوجد بيانات" @@ -1145,7 +1134,7 @@ msgstr "لا توجد مقترحات." msgid "No results found." msgstr "لا توجد نتائج." -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/FeeTierPercentageBadge.tsx msgid "Not created" msgstr "لم يتم إنشاؤه" @@ -2378,6 +2367,7 @@ msgid "{0} • Added by user" msgstr "{0} • أضيفت من قبل المستخدم" #: src/components/CurrencyInputPanel/FiatValue.tsx +#: src/components/FeeSelector/FeeOption.tsx #: src/components/PositionListItem/index.tsx #: src/components/PositionPreview/index.tsx #: src/pages/AddLiquidityV2/ConfirmAddModalBottom.tsx @@ -2392,7 +2382,7 @@ msgstr "{0}%" msgid "{0}% fee tier" msgstr "{0}٪ فئة الرسوم" -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/FeeTierPercentageBadge.tsx msgid "{0}% select" msgstr "{0}٪ حدد" diff --git a/src/locales/ca-ES.po b/src/locales/ca-ES.po index 8dfa530b7d..a566fcb7de 100644 --- a/src/locales/ca-ES.po +++ b/src/locales/ca-ES.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-11 21:07\n" +"PO-Revision-Date: 2021-11-12 15:06\n" "Last-Translator: \n" "Language: ca_ES\n" "Language-Team: Catalan\n" @@ -62,18 +62,6 @@ msgstr "- Elimina el destinatari" msgid "0 UNI / week" msgstr "0 UNI / setmana" -#: src/components/FeeSelector/index.tsx -msgid "0.05% fee" -msgstr "Comissió del 0,05%" - -#: src/components/FeeSelector/index.tsx -msgid "0.3% fee" -msgstr "Comissió del 0,3%" - -#: src/components/FeeSelector/index.tsx -msgid "1% fee" -msgstr "1% de quota" - #: src/pages/RemoveLiquidity/V3.tsx msgid "25%" msgstr "25%" @@ -307,21 +295,22 @@ msgstr "Saldo:" msgid "Balance: {0} {1}" msgstr "Saldo: {0} {1}" -#: src/components/FeeSelector/index.tsx -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/shared.tsx msgid "Best for exotic pairs." msgstr "El millor per a parells exòtics." -#: src/components/FeeSelector/index.tsx -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/shared.tsx msgid "Best for most pairs." msgstr "El millor per a la majoria de parells." -#: src/components/FeeSelector/index.tsx -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/shared.tsx msgid "Best for stable pairs." msgstr "El millor per a parells estables." +#: src/components/FeeSelector/shared.tsx +msgid "Best for very stable pairs." +msgstr "El millor per a parelles molt estables." + #: src/components/Blocklist/index.tsx msgid "Blocked address" msgstr "Adreça bloquejada" @@ -1121,7 +1110,7 @@ msgstr "No s'ha trobat cap liquiditat V2." msgid "No active pools" msgstr "No hi ha cap grup actiu" -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/FeeTierPercentageBadge.tsx msgid "No data" msgstr "No hi ha informació" @@ -1145,7 +1134,7 @@ msgstr "No s'ha trobat cap proposta." msgid "No results found." msgstr "Sense resultats." -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/FeeTierPercentageBadge.tsx msgid "Not created" msgstr "No creat" @@ -2378,6 +2367,7 @@ msgid "{0} • Added by user" msgstr "{0} • Afegit per l'usuari" #: src/components/CurrencyInputPanel/FiatValue.tsx +#: src/components/FeeSelector/FeeOption.tsx #: src/components/PositionListItem/index.tsx #: src/components/PositionPreview/index.tsx #: src/pages/AddLiquidityV2/ConfirmAddModalBottom.tsx @@ -2392,7 +2382,7 @@ msgstr "{0}%" msgid "{0}% fee tier" msgstr "Nivell de quota del {0}" -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/FeeTierPercentageBadge.tsx msgid "{0}% select" msgstr "Selecció del {0}" diff --git a/src/locales/cs-CZ.po b/src/locales/cs-CZ.po index f5e19af0db..536a3a6c54 100644 --- a/src/locales/cs-CZ.po +++ b/src/locales/cs-CZ.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-11 21:07\n" +"PO-Revision-Date: 2021-11-12 15:06\n" "Last-Translator: \n" "Language: cs_CZ\n" "Language-Team: Czech\n" @@ -62,18 +62,6 @@ msgstr "- Odebrat příjemce" msgid "0 UNI / week" msgstr "0 UNI / týden" -#: src/components/FeeSelector/index.tsx -msgid "0.05% fee" -msgstr "Poplatek 0,05 %" - -#: src/components/FeeSelector/index.tsx -msgid "0.3% fee" -msgstr "Poplatek 0,3 %" - -#: src/components/FeeSelector/index.tsx -msgid "1% fee" -msgstr "Poplatek 1 %" - #: src/pages/RemoveLiquidity/V3.tsx msgid "25%" msgstr "25 %" @@ -307,21 +295,22 @@ msgstr "Zůstatek:" msgid "Balance: {0} {1}" msgstr "Zůstatek: {0} {1}" -#: src/components/FeeSelector/index.tsx -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/shared.tsx msgid "Best for exotic pairs." msgstr "Nejlepší pro exotické páry." -#: src/components/FeeSelector/index.tsx -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/shared.tsx msgid "Best for most pairs." msgstr "Nejlepší pro většinu párů." -#: src/components/FeeSelector/index.tsx -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/shared.tsx msgid "Best for stable pairs." msgstr "Nejlepší pro stabilní páry." +#: src/components/FeeSelector/shared.tsx +msgid "Best for very stable pairs." +msgstr "Nejlepší pro velmi stabilní páry." + #: src/components/Blocklist/index.tsx msgid "Blocked address" msgstr "Blokovaná adresa" @@ -1121,7 +1110,7 @@ msgstr "Nebyla nalezena likvidita V2." msgid "No active pools" msgstr "Žádné aktivní fondy" -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/FeeTierPercentageBadge.tsx msgid "No data" msgstr "Žádná data" @@ -1145,7 +1134,7 @@ msgstr "Nebyly nalezeny žádné návrhy." msgid "No results found." msgstr "Nebyly nalezeny žádné výsledky." -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/FeeTierPercentageBadge.tsx msgid "Not created" msgstr "Není vytvořeno" @@ -2378,6 +2367,7 @@ msgid "{0} • Added by user" msgstr "{0} • Přidáno uživatelem" #: src/components/CurrencyInputPanel/FiatValue.tsx +#: src/components/FeeSelector/FeeOption.tsx #: src/components/PositionListItem/index.tsx #: src/components/PositionPreview/index.tsx #: src/pages/AddLiquidityV2/ConfirmAddModalBottom.tsx @@ -2392,7 +2382,7 @@ msgstr "{0} %" msgid "{0}% fee tier" msgstr "Úroveň poplatku {0}" -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/FeeTierPercentageBadge.tsx msgid "{0}% select" msgstr "{0}% vyberte" diff --git a/src/locales/da-DK.po b/src/locales/da-DK.po index 41d64863fc..ded6b858f7 100644 --- a/src/locales/da-DK.po +++ b/src/locales/da-DK.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-11 21:07\n" +"PO-Revision-Date: 2021-11-12 15:06\n" "Last-Translator: \n" "Language: da_DK\n" "Language-Team: Danish\n" @@ -62,18 +62,6 @@ msgstr "- Fjern modtager" msgid "0 UNI / week" msgstr "0 UNI / uge" -#: src/components/FeeSelector/index.tsx -msgid "0.05% fee" -msgstr "0,05 % gebyr" - -#: src/components/FeeSelector/index.tsx -msgid "0.3% fee" -msgstr "0,3% gebyr" - -#: src/components/FeeSelector/index.tsx -msgid "1% fee" -msgstr "1% gebyr" - #: src/pages/RemoveLiquidity/V3.tsx msgid "25%" msgstr "25%" @@ -307,21 +295,22 @@ msgstr "Saldo:" msgid "Balance: {0} {1}" msgstr "Saldo: {0} {1}" -#: src/components/FeeSelector/index.tsx -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/shared.tsx msgid "Best for exotic pairs." msgstr "Bedst for eksotiske par." -#: src/components/FeeSelector/index.tsx -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/shared.tsx msgid "Best for most pairs." msgstr "Bedst for de fleste par." -#: src/components/FeeSelector/index.tsx -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/shared.tsx msgid "Best for stable pairs." msgstr "Bedst for stabile par." +#: src/components/FeeSelector/shared.tsx +msgid "Best for very stable pairs." +msgstr "Bedst til meget stabile par." + #: src/components/Blocklist/index.tsx msgid "Blocked address" msgstr "Blokeret adresse" @@ -1121,7 +1110,7 @@ msgstr "Ingen V2-likviditet fundet." msgid "No active pools" msgstr "Ingen aktive puljer" -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/FeeTierPercentageBadge.tsx msgid "No data" msgstr "Ingen data" @@ -1145,7 +1134,7 @@ msgstr "Ingen forslag fundet." msgid "No results found." msgstr "Ingen resultater fundet." -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/FeeTierPercentageBadge.tsx msgid "Not created" msgstr "Ikke oprettet" @@ -2378,6 +2367,7 @@ msgid "{0} • Added by user" msgstr "{0} • Tilføjet af bruger" #: src/components/CurrencyInputPanel/FiatValue.tsx +#: src/components/FeeSelector/FeeOption.tsx #: src/components/PositionListItem/index.tsx #: src/components/PositionPreview/index.tsx #: src/pages/AddLiquidityV2/ConfirmAddModalBottom.tsx @@ -2392,7 +2382,7 @@ msgstr "{0} %" msgid "{0}% fee tier" msgstr "{0}% gebyrniveau" -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/FeeTierPercentageBadge.tsx msgid "{0}% select" msgstr "{0}% vælg" diff --git a/src/locales/de-DE.po b/src/locales/de-DE.po index 3a2eaa0306..9c598efaf3 100644 --- a/src/locales/de-DE.po +++ b/src/locales/de-DE.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-11 21:07\n" +"PO-Revision-Date: 2021-11-12 15:06\n" "Last-Translator: \n" "Language: de_DE\n" "Language-Team: German\n" @@ -62,18 +62,6 @@ msgstr "- Empfänger entfernen" msgid "0 UNI / week" msgstr "0 UNI / Woche" -#: src/components/FeeSelector/index.tsx -msgid "0.05% fee" -msgstr "0,05 % Gebühr" - -#: src/components/FeeSelector/index.tsx -msgid "0.3% fee" -msgstr "0,3 % Gebühr" - -#: src/components/FeeSelector/index.tsx -msgid "1% fee" -msgstr "1 % Gebühr" - #: src/pages/RemoveLiquidity/V3.tsx msgid "25%" msgstr "25%" @@ -307,21 +295,22 @@ msgstr "Guthaben:" msgid "Balance: {0} {1}" msgstr "Guthaben: {0} {1}" -#: src/components/FeeSelector/index.tsx -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/shared.tsx msgid "Best for exotic pairs." msgstr "Ideal für exotische Paare." -#: src/components/FeeSelector/index.tsx -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/shared.tsx msgid "Best for most pairs." msgstr "Am besten für die meisten Paare." -#: src/components/FeeSelector/index.tsx -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/shared.tsx msgid "Best for stable pairs." msgstr "Am besten für stabile Paare." +#: src/components/FeeSelector/shared.tsx +msgid "Best for very stable pairs." +msgstr "Am besten für sehr stabile Paare." + #: src/components/Blocklist/index.tsx msgid "Blocked address" msgstr "Gesperrte Adresse" @@ -1121,7 +1110,7 @@ msgstr "Keine V2-Liquidität gefunden." msgid "No active pools" msgstr "Keine aktiven Pools" -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/FeeTierPercentageBadge.tsx msgid "No data" msgstr "Keine Daten" @@ -1145,7 +1134,7 @@ msgstr "Keine Vorschläge gefunden." msgid "No results found." msgstr "Keine Ergebnisse gefunden." -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/FeeTierPercentageBadge.tsx msgid "Not created" msgstr "Nicht erstellt" @@ -2378,6 +2367,7 @@ msgid "{0} • Added by user" msgstr "{0} • Vom Benutzer hinzugefügt" #: src/components/CurrencyInputPanel/FiatValue.tsx +#: src/components/FeeSelector/FeeOption.tsx #: src/components/PositionListItem/index.tsx #: src/components/PositionPreview/index.tsx #: src/pages/AddLiquidityV2/ConfirmAddModalBottom.tsx @@ -2392,7 +2382,7 @@ msgstr "{0}%" msgid "{0}% fee tier" msgstr "{0}% Gebührenstufe" -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/FeeTierPercentageBadge.tsx msgid "{0}% select" msgstr "{0}% auswählen" diff --git a/src/locales/el-GR.po b/src/locales/el-GR.po index e9c70543ba..580fc43c64 100644 --- a/src/locales/el-GR.po +++ b/src/locales/el-GR.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-11 21:07\n" +"PO-Revision-Date: 2021-11-12 15:06\n" "Last-Translator: \n" "Language: el_GR\n" "Language-Team: Greek\n" @@ -62,18 +62,6 @@ msgstr "- Αφαίρεση παραλήπτη" msgid "0 UNI / week" msgstr "0 UNI / εβδομάδα" -#: src/components/FeeSelector/index.tsx -msgid "0.05% fee" -msgstr "0,05% χρέωση" - -#: src/components/FeeSelector/index.tsx -msgid "0.3% fee" -msgstr "0,3% χρέωση" - -#: src/components/FeeSelector/index.tsx -msgid "1% fee" -msgstr "1% χρέωση" - #: src/pages/RemoveLiquidity/V3.tsx msgid "25%" msgstr "25%" @@ -307,21 +295,22 @@ msgstr "Υπόλοιπο:" msgid "Balance: {0} {1}" msgstr "Υπόλοιπο: {0} {1}" -#: src/components/FeeSelector/index.tsx -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/shared.tsx msgid "Best for exotic pairs." msgstr "Καλύτερο για εξωτικά ζεύγη." -#: src/components/FeeSelector/index.tsx -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/shared.tsx msgid "Best for most pairs." msgstr "Καλύτερο για τα περισσότερα ζεύγη." -#: src/components/FeeSelector/index.tsx -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/shared.tsx msgid "Best for stable pairs." msgstr "Καλύτερο για σταθερά ζεύγη." +#: src/components/FeeSelector/shared.tsx +msgid "Best for very stable pairs." +msgstr "Καλύτερο για πολύ σταθερά ζευγάρια." + #: src/components/Blocklist/index.tsx msgid "Blocked address" msgstr "Αποκλεισμένη διεύθυνση" @@ -1121,7 +1110,7 @@ msgstr "Δεν βρέθηκε ρευστότητα V2." msgid "No active pools" msgstr "Δεν υπάρχει ενεργή δεξαμενή" -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/FeeTierPercentageBadge.tsx msgid "No data" msgstr "Χωρίς δεδομένα" @@ -1145,7 +1134,7 @@ msgstr "Δεν βρέθηκαν προτάσεις." msgid "No results found." msgstr "Δεν βρέθηκαν αποτελέσματα." -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/FeeTierPercentageBadge.tsx msgid "Not created" msgstr "Δεν δημιουργήθηκε" @@ -2378,6 +2367,7 @@ msgid "{0} • Added by user" msgstr "{0} • Προστέθηκε από τον χρήστη" #: src/components/CurrencyInputPanel/FiatValue.tsx +#: src/components/FeeSelector/FeeOption.tsx #: src/components/PositionListItem/index.tsx #: src/components/PositionPreview/index.tsx #: src/pages/AddLiquidityV2/ConfirmAddModalBottom.tsx @@ -2392,7 +2382,7 @@ msgstr "{0}%" msgid "{0}% fee tier" msgstr "{0}χρέωσης 0%" -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/FeeTierPercentageBadge.tsx msgid "{0}% select" msgstr "{0}% επιλέξτε" diff --git a/src/locales/es-ES.po b/src/locales/es-ES.po index f9b6bcd955..b6456372c8 100644 --- a/src/locales/es-ES.po +++ b/src/locales/es-ES.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-11 21:07\n" +"PO-Revision-Date: 2021-11-12 15:06\n" "Last-Translator: \n" "Language: es_ES\n" "Language-Team: Spanish\n" @@ -62,18 +62,6 @@ msgstr "- Eliminar destinatario" msgid "0 UNI / week" msgstr "0 UNI / semana" -#: src/components/FeeSelector/index.tsx -msgid "0.05% fee" -msgstr "Tarifa del 0,05%" - -#: src/components/FeeSelector/index.tsx -msgid "0.3% fee" -msgstr "Tarifa del 0,3 %" - -#: src/components/FeeSelector/index.tsx -msgid "1% fee" -msgstr "Tarifa del 1 %" - #: src/pages/RemoveLiquidity/V3.tsx msgid "25%" msgstr "25 %" @@ -307,21 +295,22 @@ msgstr "Saldo:" msgid "Balance: {0} {1}" msgstr "Saldo: {0} {1}" -#: src/components/FeeSelector/index.tsx -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/shared.tsx msgid "Best for exotic pairs." msgstr "Lo mejor para pares exóticos." -#: src/components/FeeSelector/index.tsx -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/shared.tsx msgid "Best for most pairs." msgstr "Lo mejor para la mayoría de los pares." -#: src/components/FeeSelector/index.tsx -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/shared.tsx msgid "Best for stable pairs." msgstr "Lo mejor para pares estables." +#: src/components/FeeSelector/shared.tsx +msgid "Best for very stable pairs." +msgstr "Lo mejor para parejas muy estables." + #: src/components/Blocklist/index.tsx msgid "Blocked address" msgstr "Dirección bloqueada" @@ -1121,7 +1110,7 @@ msgstr "No se encontró liquidez V2." msgid "No active pools" msgstr "No hay fondos comunes activos" -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/FeeTierPercentageBadge.tsx msgid "No data" msgstr "Sin datos" @@ -1145,7 +1134,7 @@ msgstr "No se encontraron propuestas." msgid "No results found." msgstr "No se han encontrado resultados." -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/FeeTierPercentageBadge.tsx msgid "Not created" msgstr "No creado" @@ -2378,6 +2367,7 @@ msgid "{0} • Added by user" msgstr "{0} • Agregado por el usuario" #: src/components/CurrencyInputPanel/FiatValue.tsx +#: src/components/FeeSelector/FeeOption.tsx #: src/components/PositionListItem/index.tsx #: src/components/PositionPreview/index.tsx #: src/pages/AddLiquidityV2/ConfirmAddModalBottom.tsx @@ -2392,7 +2382,7 @@ msgstr "{0} %" msgid "{0}% fee tier" msgstr "Nivel de tarifa del {0}" -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/FeeTierPercentageBadge.tsx msgid "{0}% select" msgstr "{0}% seleccionar" diff --git a/src/locales/fi-FI.po b/src/locales/fi-FI.po index ad3fd24d98..38c0265425 100644 --- a/src/locales/fi-FI.po +++ b/src/locales/fi-FI.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-11 21:07\n" +"PO-Revision-Date: 2021-11-12 15:06\n" "Last-Translator: \n" "Language: fi_FI\n" "Language-Team: Finnish\n" @@ -62,18 +62,6 @@ msgstr "- Poista vastaanottaja" msgid "0 UNI / week" msgstr "0 UNI / viikko" -#: src/components/FeeSelector/index.tsx -msgid "0.05% fee" -msgstr "0,05 %:n maksu" - -#: src/components/FeeSelector/index.tsx -msgid "0.3% fee" -msgstr "0,3 %:n maksu" - -#: src/components/FeeSelector/index.tsx -msgid "1% fee" -msgstr "1 %:n maksu" - #: src/pages/RemoveLiquidity/V3.tsx msgid "25%" msgstr "25%" @@ -307,21 +295,22 @@ msgstr "Saldo:" msgid "Balance: {0} {1}" msgstr "Saldo: {0} {1}" -#: src/components/FeeSelector/index.tsx -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/shared.tsx msgid "Best for exotic pairs." msgstr "Paras eksoottisille pareille." -#: src/components/FeeSelector/index.tsx -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/shared.tsx msgid "Best for most pairs." msgstr "Paras useimmille pareille." -#: src/components/FeeSelector/index.tsx -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/shared.tsx msgid "Best for stable pairs." msgstr "Paras vakaille pareille." +#: src/components/FeeSelector/shared.tsx +msgid "Best for very stable pairs." +msgstr "Paras erittäin vakaille pareille." + #: src/components/Blocklist/index.tsx msgid "Blocked address" msgstr "Estetty osoite" @@ -1121,7 +1110,7 @@ msgstr "V2-likviditeettiä ei löytynyt." msgid "No active pools" msgstr "Ei aktiivisia pooleja" -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/FeeTierPercentageBadge.tsx msgid "No data" msgstr "Ei dataa" @@ -1145,7 +1134,7 @@ msgstr "Ehdotuksia ei löytynyt." msgid "No results found." msgstr "Tuloksia ei löytynyt." -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/FeeTierPercentageBadge.tsx msgid "Not created" msgstr "Ei luotu" @@ -2378,6 +2367,7 @@ msgid "{0} • Added by user" msgstr "{0} • Käyttäjän lisäämä" #: src/components/CurrencyInputPanel/FiatValue.tsx +#: src/components/FeeSelector/FeeOption.tsx #: src/components/PositionListItem/index.tsx #: src/components/PositionPreview/index.tsx #: src/pages/AddLiquidityV2/ConfirmAddModalBottom.tsx @@ -2392,7 +2382,7 @@ msgstr "{0}%" msgid "{0}% fee tier" msgstr "{0}%: n palkkataso" -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/FeeTierPercentageBadge.tsx msgid "{0}% select" msgstr "{0}% valitse" diff --git a/src/locales/fr-FR.po b/src/locales/fr-FR.po index 1ff31fd275..9fafdf496b 100644 --- a/src/locales/fr-FR.po +++ b/src/locales/fr-FR.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-11 21:07\n" +"PO-Revision-Date: 2021-11-12 15:06\n" "Last-Translator: \n" "Language: fr_FR\n" "Language-Team: French\n" @@ -62,18 +62,6 @@ msgstr "- Supprimer le destinataire" msgid "0 UNI / week" msgstr "0 UNI / semaine" -#: src/components/FeeSelector/index.tsx -msgid "0.05% fee" -msgstr "Frais de 0,05 %" - -#: src/components/FeeSelector/index.tsx -msgid "0.3% fee" -msgstr "Frais de 0,3 %" - -#: src/components/FeeSelector/index.tsx -msgid "1% fee" -msgstr "Frais de 1 %" - #: src/pages/RemoveLiquidity/V3.tsx msgid "25%" msgstr "25%" @@ -307,21 +295,22 @@ msgstr "Solde :" msgid "Balance: {0} {1}" msgstr "Solde : {0} {1}" -#: src/components/FeeSelector/index.tsx -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/shared.tsx msgid "Best for exotic pairs." msgstr "Idéal pour les paires exotiques." -#: src/components/FeeSelector/index.tsx -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/shared.tsx msgid "Best for most pairs." msgstr "Idéal pour la plupart des paires." -#: src/components/FeeSelector/index.tsx -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/shared.tsx msgid "Best for stable pairs." msgstr "Idéal pour des paires stables." +#: src/components/FeeSelector/shared.tsx +msgid "Best for very stable pairs." +msgstr "Idéal pour les paires très stables." + #: src/components/Blocklist/index.tsx msgid "Blocked address" msgstr "Adresse bloquée" @@ -1121,7 +1110,7 @@ msgstr "Aucune liquidité V2 trouvée." msgid "No active pools" msgstr "Aucun pool actif" -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/FeeTierPercentageBadge.tsx msgid "No data" msgstr "Pas de données" @@ -1145,7 +1134,7 @@ msgstr "Aucune proposition trouvée." msgid "No results found." msgstr "Aucun résultat trouvé." -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/FeeTierPercentageBadge.tsx msgid "Not created" msgstr "Non créé" @@ -2378,6 +2367,7 @@ msgid "{0} • Added by user" msgstr "{0} • Ajouté par l'utilisateur" #: src/components/CurrencyInputPanel/FiatValue.tsx +#: src/components/FeeSelector/FeeOption.tsx #: src/components/PositionListItem/index.tsx #: src/components/PositionPreview/index.tsx #: src/pages/AddLiquidityV2/ConfirmAddModalBottom.tsx @@ -2392,7 +2382,7 @@ msgstr "{0}%" msgid "{0}% fee tier" msgstr "Palier de frais de {0}%" -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/FeeTierPercentageBadge.tsx msgid "{0}% select" msgstr "{0}% sélectionner" diff --git a/src/locales/he-IL.po b/src/locales/he-IL.po index 260a5c35b7..7d097b92b7 100644 --- a/src/locales/he-IL.po +++ b/src/locales/he-IL.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-11 21:07\n" +"PO-Revision-Date: 2021-11-12 15:06\n" "Last-Translator: \n" "Language: he_IL\n" "Language-Team: Hebrew\n" @@ -62,18 +62,6 @@ msgstr "- הסר את הנמען" msgid "0 UNI / week" msgstr "0 UNI לשבוע" -#: src/components/FeeSelector/index.tsx -msgid "0.05% fee" -msgstr "עמלה של 0.05%" - -#: src/components/FeeSelector/index.tsx -msgid "0.3% fee" -msgstr "עמלה של 0.3%" - -#: src/components/FeeSelector/index.tsx -msgid "1% fee" -msgstr "עמלה של 1%" - #: src/pages/RemoveLiquidity/V3.tsx msgid "25%" msgstr "25%" @@ -307,21 +295,22 @@ msgstr "מאזן:" msgid "Balance: {0} {1}" msgstr "מאזן: {0} {1}" -#: src/components/FeeSelector/index.tsx -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/shared.tsx msgid "Best for exotic pairs." msgstr "הטוב ביותר לזוגות אקזוטיים." -#: src/components/FeeSelector/index.tsx -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/shared.tsx msgid "Best for most pairs." msgstr "הטוב ביותר עבור רוב הזוגות." -#: src/components/FeeSelector/index.tsx -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/shared.tsx msgid "Best for stable pairs." msgstr "הטוב ביותר לזוגות יציבים." +#: src/components/FeeSelector/shared.tsx +msgid "Best for very stable pairs." +msgstr "הטוב ביותר עבור זוגות יציבים מאוד." + #: src/components/Blocklist/index.tsx msgid "Blocked address" msgstr "כתובת חסומה" @@ -1121,7 +1110,7 @@ msgstr "לא נמצאה נזילות V2." msgid "No active pools" msgstr "אין בריכות פעילות" -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/FeeTierPercentageBadge.tsx msgid "No data" msgstr "אין מידע" @@ -1145,7 +1134,7 @@ msgstr "לא נמצאו הצעות." msgid "No results found." msgstr "לא נמצאו תוצאות." -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/FeeTierPercentageBadge.tsx msgid "Not created" msgstr "לא נוצר" @@ -2378,6 +2367,7 @@ msgid "{0} • Added by user" msgstr "{0} • נוסף על ידי המשתמש" #: src/components/CurrencyInputPanel/FiatValue.tsx +#: src/components/FeeSelector/FeeOption.tsx #: src/components/PositionListItem/index.tsx #: src/components/PositionPreview/index.tsx #: src/pages/AddLiquidityV2/ConfirmAddModalBottom.tsx @@ -2392,7 +2382,7 @@ msgstr "{0}%" msgid "{0}% fee tier" msgstr "שכבת שכר טרחה של {0}" -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/FeeTierPercentageBadge.tsx msgid "{0}% select" msgstr "בחר {0}" diff --git a/src/locales/hu-HU.po b/src/locales/hu-HU.po index bdc56608db..69b362cbc8 100644 --- a/src/locales/hu-HU.po +++ b/src/locales/hu-HU.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-11 21:07\n" +"PO-Revision-Date: 2021-11-12 15:06\n" "Last-Translator: \n" "Language: hu_HU\n" "Language-Team: Hungarian\n" @@ -62,18 +62,6 @@ msgstr "- Távolítsa el a címzettet" msgid "0 UNI / week" msgstr "0 UNI / hét" -#: src/components/FeeSelector/index.tsx -msgid "0.05% fee" -msgstr "0,05% díj" - -#: src/components/FeeSelector/index.tsx -msgid "0.3% fee" -msgstr "0,3% díj" - -#: src/components/FeeSelector/index.tsx -msgid "1% fee" -msgstr "1% díj" - #: src/pages/RemoveLiquidity/V3.tsx msgid "25%" msgstr "25%" @@ -307,21 +295,22 @@ msgstr "Egyenleg:" msgid "Balance: {0} {1}" msgstr "Egyenleg: {0} {1}" -#: src/components/FeeSelector/index.tsx -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/shared.tsx msgid "Best for exotic pairs." msgstr "Legjobb egzotikus párok számára." -#: src/components/FeeSelector/index.tsx -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/shared.tsx msgid "Best for most pairs." msgstr "Legjobb a legtöbb pár számára." -#: src/components/FeeSelector/index.tsx -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/shared.tsx msgid "Best for stable pairs." msgstr "Legjobb stabil párokhoz." +#: src/components/FeeSelector/shared.tsx +msgid "Best for very stable pairs." +msgstr "A legjobb nagyon stabil párok számára." + #: src/components/Blocklist/index.tsx msgid "Blocked address" msgstr "Zárolt cím" @@ -1122,7 +1111,7 @@ msgstr "V2 likviditás nem található." msgid "No active pools" msgstr "Nincs aktív pool" -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/FeeTierPercentageBadge.tsx msgid "No data" msgstr "Nincs adat" @@ -1146,7 +1135,7 @@ msgstr "Nem található javaslat." msgid "No results found." msgstr "Nincs találat." -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/FeeTierPercentageBadge.tsx msgid "Not created" msgstr "Nincs létrehozva" @@ -2380,6 +2369,7 @@ msgid "{0} • Added by user" msgstr "{0} • felhasználó hozzáadta" #: src/components/CurrencyInputPanel/FiatValue.tsx +#: src/components/FeeSelector/FeeOption.tsx #: src/components/PositionListItem/index.tsx #: src/components/PositionPreview/index.tsx #: src/pages/AddLiquidityV2/ConfirmAddModalBottom.tsx @@ -2394,7 +2384,7 @@ msgstr "{0}%" msgid "{0}% fee tier" msgstr "{0}% -os díjszint" -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/FeeTierPercentageBadge.tsx msgid "{0}% select" msgstr "{0}% választ" diff --git a/src/locales/id-ID.po b/src/locales/id-ID.po index a1f29aff29..b42d3fdc33 100644 --- a/src/locales/id-ID.po +++ b/src/locales/id-ID.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-11 21:07\n" +"PO-Revision-Date: 2021-11-12 15:06\n" "Last-Translator: \n" "Language: id_ID\n" "Language-Team: Indonesian\n" @@ -62,18 +62,6 @@ msgstr "- Hapus penerima" msgid "0 UNI / week" msgstr "0 UNI / minggu" -#: src/components/FeeSelector/index.tsx -msgid "0.05% fee" -msgstr "Biaya 0,05%" - -#: src/components/FeeSelector/index.tsx -msgid "0.3% fee" -msgstr "Biaya 0,3%" - -#: src/components/FeeSelector/index.tsx -msgid "1% fee" -msgstr "Biaya 1%" - #: src/pages/RemoveLiquidity/V3.tsx msgid "25%" msgstr "25%" @@ -307,21 +295,22 @@ msgstr "Saldo:" msgid "Balance: {0} {1}" msgstr "Saldo: {0} {1}" -#: src/components/FeeSelector/index.tsx -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/shared.tsx msgid "Best for exotic pairs." msgstr "Terbaik untuk pasangan eksotis." -#: src/components/FeeSelector/index.tsx -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/shared.tsx msgid "Best for most pairs." msgstr "Terbaik untuk sebagian besar pasangan." -#: src/components/FeeSelector/index.tsx -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/shared.tsx msgid "Best for stable pairs." msgstr "Terbaik untuk pasangan stabil." +#: src/components/FeeSelector/shared.tsx +msgid "Best for very stable pairs." +msgstr "Terbaik untuk pasangan yang sangat stabil." + #: src/components/Blocklist/index.tsx msgid "Blocked address" msgstr "Alamat diblokir" @@ -1121,7 +1110,7 @@ msgstr "Tidak ditemukan Likuiditas V2." msgid "No active pools" msgstr "Tidak ada pangkalan aktif" -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/FeeTierPercentageBadge.tsx msgid "No data" msgstr "Tidak ada data" @@ -1145,7 +1134,7 @@ msgstr "Proposal tidak ditemukan." msgid "No results found." msgstr "Hasil tidak ditemukan." -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/FeeTierPercentageBadge.tsx msgid "Not created" msgstr "Tidak dibuat" @@ -2378,6 +2367,7 @@ msgid "{0} • Added by user" msgstr "{0} • Ditambahkan oleh pengguna" #: src/components/CurrencyInputPanel/FiatValue.tsx +#: src/components/FeeSelector/FeeOption.tsx #: src/components/PositionListItem/index.tsx #: src/components/PositionPreview/index.tsx #: src/pages/AddLiquidityV2/ConfirmAddModalBottom.tsx @@ -2392,7 +2382,7 @@ msgstr "{0}%" msgid "{0}% fee tier" msgstr "tingkat biaya {0}%" -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/FeeTierPercentageBadge.tsx msgid "{0}% select" msgstr "{0}% memilih" diff --git a/src/locales/it-IT.po b/src/locales/it-IT.po index d0b8a7d91f..e91bd19e94 100644 --- a/src/locales/it-IT.po +++ b/src/locales/it-IT.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-11 21:07\n" +"PO-Revision-Date: 2021-11-12 15:06\n" "Last-Translator: \n" "Language: it_IT\n" "Language-Team: Italian\n" @@ -62,18 +62,6 @@ msgstr "- Rimuovi destinatario" msgid "0 UNI / week" msgstr "0 UNI / settimana" -#: src/components/FeeSelector/index.tsx -msgid "0.05% fee" -msgstr "commissione dello 0,05%" - -#: src/components/FeeSelector/index.tsx -msgid "0.3% fee" -msgstr "commissione dello 0,3%" - -#: src/components/FeeSelector/index.tsx -msgid "1% fee" -msgstr "commissione dell'1%" - #: src/pages/RemoveLiquidity/V3.tsx msgid "25%" msgstr "25%" @@ -307,21 +295,22 @@ msgstr "Saldo:" msgid "Balance: {0} {1}" msgstr "Saldo: {0} {1}" -#: src/components/FeeSelector/index.tsx -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/shared.tsx msgid "Best for exotic pairs." msgstr "Ideale per coppie esotiche." -#: src/components/FeeSelector/index.tsx -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/shared.tsx msgid "Best for most pairs." msgstr "Ideale per la maggior parte delle coppie." -#: src/components/FeeSelector/index.tsx -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/shared.tsx msgid "Best for stable pairs." msgstr "Ideale per coppie stabili." +#: src/components/FeeSelector/shared.tsx +msgid "Best for very stable pairs." +msgstr "Ideale per coppie molto stabili." + #: src/components/Blocklist/index.tsx msgid "Blocked address" msgstr "Indirizzo bloccato" @@ -1121,7 +1110,7 @@ msgstr "Nessuna liquidità V2 trovata." msgid "No active pools" msgstr "Nessun pool attivo" -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/FeeTierPercentageBadge.tsx msgid "No data" msgstr "Nessun dato" @@ -1145,7 +1134,7 @@ msgstr "Nessuna proposta trovata." msgid "No results found." msgstr "Nessun risultato trovato." -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/FeeTierPercentageBadge.tsx msgid "Not created" msgstr "Non creato" @@ -2378,6 +2367,7 @@ msgid "{0} • Added by user" msgstr "{0} • Aggiunto dall'utente" #: src/components/CurrencyInputPanel/FiatValue.tsx +#: src/components/FeeSelector/FeeOption.tsx #: src/components/PositionListItem/index.tsx #: src/components/PositionPreview/index.tsx #: src/pages/AddLiquidityV2/ConfirmAddModalBottom.tsx @@ -2392,7 +2382,7 @@ msgstr "{0}%" msgid "{0}% fee tier" msgstr "{0}commissione 0%" -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/FeeTierPercentageBadge.tsx msgid "{0}% select" msgstr "{0}% seleziona" diff --git a/src/locales/ja-JP.po b/src/locales/ja-JP.po index 59ec755355..fa22548a0f 100644 --- a/src/locales/ja-JP.po +++ b/src/locales/ja-JP.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-11 21:07\n" +"PO-Revision-Date: 2021-11-12 15:06\n" "Last-Translator: \n" "Language: ja_JP\n" "Language-Team: Japanese\n" @@ -62,18 +62,6 @@ msgstr "-受信者を削除します" msgid "0 UNI / week" msgstr "0 UNI / 週" -#: src/components/FeeSelector/index.tsx -msgid "0.05% fee" -msgstr "手数料0.05%" - -#: src/components/FeeSelector/index.tsx -msgid "0.3% fee" -msgstr "手数料0.3%" - -#: src/components/FeeSelector/index.tsx -msgid "1% fee" -msgstr "手数料1%" - #: src/pages/RemoveLiquidity/V3.tsx msgid "25%" msgstr "25%" @@ -307,21 +295,22 @@ msgstr "残高:" msgid "Balance: {0} {1}" msgstr "残高: {0} {1}" -#: src/components/FeeSelector/index.tsx -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/shared.tsx msgid "Best for exotic pairs." msgstr "マイナーなペアに最適" -#: src/components/FeeSelector/index.tsx -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/shared.tsx msgid "Best for most pairs." msgstr "ほとんどのペアに最適" -#: src/components/FeeSelector/index.tsx -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/shared.tsx msgid "Best for stable pairs." msgstr "安定的なペアに最適" +#: src/components/FeeSelector/shared.tsx +msgid "Best for very stable pairs." +msgstr "非常に安定したペアに最適です。" + #: src/components/Blocklist/index.tsx msgid "Blocked address" msgstr "ブロックされたアドレス" @@ -1121,7 +1110,7 @@ msgstr "V2の流動性が見つかりません。" msgid "No active pools" msgstr "アクティブなプールがありません" -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/FeeTierPercentageBadge.tsx msgid "No data" msgstr "データがありません" @@ -1145,7 +1134,7 @@ msgstr "提案が見つかりません。" msgid "No results found." msgstr "結果が見つかりませんでした。" -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/FeeTierPercentageBadge.tsx msgid "Not created" msgstr "未作成" @@ -2378,6 +2367,7 @@ msgid "{0} • Added by user" msgstr "{0} • ユーザーにより追加" #: src/components/CurrencyInputPanel/FiatValue.tsx +#: src/components/FeeSelector/FeeOption.tsx #: src/components/PositionListItem/index.tsx #: src/components/PositionPreview/index.tsx #: src/pages/AddLiquidityV2/ConfirmAddModalBottom.tsx @@ -2392,7 +2382,7 @@ msgstr "{0}%" msgid "{0}% fee tier" msgstr "{0}%の手数料レベル" -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/FeeTierPercentageBadge.tsx msgid "{0}% select" msgstr "{0}%が選択" diff --git a/src/locales/ko-KR.po b/src/locales/ko-KR.po index 1ed0ce52bc..ede7494ddc 100644 --- a/src/locales/ko-KR.po +++ b/src/locales/ko-KR.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-11 21:07\n" +"PO-Revision-Date: 2021-11-12 15:06\n" "Last-Translator: \n" "Language: ko_KR\n" "Language-Team: Korean\n" @@ -62,18 +62,6 @@ msgstr "- 받는 사람 제거" msgid "0 UNI / week" msgstr "0 UNI / 주" -#: src/components/FeeSelector/index.tsx -msgid "0.05% fee" -msgstr "0.05 % 수수료" - -#: src/components/FeeSelector/index.tsx -msgid "0.3% fee" -msgstr "0.3 % 수수료" - -#: src/components/FeeSelector/index.tsx -msgid "1% fee" -msgstr "1 % 수수료" - #: src/pages/RemoveLiquidity/V3.tsx msgid "25%" msgstr "25 %" @@ -307,21 +295,22 @@ msgstr "잔액:" msgid "Balance: {0} {1}" msgstr "잔액 : {0} {1}" -#: src/components/FeeSelector/index.tsx -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/shared.tsx msgid "Best for exotic pairs." msgstr "이국적인 쌍에 가장 적합합니다." -#: src/components/FeeSelector/index.tsx -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/shared.tsx msgid "Best for most pairs." msgstr "대부분의 쌍에 가장 적합합니다." -#: src/components/FeeSelector/index.tsx -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/shared.tsx msgid "Best for stable pairs." msgstr "안정적인 쌍에 가장 적합합니다." +#: src/components/FeeSelector/shared.tsx +msgid "Best for very stable pairs." +msgstr "매우 안정적인 쌍에 가장 적합합니다." + #: src/components/Blocklist/index.tsx msgid "Blocked address" msgstr "차단된 주소" @@ -1121,7 +1110,7 @@ msgstr "V2 유동성이 없습니다." msgid "No active pools" msgstr "활성 풀 없음" -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/FeeTierPercentageBadge.tsx msgid "No data" msgstr "데이터 없음" @@ -1145,7 +1134,7 @@ msgstr "제안이 없습니다." msgid "No results found." msgstr "결과가 없습니다." -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/FeeTierPercentageBadge.tsx msgid "Not created" msgstr "생성되지 않음" @@ -2378,6 +2367,7 @@ msgid "{0} • Added by user" msgstr "{0} • 사용자가 추가" #: src/components/CurrencyInputPanel/FiatValue.tsx +#: src/components/FeeSelector/FeeOption.tsx #: src/components/PositionListItem/index.tsx #: src/components/PositionPreview/index.tsx #: src/pages/AddLiquidityV2/ConfirmAddModalBottom.tsx @@ -2392,7 +2382,7 @@ msgstr "{0}%" msgid "{0}% fee tier" msgstr "{0}% 수수료 등급" -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/FeeTierPercentageBadge.tsx msgid "{0}% select" msgstr "{0}% 선택" diff --git a/src/locales/nl-NL.po b/src/locales/nl-NL.po index a0a41babbc..07e4161286 100644 --- a/src/locales/nl-NL.po +++ b/src/locales/nl-NL.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-11 21:07\n" +"PO-Revision-Date: 2021-11-12 15:06\n" "Last-Translator: \n" "Language: nl_NL\n" "Language-Team: Dutch\n" @@ -62,18 +62,6 @@ msgstr "- Ontvanger verwijderen" msgid "0 UNI / week" msgstr "0 UNI / week" -#: src/components/FeeSelector/index.tsx -msgid "0.05% fee" -msgstr "0,05% vergoeding" - -#: src/components/FeeSelector/index.tsx -msgid "0.3% fee" -msgstr "0,3% vergoeding" - -#: src/components/FeeSelector/index.tsx -msgid "1% fee" -msgstr "1% vergoeding" - #: src/pages/RemoveLiquidity/V3.tsx msgid "25%" msgstr "25%" @@ -307,21 +295,22 @@ msgstr "Saldo:" msgid "Balance: {0} {1}" msgstr "Saldo: {0} {1}" -#: src/components/FeeSelector/index.tsx -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/shared.tsx msgid "Best for exotic pairs." msgstr "Het beste voor exotische paren." -#: src/components/FeeSelector/index.tsx -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/shared.tsx msgid "Best for most pairs." msgstr "Het beste voor de meeste paren." -#: src/components/FeeSelector/index.tsx -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/shared.tsx msgid "Best for stable pairs." msgstr "Het beste voor stabiele paren." +#: src/components/FeeSelector/shared.tsx +msgid "Best for very stable pairs." +msgstr "Het beste voor zeer stabiele paren." + #: src/components/Blocklist/index.tsx msgid "Blocked address" msgstr "Geblokkeerd adres" @@ -1121,7 +1110,7 @@ msgstr "Geen V2-liquiditeit gevonden." msgid "No active pools" msgstr "Geen actieve pools" -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/FeeTierPercentageBadge.tsx msgid "No data" msgstr "Geen informatie" @@ -1145,7 +1134,7 @@ msgstr "Geen voorstellen gevonden." msgid "No results found." msgstr "Geen resultaten gevonden." -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/FeeTierPercentageBadge.tsx msgid "Not created" msgstr "Niet gemaakt" @@ -2378,6 +2367,7 @@ msgid "{0} • Added by user" msgstr "{0} • Toegevoegd door gebruiker" #: src/components/CurrencyInputPanel/FiatValue.tsx +#: src/components/FeeSelector/FeeOption.tsx #: src/components/PositionListItem/index.tsx #: src/components/PositionPreview/index.tsx #: src/pages/AddLiquidityV2/ConfirmAddModalBottom.tsx @@ -2392,7 +2382,7 @@ msgstr "{0}%" msgid "{0}% fee tier" msgstr "{0}% vergoedingsniveau" -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/FeeTierPercentageBadge.tsx msgid "{0}% select" msgstr "{0}% selecteren" diff --git a/src/locales/no-NO.po b/src/locales/no-NO.po index e680231528..551c455f8e 100644 --- a/src/locales/no-NO.po +++ b/src/locales/no-NO.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-11 21:07\n" +"PO-Revision-Date: 2021-11-12 15:06\n" "Last-Translator: \n" "Language: no_NO\n" "Language-Team: Norwegian\n" @@ -62,18 +62,6 @@ msgstr "- Fjern mottaker" msgid "0 UNI / week" msgstr "0 UNI / uke" -#: src/components/FeeSelector/index.tsx -msgid "0.05% fee" -msgstr "0,05 % avgift" - -#: src/components/FeeSelector/index.tsx -msgid "0.3% fee" -msgstr "0,3 % avgift" - -#: src/components/FeeSelector/index.tsx -msgid "1% fee" -msgstr "1 % avgift" - #: src/pages/RemoveLiquidity/V3.tsx msgid "25%" msgstr "25 %" @@ -307,21 +295,22 @@ msgstr "Saldo:" msgid "Balance: {0} {1}" msgstr "Saldo: {0} {1}" -#: src/components/FeeSelector/index.tsx -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/shared.tsx msgid "Best for exotic pairs." msgstr "Best for eksotiske par." -#: src/components/FeeSelector/index.tsx -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/shared.tsx msgid "Best for most pairs." msgstr "Beste for de fleste par." -#: src/components/FeeSelector/index.tsx -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/shared.tsx msgid "Best for stable pairs." msgstr "Beste for stabile par." +#: src/components/FeeSelector/shared.tsx +msgid "Best for very stable pairs." +msgstr "Best for veldig stabile par." + #: src/components/Blocklist/index.tsx msgid "Blocked address" msgstr "Blokkert adresse" @@ -1121,7 +1110,7 @@ msgstr "Ingen V2-likviditet funnet." msgid "No active pools" msgstr "Ingen aktive potter" -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/FeeTierPercentageBadge.tsx msgid "No data" msgstr "Ingen data" @@ -1145,7 +1134,7 @@ msgstr "Ingen forslag funnet." msgid "No results found." msgstr "Ingen resultater." -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/FeeTierPercentageBadge.tsx msgid "Not created" msgstr "Ikke opprettet" @@ -2378,6 +2367,7 @@ msgid "{0} • Added by user" msgstr "{0} • Lagt til av bruker" #: src/components/CurrencyInputPanel/FiatValue.tsx +#: src/components/FeeSelector/FeeOption.tsx #: src/components/PositionListItem/index.tsx #: src/components/PositionPreview/index.tsx #: src/pages/AddLiquidityV2/ConfirmAddModalBottom.tsx @@ -2392,7 +2382,7 @@ msgstr "{0} %" msgid "{0}% fee tier" msgstr "{0}% avgiftsnivå" -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/FeeTierPercentageBadge.tsx msgid "{0}% select" msgstr "{0}% velg" diff --git a/src/locales/pl-PL.po b/src/locales/pl-PL.po index e4cebcbdde..725e116de6 100644 --- a/src/locales/pl-PL.po +++ b/src/locales/pl-PL.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-11 21:07\n" +"PO-Revision-Date: 2021-11-12 15:06\n" "Last-Translator: \n" "Language: pl_PL\n" "Language-Team: Polish\n" @@ -62,18 +62,6 @@ msgstr "- Usuń odbiorcę" msgid "0 UNI / week" msgstr "0 UNI / tydzień" -#: src/components/FeeSelector/index.tsx -msgid "0.05% fee" -msgstr "0,05% opłaty" - -#: src/components/FeeSelector/index.tsx -msgid "0.3% fee" -msgstr "0,3% opłaty" - -#: src/components/FeeSelector/index.tsx -msgid "1% fee" -msgstr "1% opłaty" - #: src/pages/RemoveLiquidity/V3.tsx msgid "25%" msgstr "25%" @@ -307,21 +295,22 @@ msgstr "Saldo:" msgid "Balance: {0} {1}" msgstr "Saldo: {0} {1}" -#: src/components/FeeSelector/index.tsx -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/shared.tsx msgid "Best for exotic pairs." msgstr "Najlepsze dla par egzotycznych." -#: src/components/FeeSelector/index.tsx -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/shared.tsx msgid "Best for most pairs." msgstr "Najlepsze dla większości par." -#: src/components/FeeSelector/index.tsx -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/shared.tsx msgid "Best for stable pairs." msgstr "Najlepsze dla stabilnych par." +#: src/components/FeeSelector/shared.tsx +msgid "Best for very stable pairs." +msgstr "Najlepsze dla bardzo stabilnych par." + #: src/components/Blocklist/index.tsx msgid "Blocked address" msgstr "Zablokowany adres" @@ -1121,7 +1110,7 @@ msgstr "Nie znaleziono płynności V2." msgid "No active pools" msgstr "Brak aktywnych pul" -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/FeeTierPercentageBadge.tsx msgid "No data" msgstr "Brak danych" @@ -1145,7 +1134,7 @@ msgstr "Nie znaleziono propozycji." msgid "No results found." msgstr "Nie znaleziono wyników." -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/FeeTierPercentageBadge.tsx msgid "Not created" msgstr "Nie utworzono" @@ -2378,6 +2367,7 @@ msgid "{0} • Added by user" msgstr "{0} • Dodane przez użytkownika" #: src/components/CurrencyInputPanel/FiatValue.tsx +#: src/components/FeeSelector/FeeOption.tsx #: src/components/PositionListItem/index.tsx #: src/components/PositionPreview/index.tsx #: src/pages/AddLiquidityV2/ConfirmAddModalBottom.tsx @@ -2392,7 +2382,7 @@ msgstr "{0}%" msgid "{0}% fee tier" msgstr "{0}% poziom opłat" -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/FeeTierPercentageBadge.tsx msgid "{0}% select" msgstr "{0}% wybierz" diff --git a/src/locales/pt-BR.po b/src/locales/pt-BR.po index d32bfe924a..2aea0c0a04 100644 --- a/src/locales/pt-BR.po +++ b/src/locales/pt-BR.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-11 21:07\n" +"PO-Revision-Date: 2021-11-12 15:06\n" "Last-Translator: \n" "Language: pt_BR\n" "Language-Team: Portuguese, Brazilian\n" @@ -62,18 +62,6 @@ msgstr "- Remover destinatário" msgid "0 UNI / week" msgstr "0 UNI/semana" -#: src/components/FeeSelector/index.tsx -msgid "0.05% fee" -msgstr "Taxa de 0,05%" - -#: src/components/FeeSelector/index.tsx -msgid "0.3% fee" -msgstr "Taxa de 0,3%" - -#: src/components/FeeSelector/index.tsx -msgid "1% fee" -msgstr "Taxa de 1%" - #: src/pages/RemoveLiquidity/V3.tsx msgid "25%" msgstr "25%" @@ -307,21 +295,22 @@ msgstr "Saldo:" msgid "Balance: {0} {1}" msgstr "Saldo: {0} {1}" -#: src/components/FeeSelector/index.tsx -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/shared.tsx msgid "Best for exotic pairs." msgstr "Melhor para pares exóticos." -#: src/components/FeeSelector/index.tsx -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/shared.tsx msgid "Best for most pairs." msgstr "Melhor para a maioria dos pares." -#: src/components/FeeSelector/index.tsx -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/shared.tsx msgid "Best for stable pairs." msgstr "Melhor para pares estáveis." +#: src/components/FeeSelector/shared.tsx +msgid "Best for very stable pairs." +msgstr "Melhor para pares muito estáveis." + #: src/components/Blocklist/index.tsx msgid "Blocked address" msgstr "Endereço bloqueado" @@ -1121,7 +1110,7 @@ msgstr "Nenhuma liquidez V2 encontrada." msgid "No active pools" msgstr "Nenhum lote ativo" -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/FeeTierPercentageBadge.tsx msgid "No data" msgstr "Sem dados" @@ -1145,7 +1134,7 @@ msgstr "Nenhuma proposta encontrada." msgid "No results found." msgstr "Nenhum resultado encontrado." -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/FeeTierPercentageBadge.tsx msgid "Not created" msgstr "Não criado" @@ -2378,6 +2367,7 @@ msgid "{0} • Added by user" msgstr "{0} • Adicionado pelo usuário" #: src/components/CurrencyInputPanel/FiatValue.tsx +#: src/components/FeeSelector/FeeOption.tsx #: src/components/PositionListItem/index.tsx #: src/components/PositionPreview/index.tsx #: src/pages/AddLiquidityV2/ConfirmAddModalBottom.tsx @@ -2392,7 +2382,7 @@ msgstr "{0}%" msgid "{0}% fee tier" msgstr "Nível de taxa de {0}" -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/FeeTierPercentageBadge.tsx msgid "{0}% select" msgstr "{0}% selecionar" diff --git a/src/locales/pt-PT.po b/src/locales/pt-PT.po index 8a42669ddb..3c2efeb116 100644 --- a/src/locales/pt-PT.po +++ b/src/locales/pt-PT.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-11 21:07\n" +"PO-Revision-Date: 2021-11-12 15:06\n" "Last-Translator: \n" "Language: pt_PT\n" "Language-Team: Portuguese\n" @@ -62,18 +62,6 @@ msgstr "- Remover destinatário" msgid "0 UNI / week" msgstr "0 UNI / semana" -#: src/components/FeeSelector/index.tsx -msgid "0.05% fee" -msgstr "comissão de 0,05%" - -#: src/components/FeeSelector/index.tsx -msgid "0.3% fee" -msgstr "Comissão de 0.3%" - -#: src/components/FeeSelector/index.tsx -msgid "1% fee" -msgstr "Comissão de 1%" - #: src/pages/RemoveLiquidity/V3.tsx msgid "25%" msgstr "25%" @@ -307,21 +295,22 @@ msgstr "Saldo:" msgid "Balance: {0} {1}" msgstr "Saldo: {0} {1}" -#: src/components/FeeSelector/index.tsx -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/shared.tsx msgid "Best for exotic pairs." msgstr "Melhor para pares exóticos." -#: src/components/FeeSelector/index.tsx -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/shared.tsx msgid "Best for most pairs." msgstr "Melhor para a maioria dos pares." -#: src/components/FeeSelector/index.tsx -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/shared.tsx msgid "Best for stable pairs." msgstr "Melhor para pares estáveis." +#: src/components/FeeSelector/shared.tsx +msgid "Best for very stable pairs." +msgstr "Melhor para pares muito estáveis." + #: src/components/Blocklist/index.tsx msgid "Blocked address" msgstr "Endereço bloqueado" @@ -1121,7 +1110,7 @@ msgstr "Nenhuma liquidez V2 encontrada." msgid "No active pools" msgstr "Não existem pools ativas" -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/FeeTierPercentageBadge.tsx msgid "No data" msgstr "Sem dados" @@ -1145,7 +1134,7 @@ msgstr "Nenhuma proposta encontrada." msgid "No results found." msgstr "Nenhum resultado encontrado." -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/FeeTierPercentageBadge.tsx msgid "Not created" msgstr "Não criado" @@ -2378,6 +2367,7 @@ msgid "{0} • Added by user" msgstr "{0} • Adicionado pelo utilizador" #: src/components/CurrencyInputPanel/FiatValue.tsx +#: src/components/FeeSelector/FeeOption.tsx #: src/components/PositionListItem/index.tsx #: src/components/PositionPreview/index.tsx #: src/pages/AddLiquidityV2/ConfirmAddModalBottom.tsx @@ -2392,7 +2382,7 @@ msgstr "{0}%" msgid "{0}% fee tier" msgstr "Nível de taxa de {0}" -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/FeeTierPercentageBadge.tsx msgid "{0}% select" msgstr "{0}% selecionar" diff --git a/src/locales/ro-RO.po b/src/locales/ro-RO.po index b85b178879..3c76038552 100644 --- a/src/locales/ro-RO.po +++ b/src/locales/ro-RO.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-11 21:07\n" +"PO-Revision-Date: 2021-11-12 15:06\n" "Last-Translator: \n" "Language: ro_RO\n" "Language-Team: Romanian\n" @@ -62,18 +62,6 @@ msgstr "- Eliminați destinatarul" msgid "0 UNI / week" msgstr "0 UNI / săptămână" -#: src/components/FeeSelector/index.tsx -msgid "0.05% fee" -msgstr "taxă 0,05%" - -#: src/components/FeeSelector/index.tsx -msgid "0.3% fee" -msgstr "Taxă 0.3%" - -#: src/components/FeeSelector/index.tsx -msgid "1% fee" -msgstr "Taxă 1%" - #: src/pages/RemoveLiquidity/V3.tsx msgid "25%" msgstr "25%" @@ -307,21 +295,22 @@ msgstr "Sold:" msgid "Balance: {0} {1}" msgstr "Sold: {0} {1}" -#: src/components/FeeSelector/index.tsx -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/shared.tsx msgid "Best for exotic pairs." msgstr "Cel mai bun pentru perechi exotice." -#: src/components/FeeSelector/index.tsx -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/shared.tsx msgid "Best for most pairs." msgstr "Cel mai bun pentru majoritatea perechilor." -#: src/components/FeeSelector/index.tsx -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/shared.tsx msgid "Best for stable pairs." msgstr "Cel mai bun pentru perechi stabile." +#: src/components/FeeSelector/shared.tsx +msgid "Best for very stable pairs." +msgstr "Cel mai bun pentru perechi foarte stabile." + #: src/components/Blocklist/index.tsx msgid "Blocked address" msgstr "Adresă blocată" @@ -1121,7 +1110,7 @@ msgstr "Nu s-a găsit nicio Lichiditate V2." msgid "No active pools" msgstr "Nu există grupuri active" -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/FeeTierPercentageBadge.tsx msgid "No data" msgstr "Nu există date" @@ -1145,7 +1134,7 @@ msgstr "Nicio propunere găsită." msgid "No results found." msgstr "Nici un rezultat găsit." -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/FeeTierPercentageBadge.tsx msgid "Not created" msgstr "Nu a fost creat" @@ -2378,6 +2367,7 @@ msgid "{0} • Added by user" msgstr "{0} • Adăugat de utilizator" #: src/components/CurrencyInputPanel/FiatValue.tsx +#: src/components/FeeSelector/FeeOption.tsx #: src/components/PositionListItem/index.tsx #: src/components/PositionPreview/index.tsx #: src/pages/AddLiquidityV2/ConfirmAddModalBottom.tsx @@ -2392,7 +2382,7 @@ msgstr "{0}%" msgid "{0}% fee tier" msgstr "Nivel comision {0}" -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/FeeTierPercentageBadge.tsx msgid "{0}% select" msgstr "{0}% selectează" diff --git a/src/locales/ru-RU.po b/src/locales/ru-RU.po index f8b126ed34..1e72fc5e0e 100644 --- a/src/locales/ru-RU.po +++ b/src/locales/ru-RU.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-11 21:07\n" +"PO-Revision-Date: 2021-11-12 15:06\n" "Last-Translator: \n" "Language: ru_RU\n" "Language-Team: Russian\n" @@ -62,18 +62,6 @@ msgstr "- Удалить получателя" msgid "0 UNI / week" msgstr "0 UNI в неделю" -#: src/components/FeeSelector/index.tsx -msgid "0.05% fee" -msgstr "Комиссия 0,05%" - -#: src/components/FeeSelector/index.tsx -msgid "0.3% fee" -msgstr "Комиссия 0,3%" - -#: src/components/FeeSelector/index.tsx -msgid "1% fee" -msgstr "Комиссия 1%" - #: src/pages/RemoveLiquidity/V3.tsx msgid "25%" msgstr "25%" @@ -307,21 +295,22 @@ msgstr "Баланс:" msgid "Balance: {0} {1}" msgstr "Баланс: {0} {1}" -#: src/components/FeeSelector/index.tsx -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/shared.tsx msgid "Best for exotic pairs." msgstr "Подходит для экзотических пар." -#: src/components/FeeSelector/index.tsx -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/shared.tsx msgid "Best for most pairs." msgstr "Подходит для большинства пар." -#: src/components/FeeSelector/index.tsx -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/shared.tsx msgid "Best for stable pairs." msgstr "Подходит для пар стейблкоинов." +#: src/components/FeeSelector/shared.tsx +msgid "Best for very stable pairs." +msgstr "Лучше всего подходит для очень стабильных пар." + #: src/components/Blocklist/index.tsx msgid "Blocked address" msgstr "Заблокированный адрес" @@ -1121,7 +1110,7 @@ msgstr "Ликвидность в V2 не обнаружена." msgid "No active pools" msgstr "Нет активных пулов" -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/FeeTierPercentageBadge.tsx msgid "No data" msgstr "Нет данных" @@ -1145,7 +1134,7 @@ msgstr "Предложений не найдено." msgid "No results found." msgstr "Ничего не найдено." -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/FeeTierPercentageBadge.tsx msgid "Not created" msgstr "Не создано" @@ -2378,6 +2367,7 @@ msgid "{0} • Added by user" msgstr "{0} • Пользовательский" #: src/components/CurrencyInputPanel/FiatValue.tsx +#: src/components/FeeSelector/FeeOption.tsx #: src/components/PositionListItem/index.tsx #: src/components/PositionPreview/index.tsx #: src/pages/AddLiquidityV2/ConfirmAddModalBottom.tsx @@ -2392,7 +2382,7 @@ msgstr "{0}%" msgid "{0}% fee tier" msgstr "Уровень комиссии {0}%" -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/FeeTierPercentageBadge.tsx msgid "{0}% select" msgstr "Выбирают {0}%" diff --git a/src/locales/sl-SI.po b/src/locales/sl-SI.po index 8e13483c0b..22a3c8e337 100644 --- a/src/locales/sl-SI.po +++ b/src/locales/sl-SI.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-11 21:07\n" +"PO-Revision-Date: 2021-11-12 15:06\n" "Last-Translator: \n" "Language: sl_SI\n" "Language-Team: Slovenian\n" @@ -62,18 +62,6 @@ msgstr "- Odstrani prejemnika" msgid "0 UNI / week" msgstr "0 UNI / teden" -#: src/components/FeeSelector/index.tsx -msgid "0.05% fee" -msgstr "0,05 % provizije" - -#: src/components/FeeSelector/index.tsx -msgid "0.3% fee" -msgstr "0,3 % provizije" - -#: src/components/FeeSelector/index.tsx -msgid "1% fee" -msgstr "1% provizije" - #: src/pages/RemoveLiquidity/V3.tsx msgid "25%" msgstr "25 %" @@ -307,21 +295,22 @@ msgstr "Dobroimetje:" msgid "Balance: {0} {1}" msgstr "Dobroimetje: {0} {1}" -#: src/components/FeeSelector/index.tsx -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/shared.tsx msgid "Best for exotic pairs." msgstr "Primerno za redko uporabljane pare." -#: src/components/FeeSelector/index.tsx -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/shared.tsx msgid "Best for most pairs." msgstr "Primerno za večino parov." -#: src/components/FeeSelector/index.tsx -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/shared.tsx msgid "Best for stable pairs." msgstr "Primerno za stabilne pare." +#: src/components/FeeSelector/shared.tsx +msgid "Best for very stable pairs." +msgstr "Najboljše za zelo stabilne pare." + #: src/components/Blocklist/index.tsx msgid "Blocked address" msgstr "Blokiran naslov" @@ -1121,7 +1110,7 @@ msgstr "Ne najdem nobene likvidnosti V2." msgid "No active pools" msgstr "Ni aktivnih skladov" -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/FeeTierPercentageBadge.tsx msgid "No data" msgstr "Ni podatkov" @@ -1145,7 +1134,7 @@ msgstr "Ni predlogov." msgid "No results found." msgstr "Ni rezultatov." -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/FeeTierPercentageBadge.tsx msgid "Not created" msgstr "Ni ustvarjeno" @@ -2378,6 +2367,7 @@ msgid "{0} • Added by user" msgstr "{0} • Dodal uporabnik" #: src/components/CurrencyInputPanel/FiatValue.tsx +#: src/components/FeeSelector/FeeOption.tsx #: src/components/PositionListItem/index.tsx #: src/components/PositionPreview/index.tsx #: src/pages/AddLiquidityV2/ConfirmAddModalBottom.tsx @@ -2392,7 +2382,7 @@ msgstr "{0} %" msgid "{0}% fee tier" msgstr "Nivo provizij {0} %" -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/FeeTierPercentageBadge.tsx msgid "{0}% select" msgstr "{0}% izberi" diff --git a/src/locales/sr-SP.po b/src/locales/sr-SP.po index 281e1f2834..a268cda3fc 100644 --- a/src/locales/sr-SP.po +++ b/src/locales/sr-SP.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-11 21:07\n" +"PO-Revision-Date: 2021-11-12 15:06\n" "Last-Translator: \n" "Language: sr_SP\n" "Language-Team: Serbian (Cyrillic)\n" @@ -62,18 +62,6 @@ msgstr "- Уклоните примаоца" msgid "0 UNI / week" msgstr "0 УНИ / недељно" -#: src/components/FeeSelector/index.tsx -msgid "0.05% fee" -msgstr "0,05% накнада" - -#: src/components/FeeSelector/index.tsx -msgid "0.3% fee" -msgstr "0,3% накнада" - -#: src/components/FeeSelector/index.tsx -msgid "1% fee" -msgstr "1% накнада" - #: src/pages/RemoveLiquidity/V3.tsx msgid "25%" msgstr "25%" @@ -307,21 +295,22 @@ msgstr "Стање:" msgid "Balance: {0} {1}" msgstr "Стање: {0} {1}" -#: src/components/FeeSelector/index.tsx -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/shared.tsx msgid "Best for exotic pairs." msgstr "Најбоље за егзотичне парове." -#: src/components/FeeSelector/index.tsx -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/shared.tsx msgid "Best for most pairs." msgstr "Најбоље за већину парова." -#: src/components/FeeSelector/index.tsx -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/shared.tsx msgid "Best for stable pairs." msgstr "Најбоље за стабилне парове." +#: src/components/FeeSelector/shared.tsx +msgid "Best for very stable pairs." +msgstr "Најбоље за веома стабилне парове." + #: src/components/Blocklist/index.tsx msgid "Blocked address" msgstr "Блокирана адреса" @@ -1121,7 +1110,7 @@ msgstr "Није пронађена ликвидност V2." msgid "No active pools" msgstr "Нема активних фондова" -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/FeeTierPercentageBadge.tsx msgid "No data" msgstr "Нема података" @@ -1145,7 +1134,7 @@ msgstr "Није пронађен ниједан предлог." msgid "No results found." msgstr "Нема резултата." -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/FeeTierPercentageBadge.tsx msgid "Not created" msgstr "Није створено" @@ -2378,6 +2367,7 @@ msgid "{0} • Added by user" msgstr "{0} • Додао корисник" #: src/components/CurrencyInputPanel/FiatValue.tsx +#: src/components/FeeSelector/FeeOption.tsx #: src/components/PositionListItem/index.tsx #: src/components/PositionPreview/index.tsx #: src/pages/AddLiquidityV2/ConfirmAddModalBottom.tsx @@ -2392,7 +2382,7 @@ msgstr "{0}%" msgid "{0}% fee tier" msgstr "Накнада од {0}" -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/FeeTierPercentageBadge.tsx msgid "{0}% select" msgstr "{0}% изабрано" diff --git a/src/locales/sv-SE.po b/src/locales/sv-SE.po index 9503485faf..2aebb92b5e 100644 --- a/src/locales/sv-SE.po +++ b/src/locales/sv-SE.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-11 21:07\n" +"PO-Revision-Date: 2021-11-12 15:06\n" "Last-Translator: \n" "Language: sv_SE\n" "Language-Team: Swedish\n" @@ -62,18 +62,6 @@ msgstr "- Ta bort mottagaren" msgid "0 UNI / week" msgstr "0 UNI/vecka" -#: src/components/FeeSelector/index.tsx -msgid "0.05% fee" -msgstr "0,05 % avgift" - -#: src/components/FeeSelector/index.tsx -msgid "0.3% fee" -msgstr "0,3 % avgift" - -#: src/components/FeeSelector/index.tsx -msgid "1% fee" -msgstr "1 % avgift" - #: src/pages/RemoveLiquidity/V3.tsx msgid "25%" msgstr "25 %" @@ -307,21 +295,22 @@ msgstr "Saldo:" msgid "Balance: {0} {1}" msgstr "Balans: {0} {1}" -#: src/components/FeeSelector/index.tsx -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/shared.tsx msgid "Best for exotic pairs." msgstr "Bäst för exotiska par." -#: src/components/FeeSelector/index.tsx -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/shared.tsx msgid "Best for most pairs." msgstr "Bäst för de flesta par." -#: src/components/FeeSelector/index.tsx -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/shared.tsx msgid "Best for stable pairs." msgstr "Bäst för stabila par." +#: src/components/FeeSelector/shared.tsx +msgid "Best for very stable pairs." +msgstr "Bäst för mycket stabila par." + #: src/components/Blocklist/index.tsx msgid "Blocked address" msgstr "Blockerad adress" @@ -1121,7 +1110,7 @@ msgstr "Ingen V2-likviditet hittades." msgid "No active pools" msgstr "Inga aktiva pooler" -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/FeeTierPercentageBadge.tsx msgid "No data" msgstr "Inga data" @@ -1145,7 +1134,7 @@ msgstr "Inga förslag hittades." msgid "No results found." msgstr "Inga resultat hittades." -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/FeeTierPercentageBadge.tsx msgid "Not created" msgstr "Inte skapad" @@ -2378,6 +2367,7 @@ msgid "{0} • Added by user" msgstr "{0} • Tillagd av användare" #: src/components/CurrencyInputPanel/FiatValue.tsx +#: src/components/FeeSelector/FeeOption.tsx #: src/components/PositionListItem/index.tsx #: src/components/PositionPreview/index.tsx #: src/pages/AddLiquidityV2/ConfirmAddModalBottom.tsx @@ -2392,7 +2382,7 @@ msgstr "{0}%" msgid "{0}% fee tier" msgstr "{0}% avgiftsnivå" -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/FeeTierPercentageBadge.tsx msgid "{0}% select" msgstr "{0}% välj" diff --git a/src/locales/sw-TZ.po b/src/locales/sw-TZ.po index 9e6bf497c9..760e7f847a 100644 --- a/src/locales/sw-TZ.po +++ b/src/locales/sw-TZ.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-11 21:07\n" +"PO-Revision-Date: 2021-11-12 15:06\n" "Last-Translator: \n" "Language: sw_TZ\n" "Language-Team: Swahili, Tanzania\n" @@ -62,18 +62,6 @@ msgstr "- Ondoa mpokeaji" msgid "0 UNI / week" msgstr "0 UNI / wiki" -#: src/components/FeeSelector/index.tsx -msgid "0.05% fee" -msgstr "makato 0.05%" - -#: src/components/FeeSelector/index.tsx -msgid "0.3% fee" -msgstr "makato 0.3%" - -#: src/components/FeeSelector/index.tsx -msgid "1% fee" -msgstr "makato 1%" - #: src/pages/RemoveLiquidity/V3.tsx msgid "25%" msgstr "25%" @@ -307,21 +295,22 @@ msgstr "Kiasi:" msgid "Balance: {0} {1}" msgstr "Kiasi: {0} {1}" -#: src/components/FeeSelector/index.tsx -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/shared.tsx msgid "Best for exotic pairs." msgstr "Bora kwa pair maalum." -#: src/components/FeeSelector/index.tsx -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/shared.tsx msgid "Best for most pairs." msgstr "Bora kwa pair nyingi." -#: src/components/FeeSelector/index.tsx -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/shared.tsx msgid "Best for stable pairs." msgstr "Bora kwa pair thabiti." +#: src/components/FeeSelector/shared.tsx +msgid "Best for very stable pairs." +msgstr "Bora kwa jozi imara sana." + #: src/components/Blocklist/index.tsx msgid "Blocked address" msgstr "Anwani iliyozuiliwa" @@ -1121,7 +1110,7 @@ msgstr "Hakuna V2 Liquidity iliyopatikana." msgid "No active pools" msgstr "Hakuna mabwawa ya kazi" -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/FeeTierPercentageBadge.tsx msgid "No data" msgstr "Hakuna data" @@ -1145,7 +1134,7 @@ msgstr "Hakuna mapendekezo yaliyopatikana." msgid "No results found." msgstr "Hakuna matokeo yaliyopatikana." -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/FeeTierPercentageBadge.tsx msgid "Not created" msgstr "Haijaundwa" @@ -2378,6 +2367,7 @@ msgid "{0} • Added by user" msgstr "{0} • Imeongezwa na mtumiaji" #: src/components/CurrencyInputPanel/FiatValue.tsx +#: src/components/FeeSelector/FeeOption.tsx #: src/components/PositionListItem/index.tsx #: src/components/PositionPreview/index.tsx #: src/pages/AddLiquidityV2/ConfirmAddModalBottom.tsx @@ -2392,7 +2382,7 @@ msgstr "{0}%" msgid "{0}% fee tier" msgstr "Kiwango cha ada ya {0}" -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/FeeTierPercentageBadge.tsx msgid "{0}% select" msgstr "Chagua {0}" diff --git a/src/locales/th-TH.po b/src/locales/th-TH.po index ac46eec958..75088f22ef 100644 --- a/src/locales/th-TH.po +++ b/src/locales/th-TH.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-11 21:07\n" +"PO-Revision-Date: 2021-11-12 15:06\n" "Last-Translator: \n" "Language: th_TH\n" "Language-Team: Thai\n" @@ -62,18 +62,6 @@ msgstr "- ลบผู้รับ" msgid "0 UNI / week" msgstr "0 UNI / สัปดาห์" -#: src/components/FeeSelector/index.tsx -msgid "0.05% fee" -msgstr "ค่าธรรมเนียม 0.05%" - -#: src/components/FeeSelector/index.tsx -msgid "0.3% fee" -msgstr "ค่าธรรมเนียม 0.3%" - -#: src/components/FeeSelector/index.tsx -msgid "1% fee" -msgstr "ค่าธรรมเนียม 1%" - #: src/pages/RemoveLiquidity/V3.tsx msgid "25%" msgstr "25%" @@ -307,21 +295,22 @@ msgstr "สมดุล:" msgid "Balance: {0} {1}" msgstr "ยอดคงเหลือ: {0} {1}" -#: src/components/FeeSelector/index.tsx -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/shared.tsx msgid "Best for exotic pairs." msgstr "ดีที่สุดสำหรับคู่ที่แปลกใหม่" -#: src/components/FeeSelector/index.tsx -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/shared.tsx msgid "Best for most pairs." msgstr "ดีที่สุดสำหรับคู่ส่วนใหญ่" -#: src/components/FeeSelector/index.tsx -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/shared.tsx msgid "Best for stable pairs." msgstr "ดีที่สุดสำหรับคู่ที่มั่นคง" +#: src/components/FeeSelector/shared.tsx +msgid "Best for very stable pairs." +msgstr "ดีที่สุดสำหรับคู่ที่มีเสถียรภาพมาก" + #: src/components/Blocklist/index.tsx msgid "Blocked address" msgstr "ที่อยู่ที่ถูกบล็อก" @@ -1121,7 +1110,7 @@ msgstr "ไม่พบสภาพคล่อง V2" msgid "No active pools" msgstr "ไม่มีสระว่ายน้ำที่ใช้งาน" -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/FeeTierPercentageBadge.tsx msgid "No data" msgstr "ไม่มีข้อมูล" @@ -1145,7 +1134,7 @@ msgstr "ไม่พบข้อเสนอ" msgid "No results found." msgstr "ไม่พบผลลัพธ์." -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/FeeTierPercentageBadge.tsx msgid "Not created" msgstr "ไม่ได้สร้าง" @@ -2378,6 +2367,7 @@ msgid "{0} • Added by user" msgstr "{0} • เพิ่มโดย user" #: src/components/CurrencyInputPanel/FiatValue.tsx +#: src/components/FeeSelector/FeeOption.tsx #: src/components/PositionListItem/index.tsx #: src/components/PositionPreview/index.tsx #: src/pages/AddLiquidityV2/ConfirmAddModalBottom.tsx @@ -2392,7 +2382,7 @@ msgstr "{0}%" msgid "{0}% fee tier" msgstr "ระดับค่าธรรมเนียม {0}" -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/FeeTierPercentageBadge.tsx msgid "{0}% select" msgstr "เลือก {0}" diff --git a/src/locales/tr-TR.po b/src/locales/tr-TR.po index 2c2eb724fc..0ad45e5bc3 100644 --- a/src/locales/tr-TR.po +++ b/src/locales/tr-TR.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-11 21:07\n" +"PO-Revision-Date: 2021-11-12 15:06\n" "Last-Translator: \n" "Language: tr_TR\n" "Language-Team: Turkish\n" @@ -62,18 +62,6 @@ msgstr "- Alıcıyı kaldır" msgid "0 UNI / week" msgstr "0 UNI / hafta" -#: src/components/FeeSelector/index.tsx -msgid "0.05% fee" -msgstr "%0,05 ücret" - -#: src/components/FeeSelector/index.tsx -msgid "0.3% fee" -msgstr "%0,3 ücret" - -#: src/components/FeeSelector/index.tsx -msgid "1% fee" -msgstr "%1 ücret" - #: src/pages/RemoveLiquidity/V3.tsx msgid "25%" msgstr "%25" @@ -307,21 +295,22 @@ msgstr "Bakiye:" msgid "Balance: {0} {1}" msgstr "Bakiye: {0} {1}" -#: src/components/FeeSelector/index.tsx -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/shared.tsx msgid "Best for exotic pairs." msgstr "Egzotik çiftler için en iyisi." -#: src/components/FeeSelector/index.tsx -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/shared.tsx msgid "Best for most pairs." msgstr "Çoğu çift için en iyisi." -#: src/components/FeeSelector/index.tsx -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/shared.tsx msgid "Best for stable pairs." msgstr "Kararlı çiftler için en iyisi." +#: src/components/FeeSelector/shared.tsx +msgid "Best for very stable pairs." +msgstr "Çok kararlı çiftler için en iyisi." + #: src/components/Blocklist/index.tsx msgid "Blocked address" msgstr "Engellenen adres" @@ -1121,7 +1110,7 @@ msgstr "V2 Likiditesi bulunamadı." msgid "No active pools" msgstr "Aktif havuz yok" -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/FeeTierPercentageBadge.tsx msgid "No data" msgstr "Veri yok" @@ -1145,7 +1134,7 @@ msgstr "Teklif bulunamadı." msgid "No results found." msgstr "Sonuç bulunamadı." -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/FeeTierPercentageBadge.tsx msgid "Not created" msgstr "oluşturulmadı" @@ -2378,6 +2367,7 @@ msgid "{0} • Added by user" msgstr "{0} • Kullanıcı tarafından eklendi" #: src/components/CurrencyInputPanel/FiatValue.tsx +#: src/components/FeeSelector/FeeOption.tsx #: src/components/PositionListItem/index.tsx #: src/components/PositionPreview/index.tsx #: src/pages/AddLiquidityV2/ConfirmAddModalBottom.tsx @@ -2392,7 +2382,7 @@ msgstr "%{0}" msgid "{0}% fee tier" msgstr "{0}ücret katmanı" -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/FeeTierPercentageBadge.tsx msgid "{0}% select" msgstr "% {0}" diff --git a/src/locales/uk-UA.po b/src/locales/uk-UA.po index a1005176c0..1618c8feff 100644 --- a/src/locales/uk-UA.po +++ b/src/locales/uk-UA.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-11 21:07\n" +"PO-Revision-Date: 2021-11-12 15:06\n" "Last-Translator: \n" "Language: uk_UA\n" "Language-Team: Ukrainian\n" @@ -62,18 +62,6 @@ msgstr "- Вилучити одержувача" msgid "0 UNI / week" msgstr "0 UNI/тиждень" -#: src/components/FeeSelector/index.tsx -msgid "0.05% fee" -msgstr "Комісія 0,05%" - -#: src/components/FeeSelector/index.tsx -msgid "0.3% fee" -msgstr "Комісія 0,3%" - -#: src/components/FeeSelector/index.tsx -msgid "1% fee" -msgstr "Комісія 1%" - #: src/pages/RemoveLiquidity/V3.tsx msgid "25%" msgstr "25%" @@ -307,21 +295,22 @@ msgstr "Баланс:" msgid "Balance: {0} {1}" msgstr "Баланс: {0} {1}" -#: src/components/FeeSelector/index.tsx -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/shared.tsx msgid "Best for exotic pairs." msgstr "Найкраще для екзотичних пар." -#: src/components/FeeSelector/index.tsx -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/shared.tsx msgid "Best for most pairs." msgstr "Найкраще для більшості пар." -#: src/components/FeeSelector/index.tsx -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/shared.tsx msgid "Best for stable pairs." msgstr "Найкраще для стабільних пар." +#: src/components/FeeSelector/shared.tsx +msgid "Best for very stable pairs." +msgstr "Найкраще підходить для дуже стабільних пар." + #: src/components/Blocklist/index.tsx msgid "Blocked address" msgstr "Заблокована адреса" @@ -1121,7 +1110,7 @@ msgstr "Не знайдено ліквідності V2." msgid "No active pools" msgstr "Немає активних пулів" -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/FeeTierPercentageBadge.tsx msgid "No data" msgstr "Немає даних" @@ -1145,7 +1134,7 @@ msgstr "Пропозиції не знайдено." msgid "No results found." msgstr "Результатів не знайдено." -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/FeeTierPercentageBadge.tsx msgid "Not created" msgstr "Не створено" @@ -2378,6 +2367,7 @@ msgid "{0} • Added by user" msgstr "{0} • Додано користувачем" #: src/components/CurrencyInputPanel/FiatValue.tsx +#: src/components/FeeSelector/FeeOption.tsx #: src/components/PositionListItem/index.tsx #: src/components/PositionPreview/index.tsx #: src/pages/AddLiquidityV2/ConfirmAddModalBottom.tsx @@ -2392,7 +2382,7 @@ msgstr "{0}%" msgid "{0}% fee tier" msgstr "Рівень комісії {0}" -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/FeeTierPercentageBadge.tsx msgid "{0}% select" msgstr "{0}% вибрати" diff --git a/src/locales/vi-VN.po b/src/locales/vi-VN.po index f60b5f2fb2..cb42759e40 100644 --- a/src/locales/vi-VN.po +++ b/src/locales/vi-VN.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-11 21:07\n" +"PO-Revision-Date: 2021-11-12 15:06\n" "Last-Translator: \n" "Language: vi_VN\n" "Language-Team: Vietnamese\n" @@ -62,18 +62,6 @@ msgstr "- Xóa người nhận" msgid "0 UNI / week" msgstr "0 UNI / tuần" -#: src/components/FeeSelector/index.tsx -msgid "0.05% fee" -msgstr "Phí 0,05%" - -#: src/components/FeeSelector/index.tsx -msgid "0.3% fee" -msgstr "Phí 0,3%" - -#: src/components/FeeSelector/index.tsx -msgid "1% fee" -msgstr "Phí 1%" - #: src/pages/RemoveLiquidity/V3.tsx msgid "25%" msgstr "25%" @@ -307,21 +295,22 @@ msgstr "Thăng bằng:" msgid "Balance: {0} {1}" msgstr "Số dư: {0} {1}" -#: src/components/FeeSelector/index.tsx -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/shared.tsx msgid "Best for exotic pairs." msgstr "Tốt nhất cho các cặp kỳ lạ." -#: src/components/FeeSelector/index.tsx -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/shared.tsx msgid "Best for most pairs." msgstr "Tốt nhất cho hầu hết các cặp." -#: src/components/FeeSelector/index.tsx -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/shared.tsx msgid "Best for stable pairs." msgstr "Tốt nhất cho các cặp ổn định." +#: src/components/FeeSelector/shared.tsx +msgid "Best for very stable pairs." +msgstr "Tốt nhất cho các cặp rất ổn định." + #: src/components/Blocklist/index.tsx msgid "Blocked address" msgstr "Địa chỉ bị chặn" @@ -1121,7 +1110,7 @@ msgstr "Không tìm thấy Thanh khoản V2." msgid "No active pools" msgstr "Không có pool hoạt động" -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/FeeTierPercentageBadge.tsx msgid "No data" msgstr "Không có dữ liệu" @@ -1145,7 +1134,7 @@ msgstr "Không tìm thấy đề xuất nào." msgid "No results found." msgstr "Không có kết quả nào được tìm thấy." -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/FeeTierPercentageBadge.tsx msgid "Not created" msgstr "Chưa tạo" @@ -2378,6 +2367,7 @@ msgid "{0} • Added by user" msgstr "{0} • Người dùng thêm vào" #: src/components/CurrencyInputPanel/FiatValue.tsx +#: src/components/FeeSelector/FeeOption.tsx #: src/components/PositionListItem/index.tsx #: src/components/PositionPreview/index.tsx #: src/pages/AddLiquidityV2/ConfirmAddModalBottom.tsx @@ -2392,7 +2382,7 @@ msgstr "{0}%" msgid "{0}% fee tier" msgstr "Mức phí {0}" -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/FeeTierPercentageBadge.tsx msgid "{0}% select" msgstr "{0}% chọn" diff --git a/src/locales/zh-CN.po b/src/locales/zh-CN.po index 048ebcec84..06a9b054f0 100644 --- a/src/locales/zh-CN.po +++ b/src/locales/zh-CN.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-12 09:06\n" +"PO-Revision-Date: 2021-11-12 15:06\n" "Last-Translator: \n" "Language: zh_CN\n" "Language-Team: Chinese Simplified\n" @@ -62,18 +62,6 @@ msgstr "- 删除接收人" msgid "0 UNI / week" msgstr "0 UNI 代币 / 每周" -#: src/components/FeeSelector/index.tsx -msgid "0.05% fee" -msgstr "0.05%手续费" - -#: src/components/FeeSelector/index.tsx -msgid "0.3% fee" -msgstr "0.3%手续费" - -#: src/components/FeeSelector/index.tsx -msgid "1% fee" -msgstr "1%手续费" - #: src/pages/RemoveLiquidity/V3.tsx msgid "25%" msgstr "25%" @@ -307,21 +295,22 @@ msgstr "余额:" msgid "Balance: {0} {1}" msgstr "余额:{0} {1}" -#: src/components/FeeSelector/index.tsx -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/shared.tsx msgid "Best for exotic pairs." msgstr "适合低交易量的币对。" -#: src/components/FeeSelector/index.tsx -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/shared.tsx msgid "Best for most pairs." msgstr "适合大多数币对。" -#: src/components/FeeSelector/index.tsx -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/shared.tsx msgid "Best for stable pairs." msgstr "适合稳定币币对。" +#: src/components/FeeSelector/shared.tsx +msgid "Best for very stable pairs." +msgstr "最适合非常稳定的配对。" + #: src/components/Blocklist/index.tsx msgid "Blocked address" msgstr "已屏蔽地址" @@ -1121,7 +1110,7 @@ msgstr "找不到V2流动资金。" msgid "No active pools" msgstr "无运行中的流动池" -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/FeeTierPercentageBadge.tsx msgid "No data" msgstr "没有数据" @@ -1145,7 +1134,7 @@ msgstr "没有提案。" msgid "No results found." msgstr "未找到结果。" -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/FeeTierPercentageBadge.tsx msgid "Not created" msgstr "未创建" @@ -2378,6 +2367,7 @@ msgid "{0} • Added by user" msgstr "{0} • 由用户添加" #: src/components/CurrencyInputPanel/FiatValue.tsx +#: src/components/FeeSelector/FeeOption.tsx #: src/components/PositionListItem/index.tsx #: src/components/PositionPreview/index.tsx #: src/pages/AddLiquidityV2/ConfirmAddModalBottom.tsx @@ -2392,7 +2382,7 @@ msgstr "{0}%" msgid "{0}% fee tier" msgstr "{0}% 手续费级别" -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/FeeTierPercentageBadge.tsx msgid "{0}% select" msgstr "选择 {0}%" diff --git a/src/locales/zh-TW.po b/src/locales/zh-TW.po index a3c870dac3..c082a92435 100644 --- a/src/locales/zh-TW.po +++ b/src/locales/zh-TW.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-12 09:06\n" +"PO-Revision-Date: 2021-11-12 15:06\n" "Last-Translator: \n" "Language: zh_TW\n" "Language-Team: Chinese Traditional\n" @@ -62,18 +62,6 @@ msgstr "- 刪除接收人" msgid "0 UNI / week" msgstr "0 UNI 代幣 / 每周" -#: src/components/FeeSelector/index.tsx -msgid "0.05% fee" -msgstr "0.05% 手續費" - -#: src/components/FeeSelector/index.tsx -msgid "0.3% fee" -msgstr "0.3% 手續費" - -#: src/components/FeeSelector/index.tsx -msgid "1% fee" -msgstr "1% 手續費" - #: src/pages/RemoveLiquidity/V3.tsx msgid "25%" msgstr "25%" @@ -307,21 +295,22 @@ msgstr "余額:" msgid "Balance: {0} {1}" msgstr "余額:{0} {1}" -#: src/components/FeeSelector/index.tsx -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/shared.tsx msgid "Best for exotic pairs." msgstr "適合低交易量的幣對。" -#: src/components/FeeSelector/index.tsx -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/shared.tsx msgid "Best for most pairs." msgstr "適合大部分幣對。" -#: src/components/FeeSelector/index.tsx -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/shared.tsx msgid "Best for stable pairs." msgstr "適合穩定幣幣對。" +#: src/components/FeeSelector/shared.tsx +msgid "Best for very stable pairs." +msgstr "最適合非常穩定的配對。" + #: src/components/Blocklist/index.tsx msgid "Blocked address" msgstr "已屏蔽地址" @@ -1121,7 +1110,7 @@ msgstr "找不到V2流動資金。" msgid "No active pools" msgstr "無運行中的流動池" -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/FeeTierPercentageBadge.tsx msgid "No data" msgstr "沒有資料" @@ -1145,7 +1134,7 @@ msgstr "沒有提案。" msgid "No results found." msgstr "未找到任何結果。" -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/FeeTierPercentageBadge.tsx msgid "Not created" msgstr "未創建" @@ -2378,6 +2367,7 @@ msgid "{0} • Added by user" msgstr "{0} • 由用戶添加" #: src/components/CurrencyInputPanel/FiatValue.tsx +#: src/components/FeeSelector/FeeOption.tsx #: src/components/PositionListItem/index.tsx #: src/components/PositionPreview/index.tsx #: src/pages/AddLiquidityV2/ConfirmAddModalBottom.tsx @@ -2392,7 +2382,7 @@ msgstr "{0}%" msgid "{0}% fee tier" msgstr "{0}% 手續費級別" -#: src/components/FeeSelector/index.tsx +#: src/components/FeeSelector/FeeTierPercentageBadge.tsx msgid "{0}% select" msgstr "選擇 {0}%" From d0be3bf222fb3bcd5f8ecf92d3eacc9f2d75c3e8 Mon Sep 17 00:00:00 2001 From: Jordan Frankfurt Date: Fri, 12 Nov 2021 09:18:25 -0600 Subject: [PATCH 031/378] fix(L2): update block warning updater to check most recent block timestamp (#2777) * update block warning updater to check most recent block timestamp * stop doing dumb state manipulation --- src/state/application/updater.ts | 34 ++++++++++++++++++++++++-------- 1 file changed, 26 insertions(+), 8 deletions(-) diff --git a/src/state/application/updater.ts b/src/state/application/updater.ts index 54062bdea2..d1b7dba13e 100644 --- a/src/state/application/updater.ts +++ b/src/state/application/updater.ts @@ -1,4 +1,5 @@ import { CHAIN_INFO } from 'constants/chains' +import useCurrentBlockTimestamp from 'hooks/useCurrentBlockTimestamp' import useDebounce from 'hooks/useDebounce' import useIsWindowVisible from 'hooks/useIsWindowVisible' import { useActiveWeb3React } from 'hooks/web3' @@ -9,7 +10,6 @@ import { useAppDispatch, useAppSelector } from 'state/hooks' import { supportedChainId } from 'utils/supportedChainId' import { switchToNetwork } from 'utils/switchToNetwork' -import { useBlockNumber } from './hooks' import { setChainConnectivityWarning, setImplements3085, updateBlockNumber, updateChainId } from './reducer' function useQueryCacheInvalidator() { @@ -35,16 +35,26 @@ function useBlockWarningTimer() { const timeout = useRef() const isWindowVisible = useIsWindowVisible() const [msSinceLastBlock, setMsSinceLastBlock] = useState(0) - const currentBlock = useBlockNumber() + const blockTimestamp = useCurrentBlockTimestamp() - useEffect(() => { - setMsSinceLastBlock(0) - }, [currentBlock]) + const waitMsBeforeWarning = + (chainId ? CHAIN_INFO[chainId]?.blockWaitMsBeforeWarning : DEFAULT_MS_BEFORE_WARNING) ?? DEFAULT_MS_BEFORE_WARNING useEffect(() => { - const waitMsBeforeWarning = - (chainId ? CHAIN_INFO[chainId]?.blockWaitMsBeforeWarning : DEFAULT_MS_BEFORE_WARNING) ?? DEFAULT_MS_BEFORE_WARNING + if (blockTimestamp && chainId) { + if (Math.floor(Date.now() - blockTimestamp.mul(1000).toNumber()) > waitMsBeforeWarning) { + if (!chainConnectivityWarningActive) { + dispatch(setChainConnectivityWarning({ warn: true })) + } + } else { + if (chainConnectivityWarningActive) { + dispatch(setChainConnectivityWarning({ warn: false })) + } + } + } + }, [blockTimestamp, chainId, chainConnectivityWarningActive, dispatch, waitMsBeforeWarning]) + useEffect(() => { timeout.current = setTimeout(() => { setMsSinceLastBlock(NETWORK_HEALTH_CHECK_MS + msSinceLastBlock) if (msSinceLastBlock > waitMsBeforeWarning && isWindowVisible) { @@ -59,7 +69,15 @@ function useBlockWarningTimer() { clearTimeout(timeout.current) } } - }, [chainId, chainConnectivityWarningActive, dispatch, isWindowVisible, msSinceLastBlock, setMsSinceLastBlock]) + }, [ + chainId, + chainConnectivityWarningActive, + dispatch, + isWindowVisible, + msSinceLastBlock, + setMsSinceLastBlock, + waitMsBeforeWarning, + ]) } export default function Updater(): null { From 68f85764994fbae02dad315d3dbead040ac767ad Mon Sep 17 00:00:00 2001 From: Moody Salem Date: Fri, 12 Nov 2021 11:50:07 -0500 Subject: [PATCH 032/378] fix: copy in network alert --- src/components/NetworkAlert/NetworkAlert.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/NetworkAlert/NetworkAlert.tsx b/src/components/NetworkAlert/NetworkAlert.tsx index 9cec1e6158..d9b9acd062 100644 --- a/src/components/NetworkAlert/NetworkAlert.tsx +++ b/src/components/NetworkAlert/NetworkAlert.tsx @@ -260,7 +260,7 @@ export function NetworkAlert(props: NetworkAlertProps) { - To starting trading on {info.label}, first bridge your assets from L1 to L2. Please treat this as a beta + To start trading on {info.label}, first bridge your assets from L1 to L2. Please treat this as a beta release and learn about the risks before using {info.label}. From 55c971892c0342373c32ddd46a509cd09d6c9415 Mon Sep 17 00:00:00 2001 From: Crowdin Bot Date: Fri, 12 Nov 2021 17:09:58 +0000 Subject: [PATCH 033/378] chore(i18n): synchronize translations from crowdin [skip ci] --- src/locales/af-ZA.po | 6 +++--- src/locales/ar-SA.po | 4 ++-- src/locales/ca-ES.po | 6 +++--- src/locales/cs-CZ.po | 6 +++--- src/locales/da-DK.po | 6 +++--- src/locales/de-DE.po | 6 +++--- src/locales/el-GR.po | 6 +++--- src/locales/es-ES.po | 4 ++-- src/locales/fi-FI.po | 6 +++--- src/locales/fr-FR.po | 6 +++--- src/locales/he-IL.po | 6 +++--- src/locales/hu-HU.po | 6 +++--- src/locales/id-ID.po | 4 ++-- src/locales/it-IT.po | 6 +++--- src/locales/ja-JP.po | 4 ++-- src/locales/ko-KR.po | 4 ++-- src/locales/nl-NL.po | 6 +++--- src/locales/no-NO.po | 6 +++--- src/locales/pl-PL.po | 4 ++-- src/locales/pt-BR.po | 4 ++-- src/locales/pt-PT.po | 4 ++-- src/locales/ro-RO.po | 6 +++--- src/locales/ru-RU.po | 6 +++--- src/locales/sl-SI.po | 6 +++--- src/locales/sr-SP.po | 6 +++--- src/locales/sv-SE.po | 6 +++--- src/locales/sw-TZ.po | 6 +++--- src/locales/th-TH.po | 6 +++--- src/locales/tr-TR.po | 6 +++--- src/locales/uk-UA.po | 6 +++--- src/locales/vi-VN.po | 4 ++-- src/locales/zh-CN.po | 6 +++--- src/locales/zh-TW.po | 6 +++--- 33 files changed, 90 insertions(+), 90 deletions(-) diff --git a/src/locales/af-ZA.po b/src/locales/af-ZA.po index f5cbae24a5..6ed6b5b9da 100644 --- a/src/locales/af-ZA.po +++ b/src/locales/af-ZA.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-12 15:06\n" +"PO-Revision-Date: 2021-11-12 17:09\n" "Last-Translator: \n" "Language: af_ZA\n" "Language-Team: Afrikaans\n" @@ -1681,8 +1681,8 @@ msgid "To (at least)" msgstr "Aan (ten minste)" #: src/components/NetworkAlert/NetworkAlert.tsx -msgid "To starting trading on {0}, first bridge your assets from L1 to L2. Please treat this as a beta release and learn about the risks before using {1}." -msgstr "{0}te begin verhandel, moet u eers u bates van L1 na L2 oorbrug. Behandel dit as 'n beta -weergawe en leer meer oor die risiko's voordat u {1}." +msgid "To start trading on {0}, first bridge your assets from L1 to L2. Please treat this as a beta release and learn about the risks before using {1}." +msgstr "Om te begin handel dryf op {0}, oorbrug eers jou bates van L1 na L2. Behandel dit asseblief as 'n beta-vrystelling en leer oor die risiko's voordat u {1}." #: src/components/SearchModal/BlockedToken.tsx msgid "Token not supported" diff --git a/src/locales/ar-SA.po b/src/locales/ar-SA.po index 6ceb15c09e..3848e60674 100644 --- a/src/locales/ar-SA.po +++ b/src/locales/ar-SA.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-12 15:06\n" +"PO-Revision-Date: 2021-11-12 17:09\n" "Last-Translator: \n" "Language: ar_SA\n" "Language-Team: Arabic\n" @@ -1681,7 +1681,7 @@ msgid "To (at least)" msgstr "إلى (على الأقل)" #: src/components/NetworkAlert/NetworkAlert.tsx -msgid "To starting trading on {0}, first bridge your assets from L1 to L2. Please treat this as a beta release and learn about the risks before using {1}." +msgid "To start trading on {0}, first bridge your assets from L1 to L2. Please treat this as a beta release and learn about the risks before using {1}." msgstr "لبدء التداول على {0}، قم أولاً بتوصيل أصولك من L1 إلى L2. يرجى التعامل مع هذا كإصدار تجريبي والتعرف على المخاطر قبل استخدام {1}." #: src/components/SearchModal/BlockedToken.tsx diff --git a/src/locales/ca-ES.po b/src/locales/ca-ES.po index a566fcb7de..6e62929bde 100644 --- a/src/locales/ca-ES.po +++ b/src/locales/ca-ES.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-12 15:06\n" +"PO-Revision-Date: 2021-11-12 17:09\n" "Last-Translator: \n" "Language: ca_ES\n" "Language-Team: Catalan\n" @@ -1681,8 +1681,8 @@ msgid "To (at least)" msgstr "A (com a mínim)" #: src/components/NetworkAlert/NetworkAlert.tsx -msgid "To starting trading on {0}, first bridge your assets from L1 to L2. Please treat this as a beta release and learn about the risks before using {1}." -msgstr "Per començar a cotitzar a {0}, primer creeu els vostres actius de L1 a L2. Tracteu-ho com una versió beta i apreneu sobre els riscos abans d’utilitzar {1}." +msgid "To start trading on {0}, first bridge your assets from L1 to L2. Please treat this as a beta release and learn about the risks before using {1}." +msgstr "Per començar a operar a {0}, primer connecteu els vostres actius de L1 a L2. Si us plau, tracteu-ho com una versió beta i aprèn sobre els riscos abans d'utilitzar {1}." #: src/components/SearchModal/BlockedToken.tsx msgid "Token not supported" diff --git a/src/locales/cs-CZ.po b/src/locales/cs-CZ.po index 536a3a6c54..50992b3b90 100644 --- a/src/locales/cs-CZ.po +++ b/src/locales/cs-CZ.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-12 15:06\n" +"PO-Revision-Date: 2021-11-12 17:09\n" "Last-Translator: \n" "Language: cs_CZ\n" "Language-Team: Czech\n" @@ -1681,8 +1681,8 @@ msgid "To (at least)" msgstr "Do (alespoň)" #: src/components/NetworkAlert/NetworkAlert.tsx -msgid "To starting trading on {0}, first bridge your assets from L1 to L2. Please treat this as a beta release and learn about the risks before using {1}." -msgstr "Chcete -li začít obchodovat na {0}, nejprve přemostěte svá aktiva z L1 na L2. Berte to prosím jako beta verzi a seznamte se s riziky před použitím {1}." +msgid "To start trading on {0}, first bridge your assets from L1 to L2. Please treat this as a beta release and learn about the risks before using {1}." +msgstr "Chcete-li začít obchodovat na {0}, nejprve přemosťujte svá aktiva z L1 na L2. Berte to prosím jako beta verzi a před použitím se seznamte s riziky {1}." #: src/components/SearchModal/BlockedToken.tsx msgid "Token not supported" diff --git a/src/locales/da-DK.po b/src/locales/da-DK.po index ded6b858f7..dfe2842a22 100644 --- a/src/locales/da-DK.po +++ b/src/locales/da-DK.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-12 15:06\n" +"PO-Revision-Date: 2021-11-12 17:09\n" "Last-Translator: \n" "Language: da_DK\n" "Language-Team: Danish\n" @@ -1681,8 +1681,8 @@ msgid "To (at least)" msgstr "Til (mindst)" #: src/components/NetworkAlert/NetworkAlert.tsx -msgid "To starting trading on {0}, first bridge your assets from L1 to L2. Please treat this as a beta release and learn about the risks before using {1}." -msgstr "For at starte handel med {0}skal du først bygge dine aktiver fra L1 til L2. Behandl dette som en betaversion, og lær om risiciene, før du bruger {1}." +msgid "To start trading on {0}, first bridge your assets from L1 to L2. Please treat this as a beta release and learn about the risks before using {1}." +msgstr "For at begynde at handle på {0}skal du først bygge bro mellem dine aktiver fra L1 til L2. Behandl dette som en betaversion og lær om risiciene, før du bruger {1}." #: src/components/SearchModal/BlockedToken.tsx msgid "Token not supported" diff --git a/src/locales/de-DE.po b/src/locales/de-DE.po index 9c598efaf3..450ea2f1de 100644 --- a/src/locales/de-DE.po +++ b/src/locales/de-DE.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-12 15:06\n" +"PO-Revision-Date: 2021-11-12 17:09\n" "Last-Translator: \n" "Language: de_DE\n" "Language-Team: German\n" @@ -1681,8 +1681,8 @@ msgid "To (at least)" msgstr "Nach (mindestens)" #: src/components/NetworkAlert/NetworkAlert.tsx -msgid "To starting trading on {0}, first bridge your assets from L1 to L2. Please treat this as a beta release and learn about the risks before using {1}." -msgstr "Um mit dem Handel bei {0}zu beginnen, überbrücken Sie zuerst Ihr Vermögen von L1 zu L2. Bitte behandeln Sie dies als Beta-Release und informieren Sie sich über die Risiken, bevor Sie {1}." +msgid "To start trading on {0}, first bridge your assets from L1 to L2. Please treat this as a beta release and learn about the risks before using {1}." +msgstr "Um mit dem Handel bei {0}, überbrücken Sie zuerst Ihr Vermögen von L1 zu L2. Bitte behandeln Sie dies als Beta-Version und informieren Sie sich über die Risiken, bevor Sie {1}." #: src/components/SearchModal/BlockedToken.tsx msgid "Token not supported" diff --git a/src/locales/el-GR.po b/src/locales/el-GR.po index 580fc43c64..63931406ac 100644 --- a/src/locales/el-GR.po +++ b/src/locales/el-GR.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-12 15:06\n" +"PO-Revision-Date: 2021-11-12 17:09\n" "Last-Translator: \n" "Language: el_GR\n" "Language-Team: Greek\n" @@ -1681,8 +1681,8 @@ msgid "To (at least)" msgstr "Έως (από το ελάχιστο)" #: src/components/NetworkAlert/NetworkAlert.tsx -msgid "To starting trading on {0}, first bridge your assets from L1 to L2. Please treat this as a beta release and learn about the risks before using {1}." -msgstr "Για να ξεκινήσετε τις συναλλαγές με {0}, γεφυρώστε πρώτα τα περιουσιακά σας στοιχεία από το L1 στο L2. Αντιμετωπίστε το ως έκδοση beta και μάθετε για τους κινδύνους πριν χρησιμοποιήσετε το {1}." +msgid "To start trading on {0}, first bridge your assets from L1 to L2. Please treat this as a beta release and learn about the risks before using {1}." +msgstr "Για να ξεκινήσετε τις συναλλαγές στο {0}, πρώτα γεφυρώστε τα περιουσιακά σας στοιχεία από το L1 στο L2. Αντιμετωπίστε το ως έκδοση beta και μάθετε για τους κινδύνους πριν χρησιμοποιήσετε το {1}." #: src/components/SearchModal/BlockedToken.tsx msgid "Token not supported" diff --git a/src/locales/es-ES.po b/src/locales/es-ES.po index b6456372c8..758427f1e6 100644 --- a/src/locales/es-ES.po +++ b/src/locales/es-ES.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-12 15:06\n" +"PO-Revision-Date: 2021-11-12 17:09\n" "Last-Translator: \n" "Language: es_ES\n" "Language-Team: Spanish\n" @@ -1681,7 +1681,7 @@ msgid "To (at least)" msgstr "A (al menos)" #: src/components/NetworkAlert/NetworkAlert.tsx -msgid "To starting trading on {0}, first bridge your assets from L1 to L2. Please treat this as a beta release and learn about the risks before using {1}." +msgid "To start trading on {0}, first bridge your assets from L1 to L2. Please treat this as a beta release and learn about the risks before using {1}." msgstr "Para comenzar a operar en {0}, primero establezca un puente entre sus activos de L1 a L2. Trate esto como una versión beta y conozca los riesgos antes de usar {1}." #: src/components/SearchModal/BlockedToken.tsx diff --git a/src/locales/fi-FI.po b/src/locales/fi-FI.po index 38c0265425..b8d4c8113b 100644 --- a/src/locales/fi-FI.po +++ b/src/locales/fi-FI.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-12 15:06\n" +"PO-Revision-Date: 2021-11-12 17:09\n" "Last-Translator: \n" "Language: fi_FI\n" "Language-Team: Finnish\n" @@ -1681,8 +1681,8 @@ msgid "To (at least)" msgstr "Mihin (ainakin)" #: src/components/NetworkAlert/NetworkAlert.tsx -msgid "To starting trading on {0}, first bridge your assets from L1 to L2. Please treat this as a beta release and learn about the risks before using {1}." -msgstr "Jos haluat aloittaa kaupankäynnin {0}, yhdistä ensin omaisuutesi L1: stä L2: een. Käsittele tätä beetaversiona ja tutustu riskeihin ennen käyttöä {1}." +msgid "To start trading on {0}, first bridge your assets from L1 to L2. Please treat this as a beta release and learn about the risks before using {1}." +msgstr "Voit aloittaa kaupankäynnin {0}yhdistämällä ensin omaisuutesi L1:stä L2:een. Käsittele tätä betaversiona ja ota selvää riskeistä ennen kuin käytät {1}." #: src/components/SearchModal/BlockedToken.tsx msgid "Token not supported" diff --git a/src/locales/fr-FR.po b/src/locales/fr-FR.po index 9fafdf496b..471e088442 100644 --- a/src/locales/fr-FR.po +++ b/src/locales/fr-FR.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-12 15:06\n" +"PO-Revision-Date: 2021-11-12 17:09\n" "Last-Translator: \n" "Language: fr_FR\n" "Language-Team: French\n" @@ -1681,8 +1681,8 @@ msgid "To (at least)" msgstr "Vers (au moins)" #: src/components/NetworkAlert/NetworkAlert.tsx -msgid "To starting trading on {0}, first bridge your assets from L1 to L2. Please treat this as a beta release and learn about the risks before using {1}." -msgstr "Pour commencer à trader à {0}, commencez par relier vos actifs de L1 à L2. Veuillez considérer ceci comme une version bêta et vous renseigner sur les risques avant d'utiliser {1}." +msgid "To start trading on {0}, first bridge your assets from L1 to L2. Please treat this as a beta release and learn about the risks before using {1}." +msgstr "Pour commencer à trader sur {0}, commencez par relier vos actifs de L1 à L2. Veuillez considérer ceci comme une version bêta et connaître les risques avant d'utiliser {1}." #: src/components/SearchModal/BlockedToken.tsx msgid "Token not supported" diff --git a/src/locales/he-IL.po b/src/locales/he-IL.po index 7d097b92b7..2f41fe73ad 100644 --- a/src/locales/he-IL.po +++ b/src/locales/he-IL.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-12 15:06\n" +"PO-Revision-Date: 2021-11-12 17:09\n" "Last-Translator: \n" "Language: he_IL\n" "Language-Team: Hebrew\n" @@ -1681,8 +1681,8 @@ msgid "To (at least)" msgstr "עבור (לפחות)" #: src/components/NetworkAlert/NetworkAlert.tsx -msgid "To starting trading on {0}, first bridge your assets from L1 to L2. Please treat this as a beta release and learn about the risks before using {1}." -msgstr "כדי להתחיל לסחור ב {0}, תחילה גשר את הנכסים שלך מ- L1 ל- L2. אנא התייחס לזה כאל גרסת בטא ולמד על הסיכונים לפני השימוש {1}." +msgid "To start trading on {0}, first bridge your assets from L1 to L2. Please treat this as a beta release and learn about the risks before using {1}." +msgstr "כדי להתחיל לסחור ב {0}, תחילה גשר על הנכסים שלך מ-L1 ל-L2. אנא התייחס לזה כגרסת בטא ולמד על הסיכונים לפני השימוש ב {1}." #: src/components/SearchModal/BlockedToken.tsx msgid "Token not supported" diff --git a/src/locales/hu-HU.po b/src/locales/hu-HU.po index 69b362cbc8..7d4f200df0 100644 --- a/src/locales/hu-HU.po +++ b/src/locales/hu-HU.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-12 15:06\n" +"PO-Revision-Date: 2021-11-12 17:09\n" "Last-Translator: \n" "Language: hu_HU\n" "Language-Team: Hungarian\n" @@ -1682,8 +1682,8 @@ msgid "To (at least)" msgstr "(Legalább)" #: src/components/NetworkAlert/NetworkAlert.tsx -msgid "To starting trading on {0}, first bridge your assets from L1 to L2. Please treat this as a beta release and learn about the risks before using {1}." -msgstr "{0}-n történő kereskedés megkezdéséhez először kösse össze eszközeit L1 -ről L2 -re. Kérjük, kezelje ezt béta kiadásként, és ismerje meg a kockázatokat, mielőtt használná {1}." +msgid "To start trading on {0}, first bridge your assets from L1 to L2. Please treat this as a beta release and learn about the risks before using {1}." +msgstr "{0}kezdje meg a kereskedést, először hidalja át eszközeit L1-ről L2-re. Kérjük, kezelje ezt béta kiadásként, és az {1}használata előtt tájékozódjon a kockázatokról." #: src/components/SearchModal/BlockedToken.tsx msgid "Token not supported" diff --git a/src/locales/id-ID.po b/src/locales/id-ID.po index b42d3fdc33..2cfe330f79 100644 --- a/src/locales/id-ID.po +++ b/src/locales/id-ID.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-12 15:06\n" +"PO-Revision-Date: 2021-11-12 17:09\n" "Last-Translator: \n" "Language: id_ID\n" "Language-Team: Indonesian\n" @@ -1681,7 +1681,7 @@ msgid "To (at least)" msgstr "Untuk (setidaknya)" #: src/components/NetworkAlert/NetworkAlert.tsx -msgid "To starting trading on {0}, first bridge your assets from L1 to L2. Please treat this as a beta release and learn about the risks before using {1}." +msgid "To start trading on {0}, first bridge your assets from L1 to L2. Please treat this as a beta release and learn about the risks before using {1}." msgstr "Untuk memulai trading pada {0}, pertama-tama jembatani aset Anda dari L1 ke L2. Harap perlakukan ini sebagai rilis beta dan pelajari tentang risikonya sebelum menggunakan {1}." #: src/components/SearchModal/BlockedToken.tsx diff --git a/src/locales/it-IT.po b/src/locales/it-IT.po index e91bd19e94..c35c8e457a 100644 --- a/src/locales/it-IT.po +++ b/src/locales/it-IT.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-12 15:06\n" +"PO-Revision-Date: 2021-11-12 17:09\n" "Last-Translator: \n" "Language: it_IT\n" "Language-Team: Italian\n" @@ -1681,8 +1681,8 @@ msgid "To (at least)" msgstr "A (almeno)" #: src/components/NetworkAlert/NetworkAlert.tsx -msgid "To starting trading on {0}, first bridge your assets from L1 to L2. Please treat this as a beta release and learn about the risks before using {1}." -msgstr "Per iniziare a fare trading su {0}, per prima cosa collega le tue risorse da L1 a L2. Si prega di considerare questa versione come una versione beta e di informarsi sui rischi prima di utilizzarla {1}." +msgid "To start trading on {0}, first bridge your assets from L1 to L2. Please treat this as a beta release and learn about the risks before using {1}." +msgstr "Per iniziare a fare trading su {0}, prima collega i tuoi asset da L1 a L2. Si prega di considerare questa versione come una versione beta e di informarsi sui rischi prima di utilizzarla {1}." #: src/components/SearchModal/BlockedToken.tsx msgid "Token not supported" diff --git a/src/locales/ja-JP.po b/src/locales/ja-JP.po index fa22548a0f..fa23635b78 100644 --- a/src/locales/ja-JP.po +++ b/src/locales/ja-JP.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-12 15:06\n" +"PO-Revision-Date: 2021-11-12 17:09\n" "Last-Translator: \n" "Language: ja_JP\n" "Language-Team: Japanese\n" @@ -1681,7 +1681,7 @@ msgid "To (at least)" msgstr "買うトークン(少なくとも)" #: src/components/NetworkAlert/NetworkAlert.tsx -msgid "To starting trading on {0}, first bridge your assets from L1 to L2. Please treat this as a beta release and learn about the risks before using {1}." +msgid "To start trading on {0}, first bridge your assets from L1 to L2. Please treat this as a beta release and learn about the risks before using {1}." msgstr "{0}で取引を開始するには、最初に資産をL1からL2にブリッジします。 {1}を使用する前に、これをベータリリースとして扱い、リスクについて学習してください。" #: src/components/SearchModal/BlockedToken.tsx diff --git a/src/locales/ko-KR.po b/src/locales/ko-KR.po index ede7494ddc..c4f41eef64 100644 --- a/src/locales/ko-KR.po +++ b/src/locales/ko-KR.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-12 15:06\n" +"PO-Revision-Date: 2021-11-12 17:09\n" "Last-Translator: \n" "Language: ko_KR\n" "Language-Team: Korean\n" @@ -1681,7 +1681,7 @@ msgid "To (at least)" msgstr "스왑 후(최소)" #: src/components/NetworkAlert/NetworkAlert.tsx -msgid "To starting trading on {0}, first bridge your assets from L1 to L2. Please treat this as a beta release and learn about the risks before using {1}." +msgid "To start trading on {0}, first bridge your assets from L1 to L2. Please treat this as a beta release and learn about the risks before using {1}." msgstr "{0}에서 거래를 시작하려면 먼저 자산을 L1에서 L2로 연결하십시오. {1}을 사용하기 전에 위험에 대해 알아보십시오." #: src/components/SearchModal/BlockedToken.tsx diff --git a/src/locales/nl-NL.po b/src/locales/nl-NL.po index 07e4161286..87c874089a 100644 --- a/src/locales/nl-NL.po +++ b/src/locales/nl-NL.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-12 15:06\n" +"PO-Revision-Date: 2021-11-12 17:09\n" "Last-Translator: \n" "Language: nl_NL\n" "Language-Team: Dutch\n" @@ -1681,8 +1681,8 @@ msgid "To (at least)" msgstr "Naar (ten minste)" #: src/components/NetworkAlert/NetworkAlert.tsx -msgid "To starting trading on {0}, first bridge your assets from L1 to L2. Please treat this as a beta release and learn about the risks before using {1}." -msgstr "Om te beginnen met handelen op {0}, moet u eerst uw activa overbruggen van L1 naar L2. Beschouw dit als een bètaversie en leer over de risico's voordat u het gebruikt {1}." +msgid "To start trading on {0}, first bridge your assets from L1 to L2. Please treat this as a beta release and learn about the risks before using {1}." +msgstr "Om te beginnen met handelen op {0}, moet u eerst uw activa overbruggen van L1 naar L2. Behandel dit als een bètaversie en leer over de risico's voordat u het gebruikt {1}." #: src/components/SearchModal/BlockedToken.tsx msgid "Token not supported" diff --git a/src/locales/no-NO.po b/src/locales/no-NO.po index 551c455f8e..d01177076e 100644 --- a/src/locales/no-NO.po +++ b/src/locales/no-NO.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-12 15:06\n" +"PO-Revision-Date: 2021-11-12 17:09\n" "Last-Translator: \n" "Language: no_NO\n" "Language-Team: Norwegian\n" @@ -1681,8 +1681,8 @@ msgid "To (at least)" msgstr "Til (minst)" #: src/components/NetworkAlert/NetworkAlert.tsx -msgid "To starting trading on {0}, first bridge your assets from L1 to L2. Please treat this as a beta release and learn about the risks before using {1}." -msgstr "For å begynne å handle på {0}, må du først bygge bro mellom eiendelene dine fra L1 til L2. Behandle dette som en betaversjon og lær om risikoen før du bruker {1}." +msgid "To start trading on {0}, first bridge your assets from L1 to L2. Please treat this as a beta release and learn about the risks before using {1}." +msgstr "For å begynne å handle på {0}, må du først bygge bro mellom dine eiendeler fra L1 til L2. Betrakt dette som en betaversjon og lær om risikoene før du bruker {1}." #: src/components/SearchModal/BlockedToken.tsx msgid "Token not supported" diff --git a/src/locales/pl-PL.po b/src/locales/pl-PL.po index 725e116de6..cdf61ce8f8 100644 --- a/src/locales/pl-PL.po +++ b/src/locales/pl-PL.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-12 15:06\n" +"PO-Revision-Date: 2021-11-12 17:09\n" "Last-Translator: \n" "Language: pl_PL\n" "Language-Team: Polish\n" @@ -1681,7 +1681,7 @@ msgid "To (at least)" msgstr "Co najmniej do" #: src/components/NetworkAlert/NetworkAlert.tsx -msgid "To starting trading on {0}, first bridge your assets from L1 to L2. Please treat this as a beta release and learn about the risks before using {1}." +msgid "To start trading on {0}, first bridge your assets from L1 to L2. Please treat this as a beta release and learn about the risks before using {1}." msgstr "Aby rozpocząć handel na {0}, najpierw połącz swoje aktywa z L1 do L2. Potraktuj to jako wersję beta i dowiedz się o zagrożeniach przed użyciem {1}." #: src/components/SearchModal/BlockedToken.tsx diff --git a/src/locales/pt-BR.po b/src/locales/pt-BR.po index 2aea0c0a04..681abf92ba 100644 --- a/src/locales/pt-BR.po +++ b/src/locales/pt-BR.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-12 15:06\n" +"PO-Revision-Date: 2021-11-12 17:09\n" "Last-Translator: \n" "Language: pt_BR\n" "Language-Team: Portuguese, Brazilian\n" @@ -1681,7 +1681,7 @@ msgid "To (at least)" msgstr "Para (pelo menos)" #: src/components/NetworkAlert/NetworkAlert.tsx -msgid "To starting trading on {0}, first bridge your assets from L1 to L2. Please treat this as a beta release and learn about the risks before using {1}." +msgid "To start trading on {0}, first bridge your assets from L1 to L2. Please treat this as a beta release and learn about the risks before using {1}." msgstr "Para começar a negociar em {0}, primeiro conecte seus ativos de L1 a L2. Trate isso como uma versão beta e aprenda sobre os riscos antes de usar {1}." #: src/components/SearchModal/BlockedToken.tsx diff --git a/src/locales/pt-PT.po b/src/locales/pt-PT.po index 3c2efeb116..aecb8a0516 100644 --- a/src/locales/pt-PT.po +++ b/src/locales/pt-PT.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-12 15:06\n" +"PO-Revision-Date: 2021-11-12 17:09\n" "Last-Translator: \n" "Language: pt_PT\n" "Language-Team: Portuguese\n" @@ -1681,7 +1681,7 @@ msgid "To (at least)" msgstr "Para (no mínimo)" #: src/components/NetworkAlert/NetworkAlert.tsx -msgid "To starting trading on {0}, first bridge your assets from L1 to L2. Please treat this as a beta release and learn about the risks before using {1}." +msgid "To start trading on {0}, first bridge your assets from L1 to L2. Please treat this as a beta release and learn about the risks before using {1}." msgstr "Para começar a negociar em {0}, primeiro conecte seus ativos de L1 a L2. Trate isso como uma versão beta e aprenda sobre os riscos antes de usar {1}." #: src/components/SearchModal/BlockedToken.tsx diff --git a/src/locales/ro-RO.po b/src/locales/ro-RO.po index 3c76038552..87f65c8b5a 100644 --- a/src/locales/ro-RO.po +++ b/src/locales/ro-RO.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-12 15:06\n" +"PO-Revision-Date: 2021-11-12 17:09\n" "Last-Translator: \n" "Language: ro_RO\n" "Language-Team: Romanian\n" @@ -1681,8 +1681,8 @@ msgid "To (at least)" msgstr "La (cel puțin)" #: src/components/NetworkAlert/NetworkAlert.tsx -msgid "To starting trading on {0}, first bridge your assets from L1 to L2. Please treat this as a beta release and learn about the risks before using {1}." -msgstr "Pentru a începe tranzacționarea pe {0}, mai întâi conectați-vă activele de la L1 la L2. Vă rugăm să tratați acest lucru ca o versiune beta și să aflați despre riscuri înainte de a utiliza {1}." +msgid "To start trading on {0}, first bridge your assets from L1 to L2. Please treat this as a beta release and learn about the risks before using {1}." +msgstr "Pentru a începe tranzacționarea pe {0}, mai întâi treceți-vă activele de la L1 la L2. Vă rugăm să tratați aceasta ca pe o versiune beta și aflați despre riscuri înainte de a utiliza {1}." #: src/components/SearchModal/BlockedToken.tsx msgid "Token not supported" diff --git a/src/locales/ru-RU.po b/src/locales/ru-RU.po index 1e72fc5e0e..d73756c398 100644 --- a/src/locales/ru-RU.po +++ b/src/locales/ru-RU.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-12 15:06\n" +"PO-Revision-Date: 2021-11-12 17:09\n" "Last-Translator: \n" "Language: ru_RU\n" "Language-Team: Russian\n" @@ -1681,8 +1681,8 @@ msgid "To (at least)" msgstr "На токены (минимум)" #: src/components/NetworkAlert/NetworkAlert.tsx -msgid "To starting trading on {0}, first bridge your assets from L1 to L2. Please treat this as a beta release and learn about the risks before using {1}." -msgstr "Чтобы начать торговлю в {0}, вам нужно перенести свои активы с L1 на L2 через мост. Пожалуйста, относитесь к этому как к бета-версии и узнайте о рисках, прежде чем использовать {1}." +msgid "To start trading on {0}, first bridge your assets from L1 to L2. Please treat this as a beta release and learn about the risks before using {1}." +msgstr "Чтобы начать торговать на {0}, сначала соедините свои активы с L1 на L2. Пожалуйста, относитесь к этому как к бета-версии и узнайте о рисках, прежде чем использовать {1}." #: src/components/SearchModal/BlockedToken.tsx msgid "Token not supported" diff --git a/src/locales/sl-SI.po b/src/locales/sl-SI.po index 22a3c8e337..b5922652e2 100644 --- a/src/locales/sl-SI.po +++ b/src/locales/sl-SI.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-12 15:06\n" +"PO-Revision-Date: 2021-11-12 17:09\n" "Last-Translator: \n" "Language: sl_SI\n" "Language-Team: Slovenian\n" @@ -1681,8 +1681,8 @@ msgid "To (at least)" msgstr "Za (vsaj)" #: src/components/NetworkAlert/NetworkAlert.tsx -msgid "To starting trading on {0}, first bridge your assets from L1 to L2. Please treat this as a beta release and learn about the risks before using {1}." -msgstr "Če želite začeti trgovati na {0}, najprej premostite svoja sredstva s sloja 1 (L1) na sloj 2 (L2). Prosimo, da to obravnavate kot različico beta in se pred uporabo {1} seznanite s tveganji." +msgid "To start trading on {0}, first bridge your assets from L1 to L2. Please treat this as a beta release and learn about the risks before using {1}." +msgstr "Če želite začeti trgovati na {0}, najprej premostite svoja sredstva iz L1 v L2. Prosimo, da to obravnavate kot izdajo beta in se pred uporabo poučite o tveganjih {1}." #: src/components/SearchModal/BlockedToken.tsx msgid "Token not supported" diff --git a/src/locales/sr-SP.po b/src/locales/sr-SP.po index a268cda3fc..34b56e660f 100644 --- a/src/locales/sr-SP.po +++ b/src/locales/sr-SP.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-12 15:06\n" +"PO-Revision-Date: 2021-11-12 17:09\n" "Last-Translator: \n" "Language: sr_SP\n" "Language-Team: Serbian (Cyrillic)\n" @@ -1681,8 +1681,8 @@ msgid "To (at least)" msgstr "До (најмање)" #: src/components/NetworkAlert/NetworkAlert.tsx -msgid "To starting trading on {0}, first bridge your assets from L1 to L2. Please treat this as a beta release and learn about the risks before using {1}." -msgstr "Да бисте започели трговање на {0}, прво премостите своју имовину са Л1 на Л2. Молимо вас да ово третирате као бета издање и сазнате о ризицима пре коришћења {1}." +msgid "To start trading on {0}, first bridge your assets from L1 to L2. Please treat this as a beta release and learn about the risks before using {1}." +msgstr "Да бисте започели трговање на {0}, прво премостите своју имовину са Л1 на Л2. Третирајте ово као бета издање и сазнајте више о ризицима пре употребе {1}." #: src/components/SearchModal/BlockedToken.tsx msgid "Token not supported" diff --git a/src/locales/sv-SE.po b/src/locales/sv-SE.po index 2aebb92b5e..095587d714 100644 --- a/src/locales/sv-SE.po +++ b/src/locales/sv-SE.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-12 15:06\n" +"PO-Revision-Date: 2021-11-12 17:09\n" "Last-Translator: \n" "Language: sv_SE\n" "Language-Team: Swedish\n" @@ -1681,8 +1681,8 @@ msgid "To (at least)" msgstr "Till (minst)" #: src/components/NetworkAlert/NetworkAlert.tsx -msgid "To starting trading on {0}, first bridge your assets from L1 to L2. Please treat this as a beta release and learn about the risks before using {1}." -msgstr "För att börja handla med {0}, överbrygga först dina tillgångar från L1 till L2. Behandla detta som en betaversion och lär dig om riskerna innan du använder {1}." +msgid "To start trading on {0}, first bridge your assets from L1 to L2. Please treat this as a beta release and learn about the risks before using {1}." +msgstr "För att börja handla på {0}, överbrygga först dina tillgångar från L1 till L2. Behandla detta som en betaversion och lär dig om riskerna innan du använder {1}." #: src/components/SearchModal/BlockedToken.tsx msgid "Token not supported" diff --git a/src/locales/sw-TZ.po b/src/locales/sw-TZ.po index 760e7f847a..299dfbdb39 100644 --- a/src/locales/sw-TZ.po +++ b/src/locales/sw-TZ.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-12 15:06\n" +"PO-Revision-Date: 2021-11-12 17:09\n" "Last-Translator: \n" "Language: sw_TZ\n" "Language-Team: Swahili, Tanzania\n" @@ -1681,8 +1681,8 @@ msgid "To (at least)" msgstr "Kwa (angalau)" #: src/components/NetworkAlert/NetworkAlert.tsx -msgid "To starting trading on {0}, first bridge your assets from L1 to L2. Please treat this as a beta release and learn about the risks before using {1}." -msgstr "Kuanza biashara kwenye {0}, kwanza gumbua mali zako kutoka L1 hadi L2. Tafadhali chukua hii kama kutolewa kwa beta na ujifunze juu ya hatari kabla ya kutumia {1}." +msgid "To start trading on {0}, first bridge your assets from L1 to L2. Please treat this as a beta release and learn about the risks before using {1}." +msgstr "Ili kuanza kufanya biashara kwenye {0}, kwanza unganisha mali yako kutoka L1 hadi L2. Tafadhali chukulia hili kama toleo la beta na ujifunze kuhusu hatari kabla ya kutumia {1}." #: src/components/SearchModal/BlockedToken.tsx msgid "Token not supported" diff --git a/src/locales/th-TH.po b/src/locales/th-TH.po index 75088f22ef..c39c80c9fc 100644 --- a/src/locales/th-TH.po +++ b/src/locales/th-TH.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-12 15:06\n" +"PO-Revision-Date: 2021-11-12 17:09\n" "Last-Translator: \n" "Language: th_TH\n" "Language-Team: Thai\n" @@ -1681,8 +1681,8 @@ msgid "To (at least)" msgstr "ถึง (อย่างน้อย)" #: src/components/NetworkAlert/NetworkAlert.tsx -msgid "To starting trading on {0}, first bridge your assets from L1 to L2. Please treat this as a beta release and learn about the risks before using {1}." -msgstr "ในการเริ่มต้นซื้อขายในวันที่ {0}แรกให้เชื่อมโยงสินทรัพย์ของคุณจาก L1 ถึง L2 โปรดถือว่าเป็นรุ่นเบต้าและเรียนรู้เกี่ยวกับความเสี่ยงก่อนใช้ {1}" +msgid "To start trading on {0}, first bridge your assets from L1 to L2. Please treat this as a beta release and learn about the risks before using {1}." +msgstr "ในการเริ่มต้นซื้อขายบน {0}แรกให้เชื่อมโยงสินทรัพย์ของคุณจาก L1 ถึง L2 โปรดถือว่าเป็นรุ่นเบต้าและเรียนรู้เกี่ยวกับความเสี่ยงก่อนใช้ {1}" #: src/components/SearchModal/BlockedToken.tsx msgid "Token not supported" diff --git a/src/locales/tr-TR.po b/src/locales/tr-TR.po index 0ad45e5bc3..e902c38196 100644 --- a/src/locales/tr-TR.po +++ b/src/locales/tr-TR.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-12 15:06\n" +"PO-Revision-Date: 2021-11-12 17:09\n" "Last-Translator: \n" "Language: tr_TR\n" "Language-Team: Turkish\n" @@ -1681,8 +1681,8 @@ msgid "To (at least)" msgstr "Alıcı (en az)" #: src/components/NetworkAlert/NetworkAlert.tsx -msgid "To starting trading on {0}, first bridge your assets from L1 to L2. Please treat this as a beta release and learn about the risks before using {1}." -msgstr "{0}alım satıma başlamak için önce varlıklarınızı L1'den L2'ye köprüleyin. Lütfen bunu bir beta sürümü olarak ele alın ve kullanmadan önce riskler hakkında bilgi edinin {1}." +msgid "To start trading on {0}, first bridge your assets from L1 to L2. Please treat this as a beta release and learn about the risks before using {1}." +msgstr "{0}işlem yapmaya başlamak için önce varlıklarınızı L1'den L2'ye köprüleyin. Lütfen bunu bir beta sürümü olarak ele alın ve kullanmadan önce riskler hakkında bilgi edinin {1}." #: src/components/SearchModal/BlockedToken.tsx msgid "Token not supported" diff --git a/src/locales/uk-UA.po b/src/locales/uk-UA.po index 1618c8feff..afc964386f 100644 --- a/src/locales/uk-UA.po +++ b/src/locales/uk-UA.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-12 15:06\n" +"PO-Revision-Date: 2021-11-12 17:09\n" "Last-Translator: \n" "Language: uk_UA\n" "Language-Team: Ukrainian\n" @@ -1681,8 +1681,8 @@ msgid "To (at least)" msgstr "До (не менше)" #: src/components/NetworkAlert/NetworkAlert.tsx -msgid "To starting trading on {0}, first bridge your assets from L1 to L2. Please treat this as a beta release and learn about the risks before using {1}." -msgstr "Щоб почати торгувати на {0}, спочатку з'єднайте свої активи з L1 на L2. Будь ласка, розгляньте це як бета -версію та дізнайтеся про ризики перед використанням {1}." +msgid "To start trading on {0}, first bridge your assets from L1 to L2. Please treat this as a beta release and learn about the risks before using {1}." +msgstr "Щоб почати торгувати на {0}, спочатку переведіть свої активи з L1 на L2. Будь ласка, розглядайте це як бета-версію та дізнайтеся про ризики перед використанням {1}." #: src/components/SearchModal/BlockedToken.tsx msgid "Token not supported" diff --git a/src/locales/vi-VN.po b/src/locales/vi-VN.po index cb42759e40..cb73391ada 100644 --- a/src/locales/vi-VN.po +++ b/src/locales/vi-VN.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-12 15:06\n" +"PO-Revision-Date: 2021-11-12 17:09\n" "Last-Translator: \n" "Language: vi_VN\n" "Language-Team: Vietnamese\n" @@ -1681,7 +1681,7 @@ msgid "To (at least)" msgstr "Đến (Ít nhất)" #: src/components/NetworkAlert/NetworkAlert.tsx -msgid "To starting trading on {0}, first bridge your assets from L1 to L2. Please treat this as a beta release and learn about the risks before using {1}." +msgid "To start trading on {0}, first bridge your assets from L1 to L2. Please treat this as a beta release and learn about the risks before using {1}." msgstr "Để bắt đầu giao dịch trên {0}, trước tiên hãy kết nối tài sản của bạn từ L1 đến L2. Vui lòng coi đây là bản phát hành beta và tìm hiểu về các rủi ro trước khi sử dụng {1}." #: src/components/SearchModal/BlockedToken.tsx diff --git a/src/locales/zh-CN.po b/src/locales/zh-CN.po index 06a9b054f0..11c2c81817 100644 --- a/src/locales/zh-CN.po +++ b/src/locales/zh-CN.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-12 15:06\n" +"PO-Revision-Date: 2021-11-12 17:09\n" "Last-Translator: \n" "Language: zh_CN\n" "Language-Team: Chinese Simplified\n" @@ -1681,8 +1681,8 @@ msgid "To (at least)" msgstr "兑换到(至少数额)" #: src/components/NetworkAlert/NetworkAlert.tsx -msgid "To starting trading on {0}, first bridge your assets from L1 to L2. Please treat this as a beta release and learn about the risks before using {1}." -msgstr "在 {0} 上交易,首先须将您的资产从 L1 桥接到 L2。请将此视为 Beta 版并在使用 {1} 之前了解风险。" +msgid "To start trading on {0}, first bridge your assets from L1 to L2. Please treat this as a beta release and learn about the risks before using {1}." +msgstr "{0}上开始交易,首先将您的资产从 L1 桥接到 L2。请将此视为测试版并在使用 {1}之前了解风险。" #: src/components/SearchModal/BlockedToken.tsx msgid "Token not supported" diff --git a/src/locales/zh-TW.po b/src/locales/zh-TW.po index c082a92435..0ef117fee3 100644 --- a/src/locales/zh-TW.po +++ b/src/locales/zh-TW.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-12 15:06\n" +"PO-Revision-Date: 2021-11-12 17:09\n" "Last-Translator: \n" "Language: zh_TW\n" "Language-Team: Chinese Traditional\n" @@ -1681,8 +1681,8 @@ msgid "To (at least)" msgstr "到(至少)" #: src/components/NetworkAlert/NetworkAlert.tsx -msgid "To starting trading on {0}, first bridge your assets from L1 to L2. Please treat this as a beta release and learn about the risks before using {1}." -msgstr "在 {0} 上交易,首先須將您的資產從 L1 橋接到 L2。請將此視為 Beta 版並在使用 {1} 之前了解風險。" +msgid "To start trading on {0}, first bridge your assets from L1 to L2. Please treat this as a beta release and learn about the risks before using {1}." +msgstr "{0}上開始交易,首先將您的資產從 L1 橋接到 L2。請將此視為測試版並在使用 {1}之前了解風險。" #: src/components/SearchModal/BlockedToken.tsx msgid "Token not supported" From d1627a6c365a86b089222c1357dcf3133d45ba91 Mon Sep 17 00:00:00 2001 From: Jordan Frankfurt Date: Fri, 12 Nov 2021 13:24:45 -0600 Subject: [PATCH 034/378] fix(L2): remove redux from chain connectivity (#2781) * remove redux from chain connectivity * useMachineTimeMs instead of Date.now to force updates, useCurrentBlockTimestamp * use useInterval --- src/components/Header/Polling.tsx | 36 ++++++++------- src/constants/chains.ts | 4 +- src/hooks/useMachineTime.ts | 14 ++++++ src/state/application/reducer.test.ts | 1 - src/state/application/reducer.ts | 16 +------ src/state/application/updater.ts | 63 +-------------------------- 6 files changed, 41 insertions(+), 93 deletions(-) create mode 100644 src/hooks/useMachineTime.ts diff --git a/src/components/Header/Polling.tsx b/src/components/Header/Polling.tsx index 03f75adc9a..7901234e31 100644 --- a/src/components/Header/Polling.tsx +++ b/src/components/Header/Polling.tsx @@ -1,11 +1,14 @@ +import { CHAIN_INFO } from 'constants/chains' +import useCurrentBlockTimestamp from 'hooks/useCurrentBlockTimestamp' +import useMachineTimeMs from 'hooks/useMachineTime' +import { useActiveWeb3React } from 'hooks/web3' +import ms from 'ms.macro' import { useEffect, useState } from 'react' -import { useAppSelector } from 'state/hooks' +import { useBlockNumber } from 'state/application/hooks' import styled, { keyframes } from 'styled-components/macro' +import { ExternalLink, TYPE } from 'theme' +import { ExplorerDataType, getExplorerLink } from 'utils/getExplorerLink' -import { useActiveWeb3React } from '../../hooks/web3' -import { useBlockNumber } from '../../state/application/hooks' -import { ExternalLink, TYPE } from '../../theme' -import { ExplorerDataType, getExplorerLink } from '../../utils/getExplorerLink' import { ChainConnectivityWarning } from './ChainConnectivityWarning' const StyledPolling = styled.div<{ warning: boolean }>` @@ -68,12 +71,21 @@ const Spinner = styled.div<{ warning: boolean }>` top: -3px; ` +const DEFAULT_MS_BEFORE_WARNING = ms`10m` +const NETWORK_HEALTH_CHECK_MS = ms`10s` + export default function Polling() { const { chainId } = useActiveWeb3React() const blockNumber = useBlockNumber() const [isMounting, setIsMounting] = useState(false) const [isHover, setIsHover] = useState(false) - const chainConnectivityWarning = useAppSelector((state) => state.application.chainConnectivityWarning) + const machineTime = useMachineTimeMs(NETWORK_HEALTH_CHECK_MS) + const blockTime = useCurrentBlockTimestamp() + + const waitMsBeforeWarning = + (chainId ? CHAIN_INFO[chainId]?.blockWaitMsBeforeWarning : DEFAULT_MS_BEFORE_WARNING) ?? DEFAULT_MS_BEFORE_WARNING + + const warning = Boolean(!!blockTime && machineTime - blockTime.mul(1000).toNumber() > waitMsBeforeWarning) useEffect( () => { @@ -98,20 +110,14 @@ export default function Polling() { - setIsHover(true)} - onMouseLeave={() => setIsHover(false)} - warning={chainConnectivityWarning} - > + setIsHover(true)} onMouseLeave={() => setIsHover(false)} warning={warning}> {blockNumber}  - - {isMounting && } - {' '} + {isMounting && }{' '} - {chainConnectivityWarning && } + {warning && } ) } diff --git a/src/constants/chains.ts b/src/constants/chains.ts index ea6f99db1f..9f7f31e10e 100644 --- a/src/constants/chains.ts +++ b/src/constants/chains.ts @@ -133,7 +133,7 @@ export const CHAIN_INFO: ChainInfo = { nativeCurrency: { name: 'Görli ETH', symbol: 'görETH', decimals: 18 }, }, [SupportedChainId.OPTIMISM]: { - blockWaitMsBeforeWarning: ms`10m`, + blockWaitMsBeforeWarning: ms`15m`, bridge: 'https://gateway.optimism.io/', docs: 'https://optimism.io/', explorer: 'https://optimistic.etherscan.io/', @@ -144,7 +144,7 @@ export const CHAIN_INFO: ChainInfo = { rpcUrls: ['https://mainnet.optimism.io'], }, [SupportedChainId.OPTIMISTIC_KOVAN]: { - blockWaitMsBeforeWarning: ms`10m`, + blockWaitMsBeforeWarning: ms`15m`, bridge: 'https://gateway.optimism.io/', docs: 'https://optimism.io/', explorer: 'https://optimistic.etherscan.io/', diff --git a/src/hooks/useMachineTime.ts b/src/hooks/useMachineTime.ts new file mode 100644 index 0000000000..f35dabc79f --- /dev/null +++ b/src/hooks/useMachineTime.ts @@ -0,0 +1,14 @@ +import { useState } from 'react' + +import useInterval from './useInterval' + +const useMachineTimeMs = (updateInterval: number): number => { + const [now, setNow] = useState(Date.now()) + + useInterval(() => { + setNow(Date.now()) + }, updateInterval) + return now +} + +export default useMachineTimeMs diff --git a/src/state/application/reducer.test.ts b/src/state/application/reducer.test.ts index 631b0b4920..268ba8e4f5 100644 --- a/src/state/application/reducer.test.ts +++ b/src/state/application/reducer.test.ts @@ -19,7 +19,6 @@ describe('application reducer', () => { [1]: 3, }, chainId: null, - chainConnectivityWarning: false, implements3085: false, openModal: null, popupList: [], diff --git a/src/state/application/reducer.ts b/src/state/application/reducer.ts index fec27c84ba..623c80c04b 100644 --- a/src/state/application/reducer.ts +++ b/src/state/application/reducer.ts @@ -25,7 +25,6 @@ type PopupList = Array<{ key: string; show: boolean; content: PopupContent; remo export interface ApplicationState { readonly blockNumber: { readonly [chainId: number]: number } - readonly chainConnectivityWarning: boolean readonly chainId: number | null readonly implements3085: boolean readonly openModal: ApplicationModal | null @@ -34,7 +33,6 @@ export interface ApplicationState { const initialState: ApplicationState = { blockNumber: {}, - chainConnectivityWarning: false, chainId: null, implements3085: false, openModal: null, @@ -80,19 +78,9 @@ const applicationSlice = createSlice({ setImplements3085(state, { payload: { implements3085 } }) { state.implements3085 = implements3085 }, - setChainConnectivityWarning(state, { payload: { warn } }) { - state.chainConnectivityWarning = warn - }, }, }) -export const { - updateChainId, - updateBlockNumber, - setOpenModal, - addPopup, - removePopup, - setImplements3085, - setChainConnectivityWarning, -} = applicationSlice.actions +export const { updateChainId, updateBlockNumber, setOpenModal, addPopup, removePopup, setImplements3085 } = + applicationSlice.actions export default applicationSlice.reducer diff --git a/src/state/application/updater.ts b/src/state/application/updater.ts index d1b7dba13e..b7a771ef8e 100644 --- a/src/state/application/updater.ts +++ b/src/state/application/updater.ts @@ -1,16 +1,13 @@ -import { CHAIN_INFO } from 'constants/chains' -import useCurrentBlockTimestamp from 'hooks/useCurrentBlockTimestamp' import useDebounce from 'hooks/useDebounce' import useIsWindowVisible from 'hooks/useIsWindowVisible' import { useActiveWeb3React } from 'hooks/web3' -import ms from 'ms.macro' -import { useCallback, useEffect, useRef, useState } from 'react' +import { useCallback, useEffect, useState } from 'react' import { api, CHAIN_TAG } from 'state/data/enhanced' import { useAppDispatch, useAppSelector } from 'state/hooks' import { supportedChainId } from 'utils/supportedChainId' import { switchToNetwork } from 'utils/switchToNetwork' -import { setChainConnectivityWarning, setImplements3085, updateBlockNumber, updateChainId } from './reducer' +import { setImplements3085, updateBlockNumber, updateChainId } from './reducer' function useQueryCacheInvalidator() { const dispatch = useAppDispatch() @@ -25,61 +22,6 @@ function useQueryCacheInvalidator() { }, [chainId, dispatch]) } -const NETWORK_HEALTH_CHECK_MS = ms`15s` -const DEFAULT_MS_BEFORE_WARNING = ms`10m` - -function useBlockWarningTimer() { - const { chainId } = useActiveWeb3React() - const dispatch = useAppDispatch() - const chainConnectivityWarningActive = useAppSelector((state) => state.application.chainConnectivityWarning) - const timeout = useRef() - const isWindowVisible = useIsWindowVisible() - const [msSinceLastBlock, setMsSinceLastBlock] = useState(0) - const blockTimestamp = useCurrentBlockTimestamp() - - const waitMsBeforeWarning = - (chainId ? CHAIN_INFO[chainId]?.blockWaitMsBeforeWarning : DEFAULT_MS_BEFORE_WARNING) ?? DEFAULT_MS_BEFORE_WARNING - - useEffect(() => { - if (blockTimestamp && chainId) { - if (Math.floor(Date.now() - blockTimestamp.mul(1000).toNumber()) > waitMsBeforeWarning) { - if (!chainConnectivityWarningActive) { - dispatch(setChainConnectivityWarning({ warn: true })) - } - } else { - if (chainConnectivityWarningActive) { - dispatch(setChainConnectivityWarning({ warn: false })) - } - } - } - }, [blockTimestamp, chainId, chainConnectivityWarningActive, dispatch, waitMsBeforeWarning]) - - useEffect(() => { - timeout.current = setTimeout(() => { - setMsSinceLastBlock(NETWORK_HEALTH_CHECK_MS + msSinceLastBlock) - if (msSinceLastBlock > waitMsBeforeWarning && isWindowVisible) { - dispatch(setChainConnectivityWarning({ warn: true })) - } else if (chainConnectivityWarningActive) { - dispatch(setChainConnectivityWarning({ warn: false })) - } - }, NETWORK_HEALTH_CHECK_MS) - - return function cleanup() { - if (timeout.current) { - clearTimeout(timeout.current) - } - } - }, [ - chainId, - chainConnectivityWarningActive, - dispatch, - isWindowVisible, - msSinceLastBlock, - setMsSinceLastBlock, - waitMsBeforeWarning, - ]) -} - export default function Updater(): null { const { account, chainId, library } = useActiveWeb3React() const dispatch = useAppDispatch() @@ -90,7 +32,6 @@ export default function Updater(): null { blockNumber: null, }) - useBlockWarningTimer() useQueryCacheInvalidator() const blockNumberCallback = useCallback( From 5a20dc82cde6c564835a5b130322fffc19129fa5 Mon Sep 17 00:00:00 2001 From: Will Hennessy Date: Fri, 12 Nov 2021 15:23:15 -0500 Subject: [PATCH 035/378] change not created font size to 10 (#2785) --- src/components/FeeSelector/FeeTierPercentageBadge.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/FeeSelector/FeeTierPercentageBadge.tsx b/src/components/FeeSelector/FeeTierPercentageBadge.tsx index cc87279bc0..95e5576adf 100644 --- a/src/components/FeeSelector/FeeTierPercentageBadge.tsx +++ b/src/components/FeeSelector/FeeTierPercentageBadge.tsx @@ -17,7 +17,7 @@ export function FeeTierPercentageBadge({ }) { return ( - + {!distributions || poolState === PoolState.NOT_EXISTS || poolState === PoolState.INVALID ? ( Not created ) : distributions[feeAmount] !== undefined ? ( From 34a58851f779e288fd874490da6fafea1b0bf2b4 Mon Sep 17 00:00:00 2001 From: Crowdin Bot Date: Sun, 14 Nov 2021 14:06:34 +0000 Subject: [PATCH 036/378] chore(i18n): synchronize translations from crowdin [skip ci] --- src/locales/ru-RU.po | 10 +++++----- src/locales/sl-SI.po | 8 ++++---- src/locales/zh-CN.po | 6 +++--- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/locales/ru-RU.po b/src/locales/ru-RU.po index d73756c398..425ef705d1 100644 --- a/src/locales/ru-RU.po +++ b/src/locales/ru-RU.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-12 17:09\n" +"PO-Revision-Date: 2021-11-14 14:06\n" "Last-Translator: \n" "Language: ru_RU\n" "Language-Team: Russian\n" @@ -309,7 +309,7 @@ msgstr "Подходит для пар стейблкоинов." #: src/components/FeeSelector/shared.tsx msgid "Best for very stable pairs." -msgstr "Лучше всего подходит для очень стабильных пар." +msgstr "Подходит для пар очень стабильных стейблкоинов." #: src/components/Blocklist/index.tsx msgid "Blocked address" @@ -1405,7 +1405,7 @@ msgstr "Удаление {0} {1} и{2} {3}" #: src/components/Menu/index.tsx msgid "Request Features" -msgstr "Запросить функции" +msgstr "Предложить идею" #: src/components/TransactionConfirmationModal/index.tsx #: src/components/TransactionConfirmationModal/index.tsx @@ -1682,7 +1682,7 @@ msgstr "На токены (минимум)" #: src/components/NetworkAlert/NetworkAlert.tsx msgid "To start trading on {0}, first bridge your assets from L1 to L2. Please treat this as a beta release and learn about the risks before using {1}." -msgstr "Чтобы начать торговать на {0}, сначала соедините свои активы с L1 на L2. Пожалуйста, относитесь к этому как к бета-версии и узнайте о рисках, прежде чем использовать {1}." +msgstr "Чтобы начать торговлю в {0}, вам нужно перенести свои активы с L1 на L2 через мост. Пожалуйста, относитесь к этому как к бета-версии и узнайте о рисках, прежде чем использовать {1}." #: src/components/SearchModal/BlockedToken.tsx msgid "Token not supported" @@ -2016,7 +2016,7 @@ msgstr "Голосование заканчивается примерно {0}" #: src/pages/Vote/VotePage.tsx msgid "Voting starts approximately {0}" -msgstr "Голосование начнется примерно с {0}" +msgstr "Голосование начнется примерно {0}" #: src/components/TransactionConfirmationModal/index.tsx msgid "Waiting For Confirmation" diff --git a/src/locales/sl-SI.po b/src/locales/sl-SI.po index b5922652e2..499f54e0bd 100644 --- a/src/locales/sl-SI.po +++ b/src/locales/sl-SI.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-12 17:09\n" +"PO-Revision-Date: 2021-11-14 14:06\n" "Last-Translator: \n" "Language: sl_SI\n" "Language-Team: Slovenian\n" @@ -309,7 +309,7 @@ msgstr "Primerno za stabilne pare." #: src/components/FeeSelector/shared.tsx msgid "Best for very stable pairs." -msgstr "Najboljše za zelo stabilne pare." +msgstr "Primerno za zelo stabilne pare." #: src/components/Blocklist/index.tsx msgid "Blocked address" @@ -1405,7 +1405,7 @@ msgstr "Odstranitev {0} {1} in{2} {3}" #: src/components/Menu/index.tsx msgid "Request Features" -msgstr "Zahtevajte funkcije" +msgstr "Predlagajte funkcionalnosti" #: src/components/TransactionConfirmationModal/index.tsx #: src/components/TransactionConfirmationModal/index.tsx @@ -1682,7 +1682,7 @@ msgstr "Za (vsaj)" #: src/components/NetworkAlert/NetworkAlert.tsx msgid "To start trading on {0}, first bridge your assets from L1 to L2. Please treat this as a beta release and learn about the risks before using {1}." -msgstr "Če želite začeti trgovati na {0}, najprej premostite svoja sredstva iz L1 v L2. Prosimo, da to obravnavate kot izdajo beta in se pred uporabo poučite o tveganjih {1}." +msgstr "Če želite začeti trgovati na {0}, najprej prenesite svoja sredstva iz L1 v L2. Prosimo, da to smatrate za beta-verzijo in se pred uporabo {1} poučite o tveganjih." #: src/components/SearchModal/BlockedToken.tsx msgid "Token not supported" diff --git a/src/locales/zh-CN.po b/src/locales/zh-CN.po index 11c2c81817..8904893ac8 100644 --- a/src/locales/zh-CN.po +++ b/src/locales/zh-CN.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-12 17:09\n" +"PO-Revision-Date: 2021-11-14 14:06\n" "Last-Translator: \n" "Language: zh_CN\n" "Language-Team: Chinese Simplified\n" @@ -309,7 +309,7 @@ msgstr "适合稳定币币对。" #: src/components/FeeSelector/shared.tsx msgid "Best for very stable pairs." -msgstr "最适合非常稳定的配对。" +msgstr "最适合非常稳定的币对。" #: src/components/Blocklist/index.tsx msgid "Blocked address" @@ -1682,7 +1682,7 @@ msgstr "兑换到(至少数额)" #: src/components/NetworkAlert/NetworkAlert.tsx msgid "To start trading on {0}, first bridge your assets from L1 to L2. Please treat this as a beta release and learn about the risks before using {1}." -msgstr "{0}上开始交易,首先将您的资产从 L1 桥接到 L2。请将此视为测试版并在使用 {1}之前了解风险。" +msgstr "在 {0} 上开始交易,首先将您的资产从 L1 桥接到 L2。请将此视为测试版并在使用 {1} 之前了解风险。" #: src/components/SearchModal/BlockedToken.tsx msgid "Token not supported" From b2697f00772684bf7887782799ee002dd1c99122 Mon Sep 17 00:00:00 2001 From: Zach Pomerantz Date: Tue, 16 Nov 2021 16:20:46 -0800 Subject: [PATCH 037/378] fix: format date using Date.toLocaleString (#2459) * fix: format date using Date.toLocaleString Fixes #2458 * fix: date typings --- package.json | 2 -- src/pages/Vote/VotePage.tsx | 51 ++++++++++++++++++++++--------------- yarn.lock | 10 -------- 3 files changed, 31 insertions(+), 32 deletions(-) diff --git a/package.json b/package.json index 13c00b1358..61777386df 100644 --- a/package.json +++ b/package.json @@ -37,7 +37,6 @@ "@types/lingui__core": "^2.7.1", "@types/lingui__macro": "^2.7.4", "@types/lingui__react": "^2.8.3", - "@types/luxon": "^1.24.4", "@types/ms.macro": "^2.0.0", "@types/multicodec": "^1.0.0", "@types/node": "^13.13.5", @@ -94,7 +93,6 @@ "graphql-request": "^3.4.0", "inter-ui": "^3.13.1", "jest-styled-components": "^7.0.5", - "luxon": "^1.25.0", "microbundle": "^0.13.3", "ms.macro": "^2.0.0", "multicodec": "^3.0.1", diff --git a/src/pages/Vote/VotePage.tsx b/src/pages/Vote/VotePage.tsx index 03f16d21cc..1c29bf14bf 100644 --- a/src/pages/Vote/VotePage.tsx +++ b/src/pages/Vote/VotePage.tsx @@ -2,9 +2,9 @@ import { BigNumber } from '@ethersproject/bignumber' // eslint-disable-next-line no-restricted-imports import { t, Trans } from '@lingui/macro' import { CurrencyAmount, Token } from '@uniswap/sdk-core' +import { useActiveLocale } from 'hooks/useActiveLocale' import useCurrentBlockTimestamp from 'hooks/useCurrentBlockTimestamp' import JSBI from 'jsbi' -import { DateTime } from 'luxon/src/luxon' import { useState } from 'react' import { ArrowLeft } from 'react-feather' import ReactMarkdown from 'react-markdown' @@ -127,14 +127,17 @@ function getDateFromBlock( currentBlock: number | undefined, averageBlockTimeInSeconds: number | undefined, currentTimestamp: BigNumber | undefined -): DateTime | undefined { - return targetBlock && currentBlock && averageBlockTimeInSeconds && currentTimestamp - ? DateTime.fromSeconds( - currentTimestamp - .add(BigNumber.from(averageBlockTimeInSeconds).mul(BigNumber.from(targetBlock - currentBlock))) - .toNumber() - ) - : undefined +): Date | undefined { + if (targetBlock && currentBlock && averageBlockTimeInSeconds && currentTimestamp) { + const date = new Date() + date.setTime( + currentTimestamp + .add(BigNumber.from(averageBlockTimeInSeconds).mul(BigNumber.from(targetBlock - currentBlock))) + .toNumber() * 1000 + ) + return date + } + return undefined } export default function VotePage({ @@ -161,19 +164,28 @@ export default function VotePage({ // get and format date from data const currentTimestamp = useCurrentBlockTimestamp() const currentBlock = useBlockNumber() - const startDate: DateTime | undefined = getDateFromBlock( + const startDate = getDateFromBlock( proposalData?.startBlock, currentBlock, (chainId && AVERAGE_BLOCK_TIME_IN_SECS[chainId]) ?? DEFAULT_AVERAGE_BLOCK_TIME_IN_SECS, currentTimestamp ) - const endDate: DateTime | undefined = getDateFromBlock( + const endDate = getDateFromBlock( proposalData?.endBlock, currentBlock, (chainId && AVERAGE_BLOCK_TIME_IN_SECS[chainId]) ?? DEFAULT_AVERAGE_BLOCK_TIME_IN_SECS, currentTimestamp ) - const now: DateTime = DateTime.local() + const now = new Date() + const locale = useActiveLocale() + const dateFormat: Intl.DateTimeFormatOptions = { + year: 'numeric', + month: 'long', + day: 'numeric', + hour: 'numeric', + minute: 'numeric', + timeZoneName: 'short', + } // get total votes and format percentages for UI const totalVotes: number | undefined = proposalData ? proposalData.forCount + proposalData.againstCount : undefined @@ -241,19 +253,18 @@ export default function VotePage({ {startDate && startDate > now ? ( - - Voting starts approximately {startDate && startDate.toLocaleString(DateTime.DATETIME_FULL)} - + Voting starts approximately {startDate.toLocaleString(locale, dateFormat)} ) : null} - {endDate && endDate < now ? ( - Voting ended {endDate && endDate.toLocaleString(DateTime.DATETIME_FULL)} - ) : ( - Voting ends approximately {endDate && endDate.toLocaleString(DateTime.DATETIME_FULL)} - )} + {endDate && + (endDate < now ? ( + Voting ended {endDate.toLocaleString(locale, dateFormat)} + ) : ( + Voting ends approximately {endDate.toLocaleString(locale, dateFormat)} + ))} {proposalData && proposalData.status === ProposalState.ACTIVE && !showVotingButtons && ( diff --git a/yarn.lock b/yarn.lock index c604b0a044..e21a4c6cd6 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4123,11 +4123,6 @@ resolved "https://registry.yarnpkg.com/@types/long/-/long-4.0.1.tgz#459c65fa1867dafe6a8f322c4c51695663cc55e9" integrity sha512-5tXH6Bx/kNGd3MgffdmP4dy2Z+G4eaXw0SE81Tq3BNadtnMR5/ySMzX4SLEzHJzSmPNn4HIdpQsBvXMUykr58w== -"@types/luxon@^1.24.4": - version "1.27.1" - resolved "https://registry.yarnpkg.com/@types/luxon/-/luxon-1.27.1.tgz#aceeb2d5be8fccf541237e184e37ecff5faa9096" - integrity sha512-cPiXpOvPFDr2edMnOXlz3UBDApwUfR+cpizvxCy0n3vp9bz/qe8BWzHPIEFcy+ogUOyjKuCISgyq77ELZPmkkg== - "@types/minimatch@*": version "3.0.5" resolved "https://registry.yarnpkg.com/@types/minimatch/-/minimatch-3.0.5.tgz#1001cc5e6a3704b83c236027e77f2f58ea010f40" @@ -14123,11 +14118,6 @@ ltgt@~2.2.0: resolved "https://registry.npmjs.org/ltgt/-/ltgt-2.2.1.tgz" integrity sha1-81ypHEk/e3PaDgdJUwTxezH4fuU= -luxon@^1.25.0: - version "1.27.0" - resolved "https://registry.npmjs.org/luxon/-/luxon-1.27.0.tgz" - integrity sha512-VKsFsPggTA0DvnxtJdiExAucKdAnwbCCNlMM5ENvHlxubqWd0xhZcdb4XgZ7QFNhaRhilXCFxHuoObP5BNA4PA== - lz-string@^1.4.4: version "1.4.4" resolved "https://registry.yarnpkg.com/lz-string/-/lz-string-1.4.4.tgz#c0d8eaf36059f705796e1e344811cf4c498d3a26" From 51a4504c7511f856fa8ce6cb1f86a64533effc9a Mon Sep 17 00:00:00 2001 From: Crowdin Bot Date: Thu, 18 Nov 2021 03:06:35 +0000 Subject: [PATCH 038/378] chore(i18n): synchronize translations from crowdin [skip ci] --- src/locales/zh-CN.po | 6 +++--- src/locales/zh-TW.po | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/locales/zh-CN.po b/src/locales/zh-CN.po index 8904893ac8..2d0192771d 100644 --- a/src/locales/zh-CN.po +++ b/src/locales/zh-CN.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-14 14:06\n" +"PO-Revision-Date: 2021-11-18 03:06\n" "Last-Translator: \n" "Language: zh_CN\n" "Language-Team: Chinese Simplified\n" @@ -309,7 +309,7 @@ msgstr "适合稳定币币对。" #: src/components/FeeSelector/shared.tsx msgid "Best for very stable pairs." -msgstr "最适合非常稳定的币对。" +msgstr "适合非常稳定的币对。" #: src/components/Blocklist/index.tsx msgid "Blocked address" @@ -1682,7 +1682,7 @@ msgstr "兑换到(至少数额)" #: src/components/NetworkAlert/NetworkAlert.tsx msgid "To start trading on {0}, first bridge your assets from L1 to L2. Please treat this as a beta release and learn about the risks before using {1}." -msgstr "在 {0} 上开始交易,首先将您的资产从 L1 桥接到 L2。请将此视为测试版并在使用 {1} 之前了解风险。" +msgstr "在 {0} 上交易,首先须将您的资产从 L1 桥接到 L2。请将此视为 Beta 版并在使用 {1} 之前了解风险。" #: src/components/SearchModal/BlockedToken.tsx msgid "Token not supported" diff --git a/src/locales/zh-TW.po b/src/locales/zh-TW.po index 0ef117fee3..8e525b517b 100644 --- a/src/locales/zh-TW.po +++ b/src/locales/zh-TW.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-12 17:09\n" +"PO-Revision-Date: 2021-11-18 03:06\n" "Last-Translator: \n" "Language: zh_TW\n" "Language-Team: Chinese Traditional\n" @@ -309,7 +309,7 @@ msgstr "適合穩定幣幣對。" #: src/components/FeeSelector/shared.tsx msgid "Best for very stable pairs." -msgstr "最適合非常穩定的配對。" +msgstr "適合非常穩定的幣對。" #: src/components/Blocklist/index.tsx msgid "Blocked address" @@ -1682,7 +1682,7 @@ msgstr "到(至少)" #: src/components/NetworkAlert/NetworkAlert.tsx msgid "To start trading on {0}, first bridge your assets from L1 to L2. Please treat this as a beta release and learn about the risks before using {1}." -msgstr "{0}上開始交易,首先將您的資產從 L1 橋接到 L2。請將此視為測試版並在使用 {1}之前了解風險。" +msgstr "在 {0} 上交易,首先須將您的資產從 L1 橋接到 L2。請將此視為 Beta 版並在使用 {1} 之前了解風險。" #: src/components/SearchModal/BlockedToken.tsx msgid "Token not supported" From 7938273c0c189dada0cbedc6fa461fccc96e667c Mon Sep 17 00:00:00 2001 From: Raj Date: Thu, 18 Nov 2021 15:30:54 +1100 Subject: [PATCH 039/378] fix: broken link to docs (#2816) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f09f7c3284..937b1f5858 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ An open source interface for Uniswap -- a protocol for decentralized exchange of - Website: [uniswap.org](https://uniswap.org/) - Interface: [app.uniswap.org](https://app.uniswap.org) -- Docs: [uniswap.org/docs/](https://uniswap.org/docs/) +- Docs: [uniswap.org/docs/](https://docs.uniswap.org/) - Twitter: [@Uniswap](https://twitter.com/Uniswap) - Reddit: [/r/Uniswap](https://www.reddit.com/r/Uniswap/) - Email: [contact@uniswap.org](mailto:contact@uniswap.org) From 7b83e3968f29ccb30db14733ba9827f5770da25b Mon Sep 17 00:00:00 2001 From: Ikko Ashimine Date: Thu, 18 Nov 2021 13:40:58 +0900 Subject: [PATCH 040/378] chore: fix typo in useAllCurrencyCombinations.ts (#2778) occurence -> occurrence --- src/hooks/useAllCurrencyCombinations.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hooks/useAllCurrencyCombinations.ts b/src/hooks/useAllCurrencyCombinations.ts index a15ae64d62..4edcf37acd 100644 --- a/src/hooks/useAllCurrencyCombinations.ts +++ b/src/hooks/useAllCurrencyCombinations.ts @@ -48,7 +48,7 @@ export function useAllCurrencyCombinations(currencyA?: Currency, currencyB?: Cur const firstIndexInOtherPairs = otherPairs.findIndex(([t0Other, t1Other]) => { return (t0.equals(t0Other) && t1.equals(t1Other)) || (t0.equals(t1Other) && t1.equals(t0Other)) }) - // only accept the first occurence of the same 2 tokens + // only accept the first occurrence of the same 2 tokens return firstIndexInOtherPairs === i }) // optionally filter out some pairs for tokens with custom bases defined From 0f35f6ee9328376c8fde01684593b10b80b0a987 Mon Sep 17 00:00:00 2001 From: Matthew Salamon <35425388+Matthews3301@users.noreply.github.com> Date: Thu, 18 Nov 2021 05:00:37 +0000 Subject: [PATCH 041/378] chore: update typechain scripts for Windows (#2707) There are two errors when deploying on Windows system: 1. Using single quotes in path argument doesn't seem to be accepted in typechain command 2. `?(v3-core|v3-periphery)` operator doesn't work Here are fixes/workarounds. --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 61777386df..7234f79145 100644 --- a/package.json +++ b/package.json @@ -137,8 +137,8 @@ "@walletconnect/ethereum-provider": "1.6.5" }, "scripts": { - "contracts:compile:abi": "typechain --target ethers-v5 --out-dir src/abis/types './src/abis/**/*.json'", - "contracts:compile:v3": "typechain --target ethers-v5 --out-dir src/types/v3 './node_modules/@uniswap/?(v3-core|v3-periphery)/artifacts/contracts/**/*.json'", + "contracts:compile:abi": "typechain --target ethers-v5 --out-dir src/abis/types \"./src/abis/**/*.json\"", + "contracts:compile:v3": "typechain --target ethers-v5 --out-dir src/types/v3 \"./node_modules/@uniswap/**/artifacts/contracts/**/*.json\"", "contracts:compile": "yarn contracts:compile:abi && yarn contracts:compile:v3", "graphql:generate": "graphql-codegen --config codegen.yml", "prei18n:extract": "touch src/locales/en-US.po", From 222a6d53bcf2cf33dae05393fcac704c1fd44b78 Mon Sep 17 00:00:00 2001 From: Sam Chen Date: Thu, 18 Nov 2021 14:01:45 +0800 Subject: [PATCH 042/378] perf: lazy load vote related routes (#2468) * perf: lazy load vote related routes * wrap Switch in Suspense * remove exact to match nested routes * fix nested routes * split Landing * fix --- src/pages/App.tsx | 97 +++++++------- src/pages/Vote/Landing.tsx | 257 +++++++++++++++++++++++++++++++++++++ src/pages/Vote/index.tsx | 256 +----------------------------------- 3 files changed, 317 insertions(+), 293 deletions(-) create mode 100644 src/pages/Vote/Landing.tsx diff --git a/src/pages/App.tsx b/src/pages/App.tsx index 9d8d0164d7..865eb13b80 100644 --- a/src/pages/App.tsx +++ b/src/pages/App.tsx @@ -1,5 +1,7 @@ +import Loader from 'components/Loader' import ApeModeQueryParamReader from 'hooks/useApeModeQueryParamReader' -import { Route, Switch } from 'react-router-dom' +import { lazy, Suspense } from 'react' +import { Redirect, Route, Switch } from 'react-router-dom' import styled from 'styled-components/macro' import GoogleAnalyticsReporter from '../components/analytics/GoogleAnalyticsReporter' @@ -15,7 +17,6 @@ import DarkModeQueryParamReader from '../theme/DarkModeQueryParamReader' import AddLiquidity from './AddLiquidity' import { RedirectDuplicateTokenIds } from './AddLiquidity/redirects' import { RedirectDuplicateTokenIdsV2 } from './AddLiquidityV2/redirects' -import CreateProposal from './CreateProposal' import Earn from './Earn' import Manage from './Earn/Manage' import MigrateV2 from './MigrateV2' @@ -28,8 +29,8 @@ import RemoveLiquidity from './RemoveLiquidity' import RemoveLiquidityV3 from './RemoveLiquidity/V3' import Swap from './Swap' import { OpenClaimAddressModalAndRedirectToSwap, RedirectPathToSwapOnly, RedirectToSwap } from './Swap/redirects' -import Vote from './Vote' -import VotePage from './Vote/VotePage' + +const Vote = lazy(() => import('./Vote')) const AppWrapper = styled.div` display: flex; @@ -85,46 +86,54 @@ export default function App() { - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + }> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/pages/Vote/Landing.tsx b/src/pages/Vote/Landing.tsx new file mode 100644 index 0000000000..7faf71d57c --- /dev/null +++ b/src/pages/Vote/Landing.tsx @@ -0,0 +1,257 @@ +import { Trans } from '@lingui/macro' +import { CurrencyAmount, Token } from '@uniswap/sdk-core' +import { ButtonPrimary } from 'components/Button' +import { AutoColumn } from 'components/Column' +import { CardBGImage, CardNoise, CardSection, DataCard } from 'components/earn/styled' +import FormattedCurrencyAmount from 'components/FormattedCurrencyAmount' +import Loader from 'components/Loader' +import { AutoRow, RowBetween, RowFixed } from 'components/Row' +import { SwitchLocaleLink } from 'components/SwitchLocaleLink' +import DelegateModal from 'components/vote/DelegateModal' +import ProposalEmptyState from 'components/vote/ProposalEmptyState' +import { useActiveWeb3React } from 'hooks/web3' +import JSBI from 'jsbi' +import { darken } from 'polished' +import { Link } from 'react-router-dom' +import { Button } from 'rebass/styled-components' +import { useModalOpen, useToggleDelegateModal } from 'state/application/hooks' +import { ApplicationModal } from 'state/application/reducer' +import { ProposalData } from 'state/governance/hooks' +import { useAllProposalData, useUserDelegatee, useUserVotes } from 'state/governance/hooks' +import { useTokenBalance } from 'state/wallet/hooks' +import styled from 'styled-components/macro' +import { ExternalLink, TYPE } from 'theme' +import { shortenAddress } from 'utils' +import { ExplorerDataType, getExplorerLink } from 'utils/getExplorerLink' + +import { ZERO_ADDRESS } from '../../constants/misc' +import { UNI } from '../../constants/tokens' +import { ProposalStatus } from './styled' + +const PageWrapper = styled(AutoColumn)`` + +const TopSection = styled(AutoColumn)` + max-width: 640px; + width: 100%; +` + +const Proposal = styled(Button)` + padding: 0.75rem 1rem; + width: 100%; + margin-top: 1rem; + border-radius: 12px; + display: grid; + grid-template-columns: 48px 1fr 120px; + align-items: center; + text-align: left; + outline: none; + cursor: pointer; + color: ${({ theme }) => theme.text1}; + text-decoration: none; + background-color: ${({ theme }) => theme.bg1}; + &:focus { + background-color: ${({ theme }) => darken(0.05, theme.bg1)}; + } + &:hover { + background-color: ${({ theme }) => darken(0.05, theme.bg1)}; + } +` + +const ProposalNumber = styled.span` + opacity: 0.6; +` + +const ProposalTitle = styled.span` + font-weight: 600; +` + +const VoteCard = styled(DataCard)` + background: radial-gradient(76.02% 75.41% at 1.84% 0%, #27ae60 0%, #000000 100%); + overflow: hidden; +` + +const WrapSmall = styled(RowBetween)` + margin-bottom: 1rem; + ${({ theme }) => theme.mediaWidth.upToSmall` + flex-wrap: wrap; + `}; +` + +const TextButton = styled(TYPE.main)` + color: ${({ theme }) => theme.primary1}; + :hover { + cursor: pointer; + text-decoration: underline; + } +` + +const AddressButton = styled.div` + border: 1px solid ${({ theme }) => theme.bg3}; + padding: 2px 4px; + border-radius: 8px; + display: flex; + justify-content: center; + align-items: center; +` + +const StyledExternalLink = styled(ExternalLink)` + color: ${({ theme }) => theme.text1}; +` + +export default function Landing() { + const { account, chainId } = useActiveWeb3React() + + // toggle for showing delegation modal + const showDelegateModal = useModalOpen(ApplicationModal.DELEGATE) + const toggleDelegateModal = useToggleDelegateModal() + + // get data to list all proposals + const { data: allProposals, loading: loadingProposals } = useAllProposalData() + + // user data + const { loading: loadingAvailableVotes, votes: availableVotes } = useUserVotes() + const uniBalance: CurrencyAmount | undefined = useTokenBalance( + account ?? undefined, + chainId ? UNI[chainId] : undefined + ) + const userDelegatee: string | undefined = useUserDelegatee() + + // show delegation option if they have have a balance, but have not delegated + const showUnlockVoting = Boolean( + uniBalance && JSBI.notEqual(uniBalance.quotient, JSBI.BigInt(0)) && userDelegatee === ZERO_ADDRESS + ) + return ( + <> + + Unlock Votes : Update Delegation} + /> + + + + + + + + + Uniswap Governance + + + + + + UNI tokens represent voting shares in Uniswap governance. You can vote on each proposal yourself + or delegate your votes to a third party. + + + + + + Read more about Uniswap governance + + + + + + + + + + + + Proposals + + + {loadingProposals || loadingAvailableVotes ? : null} + {showUnlockVoting ? ( + + Unlock Voting + + ) : availableVotes && JSBI.notEqual(JSBI.BigInt(0), availableVotes?.quotient) ? ( + + + Votes + + + ) : uniBalance && + userDelegatee && + userDelegatee !== ZERO_ADDRESS && + JSBI.notEqual(JSBI.BigInt(0), uniBalance?.quotient) ? ( + + + Votes + + + ) : ( + '' + )} + + Create Proposal + + + + {!showUnlockVoting && ( + +
+ {userDelegatee && userDelegatee !== ZERO_ADDRESS ? ( + + + Delegated to: + + + + {userDelegatee === account ? Self : shortenAddress(userDelegatee)} + + + (edit) + + + + ) : ( + '' + )} + + )} + {allProposals?.length === 0 && } + {allProposals + ?.slice(0) + ?.reverse() + ?.map((p: ProposalData) => { + return ( + + + {p.governorIndex}.{p.id} + + {p.title} + + + ) + })} + + + A minimum threshold of 0.25% of the total UNI supply is required to submit proposals + + + + + ) +} diff --git a/src/pages/Vote/index.tsx b/src/pages/Vote/index.tsx index 9c0cd455c0..1e49d34b13 100644 --- a/src/pages/Vote/index.tsx +++ b/src/pages/Vote/index.tsx @@ -1,257 +1,15 @@ -import { Trans } from '@lingui/macro' -import { CurrencyAmount, Token } from '@uniswap/sdk-core' -import { ButtonPrimary } from 'components/Button' -import { AutoColumn } from 'components/Column' -import { CardBGImage, CardNoise, CardSection, DataCard } from 'components/earn/styled' -import FormattedCurrencyAmount from 'components/FormattedCurrencyAmount' -import Loader from 'components/Loader' -import { AutoRow, RowBetween, RowFixed } from 'components/Row' -import { SwitchLocaleLink } from 'components/SwitchLocaleLink' -import DelegateModal from 'components/vote/DelegateModal' -import ProposalEmptyState from 'components/vote/ProposalEmptyState' -import { useActiveWeb3React } from 'hooks/web3' -import JSBI from 'jsbi' -import { darken } from 'polished' -import { Link } from 'react-router-dom' -import { Button } from 'rebass/styled-components' -import { useModalOpen, useToggleDelegateModal } from 'state/application/hooks' -import { ApplicationModal } from 'state/application/reducer' -import { ProposalData, useAllProposalData, useUserDelegatee, useUserVotes } from 'state/governance/hooks' -import { useTokenBalance } from 'state/wallet/hooks' -import styled from 'styled-components/macro' -import { ExternalLink, TYPE } from 'theme' -import { shortenAddress } from 'utils' -import { ExplorerDataType, getExplorerLink } from 'utils/getExplorerLink' +import CreateProposal from 'pages/CreateProposal' +import { Route } from 'react-router-dom' -import { ZERO_ADDRESS } from '../../constants/misc' -import { UNI } from '../../constants/tokens' -import { ProposalStatus } from './styled' - -const PageWrapper = styled(AutoColumn)`` - -const TopSection = styled(AutoColumn)` - max-width: 640px; - width: 100%; -` - -const Proposal = styled(Button)` - padding: 0.75rem 1rem; - width: 100%; - margin-top: 1rem; - border-radius: 12px; - display: grid; - grid-template-columns: 48px 1fr 120px; - align-items: center; - text-align: left; - outline: none; - cursor: pointer; - color: ${({ theme }) => theme.text1}; - text-decoration: none; - background-color: ${({ theme }) => theme.bg1}; - &:focus { - background-color: ${({ theme }) => darken(0.05, theme.bg1)}; - } - &:hover { - background-color: ${({ theme }) => darken(0.05, theme.bg1)}; - } -` - -const ProposalNumber = styled.span` - opacity: 0.6; -` - -const ProposalTitle = styled.span` - font-weight: 600; -` - -const VoteCard = styled(DataCard)` - background: radial-gradient(76.02% 75.41% at 1.84% 0%, #27ae60 0%, #000000 100%); - overflow: hidden; -` - -const WrapSmall = styled(RowBetween)` - margin-bottom: 1rem; - ${({ theme }) => theme.mediaWidth.upToSmall` - flex-wrap: wrap; - `}; -` - -const TextButton = styled(TYPE.main)` - color: ${({ theme }) => theme.primary1}; - :hover { - cursor: pointer; - text-decoration: underline; - } -` - -const AddressButton = styled.div` - border: 1px solid ${({ theme }) => theme.bg3}; - padding: 2px 4px; - border-radius: 8px; - display: flex; - justify-content: center; - align-items: center; -` - -const StyledExternalLink = styled(ExternalLink)` - color: ${({ theme }) => theme.text1}; -` +import Landing from './Landing' +import VotePage from './VotePage' export default function Vote() { - const { account, chainId } = useActiveWeb3React() - - // toggle for showing delegation modal - const showDelegateModal = useModalOpen(ApplicationModal.DELEGATE) - const toggleDelegateModal = useToggleDelegateModal() - - // get data to list all proposals - const { data: allProposals, loading: loadingProposals } = useAllProposalData() - - // user data - const { loading: loadingAvailableVotes, votes: availableVotes } = useUserVotes() - const uniBalance: CurrencyAmount | undefined = useTokenBalance( - account ?? undefined, - chainId ? UNI[chainId] : undefined - ) - const userDelegatee: string | undefined = useUserDelegatee() - - // show delegation option if they have have a balance, but have not delegated - const showUnlockVoting = Boolean( - uniBalance && JSBI.notEqual(uniBalance.quotient, JSBI.BigInt(0)) && userDelegatee === ZERO_ADDRESS - ) - return ( <> - - Unlock Votes : Update Delegation} - /> - - - - - - - - - Uniswap Governance - - - - - - UNI tokens represent voting shares in Uniswap governance. You can vote on each proposal yourself - or delegate your votes to a third party. - - - - - - Read more about Uniswap governance - - - - - - - - - - - - Proposals - - - {loadingProposals || loadingAvailableVotes ? : null} - {showUnlockVoting ? ( - - Unlock Voting - - ) : availableVotes && JSBI.notEqual(JSBI.BigInt(0), availableVotes?.quotient) ? ( - - - Votes - - - ) : uniBalance && - userDelegatee && - userDelegatee !== ZERO_ADDRESS && - JSBI.notEqual(JSBI.BigInt(0), uniBalance?.quotient) ? ( - - - Votes - - - ) : ( - '' - )} - - Create Proposal - - - - {!showUnlockVoting && ( - -
- {userDelegatee && userDelegatee !== ZERO_ADDRESS ? ( - - - Delegated to: - - - - {userDelegatee === account ? Self : shortenAddress(userDelegatee)} - - - (edit) - - - - ) : ( - '' - )} - - )} - {allProposals?.length === 0 && } - {allProposals - ?.slice(0) - ?.reverse() - ?.map((p: ProposalData) => { - return ( - - - {p.governorIndex}.{p.id} - - {p.title} - - - ) - })} - - - A minimum threshold of 0.25% of the total UNI supply is required to submit proposals - - - + + + ) } From 82c026872f5fac108f8a1f3f6e7ce5bb305f2b03 Mon Sep 17 00:00:00 2001 From: Crowdin Bot Date: Thu, 18 Nov 2021 06:11:55 +0000 Subject: [PATCH 043/378] chore(i18n): synchronize translations from crowdin [skip ci] --- src/locales/af-ZA.po | 30 +++++++++++++++--------------- src/locales/ar-SA.po | 30 +++++++++++++++--------------- src/locales/ca-ES.po | 30 +++++++++++++++--------------- src/locales/cs-CZ.po | 30 +++++++++++++++--------------- src/locales/da-DK.po | 30 +++++++++++++++--------------- src/locales/de-DE.po | 30 +++++++++++++++--------------- src/locales/el-GR.po | 30 +++++++++++++++--------------- src/locales/es-ES.po | 30 +++++++++++++++--------------- src/locales/fi-FI.po | 30 +++++++++++++++--------------- src/locales/fr-FR.po | 30 +++++++++++++++--------------- src/locales/he-IL.po | 30 +++++++++++++++--------------- src/locales/hu-HU.po | 30 +++++++++++++++--------------- src/locales/id-ID.po | 30 +++++++++++++++--------------- src/locales/it-IT.po | 30 +++++++++++++++--------------- src/locales/ja-JP.po | 30 +++++++++++++++--------------- src/locales/ko-KR.po | 30 +++++++++++++++--------------- src/locales/nl-NL.po | 30 +++++++++++++++--------------- src/locales/no-NO.po | 30 +++++++++++++++--------------- src/locales/pl-PL.po | 30 +++++++++++++++--------------- src/locales/pt-BR.po | 30 +++++++++++++++--------------- src/locales/pt-PT.po | 30 +++++++++++++++--------------- src/locales/ro-RO.po | 30 +++++++++++++++--------------- src/locales/ru-RU.po | 30 +++++++++++++++--------------- src/locales/sl-SI.po | 30 +++++++++++++++--------------- src/locales/sr-SP.po | 30 +++++++++++++++--------------- src/locales/sv-SE.po | 30 +++++++++++++++--------------- src/locales/sw-TZ.po | 30 +++++++++++++++--------------- src/locales/th-TH.po | 30 +++++++++++++++--------------- src/locales/tr-TR.po | 30 +++++++++++++++--------------- src/locales/uk-UA.po | 30 +++++++++++++++--------------- src/locales/vi-VN.po | 30 +++++++++++++++--------------- src/locales/zh-CN.po | 30 +++++++++++++++--------------- src/locales/zh-TW.po | 30 +++++++++++++++--------------- 33 files changed, 495 insertions(+), 495 deletions(-) diff --git a/src/locales/af-ZA.po b/src/locales/af-ZA.po index 6ed6b5b9da..c3900b095f 100644 --- a/src/locales/af-ZA.po +++ b/src/locales/af-ZA.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-12 17:09\n" +"PO-Revision-Date: 2021-11-18 06:11\n" "Last-Translator: \n" "Language: af_ZA\n" "Language-Team: Afrikaans\n" @@ -47,7 +47,7 @@ msgstr "(eis)" msgid "(clear all)" msgstr "(maak alles skoon)" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "(edit)" msgstr "(wysig)" @@ -78,8 +78,8 @@ msgstr "75%" msgid "<0/> All Proposals" msgstr "<0/> Alle voorstelle" -#: src/pages/Vote/index.tsx -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx +#: src/pages/Vote/Landing.tsx msgid "<0/> Votes" msgstr "<0/> Stemme" @@ -115,7 +115,7 @@ msgstr "<0> Ontsluit stem om voor te berei vir die volgende voorstel." msgid "<0>🎉 Welcome to team Unicorn :) <1>🎉" msgstr "<0> 🎉 Welkom by die Unicorn span :) <1> 🎉" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "A minimum threshold of 0.25% of the total UNI supply is required to submit proposals" msgstr "'N Minimum drempel van 0,25% van die totale UNI-aanbod is nodig om voorstelle in te dien" @@ -543,7 +543,7 @@ msgid "Create Pool & Supply" msgstr "Skep Poel en Verskaf" #: src/pages/CreateProposal/index.tsx -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Create Proposal" msgstr "Skep 'n voorstel" @@ -597,7 +597,7 @@ msgstr "Delegeer Stemme" msgid "Delegate voting power to {0}" msgstr "Delegeer stemreg na {0}" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Delegated to:" msgstr "Afgevaardig na:" @@ -1313,7 +1313,7 @@ msgstr "Voorstel ingedien" msgid "Proposal Title" msgstr "Voorstel Titel" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Proposals" msgstr "Voorstelle" @@ -1345,7 +1345,7 @@ msgstr "Tariewe" msgid "Read more about UNI" msgstr "Lees meer oor UNI" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Read more about Uniswap governance" msgstr "Lees meer oor Uniswap-bestuur" @@ -1445,7 +1445,7 @@ msgstr "Kies 'n aksie" msgid "Selected Range" msgstr "Geselekteerde reeks" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Self" msgstr "Self" @@ -1772,7 +1772,7 @@ msgstr "UNI in omloop:" msgid "UNI price:" msgstr "UNI-prys:" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "UNI tokens represent voting shares in Uniswap governance. You can vote on each proposal yourself or delegate your votes to a third party." msgstr "UNI-tekens verteenwoordig stemgeregtigde aandele in Uniswap-bestuur. U kan self oor elke voorstel stem of u stemme aan 'n derde party delegeer." @@ -1813,7 +1813,7 @@ msgstr "Onverwagte fout. Kon nie gas vir die ruil skat nie." msgid "Unexpected issue with estimating the gas. Please try again." msgstr "Onverwagte probleem met die skatting van die gas. Probeer asseblief weer." -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Uniswap Governance" msgstr "Onttrek bestuur" @@ -1849,12 +1849,12 @@ msgstr "Onbekende bron" msgid "Unknown error{0}. Try increasing your slippage tolerance. Note: fee on transfer and rebase tokens are incompatible with Uniswap V3." msgstr "Onbekende fout{0}. Probeer u glyverdraagsaamheid verhoog. Opmerking: fooi vir oordrag en herbasis-tekens is nie versoenbaar met Uniswap V3 nie." +#: src/pages/Vote/Landing.tsx #: src/pages/Vote/VotePage.tsx -#: src/pages/Vote/index.tsx msgid "Unlock Votes" msgstr "Ontsluit stemme" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Unlock Voting" msgstr "Ontsluit stemming" @@ -1884,7 +1884,7 @@ msgstr "Maak oop" msgid "Unwrap <0/> to ETH" msgstr "Pak <0/> uit na ETH" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Update Delegation" msgstr "Delegasie op te dateer" diff --git a/src/locales/ar-SA.po b/src/locales/ar-SA.po index 3848e60674..af67072fda 100644 --- a/src/locales/ar-SA.po +++ b/src/locales/ar-SA.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-12 17:09\n" +"PO-Revision-Date: 2021-11-18 06:11\n" "Last-Translator: \n" "Language: ar_SA\n" "Language-Team: Arabic\n" @@ -47,7 +47,7 @@ msgstr "(مطالبة)" msgid "(clear all)" msgstr "(مسح الكل)" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "(edit)" msgstr "(تعديل)" @@ -78,8 +78,8 @@ msgstr "75%" msgid "<0/> All Proposals" msgstr "<0/> جميع المقترحات" -#: src/pages/Vote/index.tsx -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx +#: src/pages/Vote/Landing.tsx msgid "<0/> Votes" msgstr "<0/> الأصوات" @@ -115,7 +115,7 @@ msgstr "<0>افتح التصويت للتحضير للاقتراح التا msgid "<0>🎉 Welcome to team Unicorn :) <1>🎉" msgstr "<0>🎉 مرحبًا بكم في فريق:) <1>🎉" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "A minimum threshold of 0.25% of the total UNI supply is required to submit proposals" msgstr "مطلوب حد أدنى قدره 0.25٪ من إجمالي إمداد UNI لتقديم العروض" @@ -543,7 +543,7 @@ msgid "Create Pool & Supply" msgstr "إنشاء مجموعة وإمدادات" #: src/pages/CreateProposal/index.tsx -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Create Proposal" msgstr "إنشاء اقتراح" @@ -597,7 +597,7 @@ msgstr "أصوات التفويض" msgid "Delegate voting power to {0}" msgstr "تفويض سلطة التصويت إلى {0}" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Delegated to:" msgstr "مفوض إلى:" @@ -1313,7 +1313,7 @@ msgstr "تم تقديم الاقتراح" msgid "Proposal Title" msgstr "عنوان الاقتراح" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Proposals" msgstr "مقترحات" @@ -1345,7 +1345,7 @@ msgstr "الأسعار" msgid "Read more about UNI" msgstr "اقرأ المزيد عن UNI" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Read more about Uniswap governance" msgstr "اقرأ المزيد عن إدارة Uniswap" @@ -1445,7 +1445,7 @@ msgstr "حدد إجراء" msgid "Selected Range" msgstr "نطاق محدد" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Self" msgstr "نفسه" @@ -1772,7 +1772,7 @@ msgstr "UNI المتداول:" msgid "UNI price:" msgstr "سعر UNI:" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "UNI tokens represent voting shares in Uniswap governance. You can vote on each proposal yourself or delegate your votes to a third party." msgstr "تمثل رموز UNI حصص التصويت في حوكمة Uniswap. يمكنك التصويت على كل اقتراح بنفسك أو تفويض أصواتك لطرف ثالث." @@ -1813,7 +1813,7 @@ msgstr "خطأ غير متوقع. لا يمكن تقدير الغاز للمبا msgid "Unexpected issue with estimating the gas. Please try again." msgstr "مشكلة غير متوقعة في تقدير الغاز. حاول مرة اخرى." -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Uniswap Governance" msgstr "إدارة Uniswitp" @@ -1849,12 +1849,12 @@ msgstr "مصدر مجهول" msgid "Unknown error{0}. Try increasing your slippage tolerance. Note: fee on transfer and rebase tokens are incompatible with Uniswap V3." msgstr "خطأ غير معروف{0}. حاول زيادة تحملك للانزلاق. ملاحظة: رسوم النقل وإعادة الرموز المميزة غير متوافقة مع Uniswap V3." +#: src/pages/Vote/Landing.tsx #: src/pages/Vote/VotePage.tsx -#: src/pages/Vote/index.tsx msgid "Unlock Votes" msgstr "فتح الأصوات" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Unlock Voting" msgstr "فتح التصويت" @@ -1884,7 +1884,7 @@ msgstr "Unwrap" msgid "Unwrap <0/> to ETH" msgstr "قم بفك التفاف <0 /> إلى ETH" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Update Delegation" msgstr "تحديث التفويض" diff --git a/src/locales/ca-ES.po b/src/locales/ca-ES.po index 6e62929bde..f676cc53fb 100644 --- a/src/locales/ca-ES.po +++ b/src/locales/ca-ES.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-12 17:09\n" +"PO-Revision-Date: 2021-11-18 06:11\n" "Last-Translator: \n" "Language: ca_ES\n" "Language-Team: Catalan\n" @@ -47,7 +47,7 @@ msgstr "(reclamació)" msgid "(clear all)" msgstr "(esborra-ho tot)" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "(edit)" msgstr "(edita)" @@ -78,8 +78,8 @@ msgstr "75%" msgid "<0/> All Proposals" msgstr "<0/> Totes les propostes" -#: src/pages/Vote/index.tsx -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx +#: src/pages/Vote/Landing.tsx msgid "<0/> Votes" msgstr "<0/> Vots" @@ -115,7 +115,7 @@ msgstr "<0>Desbloqueja la votació per preparar la propera proposta." msgid "<0>🎉 Welcome to team Unicorn :) <1>🎉" msgstr "<0>🎉 Benvingut a l'equip Unicorn :) <1> 🎉" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "A minimum threshold of 0.25% of the total UNI supply is required to submit proposals" msgstr "Per presentar les propostes es requereix un llindar mínim del 0,25% del subministrament total d’UNI" @@ -543,7 +543,7 @@ msgid "Create Pool & Supply" msgstr "Crea grup i subministrament" #: src/pages/CreateProposal/index.tsx -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Create Proposal" msgstr "Crea una proposta" @@ -597,7 +597,7 @@ msgstr "Vots delegats" msgid "Delegate voting power to {0}" msgstr "Delegar el poder de vot a {0}" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Delegated to:" msgstr "Delegat a:" @@ -1313,7 +1313,7 @@ msgstr "Proposta enviada" msgid "Proposal Title" msgstr "Títol de la proposta" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Proposals" msgstr "Propostes" @@ -1345,7 +1345,7 @@ msgstr "Tarifes" msgid "Read more about UNI" msgstr "Llegiu més sobre UNI" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Read more about Uniswap governance" msgstr "Llegiu més sobre la governança Uniswap" @@ -1445,7 +1445,7 @@ msgstr "Seleccioneu una acció" msgid "Selected Range" msgstr "Interval seleccionat" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Self" msgstr "Auto" @@ -1772,7 +1772,7 @@ msgstr "UNI en circulació:" msgid "UNI price:" msgstr "Preu UNI:" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "UNI tokens represent voting shares in Uniswap governance. You can vote on each proposal yourself or delegate your votes to a third party." msgstr "Les fitxesUNI representen accions de vot en el govern Uniswap. Podeu votar vosaltres cada proposta o delegar els vostres vots a un tercer." @@ -1813,7 +1813,7 @@ msgstr "Error inesperat. No s'ha pogut estimar el gas per a l'intercanvi." msgid "Unexpected issue with estimating the gas. Please try again." msgstr "Problema inesperat en estimar el gas. Siusplau torna-ho a provar." -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Uniswap Governance" msgstr "Governança Uniswap" @@ -1849,12 +1849,12 @@ msgstr "Font desconeguda" msgid "Unknown error{0}. Try increasing your slippage tolerance. Note: fee on transfer and rebase tokens are incompatible with Uniswap V3." msgstr "Error desconegut{0}. Proveu d'augmentar la tolerància al lliscament. Nota: els tokens de transferència i rebase no són compatibles amb Uniswap V3." +#: src/pages/Vote/Landing.tsx #: src/pages/Vote/VotePage.tsx -#: src/pages/Vote/index.tsx msgid "Unlock Votes" msgstr "Desbloqueja vots" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Unlock Voting" msgstr "Desbloqueja les votacions" @@ -1884,7 +1884,7 @@ msgstr "Desembolicar" msgid "Unwrap <0/> to ETH" msgstr "Desenvolupeu <0 /> a ETH" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Update Delegation" msgstr "Actualitza la delegació" diff --git a/src/locales/cs-CZ.po b/src/locales/cs-CZ.po index 50992b3b90..3e17330d1d 100644 --- a/src/locales/cs-CZ.po +++ b/src/locales/cs-CZ.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-12 17:09\n" +"PO-Revision-Date: 2021-11-18 06:11\n" "Last-Translator: \n" "Language: cs_CZ\n" "Language-Team: Czech\n" @@ -47,7 +47,7 @@ msgstr "(reklamace)" msgid "(clear all)" msgstr "(vyprázdnit vše)" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "(edit)" msgstr "(upravit)" @@ -78,8 +78,8 @@ msgstr "75 %" msgid "<0/> All Proposals" msgstr "<0/> Všechny návrhy" -#: src/pages/Vote/index.tsx -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx +#: src/pages/Vote/Landing.tsx msgid "<0/> Votes" msgstr "<0/> hlasů" @@ -115,7 +115,7 @@ msgstr "<0>Odblokujte hlasování, abyste se mohli připravit na další ná msgid "<0>🎉 Welcome to team Unicorn :) <1>🎉" msgstr "<0>🎉 Vítejte v týmu Unicorn :) <1>🎉" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "A minimum threshold of 0.25% of the total UNI supply is required to submit proposals" msgstr "K podání návrhů je nutná minimální hranice 0,25% z celkové nabídky UNI" @@ -543,7 +543,7 @@ msgid "Create Pool & Supply" msgstr "Vytvořit fond a zásobu" #: src/pages/CreateProposal/index.tsx -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Create Proposal" msgstr "Vytvořit návrh" @@ -597,7 +597,7 @@ msgstr "Delegovat hlasy" msgid "Delegate voting power to {0}" msgstr "Delegujte hlasovací právo na {0}" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Delegated to:" msgstr "Delegováno (komu):" @@ -1313,7 +1313,7 @@ msgstr "Návrh předložen" msgid "Proposal Title" msgstr "Název návrhu" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Proposals" msgstr "Návrhy" @@ -1345,7 +1345,7 @@ msgstr "Sazby" msgid "Read more about UNI" msgstr "Přečtěte si více o UNI" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Read more about Uniswap governance" msgstr "Přečtěte si více o správě Uniswap" @@ -1445,7 +1445,7 @@ msgstr "Vyberte akci" msgid "Selected Range" msgstr "Vybraný rozsah" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Self" msgstr "Sám" @@ -1772,7 +1772,7 @@ msgstr "UNI v oběhu:" msgid "UNI price:" msgstr "Cena UNI:" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "UNI tokens represent voting shares in Uniswap governance. You can vote on each proposal yourself or delegate your votes to a third party." msgstr "Žetony UNI představují hlasovací podíly ve správě Uniswap. O každém návrhu můžete buďto hlasovat sami, nebo můžete delegovat své hlasy na nějakou třetí stranu." @@ -1813,7 +1813,7 @@ msgstr "Neočekávaná chyba. Plyn pro výměnu se nepodařilo odhadnout." msgid "Unexpected issue with estimating the gas. Please try again." msgstr "Neočekávaný problém s odhadem plynu. Prosím zkuste to znovu." -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Uniswap Governance" msgstr "Správa Uniswap" @@ -1849,12 +1849,12 @@ msgstr "Neznámý zdroj" msgid "Unknown error{0}. Try increasing your slippage tolerance. Note: fee on transfer and rebase tokens are incompatible with Uniswap V3." msgstr "Neznámá chyba{0}. Zkuste zvýšit toleranci skluzu. Poznámka: Poplatky za žetony za převody a rebase nejsou kompatibilní s Uniswap V3." +#: src/pages/Vote/Landing.tsx #: src/pages/Vote/VotePage.tsx -#: src/pages/Vote/index.tsx msgid "Unlock Votes" msgstr "Odblokovat hlasy" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Unlock Voting" msgstr "Odblokovat hlasování" @@ -1884,7 +1884,7 @@ msgstr "Rozbalit" msgid "Unwrap <0/> to ETH" msgstr "Rozbalte <0/> na ETH" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Update Delegation" msgstr "Aktualizovat delegaci" diff --git a/src/locales/da-DK.po b/src/locales/da-DK.po index dfe2842a22..e76ad137e2 100644 --- a/src/locales/da-DK.po +++ b/src/locales/da-DK.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-12 17:09\n" +"PO-Revision-Date: 2021-11-18 06:11\n" "Last-Translator: \n" "Language: da_DK\n" "Language-Team: Danish\n" @@ -47,7 +47,7 @@ msgstr "(krav)" msgid "(clear all)" msgstr "(ryd alle)" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "(edit)" msgstr "(rediger)" @@ -78,8 +78,8 @@ msgstr "75 %" msgid "<0/> All Proposals" msgstr "<0/> Alle Forslag" -#: src/pages/Vote/index.tsx -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx +#: src/pages/Vote/Landing.tsx msgid "<0/> Votes" msgstr "<0/> Stemmer" @@ -115,7 +115,7 @@ msgstr "<0>Lås op for at stemmefor at forberede det næste forslag." msgid "<0>🎉 Welcome to team Unicorn :) <1>🎉" msgstr "<0>🎉 Velkommen til team Unicorn :) <1>🎉" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "A minimum threshold of 0.25% of the total UNI supply is required to submit proposals" msgstr "En minimumstærskel på 0,25% af den samlede UNI-forsyning kræves for at indsende forslag" @@ -543,7 +543,7 @@ msgid "Create Pool & Supply" msgstr "Opret pulje og forsyning" #: src/pages/CreateProposal/index.tsx -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Create Proposal" msgstr "Opret forslag" @@ -597,7 +597,7 @@ msgstr "Uddelegér stemmer" msgid "Delegate voting power to {0}" msgstr "Delegere stemmeret til {0}" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Delegated to:" msgstr "Delegeret til:" @@ -1313,7 +1313,7 @@ msgstr "Forslag indsendt" msgid "Proposal Title" msgstr "Forslagets titel" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Proposals" msgstr "Forslag" @@ -1345,7 +1345,7 @@ msgstr "Satser" msgid "Read more about UNI" msgstr "Læs mere om UNI" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Read more about Uniswap governance" msgstr "Læs mere om Uniswap governance" @@ -1445,7 +1445,7 @@ msgstr "Vælg en handling" msgid "Selected Range" msgstr "Valgt område" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Self" msgstr "Selv" @@ -1772,7 +1772,7 @@ msgstr "UNI, der er i omløb:" msgid "UNI price:" msgstr "UNI-pris:" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "UNI tokens represent voting shares in Uniswap governance. You can vote on each proposal yourself or delegate your votes to a third party." msgstr "UNI-tokens repræsenterer stemmeandele i Uniswap governance. Du kan selv stemme om hvert forslag eller uddelegere dine stemmer til en tredjepart." @@ -1813,7 +1813,7 @@ msgstr "Uforventet fejl. Kunne ikke estimere gas til byttet." msgid "Unexpected issue with estimating the gas. Please try again." msgstr "Uventet problem med estimering af gassen. Prøv igen." -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Uniswap Governance" msgstr "Uniswap Governance" @@ -1849,12 +1849,12 @@ msgstr "Ukendt kilde" msgid "Unknown error{0}. Try increasing your slippage tolerance. Note: fee on transfer and rebase tokens are incompatible with Uniswap V3." msgstr "Ukendt fejl{0}. Prøv at øge din glidetolerance. Bemærk: gebyr ved overførsel og rebase -tokens er inkompatibelt med Uniswap V3." +#: src/pages/Vote/Landing.tsx #: src/pages/Vote/VotePage.tsx -#: src/pages/Vote/index.tsx msgid "Unlock Votes" msgstr "Lås op for stemmer" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Unlock Voting" msgstr "Oplås afstemning" @@ -1884,7 +1884,7 @@ msgstr "Pak ud" msgid "Unwrap <0/> to ETH" msgstr "Pak <0/> ud til ETH" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Update Delegation" msgstr "Opdater delegation" diff --git a/src/locales/de-DE.po b/src/locales/de-DE.po index 450ea2f1de..2e2afe7a4a 100644 --- a/src/locales/de-DE.po +++ b/src/locales/de-DE.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-12 17:09\n" +"PO-Revision-Date: 2021-11-18 06:11\n" "Last-Translator: \n" "Language: de_DE\n" "Language-Team: German\n" @@ -47,7 +47,7 @@ msgstr "(anfordern)" msgid "(clear all)" msgstr "(alles löschen)" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "(edit)" msgstr "(bearbeiten)" @@ -78,8 +78,8 @@ msgstr "75%" msgid "<0/> All Proposals" msgstr "<0/> Alle Vorschläge" -#: src/pages/Vote/index.tsx -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx +#: src/pages/Vote/Landing.tsx msgid "<0/> Votes" msgstr "<0/> Stimmen" @@ -115,7 +115,7 @@ msgstr "<0>Abstimmen freischalten um bereit zu sein für den nächsten Vorsc msgid "<0>🎉 Welcome to team Unicorn :) <1>🎉" msgstr "<0>🎉 Willkommen im Team Unicorn :) <1>🎉" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "A minimum threshold of 0.25% of the total UNI supply is required to submit proposals" msgstr "Für das Einreichen von Anträgen ist eine Mindestschwelle von 0,25% des gesamten UNI-Angebots erforderlich" @@ -543,7 +543,7 @@ msgid "Create Pool & Supply" msgstr "Pool erstellen & versorgen" #: src/pages/CreateProposal/index.tsx -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Create Proposal" msgstr "Vorschlag erstellen" @@ -597,7 +597,7 @@ msgstr "Abstimmungen delegieren" msgid "Delegate voting power to {0}" msgstr "Stimmrecht auf {0}" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Delegated to:" msgstr "Delegiert an:" @@ -1313,7 +1313,7 @@ msgstr "Vorschlag eingereicht" msgid "Proposal Title" msgstr "Titel des Vorschlags" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Proposals" msgstr "Vorschläge" @@ -1345,7 +1345,7 @@ msgstr "Preise" msgid "Read more about UNI" msgstr "Erfahre mehr über UNI" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Read more about Uniswap governance" msgstr "Erfahren Sie mehr über Uniswap Governance" @@ -1445,7 +1445,7 @@ msgstr "Wählen Sie eine Aktion" msgid "Selected Range" msgstr "Ausgewählter Bereich" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Self" msgstr "Selbst" @@ -1772,7 +1772,7 @@ msgstr "UNI im Umlauf:" msgid "UNI price:" msgstr "UNI-Preis:" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "UNI tokens represent voting shares in Uniswap governance. You can vote on each proposal yourself or delegate your votes to a third party." msgstr "UNI-Token stellen Stimmbeteiligung an der Uniswap Governance dar. Sie können über jeden Vorschlag selbst abstimmen oder Ihre Stimmen an Dritte delegieren." @@ -1813,7 +1813,7 @@ msgstr "Unerwarteter Fehler. Gas für den Tausch konnte nicht geschätzt werden. msgid "Unexpected issue with estimating the gas. Please try again." msgstr "Unerwartetes Problem bei der Schätzung des Gases. Bitte versuche es erneut." -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Uniswap Governance" msgstr "Uniswap Governance" @@ -1849,12 +1849,12 @@ msgstr "Unbekannte Quelle" msgid "Unknown error{0}. Try increasing your slippage tolerance. Note: fee on transfer and rebase tokens are incompatible with Uniswap V3." msgstr "Unbekannter Fehler{0}. Versuchen Sie, Ihre Schlupftoleranz zu erhöhen. Hinweis: Gebühren für Transfer- und Rebase-Token sind nicht mit Uniswap V3 kompatibel." +#: src/pages/Vote/Landing.tsx #: src/pages/Vote/VotePage.tsx -#: src/pages/Vote/index.tsx msgid "Unlock Votes" msgstr "Abstimmungen freischalten" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Unlock Voting" msgstr "Abstimmung freischalten" @@ -1884,7 +1884,7 @@ msgstr "Unwrap" msgid "Unwrap <0/> to ETH" msgstr "<0/> in ETH auspacken" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Update Delegation" msgstr "Delegation aktualisieren" diff --git a/src/locales/el-GR.po b/src/locales/el-GR.po index 63931406ac..d180e2ab1d 100644 --- a/src/locales/el-GR.po +++ b/src/locales/el-GR.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-12 17:09\n" +"PO-Revision-Date: 2021-11-18 06:11\n" "Last-Translator: \n" "Language: el_GR\n" "Language-Team: Greek\n" @@ -47,7 +47,7 @@ msgstr "(διεκδίκηση)" msgid "(clear all)" msgstr "(καθαρισμός όλων)" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "(edit)" msgstr "(επεξεργασία)" @@ -78,8 +78,8 @@ msgstr "75%" msgid "<0/> All Proposals" msgstr "<0/> Όλες Οι Προτάσεις" -#: src/pages/Vote/index.tsx -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx +#: src/pages/Vote/Landing.tsx msgid "<0/> Votes" msgstr "<0/> Ψήφοι" @@ -115,7 +115,7 @@ msgstr "<0>Ξεκλειδώστε τη ψηφοφορία για να προ msgid "<0>🎉 Welcome to team Unicorn :) <1>🎉" msgstr "<0>🎉 Καλώς ήρθατε στην ομάδα Unicorn :) <1>🎉" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "A minimum threshold of 0.25% of the total UNI supply is required to submit proposals" msgstr "Απαιτείται ελάχιστο όριο 0,25% της συνολικής προσφοράς UNI για την υποβολή προτάσεων" @@ -543,7 +543,7 @@ msgid "Create Pool & Supply" msgstr "Δημιουργία Ψηφοφορίας & Παροχής" #: src/pages/CreateProposal/index.tsx -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Create Proposal" msgstr "Δημιουργία πρότασης" @@ -597,7 +597,7 @@ msgstr "Ανάθεση Ψήφων" msgid "Delegate voting power to {0}" msgstr "Εκχωρήστε την εξουσία ψήφου στο {0}" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Delegated to:" msgstr "Ανατέθηκε σε:" @@ -1313,7 +1313,7 @@ msgstr "Υποβλήθηκε πρόταση" msgid "Proposal Title" msgstr "Τίτλος πρότασης" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Proposals" msgstr "Προτάσεις" @@ -1345,7 +1345,7 @@ msgstr "Τιμές" msgid "Read more about UNI" msgstr "Διαβάστε περισσότερα για UNI" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Read more about Uniswap governance" msgstr "Διαβάστε περισσότερα για τη διακυβέρνηση Uniswap" @@ -1445,7 +1445,7 @@ msgstr "Επιλέξτε μια ενέργεια" msgid "Selected Range" msgstr "Επιλεγμένο Εύρος" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Self" msgstr "Αυτοπροσώπως" @@ -1772,7 +1772,7 @@ msgstr "UNI σε κυκλοφορία:" msgid "UNI price:" msgstr "Τιμή UNI:" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "UNI tokens represent voting shares in Uniswap governance. You can vote on each proposal yourself or delegate your votes to a third party." msgstr "Οι μάρκες UNI αντιπροσωπεύουν μετοχές με ψήφους στη διακυβέρνηση Uniswap. Μπορείτε να ψηφίσετε μόνοι σας για κάθε πρόταση ή να αναθέσετε τις ψήφους σας σε ένα τρίτο μέρος." @@ -1813,7 +1813,7 @@ msgstr "Απρόσμενο σφάλμα. Δεν ήταν δυνατή η εκτ msgid "Unexpected issue with estimating the gas. Please try again." msgstr "Μη αναμενόμενο πρόβλημα με την εκτίμηση του αερίου. ΠΑΡΑΚΑΛΩ προσπαθησε ξανα." -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Uniswap Governance" msgstr "Uniswap Διακυβέρνηση" @@ -1849,12 +1849,12 @@ msgstr "Άγνωστη πηγή" msgid "Unknown error{0}. Try increasing your slippage tolerance. Note: fee on transfer and rebase tokens are incompatible with Uniswap V3." msgstr "Άγνωστο σφάλμα{0}. Δοκιμάστε να αυξήσετε την ανοχή ολίσθησης Σημείωση: οι χρεώσεις μεταφοράς και οι rebase μάρκες δεν είναι συμβατές με το Uniswap V3." +#: src/pages/Vote/Landing.tsx #: src/pages/Vote/VotePage.tsx -#: src/pages/Vote/index.tsx msgid "Unlock Votes" msgstr "Ξεκλείδωμα Ψήφων" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Unlock Voting" msgstr "Ξεκλείδωμα Ψηφοφορίας" @@ -1884,7 +1884,7 @@ msgstr "Αποκαλύπτω" msgid "Unwrap <0/> to ETH" msgstr "Ξετυλίξτε <0/> στο ETH" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Update Delegation" msgstr "Ενημέρωση Ανάθεσης" diff --git a/src/locales/es-ES.po b/src/locales/es-ES.po index 758427f1e6..df6ad244c5 100644 --- a/src/locales/es-ES.po +++ b/src/locales/es-ES.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-12 17:09\n" +"PO-Revision-Date: 2021-11-18 06:11\n" "Last-Translator: \n" "Language: es_ES\n" "Language-Team: Spanish\n" @@ -47,7 +47,7 @@ msgstr "(reclamar)" msgid "(clear all)" msgstr "(limpiar todo)" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "(edit)" msgstr "(editar)" @@ -78,8 +78,8 @@ msgstr "75 %" msgid "<0/> All Proposals" msgstr "<0/> Todas las propuestas" -#: src/pages/Vote/index.tsx -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx +#: src/pages/Vote/Landing.tsx msgid "<0/> Votes" msgstr "<0/> Votos" @@ -115,7 +115,7 @@ msgstr "<0>Desbloquee la votación para prepararse para la siguiente propues msgid "<0>🎉 Welcome to team Unicorn :) <1>🎉" msgstr "<0>🎉 Bienvenido al equipo Unicorn :) <1>🎉" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "A minimum threshold of 0.25% of the total UNI supply is required to submit proposals" msgstr "Se requiere un umbral mínimo del 0,25% del suministro total de UNI para presentar propuestas." @@ -543,7 +543,7 @@ msgid "Create Pool & Supply" msgstr "Limpiar fondo común y suministro" #: src/pages/CreateProposal/index.tsx -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Create Proposal" msgstr "Crear propuesta" @@ -597,7 +597,7 @@ msgstr "Votos delegados" msgid "Delegate voting power to {0}" msgstr "Delegar el poder de voto a {0}" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Delegated to:" msgstr "Delegado a:" @@ -1313,7 +1313,7 @@ msgstr "Propuesta enviada" msgid "Proposal Title" msgstr "Título de la propuesta" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Proposals" msgstr "Propuestas" @@ -1345,7 +1345,7 @@ msgstr "Tarifas" msgid "Read more about UNI" msgstr "Leer más sobre UNI" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Read more about Uniswap governance" msgstr "Lea más sobre la gestión de Uniswap" @@ -1445,7 +1445,7 @@ msgstr "Seleccione una acción" msgid "Selected Range" msgstr "Rango seleccionado" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Self" msgstr "Auto" @@ -1772,7 +1772,7 @@ msgstr "UNI en circulación:" msgid "UNI price:" msgstr "Precio UNI:" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "UNI tokens represent voting shares in Uniswap governance. You can vote on each proposal yourself or delegate your votes to a third party." msgstr "Las fichas UNI representan acciones de voto en la gestión de Uniswap. Puede votar sobre cada propuesta o puede delegar sus votos a un tercero." @@ -1813,7 +1813,7 @@ msgstr "Error inesperado. No se pudo estimar el gas para el canje." msgid "Unexpected issue with estimating the gas. Please try again." msgstr "Problema inesperado con la estimación del gas. Inténtalo de nuevo." -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Uniswap Governance" msgstr "Gestión Uniswap" @@ -1849,12 +1849,12 @@ msgstr "Fuente desconocida" msgid "Unknown error{0}. Try increasing your slippage tolerance. Note: fee on transfer and rebase tokens are incompatible with Uniswap V3." msgstr "Error desconocido{0}. Intente aumentar su tolerancia al deslizamiento. Nota: la tarifa de transferencia y los tokens de rebase son incompatibles con Uniswap V3." +#: src/pages/Vote/Landing.tsx #: src/pages/Vote/VotePage.tsx -#: src/pages/Vote/index.tsx msgid "Unlock Votes" msgstr "Desbloquear votos" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Unlock Voting" msgstr "Desbloquear votación" @@ -1884,7 +1884,7 @@ msgstr "Unwrap" msgid "Unwrap <0/> to ETH" msgstr "Desenvolver <0 /> a ETH" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Update Delegation" msgstr "Actualizar delegación" diff --git a/src/locales/fi-FI.po b/src/locales/fi-FI.po index b8d4c8113b..9ff56ae8c9 100644 --- a/src/locales/fi-FI.po +++ b/src/locales/fi-FI.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-12 17:09\n" +"PO-Revision-Date: 2021-11-18 06:11\n" "Last-Translator: \n" "Language: fi_FI\n" "Language-Team: Finnish\n" @@ -47,7 +47,7 @@ msgstr "(claim)" msgid "(clear all)" msgstr "(clear all)" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "(edit)" msgstr "(edit)" @@ -78,8 +78,8 @@ msgstr "75%" msgid "<0/> All Proposals" msgstr "<0/> Kaikki ehdotukset" -#: src/pages/Vote/index.tsx -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx +#: src/pages/Vote/Landing.tsx msgid "<0/> Votes" msgstr "<0/> Äänet" @@ -115,7 +115,7 @@ msgstr "<0>Vapauta äänestys valmistautuaksesi seuraavaan ehdotukseen." msgid "<0>🎉 Welcome to team Unicorn :) <1>🎉" msgstr "<0>🎉 Tervetuloa Team Unicorniin :) <1>🎉" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "A minimum threshold of 0.25% of the total UNI supply is required to submit proposals" msgstr "Ehdotusten jättämiseen vaaditaan vähintään 0,25 prosentin kynnysarvo UNI: n kokonaismäärästä" @@ -543,7 +543,7 @@ msgid "Create Pool & Supply" msgstr "Luo pooli ja tarjonta" #: src/pages/CreateProposal/index.tsx -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Create Proposal" msgstr "Luo ehdotus" @@ -597,7 +597,7 @@ msgstr "Delegoi äänet" msgid "Delegate voting power to {0}" msgstr "Siirrä äänioikeus {0}" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Delegated to:" msgstr "Delegoitu henkilölle:" @@ -1313,7 +1313,7 @@ msgstr "Ehdotus lähetetty" msgid "Proposal Title" msgstr "Ehdotuksen otsikko" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Proposals" msgstr "Ehdotukset" @@ -1345,7 +1345,7 @@ msgstr "Kurssit" msgid "Read more about UNI" msgstr "Lue lisää UNIsta" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Read more about Uniswap governance" msgstr "Lue lisää Uniswapin hallinnosta" @@ -1445,7 +1445,7 @@ msgstr "Valitse toiminto" msgid "Selected Range" msgstr "Valittu vaihteluväli" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Self" msgstr "Itse" @@ -1772,7 +1772,7 @@ msgstr "Liikkeessä oleva UNI:" msgid "UNI price:" msgstr "UNI:n hinta:" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "UNI tokens represent voting shares in Uniswap governance. You can vote on each proposal yourself or delegate your votes to a third party." msgstr "UNI-rahakkeet edustavat Uniswapin hallinnon äänestysosakkeita. Voit äänestää jokaisesta ehdotuksesta itse tai delegoida äänesi kolmannelle osapuolelle." @@ -1813,7 +1813,7 @@ msgstr "Odottamaton virhe. Vaihdon kaasua ei voitu arvioida." msgid "Unexpected issue with estimating the gas. Please try again." msgstr "Odottamaton ongelma kaasun arvioinnissa. Yritä uudelleen." -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Uniswap Governance" msgstr "Uniswapin hallinto" @@ -1849,12 +1849,12 @@ msgstr "Tuntematon lähde" msgid "Unknown error{0}. Try increasing your slippage tolerance. Note: fee on transfer and rebase tokens are incompatible with Uniswap V3." msgstr "Tuntematon virhe{0}. Yritä lisätä liukastumissietokykyäsi. Huomaa: siirto- ja uudelleenkorotusmaksut eivät ole yhteensopivia Uniswap V3: n kanssa." +#: src/pages/Vote/Landing.tsx #: src/pages/Vote/VotePage.tsx -#: src/pages/Vote/index.tsx msgid "Unlock Votes" msgstr "Vapauta äänet" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Unlock Voting" msgstr "Vapauta äänestys" @@ -1884,7 +1884,7 @@ msgstr "Unwrap" msgid "Unwrap <0/> to ETH" msgstr "Pura <0/> ETH: ksi" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Update Delegation" msgstr "Päivitä delegointi" diff --git a/src/locales/fr-FR.po b/src/locales/fr-FR.po index 471e088442..fb0ba1365b 100644 --- a/src/locales/fr-FR.po +++ b/src/locales/fr-FR.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-12 17:09\n" +"PO-Revision-Date: 2021-11-18 06:11\n" "Last-Translator: \n" "Language: fr_FR\n" "Language-Team: French\n" @@ -47,7 +47,7 @@ msgstr "(Réclamer)" msgid "(clear all)" msgstr "(tout effacer)" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "(edit)" msgstr "(modifier)" @@ -78,8 +78,8 @@ msgstr "75%" msgid "<0/> All Proposals" msgstr "<0/> Toutes les propositions" -#: src/pages/Vote/index.tsx -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx +#: src/pages/Vote/Landing.tsx msgid "<0/> Votes" msgstr "<0/> Votes" @@ -115,7 +115,7 @@ msgstr "<0>Débloquer le vote pour se préparer à la prochaine proposition. msgid "<0>🎉 Welcome to team Unicorn :) <1>🎉" msgstr "<0>🎉 Bienvenue dans l'équipe des Licornes :) <1>🎉" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "A minimum threshold of 0.25% of the total UNI supply is required to submit proposals" msgstr "Un seuil minimum de 0,25% de l'offre totale d'UNI est requis pour soumettre des propositions" @@ -543,7 +543,7 @@ msgid "Create Pool & Supply" msgstr "Créer un Pool & Approvisionner" #: src/pages/CreateProposal/index.tsx -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Create Proposal" msgstr "Créer une Proposition" @@ -597,7 +597,7 @@ msgstr "Votes délégués" msgid "Delegate voting power to {0}" msgstr "Déléguer le droit de vote à {0}" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Delegated to:" msgstr "Délégué à :" @@ -1313,7 +1313,7 @@ msgstr "Proposition Soumise" msgid "Proposal Title" msgstr "Titre de la proposition" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Proposals" msgstr "Propositions" @@ -1345,7 +1345,7 @@ msgstr "Tarifs" msgid "Read more about UNI" msgstr "En savoir plus sur UNI" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Read more about Uniswap governance" msgstr "En savoir plus sur la gouvernance d'Uniswap" @@ -1445,7 +1445,7 @@ msgstr "Sélectionnez une action" msgid "Selected Range" msgstr "Fourchette sélectionnée" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Self" msgstr "Soi-même" @@ -1772,7 +1772,7 @@ msgstr "UNI en circulation :" msgid "UNI price:" msgstr "Prix UNI :" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "UNI tokens represent voting shares in Uniswap governance. You can vote on each proposal yourself or delegate your votes to a third party." msgstr "Les jetons UNI représentent les parts de vote dans la gouvernance d'Uniswap. Vous pouvez voter sur chaque proposition vous-même ou déléguer vos votes à un tiers." @@ -1813,7 +1813,7 @@ msgstr "Erreur inattendue. Impossible d'estimer le gaz pour l'échange." msgid "Unexpected issue with estimating the gas. Please try again." msgstr "Problème inattendu avec l'estimation du gaz. Veuillez réessayer." -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Uniswap Governance" msgstr "Gouvernance Uniswap" @@ -1849,12 +1849,12 @@ msgstr "Source inconnue" msgid "Unknown error{0}. Try increasing your slippage tolerance. Note: fee on transfer and rebase tokens are incompatible with Uniswap V3." msgstr "Erreur inconnue{0}. Essayez d'augmenter votre tolérance au glissement. Remarque : les frais sur les tokens de transfert et de rebase sont incompatibles avec Uniswap V3." +#: src/pages/Vote/Landing.tsx #: src/pages/Vote/VotePage.tsx -#: src/pages/Vote/index.tsx msgid "Unlock Votes" msgstr "Débloquer les votes" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Unlock Voting" msgstr "Débloquer le vote" @@ -1884,7 +1884,7 @@ msgstr "Unwrap" msgid "Unwrap <0/> to ETH" msgstr "Déballer <0/> en ETH" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Update Delegation" msgstr "Mettre à jour la délégation" diff --git a/src/locales/he-IL.po b/src/locales/he-IL.po index 2f41fe73ad..31c2e2613e 100644 --- a/src/locales/he-IL.po +++ b/src/locales/he-IL.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-12 17:09\n" +"PO-Revision-Date: 2021-11-18 06:11\n" "Last-Translator: \n" "Language: he_IL\n" "Language-Team: Hebrew\n" @@ -47,7 +47,7 @@ msgstr "(תביעה)" msgid "(clear all)" msgstr "(נקה הכל)" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "(edit)" msgstr "(עריכה)" @@ -78,8 +78,8 @@ msgstr "75%" msgid "<0/> All Proposals" msgstr "<0/> כל ההצעות" -#: src/pages/Vote/index.tsx -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx +#: src/pages/Vote/Landing.tsx msgid "<0/> Votes" msgstr "<0/> הצבעות" @@ -115,7 +115,7 @@ msgstr "<0> בטל את ההצבעה להתכונן להצעה הבאה." msgid "<0>🎉 Welcome to team Unicorn :) <1>🎉" msgstr "<0> 🎉 ברוך הבא לצוות חד קרן :) <1> 🎉" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "A minimum threshold of 0.25% of the total UNI supply is required to submit proposals" msgstr "הגשת הצעות נדרשת רף מינימלי של 0.25% מסך היצע ה- UNI" @@ -543,7 +543,7 @@ msgid "Create Pool & Supply" msgstr "צור בריכה ואספקה" #: src/pages/CreateProposal/index.tsx -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Create Proposal" msgstr "צור הצעה" @@ -597,7 +597,7 @@ msgstr "האצל הצבעות" msgid "Delegate voting power to {0}" msgstr "האציל את כוח ההצבעה ל {0}" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Delegated to:" msgstr "הואצל ל:" @@ -1313,7 +1313,7 @@ msgstr "ההצעה הוגשה" msgid "Proposal Title" msgstr "כותרת ההצעה" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Proposals" msgstr "הצעות" @@ -1345,7 +1345,7 @@ msgstr "תעריפים" msgid "Read more about UNI" msgstr "קרא עוד על UNI" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Read more about Uniswap governance" msgstr "קרא עוד על ממשל Uniswap" @@ -1445,7 +1445,7 @@ msgstr "בחר פעולה" msgid "Selected Range" msgstr "טווח נבחר" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Self" msgstr "עצמי" @@ -1772,7 +1772,7 @@ msgstr "UNI במחזור:" msgid "UNI price:" msgstr "מחיר UNI:" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "UNI tokens represent voting shares in Uniswap governance. You can vote on each proposal yourself or delegate your votes to a third party." msgstr "אסימונים של UNI מייצגים מניות הצבעה בממשל Uniswap. אתה יכול להצביע על כל הצעה בעצמך או להאציל את קולותיך לצד שלישי." @@ -1813,7 +1813,7 @@ msgstr "שגיאה לא צפויה. לא ניתן היה לאמוד גז להח msgid "Unexpected issue with estimating the gas. Please try again." msgstr "בעיה בלתי צפויה בהערכת הגז. בבקשה נסה שוב." -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Uniswap Governance" msgstr "ממשל לא מוחלף" @@ -1849,12 +1849,12 @@ msgstr "מקור לא ידוע" msgid "Unknown error{0}. Try increasing your slippage tolerance. Note: fee on transfer and rebase tokens are incompatible with Uniswap V3." msgstr "שגיאה לא ידועה{0}. נסה להגביר את סובלנות ההחלקה שלך. הערה: עמלה על אסימון העברה ומיקום מחדש אינם תואמים ל- Uniswap V3." +#: src/pages/Vote/Landing.tsx #: src/pages/Vote/VotePage.tsx -#: src/pages/Vote/index.tsx msgid "Unlock Votes" msgstr "בטל נעילת הצבעות" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Unlock Voting" msgstr "בטל את נעילת ההצבעה" @@ -1884,7 +1884,7 @@ msgstr "לְגוֹלֵל" msgid "Unwrap <0/> to ETH" msgstr "פרק את <0/> ל- ETH" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Update Delegation" msgstr "עדכן משלחת" diff --git a/src/locales/hu-HU.po b/src/locales/hu-HU.po index 7d4f200df0..50939d4704 100644 --- a/src/locales/hu-HU.po +++ b/src/locales/hu-HU.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-12 17:09\n" +"PO-Revision-Date: 2021-11-18 06:11\n" "Last-Translator: \n" "Language: hu_HU\n" "Language-Team: Hungarian\n" @@ -47,7 +47,7 @@ msgstr "(követel)" msgid "(clear all)" msgstr "(összes törlése)" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "(edit)" msgstr "(szerkesztés)" @@ -78,8 +78,8 @@ msgstr "75%" msgid "<0/> All Proposals" msgstr "<0 /> Minden javaslat" -#: src/pages/Vote/index.tsx -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx +#: src/pages/Vote/Landing.tsx msgid "<0/> Votes" msgstr "<0 /> Szavazatok" @@ -115,7 +115,7 @@ msgstr "<0> Szavazás feloldása a következő javaslatra való felkészül msgid "<0>🎉 Welcome to team Unicorn :) <1>🎉" msgstr "<0> 🎉 Üdvözöljük az Unicorn csapatában :) <1> 🎉" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "A minimum threshold of 0.25% of the total UNI supply is required to submit proposals" msgstr "A pályázatok benyújtásához az UNI teljes kínálatának minimum 0,25% -a szükséges" @@ -543,7 +543,7 @@ msgid "Create Pool & Supply" msgstr "Pool és kínálat létrehozása" #: src/pages/CreateProposal/index.tsx -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Create Proposal" msgstr "Javaslat létrehozása" @@ -597,7 +597,7 @@ msgstr "Szavazatok delegálása" msgid "Delegate voting power to {0}" msgstr "Delegálja a szavazati jogot {0}" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Delegated to:" msgstr "Delegálva:" @@ -1314,7 +1314,7 @@ msgstr "Javaslat benyújtva" msgid "Proposal Title" msgstr "A javaslat címe" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Proposals" msgstr "Javaslatok" @@ -1346,7 +1346,7 @@ msgstr "Árfolyamok" msgid "Read more about UNI" msgstr "További információk az UNI-ról" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Read more about Uniswap governance" msgstr "További információk az Uniswap irányításáról" @@ -1446,7 +1446,7 @@ msgstr "Válasszon ki egy műveletet" msgid "Selected Range" msgstr "Kiválasztott tartomány" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Self" msgstr "Saját" @@ -1773,7 +1773,7 @@ msgstr "Forgalomban lévő UNI:" msgid "UNI price:" msgstr "UNI ár:" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "UNI tokens represent voting shares in Uniswap governance. You can vote on each proposal yourself or delegate your votes to a third party." msgstr "Az UNI tokenek szavazati részvényeket képviselnek az Uniswap irányításában. Az egyes javaslatokról saját maga is szavazhat, vagy szavazatait átruházhatja egy harmadik félre." @@ -1814,7 +1814,7 @@ msgstr "Váratlan hiba. Nem sikerült megbecsülni a cseréhez szükséges gázt msgid "Unexpected issue with estimating the gas. Please try again." msgstr "Váratlan probléma a gáz becslésével. Kérlek próbáld újra." -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Uniswap Governance" msgstr "Uniswap irányítás" @@ -1850,12 +1850,12 @@ msgstr "Ismeretlen forrás" msgid "Unknown error{0}. Try increasing your slippage tolerance. Note: fee on transfer and rebase tokens are incompatible with Uniswap V3." msgstr "Ismeretlen hiba{0}. Próbálja meg növelni a csúszástűrést. Megjegyzés: az átutalási és újbóli alapkivonási díjak nem kompatibilisek az Uniswap V3 -mal." +#: src/pages/Vote/Landing.tsx #: src/pages/Vote/VotePage.tsx -#: src/pages/Vote/index.tsx msgid "Unlock Votes" msgstr "Szavazatok feloldása" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Unlock Voting" msgstr "Szavazás feloldása" @@ -1885,7 +1885,7 @@ msgstr "Kicsomagolás" msgid "Unwrap <0/> to ETH" msgstr "Csomagolja ki a (z) <0/> gombot ETH -ra" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Update Delegation" msgstr "Delegálás frissítése" diff --git a/src/locales/id-ID.po b/src/locales/id-ID.po index 2cfe330f79..8fee3597c4 100644 --- a/src/locales/id-ID.po +++ b/src/locales/id-ID.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-12 17:09\n" +"PO-Revision-Date: 2021-11-18 06:11\n" "Last-Translator: \n" "Language: id_ID\n" "Language-Team: Indonesian\n" @@ -47,7 +47,7 @@ msgstr "(klaim)" msgid "(clear all)" msgstr "(Hapus semua)" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "(edit)" msgstr "(edit)" @@ -78,8 +78,8 @@ msgstr "75%" msgid "<0/> All Proposals" msgstr "<0/> Semua Proposal" -#: src/pages/Vote/index.tsx -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx +#: src/pages/Vote/Landing.tsx msgid "<0/> Votes" msgstr "<0/> Suara" @@ -115,7 +115,7 @@ msgstr "<0>Buka voting untuk mempersiapkan usulan berikutnya." msgid "<0>🎉 Welcome to team Unicorn :) <1>🎉" msgstr "<0>🎉Selamat datang di tim Unicorn :) <1>🎉" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "A minimum threshold of 0.25% of the total UNI supply is required to submit proposals" msgstr "Memerlukan minimal 0,25% dari total pasokan UNI untuk mengirimkan proposal" @@ -543,7 +543,7 @@ msgid "Create Pool & Supply" msgstr "Buat Pool & Pasokan" #: src/pages/CreateProposal/index.tsx -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Create Proposal" msgstr "Buat Proposal" @@ -597,7 +597,7 @@ msgstr "Delegasikan Suara" msgid "Delegate voting power to {0}" msgstr "Delegasikan hak suara ke {0}" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Delegated to:" msgstr "Didelegasikan ke:" @@ -1313,7 +1313,7 @@ msgstr "Proposal Terkirim" msgid "Proposal Title" msgstr "Judul Proposal" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Proposals" msgstr "Usulan" @@ -1345,7 +1345,7 @@ msgstr "Tarif" msgid "Read more about UNI" msgstr "Baca selengkapnya tentang UNI" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Read more about Uniswap governance" msgstr "Baca selengkapnya tentang pengaturan Uniswap" @@ -1445,7 +1445,7 @@ msgstr "Pilih tindakan" msgid "Selected Range" msgstr "Rentang yang Dipilih" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Self" msgstr "Sendiri" @@ -1772,7 +1772,7 @@ msgstr "UNI yang beredar:" msgid "UNI price:" msgstr "Harga UNI:" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "UNI tokens represent voting shares in Uniswap governance. You can vote on each proposal yourself or delegate your votes to a third party." msgstr "Token UNI menunjukkan hak suara dalam pengaturan Uniswap. Anda dapat memberikan suara secara langsung pada tiap usulan atau mendelegasikannya kepada pihak ketiga." @@ -1813,7 +1813,7 @@ msgstr "Kesalahan yang tidak diduga. Tidak dapat memperkirakan gas untuk swap." msgid "Unexpected issue with estimating the gas. Please try again." msgstr "Masalah tak terduga dengan memperkirakan gas. Silakan coba lagi." -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Uniswap Governance" msgstr "Tata Kelola Uniswap" @@ -1849,12 +1849,12 @@ msgstr "Sumber tidak diketahui" msgid "Unknown error{0}. Try increasing your slippage tolerance. Note: fee on transfer and rebase tokens are incompatible with Uniswap V3." msgstr "Kesalahan tidak diketahui{0}. Coba tingkatkan toleransi selip Anda. Catatan: biaya transfer dan token rebase tidak sesuai dengan Uniswap V3." +#: src/pages/Vote/Landing.tsx #: src/pages/Vote/VotePage.tsx -#: src/pages/Vote/index.tsx msgid "Unlock Votes" msgstr "Buka Suara" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Unlock Voting" msgstr "Buka Kunci Voting" @@ -1884,7 +1884,7 @@ msgstr "Membuka" msgid "Unwrap <0/> to ETH" msgstr "Buka bungkus ke ETH" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Update Delegation" msgstr "Perbarui Delegasi" diff --git a/src/locales/it-IT.po b/src/locales/it-IT.po index c35c8e457a..92c90b5425 100644 --- a/src/locales/it-IT.po +++ b/src/locales/it-IT.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-12 17:09\n" +"PO-Revision-Date: 2021-11-18 06:11\n" "Last-Translator: \n" "Language: it_IT\n" "Language-Team: Italian\n" @@ -47,7 +47,7 @@ msgstr "(reclamo)" msgid "(clear all)" msgstr "(cancella tutto)" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "(edit)" msgstr "(modifica)" @@ -78,8 +78,8 @@ msgstr "75%" msgid "<0/> All Proposals" msgstr "<0/> Tutte Le Proposte" -#: src/pages/Vote/index.tsx -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx +#: src/pages/Vote/Landing.tsx msgid "<0/> Votes" msgstr "<0/> Voti" @@ -115,7 +115,7 @@ msgstr "<0>Sblocca il voto per preparare la prossima proposta." msgid "<0>🎉 Welcome to team Unicorn :) <1>🎉" msgstr "<0>🎉 Benvenuto nel team Unicorn :) <1>🎉" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "A minimum threshold of 0.25% of the total UNI supply is required to submit proposals" msgstr "Per la presentazione delle proposte è richiesta una soglia minima dello 0,25% della fornitura UNI totale" @@ -543,7 +543,7 @@ msgid "Create Pool & Supply" msgstr "Crea Pool e Fornitura" #: src/pages/CreateProposal/index.tsx -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Create Proposal" msgstr "Crea proposta" @@ -597,7 +597,7 @@ msgstr "Voti Delegati" msgid "Delegate voting power to {0}" msgstr "Delega il potere di voto a {0}" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Delegated to:" msgstr "Delegato a:" @@ -1313,7 +1313,7 @@ msgstr "Proposta inviata" msgid "Proposal Title" msgstr "Titolo della proposta" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Proposals" msgstr "Proposte" @@ -1345,7 +1345,7 @@ msgstr "Tariffe" msgid "Read more about UNI" msgstr "Leggi tutto su UNI" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Read more about Uniswap governance" msgstr "Per saperne di più sulla governance di Uniswap" @@ -1445,7 +1445,7 @@ msgstr "Seleziona un'azione" msgid "Selected Range" msgstr "Intervallo selezionato" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Self" msgstr "Se stesso" @@ -1772,7 +1772,7 @@ msgstr "UNI in circolazione:" msgid "UNI price:" msgstr "Prezzo UNI:" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "UNI tokens represent voting shares in Uniswap governance. You can vote on each proposal yourself or delegate your votes to a third party." msgstr "I token UNI rappresentano le quote di voto nella governance di Uniswap. Puoi votare su ogni proposta tu stesso o delegare i tuoi voti a terzi." @@ -1813,7 +1813,7 @@ msgstr "Errore inaspettato. Impossibile stimare il gas per lo scambio." msgid "Unexpected issue with estimating the gas. Please try again." msgstr "Problema imprevisto con la stima del gas. Per favore riprova." -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Uniswap Governance" msgstr "Uniswap Governance" @@ -1849,12 +1849,12 @@ msgstr "Fonte sconosciuta" msgid "Unknown error{0}. Try increasing your slippage tolerance. Note: fee on transfer and rebase tokens are incompatible with Uniswap V3." msgstr "Errore sconosciuto{0}. Prova ad aumentare la tua tolleranza allo slittamento. Nota: la commissione sui token di trasferimento e rebase non è compatibile con Uniswap V3." +#: src/pages/Vote/Landing.tsx #: src/pages/Vote/VotePage.tsx -#: src/pages/Vote/index.tsx msgid "Unlock Votes" msgstr "Sblocca Voti" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Unlock Voting" msgstr "Sblocca Il Voto" @@ -1884,7 +1884,7 @@ msgstr "Unwrap" msgid "Unwrap <0/> to ETH" msgstr "Scarta <0/> in ETH" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Update Delegation" msgstr "Aggiorna la delega" diff --git a/src/locales/ja-JP.po b/src/locales/ja-JP.po index fa23635b78..367090cefe 100644 --- a/src/locales/ja-JP.po +++ b/src/locales/ja-JP.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-12 17:09\n" +"PO-Revision-Date: 2021-11-18 06:11\n" "Last-Translator: \n" "Language: ja_JP\n" "Language-Team: Japanese\n" @@ -47,7 +47,7 @@ msgstr "(請求)" msgid "(clear all)" msgstr "(すべてクリア)" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "(edit)" msgstr "(編集)" @@ -78,8 +78,8 @@ msgstr "75%" msgid "<0/> All Proposals" msgstr "<0/>すべての提案" -#: src/pages/Vote/index.tsx -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx +#: src/pages/Vote/Landing.tsx msgid "<0/> Votes" msgstr "<0/>投票" @@ -115,7 +115,7 @@ msgstr "次の提案に備えるため <0>投票のロックを解除" msgid "<0>🎉 Welcome to team Unicorn :) <1>🎉" msgstr "<0>🎉 チーム ユニコーンにようこそ <1>🎉" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "A minimum threshold of 0.25% of the total UNI supply is required to submit proposals" msgstr "提案を提出するには、UNIの総供給量の0.25%以上のUNIが必要です。" @@ -543,7 +543,7 @@ msgid "Create Pool & Supply" msgstr "プール作成と流動性の追加" #: src/pages/CreateProposal/index.tsx -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Create Proposal" msgstr "提案を作成" @@ -597,7 +597,7 @@ msgstr "投票を委任する" msgid "Delegate voting power to {0}" msgstr "{0} に投票権を委任する" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Delegated to:" msgstr "委任先:" @@ -1313,7 +1313,7 @@ msgstr "提出された提案" msgid "Proposal Title" msgstr "提案のタイトル" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Proposals" msgstr "提案" @@ -1345,7 +1345,7 @@ msgstr "レート" msgid "Read more about UNI" msgstr "UNIについてもっと見る" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Read more about Uniswap governance" msgstr "Uniswapガバナンスについてもっと見る" @@ -1445,7 +1445,7 @@ msgstr "アクションの選択" msgid "Selected Range" msgstr "設定した価格範囲" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Self" msgstr "自分" @@ -1772,7 +1772,7 @@ msgstr "流通しているUNI:" msgid "UNI price:" msgstr "UNIの価格:" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "UNI tokens represent voting shares in Uniswap governance. You can vote on each proposal yourself or delegate your votes to a third party." msgstr "UNIトークンはUniswapガバナンスにおける投票権を表します。各提案に対して自分で投票するか、もしくは第三者に投票を委任することができます。" @@ -1813,7 +1813,7 @@ msgstr "予期しないエラー。スワップのガスを見積もることが msgid "Unexpected issue with estimating the gas. Please try again." msgstr "ガスの見積もりに関する予期しない問題。もう一度やり直してください。" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Uniswap Governance" msgstr "Uniswapのガバナンス" @@ -1849,12 +1849,12 @@ msgstr "不明なソース" msgid "Unknown error{0}. Try increasing your slippage tolerance. Note: fee on transfer and rebase tokens are incompatible with Uniswap V3." msgstr "不明なエラー{0}。スリッページの許容範囲を広げてみてください。注:転送時に手数料が発生するトークンおよびリベーストークンは、UniswapV3と互換性がありません。" +#: src/pages/Vote/Landing.tsx #: src/pages/Vote/VotePage.tsx -#: src/pages/Vote/index.tsx msgid "Unlock Votes" msgstr "投票のロックを解除" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Unlock Voting" msgstr "投票のロックを解除" @@ -1884,7 +1884,7 @@ msgstr "アンラップ" msgid "Unwrap <0/> to ETH" msgstr "<0 />をETHにアンラップ" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Update Delegation" msgstr "委任を更新" diff --git a/src/locales/ko-KR.po b/src/locales/ko-KR.po index c4f41eef64..f8644199da 100644 --- a/src/locales/ko-KR.po +++ b/src/locales/ko-KR.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-12 17:09\n" +"PO-Revision-Date: 2021-11-18 06:11\n" "Last-Translator: \n" "Language: ko_KR\n" "Language-Team: Korean\n" @@ -47,7 +47,7 @@ msgstr "(청구)" msgid "(clear all)" msgstr "(모두 지우기)" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "(edit)" msgstr "(편집)" @@ -78,8 +78,8 @@ msgstr "75 %" msgid "<0/> All Proposals" msgstr "<0/> 모든 제안" -#: src/pages/Vote/index.tsx -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx +#: src/pages/Vote/Landing.tsx msgid "<0/> Votes" msgstr "<0/> 투표" @@ -115,7 +115,7 @@ msgstr "<0> 투표 잠금 해제 다음 제안을 준비합니다." msgid "<0>🎉 Welcome to team Unicorn :) <1>🎉" msgstr "<0> 🎉 Unicorn 팀에 오신 것을 환영합니다. :) <1> 🎉" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "A minimum threshold of 0.25% of the total UNI supply is required to submit proposals" msgstr "제안서를 제출하려면 총 UNI 공급량의 최소 0.25 %가 필요합니다." @@ -543,7 +543,7 @@ msgid "Create Pool & Supply" msgstr "풀 생성 및 공급" #: src/pages/CreateProposal/index.tsx -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Create Proposal" msgstr "제안 생성" @@ -597,7 +597,7 @@ msgstr "위임 투표" msgid "Delegate voting power to {0}" msgstr "투표권을 {0}" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Delegated to:" msgstr "위임 대상 :" @@ -1313,7 +1313,7 @@ msgstr "제출 된 제안" msgid "Proposal Title" msgstr "제안 제목" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Proposals" msgstr "제안" @@ -1345,7 +1345,7 @@ msgstr "요율" msgid "Read more about UNI" msgstr "UNI에 대해 자세히 알아보기" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Read more about Uniswap governance" msgstr "Uniswap 거버넌스에 대해 자세히 알아보기" @@ -1445,7 +1445,7 @@ msgstr "작업 선택" msgid "Selected Range" msgstr "선택한 범위" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Self" msgstr "본인" @@ -1772,7 +1772,7 @@ msgstr "유통중인 UNI :" msgid "UNI price:" msgstr "UNI 가격 :" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "UNI tokens represent voting shares in Uniswap governance. You can vote on each proposal yourself or delegate your votes to a third party." msgstr "UNI 토큰은 Uniswap 거버넌스의 의결권을 나타냅니다. 각 제안에 대해 직접 투표하거나 제3자에게 투표를 위임할 수 있습니다." @@ -1813,7 +1813,7 @@ msgstr "예기치 않은 오류. 스왑을 위한 가스를 추정할 수 없습 msgid "Unexpected issue with estimating the gas. Please try again." msgstr "가스 추정에 예상치 못한 문제가 있습니다. 다시 시도해 주세요." -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Uniswap Governance" msgstr "Uniswap 거버넌스" @@ -1849,12 +1849,12 @@ msgstr "알 수 없는 출처" msgid "Unknown error{0}. Try increasing your slippage tolerance. Note: fee on transfer and rebase tokens are incompatible with Uniswap V3." msgstr "알 수 없는 오류 {0}. 슬리피지 허용치를 높이십시오. 참고: 이체 수수료 및 리베이스 토큰은 Uniswap V3와 호환되지 않습니다." +#: src/pages/Vote/Landing.tsx #: src/pages/Vote/VotePage.tsx -#: src/pages/Vote/index.tsx msgid "Unlock Votes" msgstr "투표 잠금 해제" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Unlock Voting" msgstr "투표 잠금 해제" @@ -1884,7 +1884,7 @@ msgstr "언랩" msgid "Unwrap <0/> to ETH" msgstr "<0/>을 ETH로 풀기" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Update Delegation" msgstr "위임 업데이트" diff --git a/src/locales/nl-NL.po b/src/locales/nl-NL.po index 87c874089a..c0907876aa 100644 --- a/src/locales/nl-NL.po +++ b/src/locales/nl-NL.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-12 17:09\n" +"PO-Revision-Date: 2021-11-18 06:11\n" "Last-Translator: \n" "Language: nl_NL\n" "Language-Team: Dutch\n" @@ -47,7 +47,7 @@ msgstr "(claim)" msgid "(clear all)" msgstr "(alles wissen)" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "(edit)" msgstr "(bewerken)" @@ -78,8 +78,8 @@ msgstr "75%" msgid "<0/> All Proposals" msgstr "<0/> Alle voorstellen" -#: src/pages/Vote/index.tsx -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx +#: src/pages/Vote/Landing.tsx msgid "<0/> Votes" msgstr "<0/> Stemmen" @@ -115,7 +115,7 @@ msgstr "<0>Ontgrendel het stemmen om het volgende voorstel voor te bereiden msgid "<0>🎉 Welcome to team Unicorn :) <1>🎉" msgstr "<0>🎉 Welkom bij team Unicorn :) <1>🎉" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "A minimum threshold of 0.25% of the total UNI supply is required to submit proposals" msgstr "Een minimumdrempel van 0,25% van het totale UNI-aanbod is vereist om voorstellen in te dienen" @@ -543,7 +543,7 @@ msgid "Create Pool & Supply" msgstr "Maak pool en levering aan" #: src/pages/CreateProposal/index.tsx -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Create Proposal" msgstr "Voorstel maken" @@ -597,7 +597,7 @@ msgstr "Stemmen overdragen" msgid "Delegate voting power to {0}" msgstr "Stemrecht delegeren aan {0}" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Delegated to:" msgstr "Overgedragen aan:" @@ -1313,7 +1313,7 @@ msgstr "Voorstel ingediend" msgid "Proposal Title" msgstr "Titel van het voorstel" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Proposals" msgstr "Voorstellen" @@ -1345,7 +1345,7 @@ msgstr "Tarieven" msgid "Read more about UNI" msgstr "Lees meer over UNI" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Read more about Uniswap governance" msgstr "Lees meer over Uniswap-bestuur" @@ -1445,7 +1445,7 @@ msgstr "Selecteer een actie" msgid "Selected Range" msgstr "Geselecteerd bereik" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Self" msgstr "Eigen" @@ -1772,7 +1772,7 @@ msgstr "UNI in omloop:" msgid "UNI price:" msgstr "UNI-prijs:" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "UNI tokens represent voting shares in Uniswap governance. You can vote on each proposal yourself or delegate your votes to a third party." msgstr "UNI tokens vertegenwoordigen stemaandelen in het bestuur van Uniswap. U kunt zelf over elk voorstel stemmen of uw stemmen aan een derde partij overdragen." @@ -1813,7 +1813,7 @@ msgstr "Onverwachte fout. Kon het gas voor de swap niet schatten." msgid "Unexpected issue with estimating the gas. Please try again." msgstr "Onverwacht probleem met het schatten van het gas. Probeer het opnieuw." -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Uniswap Governance" msgstr "Uniswap-bestuur" @@ -1849,12 +1849,12 @@ msgstr "Onbekende bron" msgid "Unknown error{0}. Try increasing your slippage tolerance. Note: fee on transfer and rebase tokens are incompatible with Uniswap V3." msgstr "Onbekende fout{0}. Probeer uw slippage tolerantie te vergroten. Let op: kosten voor overdracht en rebase tokens zijn niet compatibel met Uniswap V3." +#: src/pages/Vote/Landing.tsx #: src/pages/Vote/VotePage.tsx -#: src/pages/Vote/index.tsx msgid "Unlock Votes" msgstr "Ontgrendel stemmen" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Unlock Voting" msgstr "Ontgrendel de stemming" @@ -1884,7 +1884,7 @@ msgstr "Uitpakken" msgid "Unwrap <0/> to ETH" msgstr "Pak <0/> uit naar ETH" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Update Delegation" msgstr "Werk delegatie bij" diff --git a/src/locales/no-NO.po b/src/locales/no-NO.po index d01177076e..8a517e07d9 100644 --- a/src/locales/no-NO.po +++ b/src/locales/no-NO.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-12 17:09\n" +"PO-Revision-Date: 2021-11-18 06:11\n" "Last-Translator: \n" "Language: no_NO\n" "Language-Team: Norwegian\n" @@ -47,7 +47,7 @@ msgstr "(hent)" msgid "(clear all)" msgstr "(fjern alle)" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "(edit)" msgstr "(rediger)" @@ -78,8 +78,8 @@ msgstr "75 %" msgid "<0/> All Proposals" msgstr "<0/> Alle forslag" -#: src/pages/Vote/index.tsx -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx +#: src/pages/Vote/Landing.tsx msgid "<0/> Votes" msgstr "<0/> Stemmer" @@ -115,7 +115,7 @@ msgstr "<0>Lås opp stemme for å forberede neste forslag." msgid "<0>🎉 Welcome to team Unicorn :) <1>🎉" msgstr "<0>🎉 Velkommen til team Unicorn :) <1>🎉" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "A minimum threshold of 0.25% of the total UNI supply is required to submit proposals" msgstr "En minimumsterskel på 0,25% av den totale UNI-forsyningen kreves for å sende inn forslag" @@ -543,7 +543,7 @@ msgid "Create Pool & Supply" msgstr "Opprett samling & forsyning" #: src/pages/CreateProposal/index.tsx -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Create Proposal" msgstr "Lag et forslag" @@ -597,7 +597,7 @@ msgstr "Delegere stemmer" msgid "Delegate voting power to {0}" msgstr "Delegere stemmerett til {0}" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Delegated to:" msgstr "Delegert til:" @@ -1313,7 +1313,7 @@ msgstr "Forslaget ble sendt inn" msgid "Proposal Title" msgstr "Forslagets tittel" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Proposals" msgstr "Forslag" @@ -1345,7 +1345,7 @@ msgstr "Priser" msgid "Read more about UNI" msgstr "Les mer om UNI" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Read more about Uniswap governance" msgstr "Les mer om Uniswap-styring" @@ -1445,7 +1445,7 @@ msgstr "Velg en handling" msgid "Selected Range" msgstr "Valgt område" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Self" msgstr "Selv" @@ -1772,7 +1772,7 @@ msgstr "UNI i sirkulasjon:" msgid "UNI price:" msgstr "UNI-pris:" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "UNI tokens represent voting shares in Uniswap governance. You can vote on each proposal yourself or delegate your votes to a third party." msgstr "UNI-polleter representerer stemmeaksjer i Uniswap-styring. Du kan stemme på hvert forslag selv eller delegere dine stemmer til en tredjepart." @@ -1813,7 +1813,7 @@ msgstr "Uventet feil. Kunne ikke estimere gass for byttet." msgid "Unexpected issue with estimating the gas. Please try again." msgstr "Uventet problem med estimering av gassen. Vær så snill, prøv på nytt." -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Uniswap Governance" msgstr "Uniswap-styring" @@ -1849,12 +1849,12 @@ msgstr "Ukjent kilde" msgid "Unknown error{0}. Try increasing your slippage tolerance. Note: fee on transfer and rebase tokens are incompatible with Uniswap V3." msgstr "Ukjent feil{0}. Prøv å øke glattoleransen. Merk: gebyr ved overføring og rebase -tokens er inkompatibelt med Uniswap V3." +#: src/pages/Vote/Landing.tsx #: src/pages/Vote/VotePage.tsx -#: src/pages/Vote/index.tsx msgid "Unlock Votes" msgstr "Lås opp stemmer" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Unlock Voting" msgstr "Lås opp stemmegivning" @@ -1884,7 +1884,7 @@ msgstr "Pakk opp" msgid "Unwrap <0/> to ETH" msgstr "Pakk ut <0/> til ETH" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Update Delegation" msgstr "Oppdater delegasjon" diff --git a/src/locales/pl-PL.po b/src/locales/pl-PL.po index cdf61ce8f8..ff59fce8c0 100644 --- a/src/locales/pl-PL.po +++ b/src/locales/pl-PL.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-12 17:09\n" +"PO-Revision-Date: 2021-11-18 06:11\n" "Last-Translator: \n" "Language: pl_PL\n" "Language-Team: Polish\n" @@ -47,7 +47,7 @@ msgstr "(claim)" msgid "(clear all)" msgstr "(wyczyść wszystkie)" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "(edit)" msgstr "(edytować)" @@ -78,8 +78,8 @@ msgstr "75%" msgid "<0/> All Proposals" msgstr "<0/> Wszystkie wnioski" -#: src/pages/Vote/index.tsx -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx +#: src/pages/Vote/Landing.tsx msgid "<0/> Votes" msgstr "<0/>Głosów" @@ -115,7 +115,7 @@ msgstr "<0>Odblokuj głos aby przygotować się do następnej propozycji." msgid "<0>🎉 Welcome to team Unicorn :) <1>🎉" msgstr "<0>🎉 Witamy w zespole Unicorn :) <1>🎉" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "A minimum threshold of 0.25% of the total UNI supply is required to submit proposals" msgstr "Minimalny próg 0,25% całkowitej podaży UNI jest wymagany do składania ofert" @@ -543,7 +543,7 @@ msgid "Create Pool & Supply" msgstr "Utwórz Pulę i Zaopatrzenie" #: src/pages/CreateProposal/index.tsx -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Create Proposal" msgstr "Utwórz propozycję" @@ -597,7 +597,7 @@ msgstr "Deleguj głosy" msgid "Delegate voting power to {0}" msgstr "Oddeleguj siłę głosu do {0}" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Delegated to:" msgstr "Delegowane do:" @@ -1313,7 +1313,7 @@ msgstr "Przesłano propozycję" msgid "Proposal Title" msgstr "Tytuł propozycji" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Proposals" msgstr "Propozycje" @@ -1345,7 +1345,7 @@ msgstr "Stawki" msgid "Read more about UNI" msgstr "Dowiedz się więcej o UNI" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Read more about Uniswap governance" msgstr "Przeczytaj więcej o zarządzaniu Uniswap" @@ -1445,7 +1445,7 @@ msgstr "Wybierz akcję" msgid "Selected Range" msgstr "Wybrany zakres" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Self" msgstr "Samego siebie" @@ -1772,7 +1772,7 @@ msgstr "UNI w obiegu:" msgid "UNI price:" msgstr "Cena UNI:" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "UNI tokens represent voting shares in Uniswap governance. You can vote on each proposal yourself or delegate your votes to a third party." msgstr "Tokeny UNI reprezentują udziały z prawem głosu w zarządzaniu Uniswap. Możesz sam głosować na każdą propozycję lub przekazać swoje głosy stronie trzeciej." @@ -1813,7 +1813,7 @@ msgstr "Niespodziewany błąd. Nie udało się oszacować gazu do wymiany." msgid "Unexpected issue with estimating the gas. Please try again." msgstr "Nieoczekiwany problem z szacowaniem gazu. Proszę spróbuj ponownie." -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Uniswap Governance" msgstr "Zarządzanie uniswap" @@ -1849,12 +1849,12 @@ msgstr "Nieznane źródło" msgid "Unknown error{0}. Try increasing your slippage tolerance. Note: fee on transfer and rebase tokens are incompatible with Uniswap V3." msgstr "Nieznany błąd{0}. Spróbuj zwiększyć swoją tolerancję na poślizg. Uwaga: opłata za transfer i rebase tokeny są niezgodne z Uniswap V3." +#: src/pages/Vote/Landing.tsx #: src/pages/Vote/VotePage.tsx -#: src/pages/Vote/index.tsx msgid "Unlock Votes" msgstr "Odblokuj głosy" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Unlock Voting" msgstr "Odblokuj głosowanie" @@ -1884,7 +1884,7 @@ msgstr "Unwrap" msgid "Unwrap <0/> to ETH" msgstr "Rozpakuj <0/> do ETH" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Update Delegation" msgstr "Zaktualizuj delegację" diff --git a/src/locales/pt-BR.po b/src/locales/pt-BR.po index 681abf92ba..0e0994869b 100644 --- a/src/locales/pt-BR.po +++ b/src/locales/pt-BR.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-12 17:09\n" +"PO-Revision-Date: 2021-11-18 06:11\n" "Last-Translator: \n" "Language: pt_BR\n" "Language-Team: Portuguese, Brazilian\n" @@ -47,7 +47,7 @@ msgstr "(resgate)" msgid "(clear all)" msgstr "(limpar tudo)" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "(edit)" msgstr "(editar)" @@ -78,8 +78,8 @@ msgstr "75%" msgid "<0/> All Proposals" msgstr "<0/> Todas as propostas" -#: src/pages/Vote/index.tsx -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx +#: src/pages/Vote/Landing.tsx msgid "<0/> Votes" msgstr "<0/> Votos" @@ -115,7 +115,7 @@ msgstr "<0>Votação de desbloqueio para se preparar para a próxima propost msgid "<0>🎉 Welcome to team Unicorn :) <1>🎉" msgstr "<0>🎉 Seja bem-vindo à Equipe Unicórnio :) <1>🎉" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "A minimum threshold of 0.25% of the total UNI supply is required to submit proposals" msgstr "Um limite mínimo de 0,25% do fornecimento total da UNI é necessário para enviar propostas" @@ -543,7 +543,7 @@ msgid "Create Pool & Supply" msgstr "Criar Lote e Fornecimento" #: src/pages/CreateProposal/index.tsx -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Create Proposal" msgstr "Criar Proposta" @@ -597,7 +597,7 @@ msgstr "Delegar votos" msgid "Delegate voting power to {0}" msgstr "Delegar poder de voto para {0}" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Delegated to:" msgstr "Delegado para:" @@ -1313,7 +1313,7 @@ msgstr "Proposta Enviada" msgid "Proposal Title" msgstr "Título da Proposta" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Proposals" msgstr "Propostas" @@ -1345,7 +1345,7 @@ msgstr "Taxas" msgid "Read more about UNI" msgstr "Leia mais sobre as UNI" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Read more about Uniswap governance" msgstr "Ler mais sobre governança no Uniswap" @@ -1445,7 +1445,7 @@ msgstr "Selecione uma ação" msgid "Selected Range" msgstr "Faixa selecionada" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Self" msgstr "Auto" @@ -1772,7 +1772,7 @@ msgstr "UNI em circulação:" msgid "UNI price:" msgstr "Preço da UNI:" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "UNI tokens represent voting shares in Uniswap governance. You can vote on each proposal yourself or delegate your votes to a third party." msgstr "Os tokens de UNI representam capital votante na governança do Uniswap. Você mesmo pode votar em cada proposta ou pode delegar seu voto a terceiros." @@ -1813,7 +1813,7 @@ msgstr "Erro inesperado. Não foi possível estimar o gás para a troca." msgid "Unexpected issue with estimating the gas. Please try again." msgstr "Problema inesperado com a estimativa do gás. Por favor, tente novamente." -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Uniswap Governance" msgstr "Governança do Uniswap" @@ -1849,12 +1849,12 @@ msgstr "Fonte desconhecida" msgid "Unknown error{0}. Try increasing your slippage tolerance. Note: fee on transfer and rebase tokens are incompatible with Uniswap V3." msgstr "Erro desconhecido{0}. Tente aumentar sua tolerância ao deslizamento. Nota: a taxa de transferência e tokens de rebase são incompatíveis com Uniswap V3." +#: src/pages/Vote/Landing.tsx #: src/pages/Vote/VotePage.tsx -#: src/pages/Vote/index.tsx msgid "Unlock Votes" msgstr "Desbloquear votos" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Unlock Voting" msgstr "Desbloquear votação" @@ -1884,7 +1884,7 @@ msgstr "Desacobertar" msgid "Unwrap <0/> to ETH" msgstr "Desembrulhe <0 /> para ETH" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Update Delegation" msgstr "Atualizar Delegação" diff --git a/src/locales/pt-PT.po b/src/locales/pt-PT.po index aecb8a0516..81164d44dc 100644 --- a/src/locales/pt-PT.po +++ b/src/locales/pt-PT.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-12 17:09\n" +"PO-Revision-Date: 2021-11-18 06:11\n" "Last-Translator: \n" "Language: pt_PT\n" "Language-Team: Portuguese\n" @@ -47,7 +47,7 @@ msgstr "(reivindicação)" msgid "(clear all)" msgstr "(limpar tudo)" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "(edit)" msgstr "(editar)" @@ -78,8 +78,8 @@ msgstr "75%" msgid "<0/> All Proposals" msgstr "<0/> Todas as propostas" -#: src/pages/Vote/index.tsx -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx +#: src/pages/Vote/Landing.tsx msgid "<0/> Votes" msgstr "<0/> Votos" @@ -115,7 +115,7 @@ msgstr "<0>Desbloqueie a votação para se preparar para a próxima proposta msgid "<0>🎉 Welcome to team Unicorn :) <1>🎉" msgstr "<0>🎉 Bem-vindo à equipa Unicórnio :) <1>🎉" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "A minimum threshold of 0.25% of the total UNI supply is required to submit proposals" msgstr "Um limite mínimo de 0,25% do fornecimento total da UNI é necessário para enviar propostas" @@ -543,7 +543,7 @@ msgid "Create Pool & Supply" msgstr "Criar Pool e Oferta" #: src/pages/CreateProposal/index.tsx -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Create Proposal" msgstr "Criar Proposta" @@ -597,7 +597,7 @@ msgstr "Delegar votos" msgid "Delegate voting power to {0}" msgstr "Delegar poder de voto para {0}" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Delegated to:" msgstr "Delegado a" @@ -1313,7 +1313,7 @@ msgstr "Proposta Enviada" msgid "Proposal Title" msgstr "Título da Proposta" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Proposals" msgstr "Propostas" @@ -1345,7 +1345,7 @@ msgstr "Taxas" msgid "Read more about UNI" msgstr "Leia mais sobre a UNI" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Read more about Uniswap governance" msgstr "Leia mais sobre a governança Uniswap" @@ -1445,7 +1445,7 @@ msgstr "Selecione uma ação" msgid "Selected Range" msgstr "Intervalo Selecionado" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Self" msgstr "Auto" @@ -1772,7 +1772,7 @@ msgstr "UNI em circulação:" msgid "UNI price:" msgstr "Preço da UNI:" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "UNI tokens represent voting shares in Uniswap governance. You can vote on each proposal yourself or delegate your votes to a third party." msgstr "Os tokens da UNI representam participações de voto na governança da Uniswap. Pode votar em cada proposta você mesmo ou delegar os seus votos a um terceiro." @@ -1813,7 +1813,7 @@ msgstr "Erro inesperado. Não foi possível estimar o gás para a troca." msgid "Unexpected issue with estimating the gas. Please try again." msgstr "Problema inesperado com a estimativa do gás. Por favor, tente novamente." -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Uniswap Governance" msgstr "Uniswap Governança" @@ -1849,12 +1849,12 @@ msgstr "Fonte desconhecida" msgid "Unknown error{0}. Try increasing your slippage tolerance. Note: fee on transfer and rebase tokens are incompatible with Uniswap V3." msgstr "Erro desconhecido{0}. Tente aumentar sua tolerância ao deslizamento. Nota: a taxa de transferência e tokens de rebase são incompatíveis com Uniswap V3." +#: src/pages/Vote/Landing.tsx #: src/pages/Vote/VotePage.tsx -#: src/pages/Vote/index.tsx msgid "Unlock Votes" msgstr "Desbloquear votos" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Unlock Voting" msgstr "Desbloquear Votação" @@ -1884,7 +1884,7 @@ msgstr "Desembrulhar" msgid "Unwrap <0/> to ETH" msgstr "Desembrulhe <0 /> para ETH" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Update Delegation" msgstr "Atualizar Delegação" diff --git a/src/locales/ro-RO.po b/src/locales/ro-RO.po index 87f65c8b5a..f44355a4de 100644 --- a/src/locales/ro-RO.po +++ b/src/locales/ro-RO.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-12 17:09\n" +"PO-Revision-Date: 2021-11-18 06:11\n" "Last-Translator: \n" "Language: ro_RO\n" "Language-Team: Romanian\n" @@ -47,7 +47,7 @@ msgstr "(revendicare)" msgid "(clear all)" msgstr "(elimină tot)" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "(edit)" msgstr "(editează)" @@ -78,8 +78,8 @@ msgstr "75%" msgid "<0/> All Proposals" msgstr "<0/> Toate propunerile" -#: src/pages/Vote/index.tsx -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx +#: src/pages/Vote/Landing.tsx msgid "<0/> Votes" msgstr "Voturi <0/>" @@ -115,7 +115,7 @@ msgstr "<0>Deblochează votul pentru a se pregăti pentru următoarea propu msgid "<0>🎉 Welcome to team Unicorn :) <1>🎉" msgstr "<0>🎉 Bine ai venit la echipa Unicorn :) <1>🎉" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "A minimum threshold of 0.25% of the total UNI supply is required to submit proposals" msgstr "Pentru depunerea propunerilor este necesar un prag minim de 0,25% din totalul aprovizionării UNI" @@ -543,7 +543,7 @@ msgid "Create Pool & Supply" msgstr "Crează Rezervă & Aprovizionare" #: src/pages/CreateProposal/index.tsx -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Create Proposal" msgstr "Creați o propunere" @@ -597,7 +597,7 @@ msgstr "Voturi delegate" msgid "Delegate voting power to {0}" msgstr "Delegă puterea de vot la {0}" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Delegated to:" msgstr "Delegat către:" @@ -1313,7 +1313,7 @@ msgstr "Propunere trimisă" msgid "Proposal Title" msgstr "Titlul propunerii" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Proposals" msgstr "Propuneri" @@ -1345,7 +1345,7 @@ msgstr "Tarife" msgid "Read more about UNI" msgstr "Citește mai multe despre UNI" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Read more about Uniswap governance" msgstr "Citește mai multe despre guvernarea Uniswap" @@ -1445,7 +1445,7 @@ msgstr "Selectați o acțiune" msgid "Selected Range" msgstr "Gama Selectată" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Self" msgstr "Sine" @@ -1772,7 +1772,7 @@ msgstr "UNI în circulație:" msgid "UNI price:" msgstr "Preț UNI:" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "UNI tokens represent voting shares in Uniswap governance. You can vote on each proposal yourself or delegate your votes to a third party." msgstr "Jetoanele UNI reprezintă acțiunile cu drept de vot în guvernarea Uniswap. Poți vota pentru fiecare propunere sau poți să delegi voturile unui terț." @@ -1813,7 +1813,7 @@ msgstr "Eroare neașteptată. Nu s-a putut estima gazul pentru swap." msgid "Unexpected issue with estimating the gas. Please try again." msgstr "Problemă neașteptată cu estimarea gazului. Vă rugăm să încercați din nou." -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Uniswap Governance" msgstr "Guvernare Uniswap" @@ -1849,12 +1849,12 @@ msgstr "Sursă Necunoscută" msgid "Unknown error{0}. Try increasing your slippage tolerance. Note: fee on transfer and rebase tokens are incompatible with Uniswap V3." msgstr "Eroare necunoscută{0}. Încercați să vă măriți toleranța la alunecare. Notă: taxa pentru jetoane de transfer și rebase sunt incompatibile cu Uniswap V3." +#: src/pages/Vote/Landing.tsx #: src/pages/Vote/VotePage.tsx -#: src/pages/Vote/index.tsx msgid "Unlock Votes" msgstr "Deblochează Voturi" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Unlock Voting" msgstr "Deblochează Votarea" @@ -1884,7 +1884,7 @@ msgstr "Despachetează" msgid "Unwrap <0/> to ETH" msgstr "Desfaceți <0 /> la ETH" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Update Delegation" msgstr "Actualizează Delegarea" diff --git a/src/locales/ru-RU.po b/src/locales/ru-RU.po index 425ef705d1..87d35cf0bc 100644 --- a/src/locales/ru-RU.po +++ b/src/locales/ru-RU.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-14 14:06\n" +"PO-Revision-Date: 2021-11-18 06:11\n" "Last-Translator: \n" "Language: ru_RU\n" "Language-Team: Russian\n" @@ -47,7 +47,7 @@ msgstr "(востребовать)" msgid "(clear all)" msgstr "(очистить всё)" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "(edit)" msgstr "(изменить)" @@ -78,8 +78,8 @@ msgstr "75%" msgid "<0/> All Proposals" msgstr "<0/> Все предложения" -#: src/pages/Vote/index.tsx -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx +#: src/pages/Vote/Landing.tsx msgid "<0/> Votes" msgstr "<0/> Голоса" @@ -115,7 +115,7 @@ msgstr "<0>Разблокируйте голосование, чтобы п msgid "<0>🎉 Welcome to team Unicorn :) <1>🎉" msgstr "<0>🎉 Добро пожаловать в команду единорогов :) <1>🎉" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "A minimum threshold of 0.25% of the total UNI supply is required to submit proposals" msgstr "Для внесения предложений требуется минимальный порог в 0,25% от общего предложения UNI" @@ -543,7 +543,7 @@ msgid "Create Pool & Supply" msgstr "Создать пул и внести" #: src/pages/CreateProposal/index.tsx -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Create Proposal" msgstr "Создать предложение" @@ -597,7 +597,7 @@ msgstr "Делегировать голоса" msgid "Delegate voting power to {0}" msgstr "Делегировать право голоса {0}" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Delegated to:" msgstr "Делегировано кому:" @@ -1313,7 +1313,7 @@ msgstr "Предложение отправлено" msgid "Proposal Title" msgstr "Название предложения" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Proposals" msgstr "Предложения" @@ -1345,7 +1345,7 @@ msgstr "Тарифы" msgid "Read more about UNI" msgstr "Подробнее о UNI" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Read more about Uniswap governance" msgstr "Подробнее об управлении Uniswap" @@ -1445,7 +1445,7 @@ msgstr "Выберите действие" msgid "Selected Range" msgstr "Выбранный диапазон" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Self" msgstr "Себе" @@ -1772,7 +1772,7 @@ msgstr "UNI в обращении:" msgid "UNI price:" msgstr "Цена UNI:" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "UNI tokens represent voting shares in Uniswap governance. You can vote on each proposal yourself or delegate your votes to a third party." msgstr "Токены UNI представляют собой права голоса в управлении Uniswap. Вы можете проголосовать по каждому предложению самостоятельно или делегировать свои голоса третьей стороне." @@ -1813,7 +1813,7 @@ msgstr "Неожиданная ошибка. Невозможно спрогно msgid "Unexpected issue with estimating the gas. Please try again." msgstr "Неожиданная проблема при прогнозировании газа. Пожалуйста, попробуйте еще раз." -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Uniswap Governance" msgstr "Управление Uniswap" @@ -1849,12 +1849,12 @@ msgstr "Неизвестный источник" msgid "Unknown error{0}. Try increasing your slippage tolerance. Note: fee on transfer and rebase tokens are incompatible with Uniswap V3." msgstr "Неизвестная ошибка{0}. Попробуйте увеличить допустимое проскальзывание. Обратите внимание: токены с комиссией за перевод или изменяемой базой несовместимы с Uniswap V3." +#: src/pages/Vote/Landing.tsx #: src/pages/Vote/VotePage.tsx -#: src/pages/Vote/index.tsx msgid "Unlock Votes" msgstr "Разблокировать голоса" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Unlock Voting" msgstr "Разблокировать голосование" @@ -1884,7 +1884,7 @@ msgstr "Развернуть" msgid "Unwrap <0/> to ETH" msgstr "Развернуть <0/> в ETH" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Update Delegation" msgstr "Обновить делегирование" diff --git a/src/locales/sl-SI.po b/src/locales/sl-SI.po index 499f54e0bd..34e83c0afa 100644 --- a/src/locales/sl-SI.po +++ b/src/locales/sl-SI.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-14 14:06\n" +"PO-Revision-Date: 2021-11-18 06:11\n" "Last-Translator: \n" "Language: sl_SI\n" "Language-Team: Slovenian\n" @@ -47,7 +47,7 @@ msgstr "(prevzem)" msgid "(clear all)" msgstr "(počisti vse)" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "(edit)" msgstr "(uredi)" @@ -78,8 +78,8 @@ msgstr "75 %" msgid "<0/> All Proposals" msgstr "<0/> Vse pobude" -#: src/pages/Vote/index.tsx -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx +#: src/pages/Vote/Landing.tsx msgid "<0/> Votes" msgstr "<0/> glasov" @@ -115,7 +115,7 @@ msgstr "<0>Odklenite glasovanje, če se želite pripraviti na naslednjo pobu msgid "<0>🎉 Welcome to team Unicorn :) <1>🎉" msgstr "<0> 🎉 Dobrodošli v ekipi Samorog :) <1> 🎉" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "A minimum threshold of 0.25% of the total UNI supply is required to submit proposals" msgstr "Za predložitev predlogov potrebujete vsaj 0,25 % celotne zaloge UNI." @@ -543,7 +543,7 @@ msgid "Create Pool & Supply" msgstr "Ustvari sklad & položi likvidnost" #: src/pages/CreateProposal/index.tsx -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Create Proposal" msgstr "Ustvari pobudo" @@ -597,7 +597,7 @@ msgstr "Glasovni zastopnikov" msgid "Delegate voting power to {0}" msgstr "Prenesi pravico glasovanja na zastopnika {0}" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Delegated to:" msgstr "Zastopnik:" @@ -1313,7 +1313,7 @@ msgstr "Pobuda predložena" msgid "Proposal Title" msgstr "Naslov pobude" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Proposals" msgstr "Pobude" @@ -1345,7 +1345,7 @@ msgstr "Tečaji" msgid "Read more about UNI" msgstr "Preberite več o UNI" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Read more about Uniswap governance" msgstr "Preberite več o Uniswapovem upravljanju" @@ -1445,7 +1445,7 @@ msgstr "Izberite dejanje" msgid "Selected Range" msgstr "Izbrani razpon" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Self" msgstr "Sebi" @@ -1772,7 +1772,7 @@ msgstr "UNI v obtoku:" msgid "UNI price:" msgstr "Cena UNI:" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "UNI tokens represent voting shares in Uniswap governance. You can vote on each proposal yourself or delegate your votes to a third party." msgstr "Žetoni UNI predstavljajo delež glasovalnih pravic pri upravljanju sistema Uniswap. Za vsak predlog lahko glasujete sami ali pa svoje glasove prenesete na izbranega zastopnika." @@ -1813,7 +1813,7 @@ msgstr "Nepričakovana napaka. Porabe plina za menjavo ni bilo mogoče oceniti." msgid "Unexpected issue with estimating the gas. Please try again." msgstr "Nepričakovana težava pri ocenjevanju porabe plina. Prosimo, poskusite ponovno." -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Uniswap Governance" msgstr "Uniswapovo upravljanje" @@ -1849,12 +1849,12 @@ msgstr "Neznan vir" msgid "Unknown error{0}. Try increasing your slippage tolerance. Note: fee on transfer and rebase tokens are incompatible with Uniswap V3." msgstr "Neznana napaka {0}. Poskusite povečati toleranco do zdrsa. Pozor: žetoni s provizijami ob prenosu in uravnavani (rebase) žetoni niso združljivi z Uniswap V3." +#: src/pages/Vote/Landing.tsx #: src/pages/Vote/VotePage.tsx -#: src/pages/Vote/index.tsx msgid "Unlock Votes" msgstr "Odkleni glasove" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Unlock Voting" msgstr "Odkleni glasovanje" @@ -1884,7 +1884,7 @@ msgstr "Odvij" msgid "Unwrap <0/> to ETH" msgstr "Odvij <0/> v ETH" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Update Delegation" msgstr "Posodobi pooblastilo" diff --git a/src/locales/sr-SP.po b/src/locales/sr-SP.po index 34b56e660f..815fbfd33a 100644 --- a/src/locales/sr-SP.po +++ b/src/locales/sr-SP.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-12 17:09\n" +"PO-Revision-Date: 2021-11-18 06:11\n" "Last-Translator: \n" "Language: sr_SP\n" "Language-Team: Serbian (Cyrillic)\n" @@ -47,7 +47,7 @@ msgstr "(потраживање)" msgid "(clear all)" msgstr "(обриши све)" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "(edit)" msgstr "(уреди)" @@ -78,8 +78,8 @@ msgstr "75%" msgid "<0/> All Proposals" msgstr "<0/> Сви предлози" -#: src/pages/Vote/index.tsx -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx +#: src/pages/Vote/Landing.tsx msgid "<0/> Votes" msgstr "<0/> Гласови" @@ -115,7 +115,7 @@ msgstr "<0> Откључајте гласање да се припреми msgid "<0>🎉 Welcome to team Unicorn :) <1>🎉" msgstr "<0> 🎉 Добродошли у тим Unicorn :) <1> 🎉" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "A minimum threshold of 0.25% of the total UNI supply is required to submit proposals" msgstr "За подношење предлога потребан је минимални праг од 0,25% укупне УНИ понуде" @@ -543,7 +543,7 @@ msgid "Create Pool & Supply" msgstr "Направите Фонд & Снабдевање" #: src/pages/CreateProposal/index.tsx -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Create Proposal" msgstr "Направите предлог" @@ -597,7 +597,7 @@ msgstr "Делегирајте гласове" msgid "Delegate voting power to {0}" msgstr "Делегирајте гласачку моћ на {0}" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Delegated to:" msgstr "Делегирано за:" @@ -1313,7 +1313,7 @@ msgstr "Предлог поднет" msgid "Proposal Title" msgstr "Наслов предлога" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Proposals" msgstr "Предлози" @@ -1345,7 +1345,7 @@ msgstr "Стопе" msgid "Read more about UNI" msgstr "Прочитајте више о UNI-ју" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Read more about Uniswap governance" msgstr "Прочитајте више о управљању Uniswap-ом" @@ -1445,7 +1445,7 @@ msgstr "Изаберите радњу" msgid "Selected Range" msgstr "Изабрани опсег" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Self" msgstr "Сопствени" @@ -1772,7 +1772,7 @@ msgstr "UNI у оптицају:" msgid "UNI price:" msgstr "UNI цена:" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "UNI tokens represent voting shares in Uniswap governance. You can vote on each proposal yourself or delegate your votes to a third party." msgstr "UNI токени представљају акције са правом гласа у управљању Uniswap-ом. Можете сами гласати за сваки предлог или пренети своје гласове трећој страни." @@ -1813,7 +1813,7 @@ msgstr "Неочекивана грешка. Није могуће процен msgid "Unexpected issue with estimating the gas. Please try again." msgstr "Неочекивани проблем са проценом гаса. Молим вас, покушајте поново." -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Uniswap Governance" msgstr "Uniswap управљање" @@ -1849,12 +1849,12 @@ msgstr "Непознат извор" msgid "Unknown error{0}. Try increasing your slippage tolerance. Note: fee on transfer and rebase tokens are incompatible with Uniswap V3." msgstr "Непозната грешка{0}. Покушајте повећати толеранцију клизања. Напомена: накнада за токене за пренос и поновну надоградњу није компатибилна са Унисвап В3." +#: src/pages/Vote/Landing.tsx #: src/pages/Vote/VotePage.tsx -#: src/pages/Vote/index.tsx msgid "Unlock Votes" msgstr "Откључај гласове" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Unlock Voting" msgstr "Откључај гласање" @@ -1884,7 +1884,7 @@ msgstr "Одмотај" msgid "Unwrap <0/> to ETH" msgstr "Одмотајте <0/> на ЕТХ" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Update Delegation" msgstr "Ажурирање делегације" diff --git a/src/locales/sv-SE.po b/src/locales/sv-SE.po index 095587d714..8e509e457d 100644 --- a/src/locales/sv-SE.po +++ b/src/locales/sv-SE.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-12 17:09\n" +"PO-Revision-Date: 2021-11-18 06:11\n" "Last-Translator: \n" "Language: sv_SE\n" "Language-Team: Swedish\n" @@ -47,7 +47,7 @@ msgstr "(krav)" msgid "(clear all)" msgstr "(rensa alla)" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "(edit)" msgstr "(redigera)" @@ -78,8 +78,8 @@ msgstr "75 %" msgid "<0/> All Proposals" msgstr "<0/> Alla förslag" -#: src/pages/Vote/index.tsx -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx +#: src/pages/Vote/Landing.tsx msgid "<0/> Votes" msgstr "<0/> Röster" @@ -115,7 +115,7 @@ msgstr "<0>Öppna upp för röstning för att förbereda för nästa försla msgid "<0>🎉 Welcome to team Unicorn :) <1>🎉" msgstr "<0>🎉 Välkommen till teamet Unicorn :) <1>🎉" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "A minimum threshold of 0.25% of the total UNI supply is required to submit proposals" msgstr "En minimitröskel på 0,25% av det totala UNI-utbudet krävs för att skicka in förslag" @@ -543,7 +543,7 @@ msgid "Create Pool & Supply" msgstr "Skapa pool & tillgång" #: src/pages/CreateProposal/index.tsx -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Create Proposal" msgstr "Skapa förslag" @@ -597,7 +597,7 @@ msgstr "Delegera röster" msgid "Delegate voting power to {0}" msgstr "Delegera rösträtten till {0}" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Delegated to:" msgstr "Delegerat till:" @@ -1313,7 +1313,7 @@ msgstr "Förslaget inlämnat" msgid "Proposal Title" msgstr "Förslagets titel" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Proposals" msgstr "Förslag" @@ -1345,7 +1345,7 @@ msgstr "Kurser" msgid "Read more about UNI" msgstr "Läs mer om UNI" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Read more about Uniswap governance" msgstr "Läs mer om Uniswap-styrning" @@ -1445,7 +1445,7 @@ msgstr "Välj en åtgärd" msgid "Selected Range" msgstr "Valt intervall" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Self" msgstr "Själv" @@ -1772,7 +1772,7 @@ msgstr "UNI i omlopp:" msgid "UNI price:" msgstr "UNI pris:" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "UNI tokens represent voting shares in Uniswap governance. You can vote on each proposal yourself or delegate your votes to a third party." msgstr "UNI-tokens representerar röstandelar i Uniswap-styrning. Du kan själv rösta på varje förslag eller delegera dina röstningar till en tredje part." @@ -1813,7 +1813,7 @@ msgstr "Oväntat fel. Det gick inte att uppskatta gasen för bytet." msgid "Unexpected issue with estimating the gas. Please try again." msgstr "Oväntat problem med att uppskatta gasen. Var god försök igen." -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Uniswap Governance" msgstr "Uniswap-styrning" @@ -1849,12 +1849,12 @@ msgstr "Okänd källa" msgid "Unknown error{0}. Try increasing your slippage tolerance. Note: fee on transfer and rebase tokens are incompatible with Uniswap V3." msgstr "Okänt fel{0}. Försök öka din toleransmarginal. Obs att avgifter vid överföring och rebase-tokens är oförenliga med Uniswap V3." +#: src/pages/Vote/Landing.tsx #: src/pages/Vote/VotePage.tsx -#: src/pages/Vote/index.tsx msgid "Unlock Votes" msgstr "Lås upp röster" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Unlock Voting" msgstr "Lås upp röstning" @@ -1884,7 +1884,7 @@ msgstr "Packa upp" msgid "Unwrap <0/> to ETH" msgstr "Packa upp <0/> till ETH" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Update Delegation" msgstr "Uppdatera delegering" diff --git a/src/locales/sw-TZ.po b/src/locales/sw-TZ.po index 299dfbdb39..ba43a471b6 100644 --- a/src/locales/sw-TZ.po +++ b/src/locales/sw-TZ.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-12 17:09\n" +"PO-Revision-Date: 2021-11-18 06:11\n" "Last-Translator: \n" "Language: sw_TZ\n" "Language-Team: Swahili, Tanzania\n" @@ -47,7 +47,7 @@ msgstr "(chukua)" msgid "(clear all)" msgstr "(futa zote)" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "(edit)" msgstr "(rekebisha)" @@ -78,8 +78,8 @@ msgstr "75%" msgid "<0/> All Proposals" msgstr "<0/> Mapendekezo Yote" -#: src/pages/Vote/index.tsx -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx +#: src/pages/Vote/Landing.tsx msgid "<0/> Votes" msgstr "<0/> Kura" @@ -115,7 +115,7 @@ msgstr "<0>Kufungua upigaji kura kujiandaa kwa pendekezo linalofuata." msgid "<0>🎉 Welcome to team Unicorn :) <1>🎉" msgstr "<0>🎉 Karibu kwenye timu ya Unicorn :) <1>🎉" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "A minimum threshold of 0.25% of the total UNI supply is required to submit proposals" msgstr "Kiwangu cha chini cha 0.25% ya jumla ya usambazaji wa UNI inahitajika kuwasilisha mapendekezo" @@ -543,7 +543,7 @@ msgid "Create Pool & Supply" msgstr "Unda Dimbwi na Ugavi" #: src/pages/CreateProposal/index.tsx -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Create Proposal" msgstr "Unda Pendekezo" @@ -597,7 +597,7 @@ msgstr "Shiriki Kura" msgid "Delegate voting power to {0}" msgstr "Kabidhi nguvu ya kupiga kura kwa {0}" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Delegated to:" msgstr "Imekabidhiwa kwa:" @@ -1313,7 +1313,7 @@ msgstr "Pendekezo limewasilishwa" msgid "Proposal Title" msgstr "Kichwa cha Pendekezo" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Proposals" msgstr "Mapendekezo" @@ -1345,7 +1345,7 @@ msgstr "Viwango" msgid "Read more about UNI" msgstr "Soma zaidi kuhusu UNI" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Read more about Uniswap governance" msgstr "Soma zaidi kuhusu Uniswap utawala" @@ -1445,7 +1445,7 @@ msgstr "Chagua kitendo" msgid "Selected Range" msgstr "Masafa yaliyochaguliwa" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Self" msgstr "Binafsi" @@ -1772,7 +1772,7 @@ msgstr "UNI katika mzunguko:" msgid "UNI price:" msgstr "Bei ya UNI:" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "UNI tokens represent voting shares in Uniswap governance. You can vote on each proposal yourself or delegate your votes to a third party." msgstr "Ishara za UNI zinawakilisha hisa za kupiga kura katika utawala wa Uniswap. Unaweza kupiga kura kwa kila pendekezo mwenyewe au kupeana kura zako kwa mtu wa tatu." @@ -1813,7 +1813,7 @@ msgstr "Hitilafu isiyotarajiwa. Haikuweza kukadiria gesi kwa ubadilishaji." msgid "Unexpected issue with estimating the gas. Please try again." msgstr "Suala lisilotarajiwa na kukadiria gesi. Tafadhali jaribu tena." -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Uniswap Governance" msgstr "Utawala usiobadilika" @@ -1849,12 +1849,12 @@ msgstr "Chanzo kisichojulikana" msgid "Unknown error{0}. Try increasing your slippage tolerance. Note: fee on transfer and rebase tokens are incompatible with Uniswap V3." msgstr "Hitilafu isiyojulikana{0}. Jaribu kuongeza uvumilivu wako wa kuteleza. Kumbuka: ada ya uhamishaji na toa rehani haziendani na Uniswap V3." +#: src/pages/Vote/Landing.tsx #: src/pages/Vote/VotePage.tsx -#: src/pages/Vote/index.tsx msgid "Unlock Votes" msgstr "Fungua Kura" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Unlock Voting" msgstr "Fungua Upigaji Kura" @@ -1884,7 +1884,7 @@ msgstr "Unwrap" msgid "Unwrap <0/> to ETH" msgstr "Unwrap <0 /> hadi ETH" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Update Delegation" msgstr "Sasisha Ujumbe" diff --git a/src/locales/th-TH.po b/src/locales/th-TH.po index c39c80c9fc..4e3341d014 100644 --- a/src/locales/th-TH.po +++ b/src/locales/th-TH.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-12 17:09\n" +"PO-Revision-Date: 2021-11-18 06:11\n" "Last-Translator: \n" "Language: th_TH\n" "Language-Team: Thai\n" @@ -47,7 +47,7 @@ msgstr "(เรียกร้อง)" msgid "(clear all)" msgstr "(ลบทั้งหมด)" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "(edit)" msgstr "(แก้ไข)" @@ -78,8 +78,8 @@ msgstr "75%" msgid "<0/> All Proposals" msgstr "<0/> ข้อเสนอทั้งหมด" -#: src/pages/Vote/index.tsx -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx +#: src/pages/Vote/Landing.tsx msgid "<0/> Votes" msgstr "<0/> โหวต" @@ -115,7 +115,7 @@ msgstr "<0>ปลดล็อกการโหวต เพื่อเต msgid "<0>🎉 Welcome to team Unicorn :) <1>🎉" msgstr "<0>🎉 ยินดีต้อนรับสู่ทีมยูนิคอร์น :) <1>🎉" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "A minimum threshold of 0.25% of the total UNI supply is required to submit proposals" msgstr "เกณฑ์ขั้นต่ำ 0.25% ของอุปทาน UNI ทั้งหมดจะต้องส่งข้อเสนอ" @@ -543,7 +543,7 @@ msgid "Create Pool & Supply" msgstr "สร้างพูลและซัพพลาย" #: src/pages/CreateProposal/index.tsx -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Create Proposal" msgstr "สร้างข้อเสนอ" @@ -597,7 +597,7 @@ msgstr "โหวตตัวแทน" msgid "Delegate voting power to {0}" msgstr "มอบอำนาจการลงคะแนนเป็น {0}" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Delegated to:" msgstr "มอบหมายให้:" @@ -1313,7 +1313,7 @@ msgstr "ส่งข้อเสนอแล้ว" msgid "Proposal Title" msgstr "ชื่อข้อเสนอ" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Proposals" msgstr "ข้อเสนอ" @@ -1345,7 +1345,7 @@ msgstr "ราคา" msgid "Read more about UNI" msgstr "อ่านเพิ่มเติมเกี่ยวกับ UNI" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Read more about Uniswap governance" msgstr "อ่านเพิ่มเติมเกี่ยวกับการกำกับดูแล Uniswap" @@ -1445,7 +1445,7 @@ msgstr "เลือกการดำเนินการ" msgid "Selected Range" msgstr "ช่วงที่เลือก" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Self" msgstr "ตัวเอง" @@ -1772,7 +1772,7 @@ msgstr "UNI หมุนเวียน:" msgid "UNI price:" msgstr "ราคายูนิ:" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "UNI tokens represent voting shares in Uniswap governance. You can vote on each proposal yourself or delegate your votes to a third party." msgstr "โทเค็นของ UNI เป็นตัวแทนของการลงคะแนนเสียงในการกำกับดูแล Uniswap คุณสามารถลงคะแนนในแต่ละข้อเสนอด้วยตัวเองหรือมอบสิทธิ์การโหวตของคุณให้กับบุคคลที่สาม" @@ -1813,7 +1813,7 @@ msgstr "ข้อผิดพลาดที่ไม่คาดคิด ไ msgid "Unexpected issue with estimating the gas. Please try again." msgstr "ปัญหาที่ไม่คาดคิดกับการประมาณค่าก๊าซ กรุณาลองอีกครั้ง." -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Uniswap Governance" msgstr "การกำกับดูแล Uniswap" @@ -1849,12 +1849,12 @@ msgstr "ไม่ทราบแหล่งที่มา" msgid "Unknown error{0}. Try increasing your slippage tolerance. Note: fee on transfer and rebase tokens are incompatible with Uniswap V3." msgstr "ข้อผิดพลาดที่ไม่รู้จัก{0}ลองเพิ่มความทนทานต่อการเลื่อนหลุด หมายเหตุ: ค่าธรรมเนียมการโอนและโทเค็นการรีเบสเข้ากันไม่ได้กับ Uniswap V3" +#: src/pages/Vote/Landing.tsx #: src/pages/Vote/VotePage.tsx -#: src/pages/Vote/index.tsx msgid "Unlock Votes" msgstr "ปลดล็อกการโหวต" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Unlock Voting" msgstr "ปลดล็อกการโหวต" @@ -1884,7 +1884,7 @@ msgstr "แกะ" msgid "Unwrap <0/> to ETH" msgstr "แกะ <0/> ไปยัง ETH" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Update Delegation" msgstr "อัพเดทคณะผู้แทน" diff --git a/src/locales/tr-TR.po b/src/locales/tr-TR.po index e902c38196..03ace55cb7 100644 --- a/src/locales/tr-TR.po +++ b/src/locales/tr-TR.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-12 17:09\n" +"PO-Revision-Date: 2021-11-18 06:11\n" "Last-Translator: \n" "Language: tr_TR\n" "Language-Team: Turkish\n" @@ -47,7 +47,7 @@ msgstr "(iste)" msgid "(clear all)" msgstr "(tümünü temizle)" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "(edit)" msgstr "(düzenle)" @@ -78,8 +78,8 @@ msgstr "%75" msgid "<0/> All Proposals" msgstr "<0/> Tüm Teklifler" -#: src/pages/Vote/index.tsx -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx +#: src/pages/Vote/Landing.tsx msgid "<0/> Votes" msgstr "<0/> Oylar" @@ -115,7 +115,7 @@ msgstr "Bir sonraki teklife hazırlanmak için <0>Oylamanın kilidini açın msgid "<0>🎉 Welcome to team Unicorn :) <1>🎉" msgstr "<0> 🎉 Unicorn takımına hoş geldiniz :) <1> 🎉" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "A minimum threshold of 0.25% of the total UNI supply is required to submit proposals" msgstr "Teklifleri sunmak için toplam UNI arzının minimum %0,25'i gereklidir" @@ -543,7 +543,7 @@ msgid "Create Pool & Supply" msgstr "Havuz ve Kaynak Oluştur" #: src/pages/CreateProposal/index.tsx -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Create Proposal" msgstr "Teklif Oluştur" @@ -597,7 +597,7 @@ msgstr "Oylar Devret" msgid "Delegate voting power to {0}" msgstr "Oylama gücünü {0}" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Delegated to:" msgstr "Yetki verildi:" @@ -1313,7 +1313,7 @@ msgstr "Teklif Gönderildi" msgid "Proposal Title" msgstr "Teklif Başlığı" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Proposals" msgstr "Teklifler" @@ -1345,7 +1345,7 @@ msgstr "Oranlar" msgid "Read more about UNI" msgstr "UNI hakkında daha fazla bilgi edinin" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Read more about Uniswap governance" msgstr "Uniswap yönetişimi hakkında daha fazla bilgi edinin" @@ -1445,7 +1445,7 @@ msgstr "Bir eylem seçin" msgid "Selected Range" msgstr "Seçilen Aralık" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Self" msgstr "Kendisi" @@ -1772,7 +1772,7 @@ msgstr "Dolaşımdaki UNI:" msgid "UNI price:" msgstr "UNI fiyatı:" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "UNI tokens represent voting shares in Uniswap governance. You can vote on each proposal yourself or delegate your votes to a third party." msgstr "UNI jetonları, Uniswap yönetiminde oy hakkına sahip hisseleri temsil eder. Her bir teklife kendiniz oy verebilir veya oylarınızı üçüncü bir tarafa devredebilirsiniz." @@ -1813,7 +1813,7 @@ msgstr "Beklenmeyen hata. Takas için gaz tahmin edilemedi." msgid "Unexpected issue with estimating the gas. Please try again." msgstr "Gaz tahmininde beklenmeyen bir sorun. Lütfen tekrar deneyin." -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Uniswap Governance" msgstr "Uniswap Yönetimi" @@ -1849,12 +1849,12 @@ msgstr "Bilinmeyen Kaynak" msgid "Unknown error{0}. Try increasing your slippage tolerance. Note: fee on transfer and rebase tokens are incompatible with Uniswap V3." msgstr "Bilinmeyen hata{0}. Kayma toleransınızı artırmayı deneyin. Not: Transfer ve rebase jetonlarındaki ücret, Uniswap V3 ile uyumlu değildir." +#: src/pages/Vote/Landing.tsx #: src/pages/Vote/VotePage.tsx -#: src/pages/Vote/index.tsx msgid "Unlock Votes" msgstr "Oyların Kilidini Aç" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Unlock Voting" msgstr "Oylamanın Kilidini Açın" @@ -1884,7 +1884,7 @@ msgstr "Paketi Aç" msgid "Unwrap <0/> to ETH" msgstr "<0/> paketini ETH'ye açın" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Update Delegation" msgstr "Yetkilendirmeyi Güncelle" diff --git a/src/locales/uk-UA.po b/src/locales/uk-UA.po index afc964386f..72a4bc0fab 100644 --- a/src/locales/uk-UA.po +++ b/src/locales/uk-UA.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-12 17:09\n" +"PO-Revision-Date: 2021-11-18 06:11\n" "Last-Translator: \n" "Language: uk_UA\n" "Language-Team: Ukrainian\n" @@ -47,7 +47,7 @@ msgstr "(забрати)" msgid "(clear all)" msgstr "(забрати все)" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "(edit)" msgstr "(редагувати)" @@ -78,8 +78,8 @@ msgstr "75%" msgid "<0/> All Proposals" msgstr "<0/> Всі пропозиції" -#: src/pages/Vote/index.tsx -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx +#: src/pages/Vote/Landing.tsx msgid "<0/> Votes" msgstr "<0/> голосів" @@ -115,7 +115,7 @@ msgstr "<0>Розблокуйте голосування для підгот msgid "<0>🎉 Welcome to team Unicorn :) <1>🎉" msgstr "<0>🎉 Вітаємо в команді Unicorn :) <1>🎉" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "A minimum threshold of 0.25% of the total UNI supply is required to submit proposals" msgstr "Для подання пропозицій необхідний мінімальний поріг 0,25% від загальної кількості UNI" @@ -543,7 +543,7 @@ msgid "Create Pool & Supply" msgstr "Створити пул і пропозицію" #: src/pages/CreateProposal/index.tsx -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Create Proposal" msgstr "Створити пропозицію" @@ -597,7 +597,7 @@ msgstr "Делегувати голоси" msgid "Delegate voting power to {0}" msgstr "Делегуйте право голосу на {0}" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Delegated to:" msgstr "Делеговані до:" @@ -1313,7 +1313,7 @@ msgstr "Пропозиція подана" msgid "Proposal Title" msgstr "Назва пропозиції" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Proposals" msgstr "Пропозиції" @@ -1345,7 +1345,7 @@ msgstr "Ставки" msgid "Read more about UNI" msgstr "Дізнатися більше про UNI" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Read more about Uniswap governance" msgstr "Докладніше про управління Uniswap" @@ -1445,7 +1445,7 @@ msgstr "Виберіть дію" msgid "Selected Range" msgstr "Обраний діапазон" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Self" msgstr "Самостійний аналіз" @@ -1772,7 +1772,7 @@ msgstr "UNI в обігу:" msgid "UNI price:" msgstr "Ціна UNI:" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "UNI tokens represent voting shares in Uniswap governance. You can vote on each proposal yourself or delegate your votes to a third party." msgstr "Токени UNI представляють акції з правом голосу в управлінні Uniswap. Ви можете проголосувати за кожну пропозицію самостійно або делегувати свої голоси третій стороні." @@ -1813,7 +1813,7 @@ msgstr "Неочікувана помилка. Не вдалося оцінит msgid "Unexpected issue with estimating the gas. Please try again." msgstr "Неочікувана проблема з оцінкою газу. Будь ласка спробуйте ще раз." -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Uniswap Governance" msgstr "Управління Uniswap" @@ -1849,12 +1849,12 @@ msgstr "Невідоме джерело" msgid "Unknown error{0}. Try increasing your slippage tolerance. Note: fee on transfer and rebase tokens are incompatible with Uniswap V3." msgstr "Невідома помилка{0}. Спробуйте збільшити свою толерантність до проковзування. Зауважте: комісія за перенесення й перебазування токенів несумісна з Uniswap V3." +#: src/pages/Vote/Landing.tsx #: src/pages/Vote/VotePage.tsx -#: src/pages/Vote/index.tsx msgid "Unlock Votes" msgstr "Розблокувати голоси" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Unlock Voting" msgstr "Розблокувати голосування" @@ -1884,7 +1884,7 @@ msgstr "Розгорнути" msgid "Unwrap <0/> to ETH" msgstr "Розгорніть <0/> на ETH" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Update Delegation" msgstr "Оновити делегацію" diff --git a/src/locales/vi-VN.po b/src/locales/vi-VN.po index cb73391ada..240f5ec98f 100644 --- a/src/locales/vi-VN.po +++ b/src/locales/vi-VN.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-12 17:09\n" +"PO-Revision-Date: 2021-11-18 06:11\n" "Last-Translator: \n" "Language: vi_VN\n" "Language-Team: Vietnamese\n" @@ -47,7 +47,7 @@ msgstr "(lấy)" msgid "(clear all)" msgstr "(xóa tất cả)" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "(edit)" msgstr "(chỉnh sửa)" @@ -78,8 +78,8 @@ msgstr "75%" msgid "<0/> All Proposals" msgstr "<0/> Tất cả các đề xuất" -#: src/pages/Vote/index.tsx -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx +#: src/pages/Vote/Landing.tsx msgid "<0/> Votes" msgstr "<0/> Phiếu bầu" @@ -115,7 +115,7 @@ msgstr "<0>Mở khóa biểu quyết để chuẩn bị cho đề xuất ti msgid "<0>🎉 Welcome to team Unicorn :) <1>🎉" msgstr "<0>🎉 Chào mừng đến với đội Unicorn :) <1> 🎉" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "A minimum threshold of 0.25% of the total UNI supply is required to submit proposals" msgstr "Yêu cầu ngưỡng tối thiểu 0,25% tổng nguồn cung cấp UNI để gửi đề xuất" @@ -543,7 +543,7 @@ msgid "Create Pool & Supply" msgstr "Tạo Nhóm & Nguồn cung" #: src/pages/CreateProposal/index.tsx -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Create Proposal" msgstr "Tạo đề xuất" @@ -597,7 +597,7 @@ msgstr "Phiếu bầu ủy quyền" msgid "Delegate voting power to {0}" msgstr "Ủy quyền biểu quyết thành {0}" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Delegated to:" msgstr "Giao cho:" @@ -1313,7 +1313,7 @@ msgstr "Đề xuất đã được đệ trình" msgid "Proposal Title" msgstr "Tiêu đề đề xuất" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Proposals" msgstr "Đề xuất" @@ -1345,7 +1345,7 @@ msgstr "Tỷ giá" msgid "Read more about UNI" msgstr "Đọc thêm về UNI" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Read more about Uniswap governance" msgstr "Đọc thêm về quản trị Uniswap" @@ -1445,7 +1445,7 @@ msgstr "Chọn một hành động" msgid "Selected Range" msgstr "Phạm vi đã chọn" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Self" msgstr "Bản thân" @@ -1772,7 +1772,7 @@ msgstr "UNI đang lưu hành:" msgid "UNI price:" msgstr "Giá UNI:" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "UNI tokens represent voting shares in Uniswap governance. You can vote on each proposal yourself or delegate your votes to a third party." msgstr "Mã token UNI đại diện cho cổ phần có quyền biểu quyết trong quản trị Uniswap. Bạn có thể tự bỏ phiếu cho từng đề xuất hoặc ủy thác phiếu bầu của mình cho bên thứ ba." @@ -1813,7 +1813,7 @@ msgstr "Lỗi không mong đợi. Không thể ước tính khí cho hoán đổ msgid "Unexpected issue with estimating the gas. Please try again." msgstr "Vấn đề không mong muốn với ước tính khí. Vui lòng thử lại." -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Uniswap Governance" msgstr "Quản trị Uniswap" @@ -1849,12 +1849,12 @@ msgstr "Nguồn không rõ" msgid "Unknown error{0}. Try increasing your slippage tolerance. Note: fee on transfer and rebase tokens are incompatible with Uniswap V3." msgstr "Lỗi không xác định{0}. Hãy thử tăng khả năng chịu trượt của bạn. Lưu ý: phí chuyển và mã thông báo rebase không tương thích với Uniswap V3." +#: src/pages/Vote/Landing.tsx #: src/pages/Vote/VotePage.tsx -#: src/pages/Vote/index.tsx msgid "Unlock Votes" msgstr "Mở khóa phiếu bầu" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Unlock Voting" msgstr "Mở khóa biểu quyết" @@ -1884,7 +1884,7 @@ msgstr "Tháo" msgid "Unwrap <0/> to ETH" msgstr "Mở gói <0 /> thành ETH" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Update Delegation" msgstr "Cập nhật ủy quyền" diff --git a/src/locales/zh-CN.po b/src/locales/zh-CN.po index 2d0192771d..03b88ccc44 100644 --- a/src/locales/zh-CN.po +++ b/src/locales/zh-CN.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-18 03:06\n" +"PO-Revision-Date: 2021-11-18 06:11\n" "Last-Translator: \n" "Language: zh_CN\n" "Language-Team: Chinese Simplified\n" @@ -47,7 +47,7 @@ msgstr "(领取)" msgid "(clear all)" msgstr "(全部清除)" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "(edit)" msgstr "(编辑)" @@ -78,8 +78,8 @@ msgstr "75%" msgid "<0/> All Proposals" msgstr "<0/> 所有提案" -#: src/pages/Vote/index.tsx -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx +#: src/pages/Vote/Landing.tsx msgid "<0/> Votes" msgstr "<0/> 票" @@ -115,7 +115,7 @@ msgstr "<0>解锁投票,以准备下一个提案。" msgid "<0>🎉 Welcome to team Unicorn :) <1>🎉" msgstr "<0>🎉 欢迎加入Unicorn(独角兽)团队 :) <1>🎉" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "A minimum threshold of 0.25% of the total UNI supply is required to submit proposals" msgstr "提交提案所需的最低门槛为 UNI 总供应量的 0.25%" @@ -543,7 +543,7 @@ msgid "Create Pool & Supply" msgstr "创建流动池和供应流动资金" #: src/pages/CreateProposal/index.tsx -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Create Proposal" msgstr "创建提案" @@ -597,7 +597,7 @@ msgstr "委托投票" msgid "Delegate voting power to {0}" msgstr "将投票权委托给 {0}" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Delegated to:" msgstr "委托给:" @@ -1313,7 +1313,7 @@ msgstr "已提交提案" msgid "Proposal Title" msgstr "提案标题" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Proposals" msgstr "提案" @@ -1345,7 +1345,7 @@ msgstr "费率" msgid "Read more about UNI" msgstr "阅读更多关于 UNI 代币的信息" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Read more about Uniswap governance" msgstr "阅读有关Uniswap治理的更多信息" @@ -1445,7 +1445,7 @@ msgstr "选择一个操作。" msgid "Selected Range" msgstr "选定范围" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Self" msgstr "自我" @@ -1772,7 +1772,7 @@ msgstr "流通中的 UNI 代币:" msgid "UNI price:" msgstr "UNI 代币兑换率:" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "UNI tokens represent voting shares in Uniswap governance. You can vote on each proposal yourself or delegate your votes to a third party." msgstr "UNI代币代表了Uniswap治理中的投票份额。您可以自行为提案进行投票,或将您的投票权委托给第三方。" @@ -1813,7 +1813,7 @@ msgstr "错误。无法估计兑换所需的gas。" msgid "Unexpected issue with estimating the gas. Please try again." msgstr "估计 gas 时遇到问题。请再试一次。" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Uniswap Governance" msgstr "Uniswap治理" @@ -1849,12 +1849,12 @@ msgstr "未知来源" msgid "Unknown error{0}. Try increasing your slippage tolerance. Note: fee on transfer and rebase tokens are incompatible with Uniswap V3." msgstr "未知错误{0}。可以尝试增加滑点容差。注:转账时额外抽取费用(fee-on-transfer)的代币和弹性供应(rebase)代币都与Uniswap V3不兼容。" +#: src/pages/Vote/Landing.tsx #: src/pages/Vote/VotePage.tsx -#: src/pages/Vote/index.tsx msgid "Unlock Votes" msgstr "解锁投票" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Unlock Voting" msgstr "解锁投票" @@ -1884,7 +1884,7 @@ msgstr "展开" msgid "Unwrap <0/> to ETH" msgstr "将 <0/> 换回为 ETH" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Update Delegation" msgstr "更新投票权委托" diff --git a/src/locales/zh-TW.po b/src/locales/zh-TW.po index 8e525b517b..cb312b912a 100644 --- a/src/locales/zh-TW.po +++ b/src/locales/zh-TW.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-18 03:06\n" +"PO-Revision-Date: 2021-11-18 06:11\n" "Last-Translator: \n" "Language: zh_TW\n" "Language-Team: Chinese Traditional\n" @@ -47,7 +47,7 @@ msgstr "(領取)" msgid "(clear all)" msgstr "(全部清除)" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "(edit)" msgstr "(編輯)" @@ -78,8 +78,8 @@ msgstr "75%" msgid "<0/> All Proposals" msgstr "<0/> 所有提案" -#: src/pages/Vote/index.tsx -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx +#: src/pages/Vote/Landing.tsx msgid "<0/> Votes" msgstr "<0/> 投票" @@ -115,7 +115,7 @@ msgstr "<0>解鎖投票,以準備下一個提案。" msgid "<0>🎉 Welcome to team Unicorn :) <1>🎉" msgstr "<0>🎉歡迎加入Unicorn(獨角獸)團隊 :) <1>🎉" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "A minimum threshold of 0.25% of the total UNI supply is required to submit proposals" msgstr "提交提案所需的最低門檻為 UNI 總供應量的 0.25%" @@ -543,7 +543,7 @@ msgid "Create Pool & Supply" msgstr "創建流動池和供應流動資金" #: src/pages/CreateProposal/index.tsx -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Create Proposal" msgstr "創建提案" @@ -597,7 +597,7 @@ msgstr "委托投票" msgid "Delegate voting power to {0}" msgstr "將投票權委託給 {0}" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Delegated to:" msgstr "委托給:" @@ -1313,7 +1313,7 @@ msgstr "已提交提案" msgid "Proposal Title" msgstr "提案標題" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Proposals" msgstr "提案" @@ -1345,7 +1345,7 @@ msgstr "費率" msgid "Read more about UNI" msgstr "了解有關 UNI 的更多資訊" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Read more about Uniswap governance" msgstr "閱讀有關 Uniswap 治理的更多資訊" @@ -1445,7 +1445,7 @@ msgstr "選擇操作" msgid "Selected Range" msgstr "選定範圍" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Self" msgstr "自身" @@ -1772,7 +1772,7 @@ msgstr "流通中的 UNI 代幣:" msgid "UNI price:" msgstr "UNI 代幣兌換率:" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "UNI tokens represent voting shares in Uniswap governance. You can vote on each proposal yourself or delegate your votes to a third party." msgstr "UNI 代幣代表了 Uniswap 治理中的投票份額。您可以自行為提案進行投票,或將您的投票權委托給第三方。" @@ -1813,7 +1813,7 @@ msgstr "錯誤。無法估計兑换所需的 gas。" msgid "Unexpected issue with estimating the gas. Please try again." msgstr "估計 gas 時遇到問題。請再試一次。" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Uniswap Governance" msgstr "Uniswap治理" @@ -1849,12 +1849,12 @@ msgstr "未知來源" msgid "Unknown error{0}. Try increasing your slippage tolerance. Note: fee on transfer and rebase tokens are incompatible with Uniswap V3." msgstr "未知錯誤{0}。請嘗試增加滑點容差。註:轉賬時帶扣除費用(fee-on-transfer)的代幣和會自動重新定價(rebase)的代幣都與Uniswap V3不相容。" +#: src/pages/Vote/Landing.tsx #: src/pages/Vote/VotePage.tsx -#: src/pages/Vote/index.tsx msgid "Unlock Votes" msgstr "解鎖投票" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Unlock Voting" msgstr "解鎖投票" @@ -1884,7 +1884,7 @@ msgstr "展開" msgid "Unwrap <0/> to ETH" msgstr "將 <0/> 換回為 ETH" -#: src/pages/Vote/index.tsx +#: src/pages/Vote/Landing.tsx msgid "Update Delegation" msgstr "更新投票權委托" From 9b0fa8a2c4ebc200769abe49ab3e716dca84fe70 Mon Sep 17 00:00:00 2001 From: Brendan Weinstein <65564422+brendanww@users.noreply.github.com> Date: Thu, 18 Nov 2021 10:29:56 -0700 Subject: [PATCH 044/378] fix: Enable 3085 requests for coinbase wallet (#2753) enable 3085 requests for coinbase wallet --- src/react-app-env.d.ts | 4 ++++ src/state/application/updater.ts | 11 +++++++++-- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/src/react-app-env.d.ts b/src/react-app-env.d.ts index e0eebe858f..450b2c2581 100644 --- a/src/react-app-env.d.ts +++ b/src/react-app-env.d.ts @@ -7,7 +7,11 @@ declare module '@metamask/jazzicon' { declare module 'fortmatic' interface Window { + // walletLinkExtension is injected by the Coinbase Wallet extension + walletLinkExtension?: any ethereum?: { + // value that is populated and returns true by the Coinbase Wallet mobile dapp browser + isCoinbaseWallet?: true isMetaMask?: true on?: (...args: any[]) => void removeListener?: (...args: any[]) => void diff --git a/src/state/application/updater.ts b/src/state/application/updater.ts index b7a771ef8e..afd8a9b7a2 100644 --- a/src/state/application/updater.ts +++ b/src/state/application/updater.ts @@ -1,3 +1,5 @@ +import { InjectedConnector } from '@web3-react/injected-connector' +import { WalletLinkConnector } from '@web3-react/walletlink-connector' import useDebounce from 'hooks/useDebounce' import useIsWindowVisible from 'hooks/useIsWindowVisible' import { useActiveWeb3React } from 'hooks/web3' @@ -23,7 +25,7 @@ function useQueryCacheInvalidator() { } export default function Updater(): null { - const { account, chainId, library } = useActiveWeb3React() + const { account, chainId, library, connector } = useActiveWeb3React() const dispatch = useAppDispatch() const windowVisible = useIsWindowVisible() @@ -78,7 +80,12 @@ export default function Updater(): null { }, [dispatch, debouncedState.chainId]) useEffect(() => { - if (!account || !library?.provider?.request || !library?.provider?.isMetaMask) { + const isCbWalletDappBrowser = window?.ethereum?.isCoinbaseWallet + const isWalletlink = + connector instanceof WalletLinkConnector || (connector instanceof InjectedConnector && window.walletLinkExtension) + const isCbWallet = isCbWalletDappBrowser || isWalletlink + const isMetamaskOrCbWallet = library?.provider?.isMetaMask || isCbWallet + if (!account || !library?.provider?.request || !isMetamaskOrCbWallet) { return } switchToNetwork({ library }) From b10729d217aab314274bf5e8f973f22c974d3119 Mon Sep 17 00:00:00 2001 From: Moody Salem Date: Thu, 18 Nov 2021 13:05:29 -0500 Subject: [PATCH 045/378] feat: set the auto slippage tolerance by the dollar value of gas (#2815) * feat: set the auto slippage tolerance by the dollar value of gas * comments * min/max at 0.5% to 25% * oops on constant * address review feedback --- src/hooks/useGasPrice.ts | 26 ++++++++++++++ src/hooks/useSwapSlippageTolerance.ts | 50 +++++++++++++++++++++++++-- 2 files changed, 74 insertions(+), 2 deletions(-) create mode 100644 src/hooks/useGasPrice.ts diff --git a/src/hooks/useGasPrice.ts b/src/hooks/useGasPrice.ts new file mode 100644 index 0000000000..87a132cbd4 --- /dev/null +++ b/src/hooks/useGasPrice.ts @@ -0,0 +1,26 @@ +import JSBI from 'jsbi' + +import { useSingleCallResult } from '../state/multicall/hooks' +import { useContract } from './useContract' +import useENSAddress from './useENSAddress' + +const CHAIN_DATA_ABI = [ + { + inputs: [], + name: 'latestAnswer', + outputs: [{ internalType: 'int256', name: '', type: 'int256' }], + stateMutability: 'view', + type: 'function', + }, +] + +/** + * Returns the price of 1 gas in WEI for the currently selected network using the chainlink fast gas price oracle + */ +export default function useGasPrice(): JSBI | undefined { + const { address } = useENSAddress('fast-gas-gwei.data.eth') + const contract = useContract(address ?? undefined, CHAIN_DATA_ABI, false) + + const resultStr = useSingleCallResult(contract, 'latestAnswer').result?.[0]?.toString() + return typeof resultStr === 'string' ? JSBI.BigInt(resultStr) : undefined +} diff --git a/src/hooks/useSwapSlippageTolerance.ts b/src/hooks/useSwapSlippageTolerance.ts index 5b29cae366..4434d6f2e4 100644 --- a/src/hooks/useSwapSlippageTolerance.ts +++ b/src/hooks/useSwapSlippageTolerance.ts @@ -1,25 +1,71 @@ -import { Currency, Percent, TradeType } from '@uniswap/sdk-core' +import { Currency, CurrencyAmount, Percent, TradeType } from '@uniswap/sdk-core' import { Trade as V2Trade } from '@uniswap/v2-sdk' import { Trade as V3Trade } from '@uniswap/v3-sdk' import { L2_CHAIN_IDS } from 'constants/chains' +import JSBI from 'jsbi' import { useMemo } from 'react' import { useUserSlippageToleranceWithDefault } from '../state/user/hooks' +import { useCurrency } from './Tokens' +import useGasPrice from './useGasPrice' +import useUSDCPrice, { useUSDCValue } from './useUSDCPrice' import { useActiveWeb3React } from './web3' const V2_SWAP_DEFAULT_SLIPPAGE = new Percent(50, 10_000) // .50% const V3_SWAP_DEFAULT_SLIPPAGE = new Percent(50, 10_000) // .50% const ONE_TENTHS_PERCENT = new Percent(10, 10_000) // .10% +/** + * Return a guess of the gas cost used in computing slippage tolerance for a given trade + * @param trade the trade for which to _guess_ the amount of gas it would cost to execute + */ +function guesstimateGas( + trade: V2Trade | V3Trade | undefined +): number | undefined { + if (trade instanceof V2Trade) { + return 90_000 + trade.route.pairs.length * 30_000 + } else if (trade instanceof V3Trade) { + return 100_000 + trade.swaps.reduce((memo, swap) => swap.route.pools.length + memo, 0) * 30_000 + } + return undefined +} + +const MIN_AUTO_SLIPPAGE_TOLERANCE = new Percent(5, 1000) // 0.5% +const MAX_AUTO_SLIPPAGE_TOLERANCE = new Percent(25, 100) // 25% + export default function useSwapSlippageTolerance( trade: V2Trade | V3Trade | undefined ): Percent { const { chainId } = useActiveWeb3React() const onL2 = chainId && L2_CHAIN_IDS.includes(chainId) + const outputDollarValue = useUSDCValue(trade?.outputAmount) + const ethGasPrice = useGasPrice() + + const gasEstimate = guesstimateGas(trade) + const ether = useCurrency('ETH') + const etherPrice = useUSDCPrice(ether ?? undefined) + const defaultSlippageTolerance = useMemo(() => { if (!trade || onL2) return ONE_TENTHS_PERCENT + + const ethGasCost = + ethGasPrice && typeof gasEstimate === 'number' ? JSBI.multiply(ethGasPrice, JSBI.BigInt(gasEstimate)) : undefined + const dollarGasCost = + ether && ethGasCost && etherPrice ? etherPrice.quote(CurrencyAmount.fromRawAmount(ether, ethGasCost)) : undefined + + if (outputDollarValue && dollarGasCost) { + // the rationale is that a user will not want their trade to fail for a loss due to slippage that is less than + // the cost of the gas of the failed transaction + const fraction = dollarGasCost.asFraction.divide(outputDollarValue.asFraction) + const result = new Percent(fraction.numerator, fraction.denominator) + if (result.greaterThan(MAX_AUTO_SLIPPAGE_TOLERANCE)) return MAX_AUTO_SLIPPAGE_TOLERANCE + if (result.lessThan(MIN_AUTO_SLIPPAGE_TOLERANCE)) return MIN_AUTO_SLIPPAGE_TOLERANCE + return result + } + if (trade instanceof V2Trade) return V2_SWAP_DEFAULT_SLIPPAGE return V3_SWAP_DEFAULT_SLIPPAGE - }, [onL2, trade]) + }, [ethGasPrice, ether, etherPrice, gasEstimate, onL2, outputDollarValue, trade]) + return useUserSlippageToleranceWithDefault(defaultSlippageTolerance) } From 093dc66cfe1ba2c6f11435998bad3358465d1d4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ali=20Eray=20K=C4=B1sabacak?= Date: Thu, 18 Nov 2021 21:23:13 +0300 Subject: [PATCH 046/378] Fixing #2818 (#2820) --- src/pages/AddLiquidityV2/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/AddLiquidityV2/index.tsx b/src/pages/AddLiquidityV2/index.tsx index 0cd872d64d..302ff88c6c 100644 --- a/src/pages/AddLiquidityV2/index.tsx +++ b/src/pages/AddLiquidityV2/index.tsx @@ -272,7 +272,7 @@ export default function AddLiquidity({ const pendingText = ( - Supplying {parsedAmounts[Field.CURRENCY_A]?.toSignificant(6)} {currencies[Field.CURRENCY_A]?.symbol} and + Supplying {parsedAmounts[Field.CURRENCY_A]?.toSignificant(6)} {currencies[Field.CURRENCY_A]?.symbol} and {parsedAmounts[Field.CURRENCY_B]?.toSignificant(6)} {currencies[Field.CURRENCY_B]?.symbol} ) From 41a4500f4199c66afc0ddeae74aa7957829fbf18 Mon Sep 17 00:00:00 2001 From: Lint Action Date: Thu, 18 Nov 2021 18:27:24 +0000 Subject: [PATCH 047/378] Fix code style issues with ESLint --- src/pages/AddLiquidityV2/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/AddLiquidityV2/index.tsx b/src/pages/AddLiquidityV2/index.tsx index 302ff88c6c..0cd872d64d 100644 --- a/src/pages/AddLiquidityV2/index.tsx +++ b/src/pages/AddLiquidityV2/index.tsx @@ -272,7 +272,7 @@ export default function AddLiquidity({ const pendingText = ( - Supplying {parsedAmounts[Field.CURRENCY_A]?.toSignificant(6)} {currencies[Field.CURRENCY_A]?.symbol} and + Supplying {parsedAmounts[Field.CURRENCY_A]?.toSignificant(6)} {currencies[Field.CURRENCY_A]?.symbol} and {parsedAmounts[Field.CURRENCY_B]?.toSignificant(6)} {currencies[Field.CURRENCY_B]?.symbol} ) From 3f6441590684b82f5e12f6412c43dbc4a8313622 Mon Sep 17 00:00:00 2001 From: Crowdin Bot Date: Thu, 18 Nov 2021 19:06:37 +0000 Subject: [PATCH 048/378] chore(i18n): synchronize translations from crowdin [skip ci] --- src/locales/af-ZA.po | 6 +++--- src/locales/ar-SA.po | 6 +++--- src/locales/ca-ES.po | 6 +++--- src/locales/cs-CZ.po | 6 +++--- src/locales/da-DK.po | 6 +++--- src/locales/de-DE.po | 6 +++--- src/locales/el-GR.po | 6 +++--- src/locales/es-ES.po | 6 +++--- src/locales/fi-FI.po | 6 +++--- src/locales/fr-FR.po | 6 +++--- src/locales/he-IL.po | 6 +++--- src/locales/hu-HU.po | 6 +++--- src/locales/id-ID.po | 6 +++--- src/locales/it-IT.po | 6 +++--- src/locales/ja-JP.po | 6 +++--- src/locales/ko-KR.po | 6 +++--- src/locales/nl-NL.po | 6 +++--- src/locales/no-NO.po | 6 +++--- src/locales/pl-PL.po | 6 +++--- src/locales/pt-BR.po | 6 +++--- src/locales/pt-PT.po | 6 +++--- src/locales/ro-RO.po | 6 +++--- src/locales/ru-RU.po | 6 +++--- src/locales/sl-SI.po | 6 +++--- src/locales/sr-SP.po | 6 +++--- src/locales/sv-SE.po | 6 +++--- src/locales/sw-TZ.po | 6 +++--- src/locales/th-TH.po | 6 +++--- src/locales/tr-TR.po | 6 +++--- src/locales/uk-UA.po | 6 +++--- src/locales/vi-VN.po | 6 +++--- src/locales/zh-CN.po | 6 +++--- src/locales/zh-TW.po | 4 ++-- 33 files changed, 98 insertions(+), 98 deletions(-) diff --git a/src/locales/af-ZA.po b/src/locales/af-ZA.po index c3900b095f..37ac845b8c 100644 --- a/src/locales/af-ZA.po +++ b/src/locales/af-ZA.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-18 06:11\n" +"PO-Revision-Date: 2021-11-18 19:06\n" "Last-Translator: \n" "Language: af_ZA\n" "Language-Team: Afrikaans\n" @@ -1528,8 +1528,8 @@ msgid "Supply" msgstr "Voorsiening" #: src/pages/AddLiquidityV2/index.tsx -msgid "Supplying {0} {1} and{2} {3}" -msgstr "Gee {0} {1} en{2} {3}" +msgid "Supplying {0} {1} and {2} {3}" +msgstr "Verskaf {0} {1} en {2} {3}" #: src/components/Header/index.tsx #: src/components/NavigationTabs/index.tsx diff --git a/src/locales/ar-SA.po b/src/locales/ar-SA.po index af67072fda..11221f3296 100644 --- a/src/locales/ar-SA.po +++ b/src/locales/ar-SA.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-18 06:11\n" +"PO-Revision-Date: 2021-11-18 19:06\n" "Last-Translator: \n" "Language: ar_SA\n" "Language-Team: Arabic\n" @@ -1528,8 +1528,8 @@ msgid "Supply" msgstr "الإمداد" #: src/pages/AddLiquidityV2/index.tsx -msgid "Supplying {0} {1} and{2} {3}" -msgstr "توريد {0} {1} و{2} {3}" +msgid "Supplying {0} {1} and {2} {3}" +msgstr "إمداد {0} {1} و {2} {3}" #: src/components/Header/index.tsx #: src/components/NavigationTabs/index.tsx diff --git a/src/locales/ca-ES.po b/src/locales/ca-ES.po index f676cc53fb..792f53274f 100644 --- a/src/locales/ca-ES.po +++ b/src/locales/ca-ES.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-18 06:11\n" +"PO-Revision-Date: 2021-11-18 19:06\n" "Last-Translator: \n" "Language: ca_ES\n" "Language-Team: Catalan\n" @@ -1528,8 +1528,8 @@ msgid "Supply" msgstr "Subministrament" #: src/pages/AddLiquidityV2/index.tsx -msgid "Supplying {0} {1} and{2} {3}" -msgstr "Subministrant {0} {1} i{2} {3}" +msgid "Supplying {0} {1} and {2} {3}" +msgstr "Subministrant {0} {1} i {2} {3}" #: src/components/Header/index.tsx #: src/components/NavigationTabs/index.tsx diff --git a/src/locales/cs-CZ.po b/src/locales/cs-CZ.po index 3e17330d1d..cf31777571 100644 --- a/src/locales/cs-CZ.po +++ b/src/locales/cs-CZ.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-18 06:11\n" +"PO-Revision-Date: 2021-11-18 19:06\n" "Last-Translator: \n" "Language: cs_CZ\n" "Language-Team: Czech\n" @@ -1528,8 +1528,8 @@ msgid "Supply" msgstr "Zásoba" #: src/pages/AddLiquidityV2/index.tsx -msgid "Supplying {0} {1} and{2} {3}" -msgstr "Zásobování {0} {1} a{2} {3}" +msgid "Supplying {0} {1} and {2} {3}" +msgstr "Dodávání {0} {1} a {2} {3}" #: src/components/Header/index.tsx #: src/components/NavigationTabs/index.tsx diff --git a/src/locales/da-DK.po b/src/locales/da-DK.po index e76ad137e2..20ab50d07b 100644 --- a/src/locales/da-DK.po +++ b/src/locales/da-DK.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-18 06:11\n" +"PO-Revision-Date: 2021-11-18 19:06\n" "Last-Translator: \n" "Language: da_DK\n" "Language-Team: Danish\n" @@ -1528,8 +1528,8 @@ msgid "Supply" msgstr "Forsyning" #: src/pages/AddLiquidityV2/index.tsx -msgid "Supplying {0} {1} and{2} {3}" -msgstr "Leverer {0} {1} og{2} {3}" +msgid "Supplying {0} {1} and {2} {3}" +msgstr "Forsyning {0} {1} og {2} {3}" #: src/components/Header/index.tsx #: src/components/NavigationTabs/index.tsx diff --git a/src/locales/de-DE.po b/src/locales/de-DE.po index 2e2afe7a4a..c6d2294661 100644 --- a/src/locales/de-DE.po +++ b/src/locales/de-DE.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-18 06:11\n" +"PO-Revision-Date: 2021-11-18 19:06\n" "Last-Translator: \n" "Language: de_DE\n" "Language-Team: German\n" @@ -1528,8 +1528,8 @@ msgid "Supply" msgstr "Bereitstellen" #: src/pages/AddLiquidityV2/index.tsx -msgid "Supplying {0} {1} and{2} {3}" -msgstr "Versorgung {0} {1} und{2} {3}" +msgid "Supplying {0} {1} and {2} {3}" +msgstr "Biete {0} {1} und {2} {3} an" #: src/components/Header/index.tsx #: src/components/NavigationTabs/index.tsx diff --git a/src/locales/el-GR.po b/src/locales/el-GR.po index d180e2ab1d..76da6e61a7 100644 --- a/src/locales/el-GR.po +++ b/src/locales/el-GR.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-18 06:11\n" +"PO-Revision-Date: 2021-11-18 19:06\n" "Last-Translator: \n" "Language: el_GR\n" "Language-Team: Greek\n" @@ -1528,8 +1528,8 @@ msgid "Supply" msgstr "Παροχή" #: src/pages/AddLiquidityV2/index.tsx -msgid "Supplying {0} {1} and{2} {3}" -msgstr "Παροχή {0} {1} και{2} {3}" +msgid "Supplying {0} {1} and {2} {3}" +msgstr "Γίνεται παροχή {0} {1} και {2} {3}" #: src/components/Header/index.tsx #: src/components/NavigationTabs/index.tsx diff --git a/src/locales/es-ES.po b/src/locales/es-ES.po index df6ad244c5..6ad4bf7566 100644 --- a/src/locales/es-ES.po +++ b/src/locales/es-ES.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-18 06:11\n" +"PO-Revision-Date: 2021-11-18 19:06\n" "Last-Translator: \n" "Language: es_ES\n" "Language-Team: Spanish\n" @@ -1528,8 +1528,8 @@ msgid "Supply" msgstr "Suministro" #: src/pages/AddLiquidityV2/index.tsx -msgid "Supplying {0} {1} and{2} {3}" -msgstr "Suministrando {0} {1} y{2} {3}" +msgid "Supplying {0} {1} and {2} {3}" +msgstr "Suministrando {0} {1} y {2} {3}" #: src/components/Header/index.tsx #: src/components/NavigationTabs/index.tsx diff --git a/src/locales/fi-FI.po b/src/locales/fi-FI.po index 9ff56ae8c9..adf3344cf2 100644 --- a/src/locales/fi-FI.po +++ b/src/locales/fi-FI.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-18 06:11\n" +"PO-Revision-Date: 2021-11-18 19:06\n" "Last-Translator: \n" "Language: fi_FI\n" "Language-Team: Finnish\n" @@ -1528,8 +1528,8 @@ msgid "Supply" msgstr "Tarjonta" #: src/pages/AddLiquidityV2/index.tsx -msgid "Supplying {0} {1} and{2} {3}" -msgstr "Toimitetaan {0} {1} ja{2} {3}" +msgid "Supplying {0} {1} and {2} {3}" +msgstr "Toimitetaan {0} {1} ja {2} {3}" #: src/components/Header/index.tsx #: src/components/NavigationTabs/index.tsx diff --git a/src/locales/fr-FR.po b/src/locales/fr-FR.po index fb0ba1365b..33598549ed 100644 --- a/src/locales/fr-FR.po +++ b/src/locales/fr-FR.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-18 06:11\n" +"PO-Revision-Date: 2021-11-18 19:06\n" "Last-Translator: \n" "Language: fr_FR\n" "Language-Team: French\n" @@ -1528,8 +1528,8 @@ msgid "Supply" msgstr "Approvisionnement" #: src/pages/AddLiquidityV2/index.tsx -msgid "Supplying {0} {1} and{2} {3}" -msgstr "Alimentation {0} {1} et{2} {3}" +msgid "Supplying {0} {1} and {2} {3}" +msgstr "Approvisionnement {0} {1} et {2} {3}" #: src/components/Header/index.tsx #: src/components/NavigationTabs/index.tsx diff --git a/src/locales/he-IL.po b/src/locales/he-IL.po index 31c2e2613e..cfc481b692 100644 --- a/src/locales/he-IL.po +++ b/src/locales/he-IL.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-18 06:11\n" +"PO-Revision-Date: 2021-11-18 19:06\n" "Last-Translator: \n" "Language: he_IL\n" "Language-Team: Hebrew\n" @@ -1528,8 +1528,8 @@ msgid "Supply" msgstr "לְסַפֵּק" #: src/pages/AddLiquidityV2/index.tsx -msgid "Supplying {0} {1} and{2} {3}" -msgstr "מתן {0} {1} ו{2} {3}" +msgid "Supplying {0} {1} and {2} {3}" +msgstr "אספקת {0} {1} ו {2} {3}" #: src/components/Header/index.tsx #: src/components/NavigationTabs/index.tsx diff --git a/src/locales/hu-HU.po b/src/locales/hu-HU.po index 50939d4704..8626919f2c 100644 --- a/src/locales/hu-HU.po +++ b/src/locales/hu-HU.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-18 06:11\n" +"PO-Revision-Date: 2021-11-18 19:06\n" "Last-Translator: \n" "Language: hu_HU\n" "Language-Team: Hungarian\n" @@ -1529,8 +1529,8 @@ msgid "Supply" msgstr "Kínálat" #: src/pages/AddLiquidityV2/index.tsx -msgid "Supplying {0} {1} and{2} {3}" -msgstr "{0} {1} és{2} {3}ellátása" +msgid "Supplying {0} {1} and {2} {3}" +msgstr "{0} {1} és {2} {3} kínálása" #: src/components/Header/index.tsx #: src/components/NavigationTabs/index.tsx diff --git a/src/locales/id-ID.po b/src/locales/id-ID.po index 8fee3597c4..9a6ff45ca6 100644 --- a/src/locales/id-ID.po +++ b/src/locales/id-ID.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-18 06:11\n" +"PO-Revision-Date: 2021-11-18 19:06\n" "Last-Translator: \n" "Language: id_ID\n" "Language-Team: Indonesian\n" @@ -1528,8 +1528,8 @@ msgid "Supply" msgstr "Pasokan" #: src/pages/AddLiquidityV2/index.tsx -msgid "Supplying {0} {1} and{2} {3}" -msgstr "Menyediakan {0} {1} dan{2} {3}" +msgid "Supplying {0} {1} and {2} {3}" +msgstr "Memasok {0} {1} dan {2} {3}" #: src/components/Header/index.tsx #: src/components/NavigationTabs/index.tsx diff --git a/src/locales/it-IT.po b/src/locales/it-IT.po index 92c90b5425..e8caec33bd 100644 --- a/src/locales/it-IT.po +++ b/src/locales/it-IT.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-18 06:11\n" +"PO-Revision-Date: 2021-11-18 19:06\n" "Last-Translator: \n" "Language: it_IT\n" "Language-Team: Italian\n" @@ -1528,8 +1528,8 @@ msgid "Supply" msgstr "Fornitura" #: src/pages/AddLiquidityV2/index.tsx -msgid "Supplying {0} {1} and{2} {3}" -msgstr "Fornitura {0} {1} e{2} {3}" +msgid "Supplying {0} {1} and {2} {3}" +msgstr "Fornitura di {0} {1} e {2} {3}" #: src/components/Header/index.tsx #: src/components/NavigationTabs/index.tsx diff --git a/src/locales/ja-JP.po b/src/locales/ja-JP.po index 367090cefe..94cf303734 100644 --- a/src/locales/ja-JP.po +++ b/src/locales/ja-JP.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-18 06:11\n" +"PO-Revision-Date: 2021-11-18 19:06\n" "Last-Translator: \n" "Language: ja_JP\n" "Language-Team: Japanese\n" @@ -1528,8 +1528,8 @@ msgid "Supply" msgstr "追加" #: src/pages/AddLiquidityV2/index.tsx -msgid "Supplying {0} {1} and{2} {3}" -msgstr "{0} {1} と{2} {3} を提供" +msgid "Supplying {0} {1} and {2} {3}" +msgstr "{0} {1} と {2} {3} を追加中" #: src/components/Header/index.tsx #: src/components/NavigationTabs/index.tsx diff --git a/src/locales/ko-KR.po b/src/locales/ko-KR.po index f8644199da..e631db9007 100644 --- a/src/locales/ko-KR.po +++ b/src/locales/ko-KR.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-18 06:11\n" +"PO-Revision-Date: 2021-11-18 19:06\n" "Last-Translator: \n" "Language: ko_KR\n" "Language-Team: Korean\n" @@ -1528,8 +1528,8 @@ msgid "Supply" msgstr "공급" #: src/pages/AddLiquidityV2/index.tsx -msgid "Supplying {0} {1} and{2} {3}" -msgstr "{0} {1} 및{2} {3}공급" +msgid "Supplying {0} {1} and {2} {3}" +msgstr "{0} {1} 및 {2} {3} 공급 중" #: src/components/Header/index.tsx #: src/components/NavigationTabs/index.tsx diff --git a/src/locales/nl-NL.po b/src/locales/nl-NL.po index c0907876aa..76b2113c73 100644 --- a/src/locales/nl-NL.po +++ b/src/locales/nl-NL.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-18 06:11\n" +"PO-Revision-Date: 2021-11-18 19:06\n" "Last-Translator: \n" "Language: nl_NL\n" "Language-Team: Dutch\n" @@ -1528,8 +1528,8 @@ msgid "Supply" msgstr "Levering" #: src/pages/AddLiquidityV2/index.tsx -msgid "Supplying {0} {1} and{2} {3}" -msgstr "Leveren {0} {1} en{2} {3}" +msgid "Supplying {0} {1} and {2} {3}" +msgstr "{0} {1} en {2} {3} aanbieden" #: src/components/Header/index.tsx #: src/components/NavigationTabs/index.tsx diff --git a/src/locales/no-NO.po b/src/locales/no-NO.po index 8a517e07d9..f23142a4fc 100644 --- a/src/locales/no-NO.po +++ b/src/locales/no-NO.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-18 06:11\n" +"PO-Revision-Date: 2021-11-18 19:06\n" "Last-Translator: \n" "Language: no_NO\n" "Language-Team: Norwegian\n" @@ -1528,8 +1528,8 @@ msgid "Supply" msgstr "Levering" #: src/pages/AddLiquidityV2/index.tsx -msgid "Supplying {0} {1} and{2} {3}" -msgstr "Leverer {0} {1} og{2} {3}" +msgid "Supplying {0} {1} and {2} {3}" +msgstr "Leverer {0} {1} og {2} {3}" #: src/components/Header/index.tsx #: src/components/NavigationTabs/index.tsx diff --git a/src/locales/pl-PL.po b/src/locales/pl-PL.po index ff59fce8c0..2006edec14 100644 --- a/src/locales/pl-PL.po +++ b/src/locales/pl-PL.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-18 06:11\n" +"PO-Revision-Date: 2021-11-18 19:06\n" "Last-Translator: \n" "Language: pl_PL\n" "Language-Team: Polish\n" @@ -1528,8 +1528,8 @@ msgid "Supply" msgstr "Dostawa" #: src/pages/AddLiquidityV2/index.tsx -msgid "Supplying {0} {1} and{2} {3}" -msgstr "Dostarczanie {0} {1} i{2} {3}" +msgid "Supplying {0} {1} and {2} {3}" +msgstr "Dostarczanie {0} {1} i {2} {3}" #: src/components/Header/index.tsx #: src/components/NavigationTabs/index.tsx diff --git a/src/locales/pt-BR.po b/src/locales/pt-BR.po index 0e0994869b..dbdd940be2 100644 --- a/src/locales/pt-BR.po +++ b/src/locales/pt-BR.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-18 06:11\n" +"PO-Revision-Date: 2021-11-18 19:06\n" "Last-Translator: \n" "Language: pt_BR\n" "Language-Team: Portuguese, Brazilian\n" @@ -1528,8 +1528,8 @@ msgid "Supply" msgstr "Fornecimento" #: src/pages/AddLiquidityV2/index.tsx -msgid "Supplying {0} {1} and{2} {3}" -msgstr "Fornecendo {0} {1} e{2} {3}" +msgid "Supplying {0} {1} and {2} {3}" +msgstr "Fornecendo {0} {1} e {2} {3}" #: src/components/Header/index.tsx #: src/components/NavigationTabs/index.tsx diff --git a/src/locales/pt-PT.po b/src/locales/pt-PT.po index 81164d44dc..102768347d 100644 --- a/src/locales/pt-PT.po +++ b/src/locales/pt-PT.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-18 06:11\n" +"PO-Revision-Date: 2021-11-18 19:06\n" "Last-Translator: \n" "Language: pt_PT\n" "Language-Team: Portuguese\n" @@ -1528,8 +1528,8 @@ msgid "Supply" msgstr "Fornecer" #: src/pages/AddLiquidityV2/index.tsx -msgid "Supplying {0} {1} and{2} {3}" -msgstr "Fornecendo {0} {1} e{2} {3}" +msgid "Supplying {0} {1} and {2} {3}" +msgstr "A fornecer {0} {1} e {2} {3}" #: src/components/Header/index.tsx #: src/components/NavigationTabs/index.tsx diff --git a/src/locales/ro-RO.po b/src/locales/ro-RO.po index f44355a4de..b424c4ecca 100644 --- a/src/locales/ro-RO.po +++ b/src/locales/ro-RO.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-18 06:11\n" +"PO-Revision-Date: 2021-11-18 19:06\n" "Last-Translator: \n" "Language: ro_RO\n" "Language-Team: Romanian\n" @@ -1528,8 +1528,8 @@ msgid "Supply" msgstr "Furnizare" #: src/pages/AddLiquidityV2/index.tsx -msgid "Supplying {0} {1} and{2} {3}" -msgstr "Furnizarea {0} {1} și{2} {3}" +msgid "Supplying {0} {1} and {2} {3}" +msgstr "Se furnizează {0} {1} și {2} {3}" #: src/components/Header/index.tsx #: src/components/NavigationTabs/index.tsx diff --git a/src/locales/ru-RU.po b/src/locales/ru-RU.po index 87d35cf0bc..18621b20be 100644 --- a/src/locales/ru-RU.po +++ b/src/locales/ru-RU.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-18 06:11\n" +"PO-Revision-Date: 2021-11-18 19:06\n" "Last-Translator: \n" "Language: ru_RU\n" "Language-Team: Russian\n" @@ -1528,8 +1528,8 @@ msgid "Supply" msgstr "Внести" #: src/pages/AddLiquidityV2/index.tsx -msgid "Supplying {0} {1} and{2} {3}" -msgstr "Внесение {0} {1} и{2} {3}" +msgid "Supplying {0} {1} and {2} {3}" +msgstr "Внесение {0} {1} и {2} {3}" #: src/components/Header/index.tsx #: src/components/NavigationTabs/index.tsx diff --git a/src/locales/sl-SI.po b/src/locales/sl-SI.po index 34e83c0afa..41d85a6ebb 100644 --- a/src/locales/sl-SI.po +++ b/src/locales/sl-SI.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-18 06:11\n" +"PO-Revision-Date: 2021-11-18 19:06\n" "Last-Translator: \n" "Language: sl_SI\n" "Language-Team: Slovenian\n" @@ -1528,8 +1528,8 @@ msgid "Supply" msgstr "Položi" #: src/pages/AddLiquidityV2/index.tsx -msgid "Supplying {0} {1} and{2} {3}" -msgstr "Polog {0} {1} in{2} {3}" +msgid "Supplying {0} {1} and {2} {3}" +msgstr "Polog {0} {1} in {2} {3}" #: src/components/Header/index.tsx #: src/components/NavigationTabs/index.tsx diff --git a/src/locales/sr-SP.po b/src/locales/sr-SP.po index 815fbfd33a..f67624153b 100644 --- a/src/locales/sr-SP.po +++ b/src/locales/sr-SP.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-18 06:11\n" +"PO-Revision-Date: 2021-11-18 19:06\n" "Last-Translator: \n" "Language: sr_SP\n" "Language-Team: Serbian (Cyrillic)\n" @@ -1528,8 +1528,8 @@ msgid "Supply" msgstr "Снабдевање" #: src/pages/AddLiquidityV2/index.tsx -msgid "Supplying {0} {1} and{2} {3}" -msgstr "Снабдевање {0} {1} и{2} {3}" +msgid "Supplying {0} {1} and {2} {3}" +msgstr "Снабдевање {0} {1} и {2} {3}" #: src/components/Header/index.tsx #: src/components/NavigationTabs/index.tsx diff --git a/src/locales/sv-SE.po b/src/locales/sv-SE.po index 8e509e457d..43854d687b 100644 --- a/src/locales/sv-SE.po +++ b/src/locales/sv-SE.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-18 06:11\n" +"PO-Revision-Date: 2021-11-18 19:06\n" "Last-Translator: \n" "Language: sv_SE\n" "Language-Team: Swedish\n" @@ -1528,8 +1528,8 @@ msgid "Supply" msgstr "Tillgång" #: src/pages/AddLiquidityV2/index.tsx -msgid "Supplying {0} {1} and{2} {3}" -msgstr "Levererar {0} {1} och{2} {3}" +msgid "Supplying {0} {1} and {2} {3}" +msgstr "Levererar {0} {1} och {2} {3}" #: src/components/Header/index.tsx #: src/components/NavigationTabs/index.tsx diff --git a/src/locales/sw-TZ.po b/src/locales/sw-TZ.po index ba43a471b6..19069db71a 100644 --- a/src/locales/sw-TZ.po +++ b/src/locales/sw-TZ.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-18 06:11\n" +"PO-Revision-Date: 2021-11-18 19:06\n" "Last-Translator: \n" "Language: sw_TZ\n" "Language-Team: Swahili, Tanzania\n" @@ -1528,8 +1528,8 @@ msgid "Supply" msgstr "Ugavi" #: src/pages/AddLiquidityV2/index.tsx -msgid "Supplying {0} {1} and{2} {3}" -msgstr "Kusambaza {0} {1} na{2} {3}" +msgid "Supplying {0} {1} and {2} {3}" +msgstr "Kusambaza {0} {1} na {2} {3}" #: src/components/Header/index.tsx #: src/components/NavigationTabs/index.tsx diff --git a/src/locales/th-TH.po b/src/locales/th-TH.po index 4e3341d014..ebd26e14ba 100644 --- a/src/locales/th-TH.po +++ b/src/locales/th-TH.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-18 06:11\n" +"PO-Revision-Date: 2021-11-18 19:06\n" "Last-Translator: \n" "Language: th_TH\n" "Language-Team: Thai\n" @@ -1528,8 +1528,8 @@ msgid "Supply" msgstr "จัดหา" #: src/pages/AddLiquidityV2/index.tsx -msgid "Supplying {0} {1} and{2} {3}" -msgstr "จัดหา {0} {1} และ{2} {3}" +msgid "Supplying {0} {1} and {2} {3}" +msgstr "การจัดหา {0} {1} และ {2} {3}" #: src/components/Header/index.tsx #: src/components/NavigationTabs/index.tsx diff --git a/src/locales/tr-TR.po b/src/locales/tr-TR.po index 03ace55cb7..463cdbf925 100644 --- a/src/locales/tr-TR.po +++ b/src/locales/tr-TR.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-18 06:11\n" +"PO-Revision-Date: 2021-11-18 19:06\n" "Last-Translator: \n" "Language: tr_TR\n" "Language-Team: Turkish\n" @@ -1528,8 +1528,8 @@ msgid "Supply" msgstr "Kaynak" #: src/pages/AddLiquidityV2/index.tsx -msgid "Supplying {0} {1} and{2} {3}" -msgstr "Tedarik {0} {1} ve{2} {3}" +msgid "Supplying {0} {1} and {2} {3}" +msgstr "{0} {1} ve {2} {3} temini" #: src/components/Header/index.tsx #: src/components/NavigationTabs/index.tsx diff --git a/src/locales/uk-UA.po b/src/locales/uk-UA.po index 72a4bc0fab..41512ea6d8 100644 --- a/src/locales/uk-UA.po +++ b/src/locales/uk-UA.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-18 06:11\n" +"PO-Revision-Date: 2021-11-18 19:06\n" "Last-Translator: \n" "Language: uk_UA\n" "Language-Team: Ukrainian\n" @@ -1528,8 +1528,8 @@ msgid "Supply" msgstr "Пропозиція" #: src/pages/AddLiquidityV2/index.tsx -msgid "Supplying {0} {1} and{2} {3}" -msgstr "Постачання {0} {1} і{2} {3}" +msgid "Supplying {0} {1} and {2} {3}" +msgstr "Постачання {0} {1} та {2} {3}" #: src/components/Header/index.tsx #: src/components/NavigationTabs/index.tsx diff --git a/src/locales/vi-VN.po b/src/locales/vi-VN.po index 240f5ec98f..2b197ac54b 100644 --- a/src/locales/vi-VN.po +++ b/src/locales/vi-VN.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-18 06:11\n" +"PO-Revision-Date: 2021-11-18 19:06\n" "Last-Translator: \n" "Language: vi_VN\n" "Language-Team: Vietnamese\n" @@ -1528,8 +1528,8 @@ msgid "Supply" msgstr "Cung cấp" #: src/pages/AddLiquidityV2/index.tsx -msgid "Supplying {0} {1} and{2} {3}" -msgstr "Cung cấp {0} {1} và{2} {3}" +msgid "Supplying {0} {1} and {2} {3}" +msgstr "Cung cấp {0} {1} và {2} {3}" #: src/components/Header/index.tsx #: src/components/NavigationTabs/index.tsx diff --git a/src/locales/zh-CN.po b/src/locales/zh-CN.po index 03b88ccc44..7ea6bfcf04 100644 --- a/src/locales/zh-CN.po +++ b/src/locales/zh-CN.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-18 06:11\n" +"PO-Revision-Date: 2021-11-18 19:06\n" "Last-Translator: \n" "Language: zh_CN\n" "Language-Team: Chinese Simplified\n" @@ -1528,8 +1528,8 @@ msgid "Supply" msgstr "供应" #: src/pages/AddLiquidityV2/index.tsx -msgid "Supplying {0} {1} and{2} {3}" -msgstr "供应 {0} {1} 和 {2} {3}" +msgid "Supplying {0} {1} and {2} {3}" +msgstr "提供 {0} {1} 和 {2} {3}" #: src/components/Header/index.tsx #: src/components/NavigationTabs/index.tsx diff --git a/src/locales/zh-TW.po b/src/locales/zh-TW.po index cb312b912a..9057ecea19 100644 --- a/src/locales/zh-TW.po +++ b/src/locales/zh-TW.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-18 06:11\n" +"PO-Revision-Date: 2021-11-18 19:06\n" "Last-Translator: \n" "Language: zh_TW\n" "Language-Team: Chinese Traditional\n" @@ -1528,7 +1528,7 @@ msgid "Supply" msgstr "供應" #: src/pages/AddLiquidityV2/index.tsx -msgid "Supplying {0} {1} and{2} {3}" +msgid "Supplying {0} {1} and {2} {3}" msgstr "供應 {0} {1} 和 {2} {3}" #: src/components/Header/index.tsx From 8a72b374a8fca41c5ef8c959c582870bea6bf84c Mon Sep 17 00:00:00 2001 From: Justin Domingue Date: Fri, 19 Nov 2021 10:10:45 -0500 Subject: [PATCH 049/378] fix: fix #2818 --- src/pages/AddLiquidityV2/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/AddLiquidityV2/index.tsx b/src/pages/AddLiquidityV2/index.tsx index 0cd872d64d..444938b8fb 100644 --- a/src/pages/AddLiquidityV2/index.tsx +++ b/src/pages/AddLiquidityV2/index.tsx @@ -272,7 +272,7 @@ export default function AddLiquidity({ const pendingText = ( - Supplying {parsedAmounts[Field.CURRENCY_A]?.toSignificant(6)} {currencies[Field.CURRENCY_A]?.symbol} and + Supplying {parsedAmounts[Field.CURRENCY_A]?.toSignificant(6)} {currencies[Field.CURRENCY_A]?.symbol} and{' '} {parsedAmounts[Field.CURRENCY_B]?.toSignificant(6)} {currencies[Field.CURRENCY_B]?.symbol} ) From e54ffcc48390d5fad1e5d758cdfe4c5ef4d0d238 Mon Sep 17 00:00:00 2001 From: Crowdin Bot Date: Fri, 19 Nov 2021 16:06:45 +0000 Subject: [PATCH 050/378] chore(i18n): synchronize translations from crowdin [skip ci] --- src/locales/fi-FI.po | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/locales/fi-FI.po b/src/locales/fi-FI.po index adf3344cf2..ed79e477e1 100644 --- a/src/locales/fi-FI.po +++ b/src/locales/fi-FI.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-18 19:06\n" +"PO-Revision-Date: 2021-11-19 16:06\n" "Last-Translator: \n" "Language: fi_FI\n" "Language-Team: Finnish\n" @@ -396,7 +396,7 @@ msgstr "UNI lunastettu!" #: src/components/claim/ClaimModal.tsx msgid "Claimed!" -msgstr "Väitetty!" +msgstr "Lunastettu!" #: src/components/claim/AddressClaimModal.tsx #: src/components/claim/ClaimModal.tsx @@ -490,7 +490,7 @@ msgstr "Vahvista lompakkosi tapahtuma" #: src/components/TransactionConfirmationModal/index.tsx msgid "Confirm transaction in wallet" -msgstr "Vahvista tapahtuma lompakossa" +msgstr "Vahvista transaktio lompakossa" #: src/components/Web3Status/index.tsx #: src/components/earn/ClaimRewardModal.tsx @@ -682,7 +682,7 @@ msgstr "Ansaitut UNI-rahakkeet edustavat äänioikeusosakkeita Uniswapin hallinn #: src/components/FeeSelector/index.tsx msgid "Edit" -msgstr "Muokata" +msgstr "Muokkaa" #: src/pages/AddLiquidity/index.tsx msgid "Efficiency Comparison" @@ -775,7 +775,7 @@ msgstr "Palkkiotaso" #: src/components/FeeSelector/index.tsx msgid "Fee tier" -msgstr "Maksutaso" +msgstr "Palkkiotaso" #: src/pages/Vote/VotePage.tsx msgid "For" From cb0ea3f14d7c21dbd426aca741cf20f596bf2042 Mon Sep 17 00:00:00 2001 From: Justin Domingue Date: Mon, 22 Nov 2021 09:27:29 -0500 Subject: [PATCH 051/378] log an event on max click (#2827) --- src/pages/Swap/index.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/pages/Swap/index.tsx b/src/pages/Swap/index.tsx index 24483fbc7d..9c5c56b87e 100644 --- a/src/pages/Swap/index.tsx +++ b/src/pages/Swap/index.tsx @@ -346,6 +346,10 @@ export default function Swap({ history }: RouteComponentProps) { const handleMaxInput = useCallback(() => { maxInputAmount && onUserInput(Field.INPUT, maxInputAmount.toExact()) + ReactGA.event({ + category: 'Swap', + action: 'Max', + }) }, [maxInputAmount, onUserInput]) const handleOutputSelect = useCallback( From 7c9d9bdb039435b97e3844874d33c9d80ab0ff50 Mon Sep 17 00:00:00 2001 From: Will Hennessy Date: Mon, 22 Nov 2021 09:32:34 -0500 Subject: [PATCH 052/378] Add trailing slash to L2 info links (#2696) Some links were broken. For example on /pools/ page click the 'Top Pools' CTA. It would mistakenly direct you to info.uniswap.org/optimismpools instead of optimism/pools --- src/constants/chains.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/constants/chains.ts b/src/constants/chains.ts index 9f7f31e10e..b507a528de 100644 --- a/src/constants/chains.ts +++ b/src/constants/chains.ts @@ -79,7 +79,7 @@ export const CHAIN_INFO: ChainInfo = { bridge: 'https://bridge.arbitrum.io/', docs: 'https://offchainlabs.com/', explorer: 'https://arbiscan.io/', - infoLink: 'https://info.uniswap.org/#/arbitrum', + infoLink: 'https://info.uniswap.org/#/arbitrum/', label: 'Arbitrum', logoUrl: arbitrumLogoUrl, nativeCurrency: { name: 'ETH', symbol: 'ETH', decimals: 18 }, @@ -137,7 +137,7 @@ export const CHAIN_INFO: ChainInfo = { bridge: 'https://gateway.optimism.io/', docs: 'https://optimism.io/', explorer: 'https://optimistic.etherscan.io/', - infoLink: 'https://info.uniswap.org/#/optimism', + infoLink: 'https://info.uniswap.org/#/optimism/', label: 'OΞ', logoUrl: optimismLogoUrl, nativeCurrency: { name: 'Optimistic ETH', symbol: 'ETH', decimals: 18 }, @@ -148,7 +148,7 @@ export const CHAIN_INFO: ChainInfo = { bridge: 'https://gateway.optimism.io/', docs: 'https://optimism.io/', explorer: 'https://optimistic.etherscan.io/', - infoLink: 'https://info.uniswap.org/#/optimism', + infoLink: 'https://info.uniswap.org/#/optimism/', label: 'Optimistic Kovan', rpcUrls: ['https://kovan.optimism.io'], logoUrl: optimismLogoUrl, From 204e44ac40ea3efe7da114c94618a1f0ef3c9cee Mon Sep 17 00:00:00 2001 From: Jordan Frankfurt Date: Mon, 22 Nov 2021 11:04:36 -0500 Subject: [PATCH 053/378] fix(L2): block L2 tokens explicitly linked to L1 tokens that are blocked (#2721) * block L2 tokens explicitly linked to L1 tokens that are blocked --- src/constants/chains.ts | 7 +++++ src/hooks/Tokens.ts | 52 +++++++++++++++++++++++++++++-- src/hooks/useIsSwapUnsupported.ts | 17 +++++----- 3 files changed, 65 insertions(+), 11 deletions(-) diff --git a/src/constants/chains.ts b/src/constants/chains.ts index b507a528de..10c061729c 100644 --- a/src/constants/chains.ts +++ b/src/constants/chains.ts @@ -3,6 +3,8 @@ import arbitrumLogoUrl from 'assets/svg/arbitrum_logo.svg' import optimismLogoUrl from 'assets/svg/optimistic_ethereum.svg' import ms from 'ms.macro' +import { ARBITRUM_LIST, OPTIMISM_LIST } from './lists' + export enum SupportedChainId { MAINNET = 1, ROPSTEN = 3, @@ -66,6 +68,7 @@ export interface L2ChainInfo extends L1ChainInfo { readonly bridge: string readonly logoUrl: string readonly statusPage?: string + readonly defaultListUrl: string } export type ChainInfo = { readonly [chainId: number]: L1ChainInfo | L2ChainInfo } & { @@ -77,6 +80,7 @@ export const CHAIN_INFO: ChainInfo = { [SupportedChainId.ARBITRUM_ONE]: { blockWaitMsBeforeWarning: ms`10m`, bridge: 'https://bridge.arbitrum.io/', + defaultListUrl: ARBITRUM_LIST, docs: 'https://offchainlabs.com/', explorer: 'https://arbiscan.io/', infoLink: 'https://info.uniswap.org/#/arbitrum/', @@ -88,6 +92,7 @@ export const CHAIN_INFO: ChainInfo = { [SupportedChainId.ARBITRUM_RINKEBY]: { blockWaitMsBeforeWarning: ms`10m`, bridge: 'https://bridge.arbitrum.io/', + defaultListUrl: ARBITRUM_LIST, docs: 'https://offchainlabs.com/', explorer: 'https://rinkeby-explorer.arbitrum.io/', infoLink: 'https://info.uniswap.org/#/arbitrum/', @@ -135,6 +140,7 @@ export const CHAIN_INFO: ChainInfo = { [SupportedChainId.OPTIMISM]: { blockWaitMsBeforeWarning: ms`15m`, bridge: 'https://gateway.optimism.io/', + defaultListUrl: OPTIMISM_LIST, docs: 'https://optimism.io/', explorer: 'https://optimistic.etherscan.io/', infoLink: 'https://info.uniswap.org/#/optimism/', @@ -146,6 +152,7 @@ export const CHAIN_INFO: ChainInfo = { [SupportedChainId.OPTIMISTIC_KOVAN]: { blockWaitMsBeforeWarning: ms`15m`, bridge: 'https://gateway.optimism.io/', + defaultListUrl: OPTIMISM_LIST, docs: 'https://optimism.io/', explorer: 'https://optimistic.etherscan.io/', infoLink: 'https://info.uniswap.org/#/optimism/', diff --git a/src/hooks/Tokens.ts b/src/hooks/Tokens.ts index 3f0427fafe..eaf77de3fe 100644 --- a/src/hooks/Tokens.ts +++ b/src/hooks/Tokens.ts @@ -1,7 +1,8 @@ import { arrayify } from '@ethersproject/bytes' import { parseBytes32String } from '@ethersproject/strings' import { Currency, Token } from '@uniswap/sdk-core' -import { SupportedChainId } from 'constants/chains' +import { CHAIN_INFO, L2_CHAIN_IDS, SupportedChainId, SupportedL2ChainId } from 'constants/chains' +import { ARBITRUM_LIST, OPTIMISM_LIST } from 'constants/lists' import { useMemo } from 'react' import { createTokenFilterFunction } from '../components/SearchModal/filtering' @@ -57,9 +58,56 @@ export function useAllTokens(): { [address: string]: Token } { return useTokensFromMap(allTokens, true) } +type BridgeInfo = Record< + SupportedChainId, + { + tokenAddress: string + originBridgeAddress: string + destBridgeAddress: string + } +> + export function useUnsupportedTokens(): { [address: string]: Token } { + const { chainId } = useActiveWeb3React() + const listsByUrl = useAllLists() const unsupportedTokensMap = useUnsupportedTokenList() - return useTokensFromMap(unsupportedTokensMap, false) + const unsupportedTokens = useTokensFromMap(unsupportedTokensMap, false) + + // checks the default L2 lists to see if `bridgeInfo` has an L1 address value that is unsupported + const l2InferredBlockedTokens: typeof unsupportedTokens = useMemo(() => { + if (!chainId || !L2_CHAIN_IDS.includes(chainId)) { + return {} + } + + if (!listsByUrl) { + return {} + } + + const listUrl = CHAIN_INFO[chainId as SupportedL2ChainId].defaultListUrl + const { current: list } = listsByUrl[listUrl] + if (!list) { + return {} + } + + const unsupportedSet = new Set(Object.keys(unsupportedTokens)) + + return list.tokens.reduce((acc, tokenInfo) => { + const bridgeInfo = tokenInfo.extensions?.bridgeInfo as unknown as BridgeInfo + if ( + bridgeInfo && + bridgeInfo[SupportedChainId.MAINNET] && + bridgeInfo[SupportedChainId.MAINNET].tokenAddress && + unsupportedSet.has(bridgeInfo[SupportedChainId.MAINNET].tokenAddress) + ) { + const address = bridgeInfo[SupportedChainId.MAINNET].tokenAddress + // don't rely on decimals--it's possible that a token could be bridged w/ different decimals on the L2 + return { ...acc, [address]: new Token(SupportedChainId.MAINNET, address, tokenInfo.decimals) } + } + return acc + }, {}) + }, [chainId, listsByUrl, unsupportedTokens]) + + return { ...unsupportedTokens, ...l2InferredBlockedTokens } } export function useSearchInactiveTokenLists(search: string | undefined, minResults = 10): WrappedTokenInfo[] { diff --git a/src/hooks/useIsSwapUnsupported.ts b/src/hooks/useIsSwapUnsupported.ts index e94bc19b4d..f9a87b7dc8 100644 --- a/src/hooks/useIsSwapUnsupported.ts +++ b/src/hooks/useIsSwapUnsupported.ts @@ -1,4 +1,4 @@ -import { Currency, Token } from '@uniswap/sdk-core' +import { Currency } from '@uniswap/sdk-core' import { useMemo } from 'react' import { useUnsupportedTokens } from './Tokens' @@ -9,14 +9,13 @@ import { useUnsupportedTokens } from './Tokens' * @param currencyOut the output currency to check */ export function useIsSwapUnsupported(currencyIn?: Currency | null, currencyOut?: Currency | null): boolean { - const unsupportedTokens: { [address: string]: Token } = useUnsupportedTokens() - + const unsupportedTokens = useUnsupportedTokens() return useMemo(() => { - // if unsupported list loaded & either token on list, mark as unsupported - return Boolean( - unsupportedTokens && - ((currencyIn?.isToken && unsupportedTokens[currencyIn.address]) || - (currencyOut?.isToken && unsupportedTokens[currencyOut.address])) - ) + if (!unsupportedTokens) { + return false + } + const currencyInUnsupported = Boolean(currencyIn?.isToken && unsupportedTokens[currencyIn.address]) + const currencyOutUnsupported = Boolean(currencyOut?.isToken && unsupportedTokens[currencyOut.address]) + return currencyInUnsupported || currencyOutUnsupported }, [currencyIn, currencyOut, unsupportedTokens]) } From 7781f5112e2555f61be236d080f55fa090b43b7f Mon Sep 17 00:00:00 2001 From: Lint Action Date: Mon, 22 Nov 2021 16:08:21 +0000 Subject: [PATCH 054/378] Fix code style issues with ESLint --- src/hooks/Tokens.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/hooks/Tokens.ts b/src/hooks/Tokens.ts index eaf77de3fe..dff601aca3 100644 --- a/src/hooks/Tokens.ts +++ b/src/hooks/Tokens.ts @@ -2,7 +2,6 @@ import { arrayify } from '@ethersproject/bytes' import { parseBytes32String } from '@ethersproject/strings' import { Currency, Token } from '@uniswap/sdk-core' import { CHAIN_INFO, L2_CHAIN_IDS, SupportedChainId, SupportedL2ChainId } from 'constants/chains' -import { ARBITRUM_LIST, OPTIMISM_LIST } from 'constants/lists' import { useMemo } from 'react' import { createTokenFilterFunction } from '../components/SearchModal/filtering' From 262d984f92c79dd81228e284a4e715d93b1afba2 Mon Sep 17 00:00:00 2001 From: Jordan Frankfurt Date: Mon, 22 Nov 2021 12:33:52 -0500 Subject: [PATCH 055/378] check for support on all connectors, and disable when the connector (or lack thereof) no longer supports 3085 (#2824) --- src/state/application/updater.ts | 24 +++++++++++------------- 1 file changed, 11 insertions(+), 13 deletions(-) diff --git a/src/state/application/updater.ts b/src/state/application/updater.ts index afd8a9b7a2..757fc0de2d 100644 --- a/src/state/application/updater.ts +++ b/src/state/application/updater.ts @@ -1,5 +1,3 @@ -import { InjectedConnector } from '@web3-react/injected-connector' -import { WalletLinkConnector } from '@web3-react/walletlink-connector' import useDebounce from 'hooks/useDebounce' import useIsWindowVisible from 'hooks/useIsWindowVisible' import { useActiveWeb3React } from 'hooks/web3' @@ -79,19 +77,19 @@ export default function Updater(): null { ) }, [dispatch, debouncedState.chainId]) + const implements3085 = useAppSelector((state) => state.application.implements3085) + useEffect(() => { - const isCbWalletDappBrowser = window?.ethereum?.isCoinbaseWallet - const isWalletlink = - connector instanceof WalletLinkConnector || (connector instanceof InjectedConnector && window.walletLinkExtension) - const isCbWallet = isCbWalletDappBrowser || isWalletlink - const isMetamaskOrCbWallet = library?.provider?.isMetaMask || isCbWallet - if (!account || !library?.provider?.request || !isMetamaskOrCbWallet) { - return + if (!library?.provider?.request) { + dispatch(setImplements3085({ implements3085: false })) + } else if (account && !implements3085) { + switchToNetwork({ library }) + .then((x) => x ?? dispatch(setImplements3085({ implements3085: true }))) + .catch(() => dispatch(setImplements3085({ implements3085: false }))) + } else if (!account && implements3085) { + dispatch(setImplements3085({ implements3085: false })) } - switchToNetwork({ library }) - .then((x) => x ?? dispatch(setImplements3085({ implements3085: true }))) - .catch(() => dispatch(setImplements3085({ implements3085: false }))) - }, [account, chainId, dispatch, library]) + }, [account, dispatch, implements3085, library]) return null } From d5c4ee03426f023289002f2a4d50ea15c22733e3 Mon Sep 17 00:00:00 2001 From: Zach Pomerantz Date: Mon, 22 Nov 2021 10:55:25 -0800 Subject: [PATCH 056/378] feat: display an ENS avatar (#2806) * feat: ens avatar resolution * chore: uninstall @davatar/react * fix: add avatar alt * feat: support data uris * feat: support arweave uris * feat: support erc721 avatars * feat: support erc1155 avatars * fix: jazzicon integration * fix: clean usage of status icon * fix: fix jazzicon svg offset * refactor: share status icon component * fix: pass memoized args to multicall --- package.json | 2 +- src/abis/erc1155.json | 49 +++++++++ src/abis/erc721.json | 40 ++++++++ src/components/AccountDetails/index.tsx | 74 ++++--------- src/components/Identicon/StatusIcon.tsx | 25 +++++ src/components/Identicon/index.tsx | 45 +++++--- src/components/Web3Status/index.tsx | 45 ++------ src/hooks/useContract.ts | 12 ++- src/hooks/useENSAvatar.ts | 131 ++++++++++++++++++++++++ src/utils/uriToHttp.ts | 7 +- yarn.lock | 65 ++++++------ 11 files changed, 354 insertions(+), 141 deletions(-) create mode 100644 src/abis/erc1155.json create mode 100644 src/abis/erc721.json create mode 100644 src/components/Identicon/StatusIcon.tsx create mode 100644 src/hooks/useENSAvatar.ts diff --git a/package.json b/package.json index 7234f79145..d350fe1513 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,6 @@ ], "private": true, "devDependencies": { - "@davatar/react": "1.8.1", "@ethersproject/experimental": "^5.4.0", "@gnosis.pm/safe-apps-web3-react": "^0.6.0", "@graphql-codegen/cli": "1.21.5", @@ -21,6 +20,7 @@ "@lingui/cli": "^3.9.0", "@lingui/macro": "^3.9.0", "@lingui/react": "^3.9.0", + "@metamask/jazzicon": "^2.0.0", "@popperjs/core": "^2.4.4", "@reach/dialog": "^0.10.3", "@reach/portal": "^0.10.3", diff --git a/src/abis/erc1155.json b/src/abis/erc1155.json new file mode 100644 index 0000000000..d14e0e18bc --- /dev/null +++ b/src/abis/erc1155.json @@ -0,0 +1,49 @@ +[ + { + "constant": true, + "inputs": [ + { + "internalType": "address", + "name": "_owner", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_id", + "type": "uint256" + } + ], + "name": "balanceOf", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "internalType": "uint256", + "name": "_id", + "type": "uint256" + } + ], + "name": "uri", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + } +] diff --git a/src/abis/erc721.json b/src/abis/erc721.json new file mode 100644 index 0000000000..76339c6a0b --- /dev/null +++ b/src/abis/erc721.json @@ -0,0 +1,40 @@ +[ + { + "inputs": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "ownerOf", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "tokenURI", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function" + } +] diff --git a/src/components/AccountDetails/index.tsx b/src/components/AccountDetails/index.tsx index 1404f25961..1c8845a733 100644 --- a/src/components/AccountDetails/index.tsx +++ b/src/components/AccountDetails/index.tsx @@ -1,15 +1,12 @@ import { Trans } from '@lingui/macro' +import { AbstractConnector } from '@web3-react/abstract-connector' import { useCallback, useContext } from 'react' import { ExternalLink as LinkIcon } from 'react-feather' import { useAppDispatch } from 'state/hooks' import styled, { ThemeContext } from 'styled-components/macro' -import CoinbaseWalletIcon from '../../assets/images/coinbaseWalletIcon.svg' -import FortmaticIcon from '../../assets/images/fortmaticIcon.png' -import PortisIcon from '../../assets/images/portisIcon.png' -import WalletConnectIcon from '../../assets/images/walletConnectIcon.svg' import { ReactComponent as Close } from '../../assets/images/x.svg' -import { fortmatic, injected, portis, walletconnect, walletlink } from '../../connectors' +import { injected, portis, walletlink } from '../../connectors' import { SUPPORTED_WALLETS } from '../../constants/wallet' import { useActiveWeb3React } from '../../hooks/web3' import { clearAllTransactions } from '../../state/transactions/actions' @@ -17,7 +14,7 @@ import { ExternalLink, LinkStyledButton, TYPE } from '../../theme' import { shortenAddress } from '../../utils' import { ExplorerDataType, getExplorerLink } from '../../utils/getExplorerLink' import { ButtonSecondary } from '../Button' -import Identicon from '../Identicon' +import StatusIcon from '../Identicon/StatusIcon' import { AutoRow } from '../Row' import Copy from './Copy' import Transaction from './Transaction' @@ -179,6 +176,23 @@ const IconWrapper = styled.div<{ size?: number }>` `}; ` +function WrappedStatusIcon({ connector }: { connector: AbstractConnector }) { + return ( + + + {connector === portis && ( + { + portis.portis.showPortis() + }} + > + Show Portis + + )} + + ) +} + const TransactionListWrapper = styled.div` ${({ theme }) => theme.flexColumnNoWrap}; ` @@ -244,50 +258,6 @@ export default function AccountDetails({ ) } - function getStatusIcon() { - if (connector === injected) { - return ( - - - - ) - } else if (connector === walletconnect) { - return ( - - {'WalletConnect - - ) - } else if (connector === walletlink) { - return ( - - {'Coinbase - - ) - } else if (connector === fortmatic) { - return ( - - {'Fortmatic - - ) - } else if (connector === portis) { - return ( - <> - - {'Portis - { - portis.portis.showPortis() - }} - > - Show Portis - - - - ) - } - return null - } - const clearAllTransactionsCallback = useCallback(() => { if (chainId) dispatch(clearAllTransactions({ chainId })) }, [dispatch, chainId]) @@ -332,14 +302,14 @@ export default function AccountDetails({ {ENSName ? ( <>
- {getStatusIcon()} + {connector && }

{ENSName}

) : ( <>
- {getStatusIcon()} + {connector && }

{account && shortenAddress(account)}

diff --git a/src/components/Identicon/StatusIcon.tsx b/src/components/Identicon/StatusIcon.tsx new file mode 100644 index 0000000000..208031a651 --- /dev/null +++ b/src/components/Identicon/StatusIcon.tsx @@ -0,0 +1,25 @@ +import { AbstractConnector } from '@web3-react/abstract-connector' + +import CoinbaseWalletIcon from '../../assets/images/coinbaseWalletIcon.svg' +import FortmaticIcon from '../../assets/images/fortmaticIcon.png' +import PortisIcon from '../../assets/images/portisIcon.png' +import WalletConnectIcon from '../../assets/images/walletConnectIcon.svg' +import { fortmatic, injected, portis, walletconnect, walletlink } from '../../connectors' +import Identicon from '../Identicon' + +export default function StatusIcon({ connector }: { connector: AbstractConnector }) { + switch (connector) { + case injected: + return + case walletconnect: + return {'WalletConnect'} + case walletlink: + return {'Coinbase + case fortmatic: + return {'Fortmatic'} + case portis: + return {'Portis'} + default: + return null + } +} diff --git a/src/components/Identicon/index.tsx b/src/components/Identicon/index.tsx index f0015537af..f873068cd7 100644 --- a/src/components/Identicon/index.tsx +++ b/src/components/Identicon/index.tsx @@ -1,32 +1,47 @@ -import Davatar, { Image } from '@davatar/react' -import { useMemo } from 'react' +import jazzicon from '@metamask/jazzicon' +import useENSAvatar from 'hooks/useENSAvatar' +import { useEffect, useRef, useState } from 'react' import styled from 'styled-components/macro' import { useActiveWeb3React } from '../../hooks/web3' -const StyledIdenticonContainer = styled.div` +const StyledIdenticon = styled.div` height: 1rem; width: 1rem; border-radius: 1.125rem; background-color: ${({ theme }) => theme.bg4}; + font-size: initial; +` + +const StyledAvatar = styled.img` + height: inherit; + width: inherit; + border-radius: inherit; ` export default function Identicon() { - const { account, library } = useActiveWeb3React() + const ref = useRef(null) + const { account } = useActiveWeb3React() + const { avatar } = useENSAvatar(account ?? undefined) + const [fetchable, setFetchable] = useState(true) - // restrict usage of Davatar until it stops sending 3p requests - // see https://github.com/metaphor-xyz/davatar-helpers/issues/18 - const supportsENS = useMemo(() => { - return ([1, 3, 4, 5] as Array).includes(library?.network?.chainId) - }, [library]) + useEffect(() => { + if ((!avatar || !fetchable) && account) { + const icon = jazzicon(16, parseInt(account?.slice(2, 10), 16)) + const current = ref.current + current?.appendChild(icon) + return () => { + current?.removeChild(icon) + } + } + return + }, [account, avatar, fetchable]) return ( - - {account && supportsENS ? ( - - ) : ( - + + {avatar && fetchable && ( + setFetchable(false)}> )} - + ) } diff --git a/src/components/Web3Status/index.tsx b/src/components/Web3Status/index.tsx index cb62866b15..9d8900aad6 100644 --- a/src/components/Web3Status/index.tsx +++ b/src/components/Web3Status/index.tsx @@ -7,11 +7,6 @@ import { useMemo } from 'react' import { Activity } from 'react-feather' import styled, { css } from 'styled-components/macro' -import CoinbaseWalletIcon from '../../assets/images/coinbaseWalletIcon.svg' -import FortmaticIcon from '../../assets/images/fortmaticIcon.png' -import PortisIcon from '../../assets/images/portisIcon.png' -import WalletConnectIcon from '../../assets/images/walletConnectIcon.svg' -import { fortmatic, injected, portis, walletconnect, walletlink } from '../../connectors' import { NetworkContextName } from '../../constants/misc' import useENSName from '../../hooks/useENSName' import { useHasSocks } from '../../hooks/useSocksBalance' @@ -20,7 +15,7 @@ import { isTransactionRecent, useAllTransactions } from '../../state/transaction import { TransactionDetails } from '../../state/transactions/reducer' import { shortenAddress } from '../../utils' import { ButtonSecondary } from '../Button' -import Identicon from '../Identicon' +import StatusIcon from '../Identicon/StatusIcon' import Loader from '../Loader' import { RowBetween } from '../Row' import WalletModal from '../WalletModal' @@ -132,36 +127,12 @@ function Sock() { ) } -// eslint-disable-next-line react/prop-types -function StatusIcon({ connector }: { connector: AbstractConnector }) { - if (connector === injected) { - return - } else if (connector === walletconnect) { - return ( - - {'WalletConnect'} - - ) - } else if (connector === walletlink) { - return ( - - {'CoinbaseWallet'} - - ) - } else if (connector === fortmatic) { - return ( - - {'Fortmatic'} - - ) - } else if (connector === portis) { - return ( - - {'Portis'} - - ) - } - return null +function WrappedStatusIcon({ connector }: { connector: AbstractConnector }) { + return ( + + + + ) } function Web3StatusInner() { @@ -198,7 +169,7 @@ function Web3StatusInner() { {ENSName || shortenAddress(account)} )} - {!hasPendingTransactions && connector && } + {!hasPendingTransactions && connector && } ) } else if (error) { diff --git a/src/hooks/useContract.ts b/src/hooks/useContract.ts index 44a1675616..0350251325 100644 --- a/src/hooks/useContract.ts +++ b/src/hooks/useContract.ts @@ -15,6 +15,8 @@ import ENS_PUBLIC_RESOLVER_ABI from 'abis/ens-public-resolver.json' import ENS_ABI from 'abis/ens-registrar.json' import ERC20_ABI from 'abis/erc20.json' import ERC20_BYTES32_ABI from 'abis/erc20_bytes32.json' +import ERC721_ABI from 'abis/erc721.json' +import ERC1155_ABI from 'abis/erc1155.json' import GOVERNOR_BRAVO_ABI from 'abis/governor-bravo.json' import WETH_ABI from 'abis/weth.json' import { @@ -35,7 +37,7 @@ import { NonfungiblePositionManager, Quoter, UniswapInterfaceMulticall } from 't import { V3Migrator } from 'types/v3/V3Migrator' import { getContract } from 'utils' -import { ArgentWalletDetector, EnsPublicResolver, EnsRegistrar, Erc20, Weth } from '../abis/types' +import { ArgentWalletDetector, EnsPublicResolver, EnsRegistrar, Erc20, Erc721, Erc1155, Weth } from '../abis/types' import { UNI, WETH9_EXTENDED } from '../constants/tokens' import { useActiveWeb3React } from './web3' @@ -75,6 +77,14 @@ export function useWETHContract(withSignerIfPossible?: boolean) { return useContract(chainId ? WETH9_EXTENDED[chainId]?.address : undefined, WETH_ABI, withSignerIfPossible) } +export function useERC721Contract(nftAddress?: string) { + return useContract(nftAddress, ERC721_ABI, false) +} + +export function useERC1155Contract(nftAddress?: string) { + return useContract(nftAddress, ERC1155_ABI, false) +} + export function useArgentWalletDetectorContract() { return useContract(ARGENT_WALLET_DETECTOR_ADDRESS, ARGENT_WALLET_DETECTOR_ABI, false) } diff --git a/src/hooks/useENSAvatar.ts b/src/hooks/useENSAvatar.ts new file mode 100644 index 0000000000..8e6d07d16b --- /dev/null +++ b/src/hooks/useENSAvatar.ts @@ -0,0 +1,131 @@ +import { namehash } from '@ethersproject/hash' +import { useEffect, useMemo, useState } from 'react' +import uriToHttp from 'utils/uriToHttp' + +import { useSingleCallResult } from '../state/multicall/hooks' +import { isAddress } from '../utils' +import isZero from '../utils/isZero' +import { useENSRegistrarContract, useENSResolverContract, useERC721Contract, useERC1155Contract } from './useContract' +import useDebounce from './useDebounce' +import useENSName from './useENSName' +import { useActiveWeb3React } from './web3' + +/** + * Returns the ENS avatar URI, if available. + * Spec: https://gist.github.com/Arachnid/9db60bd75277969ee1689c8742b75182. + */ +export default function useENSAvatar( + address?: string, + enforceOwnership = true +): { avatar: string | null; loading: boolean } { + const debouncedAddress = useDebounce(address, 200) + const node = useMemo(() => { + if (!debouncedAddress || !isAddress(debouncedAddress)) return undefined + try { + return debouncedAddress ? namehash(`${debouncedAddress.toLowerCase().substr(2)}.addr.reverse`) : undefined + } catch (error) { + return undefined + } + }, [debouncedAddress]) + + const addressAvatar = useAvatarFromNode(node) + const nameAvatar = useAvatarFromNode(namehash(useENSName(address).ENSName ?? '')) + let avatar = addressAvatar.avatar || nameAvatar.avatar + + const nftAvatar = useAvatarFromNFT(avatar, enforceOwnership) + avatar = nftAvatar.avatar || avatar + + const http = avatar && uriToHttp(avatar)[0] + + const changed = debouncedAddress !== address + return { + avatar: changed ? null : http ?? null, + loading: changed || addressAvatar.loading || nameAvatar.loading || nftAvatar.loading, + } +} + +function useAvatarFromNode(node?: string): { avatar?: string; loading: boolean } { + const nodeArgument = useMemo(() => [node], [node]) + const textArgument = useMemo(() => [node, 'avatar'], [node]) + const registrarContract = useENSRegistrarContract(false) + const resolverAddress = useSingleCallResult(registrarContract, 'resolver', nodeArgument) + const resolverAddressResult = resolverAddress.result?.[0] + const resolverContract = useENSResolverContract( + resolverAddressResult && !isZero(resolverAddressResult) ? resolverAddressResult : undefined, + false + ) + const avatar = useSingleCallResult(resolverContract, 'text', textArgument) + + return { + avatar: avatar.result?.[0], + loading: resolverAddress.loading || avatar.loading, + } +} + +function useAvatarFromNFT(nftUri = '', enforceOwnership: boolean): { avatar?: string; loading: boolean } { + const parts = nftUri.toLowerCase().split(':') + const protocol = parts[0] + // ignore the chain from eip155 + // TODO: when we are able, pull only from the specified chain + const [, erc] = parts[1]?.split('/') ?? [] + const [contractAddress, id] = parts[2]?.split('/') ?? [] + const isERC721 = protocol === 'eip155' && erc === 'erc721' + const isERC1155 = protocol === 'eip155' && erc === 'erc1155' + const erc721 = useERC721Uri(isERC721 ? contractAddress : undefined, id, enforceOwnership) + const erc1155 = useERC1155Uri(isERC1155 ? contractAddress : undefined, id, enforceOwnership) + const uri = erc721.uri || erc1155.uri + const http = uri && uriToHttp(uri)[0] + + const [loading, setLoading] = useState(false) + const [avatar, setAvatar] = useState(undefined) + useEffect(() => { + setAvatar(undefined) + if (http) { + setLoading(true) + fetch(http) + .then((res) => res.json()) + .then(({ image }) => { + setAvatar(image) + }) + .catch((e) => console.warn(e)) + .finally(() => { + setLoading(false) + }) + } + }, [http]) + + return { avatar, loading: erc721.loading || erc1155.loading || loading } +} + +function useERC721Uri( + contractAddress: string | undefined, + id: string | undefined, + enforceOwnership: boolean +): { uri?: string; loading: boolean } { + const idArgument = useMemo(() => [id], [id]) + const { account } = useActiveWeb3React() + const contract = useERC721Contract(contractAddress) + const owner = useSingleCallResult(contract, 'ownerOf', idArgument) + const uri = useSingleCallResult(contract, 'tokenURI', idArgument) + return { + uri: !enforceOwnership || account === owner.result?.[0] ? uri.result?.[0] : undefined, + loading: owner.loading || uri.loading, + } +} + +function useERC1155Uri( + contractAddress: string | undefined, + id: string | undefined, + enforceOwnership: boolean +): { uri?: string; loading: boolean } { + const { account } = useActiveWeb3React() + const idArgument = useMemo(() => [id], [id]) + const accountArgument = useMemo(() => [account || '', id], [account, id]) + const contract = useERC1155Contract(contractAddress) + const balance = useSingleCallResult(contract, 'balanceOf', accountArgument) + const uri = useSingleCallResult(contract, 'uri', idArgument) + return { + uri: !enforceOwnership || balance.result?.[0] > 0 ? uri.result?.[0] : undefined, + loading: balance.loading || uri.loading, + } +} diff --git a/src/utils/uriToHttp.ts b/src/utils/uriToHttp.ts index 8d334b0f87..1bff146647 100644 --- a/src/utils/uriToHttp.ts +++ b/src/utils/uriToHttp.ts @@ -1,10 +1,12 @@ /** - * Given a URI that may be ipfs, ipns, http, or https protocol, return the fetch-able http(s) URLs for the same content + * Given a URI that may be ipfs, ipns, http, https, or data protocol, return the fetch-able http(s) URLs for the same content * @param uri to convert to fetch-able http url */ export default function uriToHttp(uri: string): string[] { const protocol = uri.split(':')[0].toLowerCase() switch (protocol) { + case 'data': + return [uri] case 'https': return [uri] case 'http': @@ -15,6 +17,9 @@ export default function uriToHttp(uri: string): string[] { case 'ipns': const name = uri.match(/^ipns:(\/\/)?(.*)$/i)?.[2] return [`https://cloudflare-ipfs.com/ipns/${name}/`, `https://ipfs.io/ipns/${name}/`] + case 'ar': + const tx = uri.match(/^ipns:(\/\/)?(.*)$/i)?.[2] + return [`https://arweave.net/${tx}`] default: return [] } diff --git a/yarn.lock b/yarn.lock index e21a4c6cd6..c1f384bd8b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1329,19 +1329,6 @@ debug "^3.1.0" lodash.once "^4.1.1" -"@davatar/react@1.8.1": - version "1.8.1" - resolved "https://registry.yarnpkg.com/@davatar/react/-/react-1.8.1.tgz#2fe3e619422a46092c57025328be56b1e911550e" - integrity sha512-vq9zNwAfnZCoY8W2eAbjWP1GPQutUfdxG+lKG2fAPqNFP2qrzDhIziKyCKtt7jwaXp79P1Cy1Gjzlvs1XkzwOQ== - dependencies: - "@ethersproject/contracts" "^5.4.1" - "@ethersproject/providers" "^5.4.5" - "@types/react-blockies" "^1.4.1" - bn.js "^5.2.0" - color "^3.2.1" - mersenne-twister "^1.1.0" - react-blockies "^1.4.1" - "@emotion/cache@^10.0.27": version "10.0.29" resolved "https://registry.npmjs.org/@emotion/cache/-/cache-10.0.29.tgz" @@ -1562,7 +1549,7 @@ dependencies: "@ethersproject/bignumber" "^5.4.0" -"@ethersproject/contracts@5.4.1", "@ethersproject/contracts@^5.4.1": +"@ethersproject/contracts@5.4.1": version "5.4.1" resolved "https://registry.yarnpkg.com/@ethersproject/contracts/-/contracts-5.4.1.tgz#3eb4f35b7fe60a962a75804ada2746494df3e470" integrity sha512-m+z2ZgPy4pyR15Je//dUaymRUZq5MtDajF6GwFbGAVmKz/RF+DNIPwF0k5qEcL3wPGVqUjFg2/krlCRVTU4T5w== @@ -1673,7 +1660,7 @@ dependencies: "@ethersproject/logger" "^5.4.0" -"@ethersproject/providers@5.4.5", "@ethersproject/providers@^5.4.5": +"@ethersproject/providers@5.4.5": version "5.4.5" resolved "https://registry.yarnpkg.com/@ethersproject/providers/-/providers-5.4.5.tgz#eb2ea2a743a8115f79604a8157233a3a2c832928" integrity sha512-1GkrvkiAw3Fj28cwi1Sqm8ED1RtERtpdXmRfwIBGmqBSN5MoeRUHuwHPppMtbPayPgpFcvD7/Gdc9doO5fGYgw== @@ -3034,6 +3021,14 @@ "@babel/runtime" "^7.11.2" "@lingui/core" "^3.9.0" +"@metamask/jazzicon@^2.0.0": + version "2.0.0" + resolved "https://registry.yarnpkg.com/@metamask/jazzicon/-/jazzicon-2.0.0.tgz#5615528e91c0fc5c9d79202d1f0954a7922525a0" + integrity sha512-7M+WSZWKcQAo0LEhErKf1z+D3YX0tEDAcGvcKbDyvDg34uvgeKR00mFNIYwAhdAS9t8YXxhxZgsrRBBg6X8UQg== + dependencies: + color "^0.11.3" + mersenne-twister "^1.1.0" + "@metamask/safe-event-emitter@2.0.0", "@metamask/safe-event-emitter@^2.0.0": version "2.0.0" resolved "https://registry.npmjs.org/@metamask/safe-event-emitter/-/safe-event-emitter-2.0.0.tgz" @@ -4202,13 +4197,6 @@ resolved "https://registry.yarnpkg.com/@types/qs/-/qs-6.9.7.tgz#63bb7d067db107cc1e457c303bc25d511febf6cb" integrity sha512-FGa1F62FT09qcrueBA6qYTrJPVDzah9a+493+o2PCXsesWHIn27G98TsSMs3WPNbZIEj4+VJf6saSFpvD+3Zsw== -"@types/react-blockies@^1.4.1": - version "1.4.1" - resolved "https://registry.yarnpkg.com/@types/react-blockies/-/react-blockies-1.4.1.tgz#d5f6fff8ece3e90f2e7708f8f3156c87333312df" - integrity sha512-aDX0g0hwzdodkGLSDNUQr6gXxwclGjnhS8jhsR8uQhAfe/7i3GZD/NDcSlQ2SiQiLhfRxX3NlY+nvBwf5Y0tTg== - dependencies: - "@types/react" "*" - "@types/react-dom@>=16.9.0", "@types/react-dom@^17.0.1": version "17.0.9" resolved "https://registry.yarnpkg.com/@types/react-dom/-/react-dom-17.0.9.tgz#441a981da9d7be117042e1a6fd3dac4b30f55add" @@ -6746,7 +6734,7 @@ bn.js@^4.0.0, bn.js@^4.1.0, bn.js@^4.10.0, bn.js@^4.11.0, bn.js@^4.11.1, bn.js@^ resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-4.12.0.tgz#775b3f278efbb9718eec7361f483fb36fbbfea88" integrity sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA== -bn.js@^5.0.0, bn.js@^5.1.1, bn.js@^5.2.0: +bn.js@^5.0.0, bn.js@^5.1.1: version "5.2.0" resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-5.2.0.tgz#358860674396c6997771a9d051fcc1b57d4ae002" integrity sha512-D7iWRBvnZE8ecXiLj/9wbxH7Tk79fAh8IHaTNq1RWRixsS02W+5qS+iE9yq6RYl0asXx5tw0bLhmT5pIfbSquw== @@ -7640,7 +7628,7 @@ collection-visit@^1.0.0: map-visit "^1.0.0" object-visit "^1.0.0" -color-convert@^1.9.0, color-convert@^1.9.3: +color-convert@^1.3.0, color-convert@^1.9.0, color-convert@^1.9.3: version "1.9.3" resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-1.9.3.tgz#bb71850690e1f136567de629d2d5471deda4c1e8" integrity sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg== @@ -7664,6 +7652,13 @@ color-name@^1.0.0, color-name@~1.1.4: resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.4.tgz#c2a09a87acbde69543de6f63fa3995c826c536a2" integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA== +color-string@^0.3.0: + version "0.3.0" + resolved "https://registry.yarnpkg.com/color-string/-/color-string-0.3.0.tgz#27d46fb67025c5c2fa25993bfbf579e47841b991" + integrity sha1-J9RvtnAlxcL6JZk7+/V55HhBuZE= + dependencies: + color-name "^1.0.0" + color-string@^1.6.0: version "1.6.0" resolved "https://registry.yarnpkg.com/color-string/-/color-string-1.6.0.tgz#c3915f61fe267672cb7e1e064c9d692219f6c312" @@ -7672,7 +7667,16 @@ color-string@^1.6.0: color-name "^1.0.0" simple-swizzle "^0.2.2" -color@^3.0.0, color@^3.2.1: +color@^0.11.3: + version "0.11.4" + resolved "https://registry.yarnpkg.com/color/-/color-0.11.4.tgz#6d7b5c74fb65e841cd48792ad1ed5e07b904d764" + integrity sha1-bXtcdPtl6EHNSHkq0e1eB7kE12Q= + dependencies: + clone "^1.0.2" + color-convert "^1.3.0" + color-string "^0.3.0" + +color@^3.0.0: version "3.2.1" resolved "https://registry.yarnpkg.com/color/-/color-3.2.1.tgz#3544dc198caf4490c3ecc9a790b54fe9ff45e164" integrity sha512-aBl7dZI9ENN6fUGC7mWpMTPNHmWUSNan9tuWN6ahh5ZLNk9baLJOnSMlrQkHcrfFgz2/RigjUVAjdx36VcemKA== @@ -14330,7 +14334,7 @@ meros@1.1.4: mersenne-twister@^1.1.0: version "1.1.0" - resolved "https://registry.npmjs.org/mersenne-twister/-/mersenne-twister-1.1.0.tgz" + resolved "https://registry.yarnpkg.com/mersenne-twister/-/mersenne-twister-1.1.0.tgz#f916618ee43d7179efcf641bec4531eb9670978a" integrity sha1-+RZhjuQ9cXnvz2Qb7EUx65Zwl4o= messageformat-parser@^4.1.3: @@ -16884,7 +16888,7 @@ prompts@^2.0.1: kleur "^3.0.3" sisteransi "^1.0.5" -prop-types@^15.5.10, prop-types@^15.5.8, prop-types@^15.6.2, prop-types@^15.7.2: +prop-types@^15.5.8, prop-types@^15.6.2, prop-types@^15.7.2: version "15.7.2" resolved "https://registry.npmjs.org/prop-types/-/prop-types-15.7.2.tgz" integrity sha512-8QQikdH7//R2vurIJSutZ1smHYTcLpRWEOlHnzcWHmBYrOGUysKwSsrC89BCiFj3CbrfJ/nXFdJepOVrY1GCHQ== @@ -17156,13 +17160,6 @@ react-app-polyfill@^2.0.0: regenerator-runtime "^0.13.7" whatwg-fetch "^3.4.1" -react-blockies@^1.4.1: - version "1.4.1" - resolved "https://registry.yarnpkg.com/react-blockies/-/react-blockies-1.4.1.tgz#d4f0faf95ac197213a297a370a4d7f77ea3d0b08" - integrity sha512-4N015X5oPNnD3xQPsiqolOFzPZSSWyc5mJhJUZShUCHtiGUxVN+1qsWTcglkHMNySux9hUofaispqcw9QkWP5Q== - dependencies: - prop-types "^15.5.10" - react-clientside-effect@^1.2.2: version "1.2.5" resolved "https://registry.npmjs.org/react-clientside-effect/-/react-clientside-effect-1.2.5.tgz" From 5a3c91f19f1ac0dff5fdfd838638e7b05ccec682 Mon Sep 17 00:00:00 2001 From: Kimmo S Date: Tue, 23 Nov 2021 16:04:14 +0100 Subject: [PATCH 057/378] Update locales.ts (#2825) update Finnish from person (Suomalainen) to language (suomi) --- src/constants/locales.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/constants/locales.ts b/src/constants/locales.ts index 1cf8a14eea..3673550417 100644 --- a/src/constants/locales.ts +++ b/src/constants/locales.ts @@ -49,7 +49,7 @@ export const LOCALE_LABEL: { [locale in SupportedLocale]: string } = { 'el-GR': 'ελληνικά', 'en-US': 'English', 'es-ES': 'Español', - 'fi-FI': 'Suomalainen', + 'fi-FI': 'suomi', 'fr-FR': 'français', 'he-IL': 'עִברִית', 'hu-HU': 'Magyar', From 5a4c7890c65f598a9e757d1d606fd2a59f5b1015 Mon Sep 17 00:00:00 2001 From: Crowdin Bot Date: Thu, 25 Nov 2021 20:06:51 +0000 Subject: [PATCH 058/378] chore(i18n): synchronize translations from crowdin [skip ci] --- src/locales/ru-RU.po | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/locales/ru-RU.po b/src/locales/ru-RU.po index 18621b20be..8ca11728bb 100644 --- a/src/locales/ru-RU.po +++ b/src/locales/ru-RU.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-18 19:06\n" +"PO-Revision-Date: 2021-11-25 20:06\n" "Last-Translator: \n" "Language: ru_RU\n" "Language-Team: Russian\n" @@ -305,11 +305,11 @@ msgstr "Подходит для большинства пар." #: src/components/FeeSelector/shared.tsx msgid "Best for stable pairs." -msgstr "Подходит для пар стейблкоинов." +msgstr "Подходит для стабильных пар." #: src/components/FeeSelector/shared.tsx msgid "Best for very stable pairs." -msgstr "Подходит для пар очень стабильных стейблкоинов." +msgstr "Подходит для очень стабильных пар." #: src/components/Blocklist/index.tsx msgid "Blocked address" From b1009b0e036c1dcc734b9e5592a7285d9a202b8f Mon Sep 17 00:00:00 2001 From: Moody Salem Date: Sun, 28 Nov 2021 12:07:51 -0500 Subject: [PATCH 059/378] chore: fix the build blocking linter error --- src/state/application/updater.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/state/application/updater.ts b/src/state/application/updater.ts index 757fc0de2d..cae7ca1b13 100644 --- a/src/state/application/updater.ts +++ b/src/state/application/updater.ts @@ -23,7 +23,7 @@ function useQueryCacheInvalidator() { } export default function Updater(): null { - const { account, chainId, library, connector } = useActiveWeb3React() + const { account, chainId, library } = useActiveWeb3React() const dispatch = useAppDispatch() const windowVisible = useIsWindowVisible() From f7ecdc4332a3bb2cbd21c14718bba79ff66361f6 Mon Sep 17 00:00:00 2001 From: Moody Salem Date: Sun, 28 Nov 2021 12:30:58 -0500 Subject: [PATCH 060/378] chore: run linters with auto_fix = false for forks (#2852) --- .github/workflows/lint.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index fd1217f102..4ed1b23e59 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -11,7 +11,6 @@ on: jobs: run-linters: name: Run linters - if: ${{ github.event_name != 'pull_request' || github.event.pull_request.head.repo.owner.login == github.repository_owner }} runs-on: ubuntu-latest steps: @@ -45,4 +44,4 @@ jobs: github_token: ${{ secrets.github_token }} eslint: true eslint_extensions: js,jsx,ts,tsx,json - auto_fix: true + auto_fix: ${{ github.event_name != 'pull_request' || github.event.pull_request.head.repo.owner.login == github.repository_owner }} From 6b57ffe3119a292c648d7e73ec40bf87a8ea2fbe Mon Sep 17 00:00:00 2001 From: Moody Salem Date: Mon, 29 Nov 2021 12:44:14 -0500 Subject: [PATCH 061/378] fix: do not show urls if issue is not occurring on app.uniswap.org (#2855) * fix: do not show urls if issue is not occurring on app.uniswap.org fixes https://github.com/Uniswap/interface/issues/2572 * address comment --- src/components/ErrorBoundary/index.tsx | 53 ++++++++++++++------------ 1 file changed, 29 insertions(+), 24 deletions(-) diff --git a/src/components/ErrorBoundary/index.tsx b/src/components/ErrorBoundary/index.tsx index ebcf87590f..c0acccaf0d 100644 --- a/src/components/ErrorBoundary/index.tsx +++ b/src/components/ErrorBoundary/index.tsx @@ -47,6 +47,8 @@ type ErrorBoundaryState = { error: Error | null } +const IS_UNISWAP = window.location.hostname === 'app.uniswap.org' + export default class ErrorBoundary extends React.Component { constructor(props: unknown) { super(props) @@ -67,6 +69,7 @@ export default class ErrorBoundary extends React.Component{error.stack}
- - - - - Create an issue on GitHub - - - - - - - - Get support on Discord - - - - - + {IS_UNISWAP ? ( + + + + + Create an issue on GitHub + + + + + + + + Get support on Discord + + + + + + ) : null} From 709f0299e2f8bcd369477fe64383915e1b260d4f Mon Sep 17 00:00:00 2001 From: Zach Pomerantz Date: Mon, 29 Nov 2021 12:15:08 -0800 Subject: [PATCH 062/378] fix: remove orphaned node (#2863) * fix: remove orphaned node * fix: react cleanup --- src/components/Identicon/index.tsx | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/src/components/Identicon/index.tsx b/src/components/Identicon/index.tsx index f873068cd7..095fcbfa2a 100644 --- a/src/components/Identicon/index.tsx +++ b/src/components/Identicon/index.tsx @@ -1,6 +1,6 @@ import jazzicon from '@metamask/jazzicon' import useENSAvatar from 'hooks/useENSAvatar' -import { useEffect, useRef, useState } from 'react' +import { useCallback, useState } from 'react' import styled from 'styled-components/macro' import { useActiveWeb3React } from '../../hooks/web3' @@ -20,27 +20,28 @@ const StyledAvatar = styled.img` ` export default function Identicon() { - const ref = useRef(null) const { account } = useActiveWeb3React() const { avatar } = useENSAvatar(account ?? undefined) const [fetchable, setFetchable] = useState(true) - useEffect(() => { - if ((!avatar || !fetchable) && account) { - const icon = jazzicon(16, parseInt(account?.slice(2, 10), 16)) - const current = ref.current - current?.appendChild(icon) - return () => { - current?.removeChild(icon) + const setJazzicon = useCallback( + (ref: HTMLSpanElement | null) => { + if (account) { + ref?.appendChild(jazzicon(16, parseInt(account?.slice(2, 10), 16))) } - } - return - }, [account, avatar, fetchable]) + }, + [account] + ) return ( - - {avatar && fetchable && ( + + {avatar && fetchable ? ( setFetchable(false)}> + ) : ( + )} ) From efdfdc90835f0e38e1fdb4a61e74e69e41799d9f Mon Sep 17 00:00:00 2001 From: Zach Pomerantz Date: Mon, 29 Nov 2021 15:49:01 -0800 Subject: [PATCH 063/378] refactor: use ref for jazzicon (#2874) --- src/components/Identicon/index.tsx | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/src/components/Identicon/index.tsx b/src/components/Identicon/index.tsx index 095fcbfa2a..01043ebbd4 100644 --- a/src/components/Identicon/index.tsx +++ b/src/components/Identicon/index.tsx @@ -1,6 +1,6 @@ import jazzicon from '@metamask/jazzicon' import useENSAvatar from 'hooks/useENSAvatar' -import { useCallback, useState } from 'react' +import { useLayoutEffect, useMemo, useRef, useState } from 'react' import styled from 'styled-components/macro' import { useActiveWeb3React } from '../../hooks/web3' @@ -24,24 +24,25 @@ export default function Identicon() { const { avatar } = useENSAvatar(account ?? undefined) const [fetchable, setFetchable] = useState(true) - const setJazzicon = useCallback( - (ref: HTMLSpanElement | null) => { - if (account) { - ref?.appendChild(jazzicon(16, parseInt(account?.slice(2, 10), 16))) + const icon = useMemo(() => account && jazzicon(16, parseInt(account.slice(2, 10), 16)), [account]) + const iconRef = useRef(null) + useLayoutEffect(() => { + const current = iconRef.current + if (icon) { + current?.appendChild(icon) + return () => { + current?.removeChild(icon) } - }, - [account] - ) + } + return + }, [icon, iconRef]) return ( {avatar && fetchable ? ( setFetchable(false)}> ) : ( - + )} ) From f43fd89884c9dd8397f03e4db997b6d0d0be8c46 Mon Sep 17 00:00:00 2001 From: Crowdin Bot Date: Tue, 30 Nov 2021 02:11:35 +0000 Subject: [PATCH 064/378] chore(i18n): synchronize translations from crowdin [skip ci] --- src/locales/ja-JP.po | 10 +++++----- src/locales/zh-CN.po | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/locales/ja-JP.po b/src/locales/ja-JP.po index 94cf303734..baea2cabb5 100644 --- a/src/locales/ja-JP.po +++ b/src/locales/ja-JP.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-18 19:06\n" +"PO-Revision-Date: 2021-11-30 02:11\n" "Last-Translator: \n" "Language: ja_JP\n" "Language-Team: Japanese\n" @@ -309,7 +309,7 @@ msgstr "安定的なペアに最適" #: src/components/FeeSelector/shared.tsx msgid "Best for very stable pairs." -msgstr "非常に安定したペアに最適です。" +msgstr "非常に安定したペアに最適" #: src/components/Blocklist/index.tsx msgid "Blocked address" @@ -329,7 +329,7 @@ msgstr "このリストを追加することで、データが正しいことを #: src/components/WalletModal/index.tsx msgid "By connecting a wallet, you agree to Uniswap Labs’ <0>Terms of Service and acknowledge that you have read and understand the Uniswap <1>Protocol Disclaimer." -msgstr "財布を接続することにより、あなたはUniswap Labsのに同意 <0>サービス規約 、あなたが読んでUniswap理解していることを認める <1>プロトコル免責事項。" +msgstr "ウォレットを接続することにより、あなたはUniswap Labsのに <0>サービス規約に同意し、あなたがUniswap<1>プロトコル免責事項を読み、理解していることに同意するものとします。" #: src/pages/Vote/styled.tsx msgid "Canceled" @@ -1541,7 +1541,7 @@ msgstr "スワップ" #: src/components/AccountDetails/TransactionSummary.tsx msgid "Swap <0/> for exactly <1/>" -msgstr "<0/> を <1/>に正確にスワップする" +msgstr "<0/> を <1/>にスワップ" #: src/pages/Swap/index.tsx #: src/pages/Swap/index.tsx @@ -1550,7 +1550,7 @@ msgstr "問題発生の可能性があるが、スワップする" #: src/components/AccountDetails/TransactionSummary.tsx msgid "Swap exactly <0/> for <1/>" -msgstr "正確に<0/>を<1/>に交換します" +msgstr "<0/>を<1/>にスワップ" #: src/hooks/useSwapCallback.tsx #: src/hooks/useSwapCallback.tsx diff --git a/src/locales/zh-CN.po b/src/locales/zh-CN.po index 7ea6bfcf04..8fd76f4dc3 100644 --- a/src/locales/zh-CN.po +++ b/src/locales/zh-CN.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: uniswap-interface\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2021-11-18 19:06\n" +"PO-Revision-Date: 2021-11-30 02:11\n" "Last-Translator: \n" "Language: zh_CN\n" "Language-Team: Chinese Simplified\n" From 876c1539d46974bf513b3d064d2967d309607b7f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 30 Nov 2021 11:38:15 -0500 Subject: [PATCH 065/378] chore(deps): bump ws from 5.2.2 to 5.2.3 (#2759) Bumps [ws](https://github.com/websockets/ws) from 5.2.2 to 5.2.3. - [Release notes](https://github.com/websockets/ws/releases) - [Commits](https://github.com/websockets/ws/compare/5.2.2...5.2.3) --- updated-dependencies: - dependency-name: ws dependency-type: indirect ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- yarn.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yarn.lock b/yarn.lock index c1f384bd8b..e42cbbfe39 100644 --- a/yarn.lock +++ b/yarn.lock @@ -21201,9 +21201,9 @@ ws@>=7.4.6: integrity sha512-wBuoj1BDpC6ZQ1B7DWQBYVLphPWkm8i9Y0/3YdHjHKHiohOJ1ws+3OccDWtH+PoC9DZD5WOTrJvNbWvjS6JWaA== ws@^5.1.1: - version "5.2.2" - resolved "https://registry.npmjs.org/ws/-/ws-5.2.2.tgz" - integrity sha512-jaHFD6PFv6UgoIVda6qZllptQsMlDEJkTQcybzzXDYM1XO9Y8em691FGMPmM46WGyLU4z9KMgQN+qrux/nhlHA== + version "5.2.3" + resolved "https://registry.yarnpkg.com/ws/-/ws-5.2.3.tgz#05541053414921bc29c63bee14b8b0dd50b07b3d" + integrity sha512-jZArVERrMsKUatIdnLzqvcfydI85dvd/Fp1u/VOpfdDWQ4c9qWXe+VIeAbQ5FrDwciAkr+lzofXLz3Kuf26AOA== dependencies: async-limiter "~1.0.0" From 82a079935e46c81ae6faaa8de04675f840b1ada9 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 30 Nov 2021 11:40:15 -0500 Subject: [PATCH 066/378] chore(deps): bump url-parse from 1.5.1 to 1.5.3 (#2504) Bumps [url-parse](https://github.com/unshiftio/url-parse) from 1.5.1 to 1.5.3. - [Release notes](https://github.com/unshiftio/url-parse/releases) - [Commits](https://github.com/unshiftio/url-parse/compare/1.5.1...1.5.3) --- updated-dependencies: - dependency-name: url-parse dependency-type: indirect ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- yarn.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yarn.lock b/yarn.lock index e42cbbfe39..0fca1ff0ad 100644 --- a/yarn.lock +++ b/yarn.lock @@ -20372,9 +20372,9 @@ url-parse-lax@^3.0.0: prepend-http "^2.0.0" url-parse@^1.4.3, url-parse@^1.5.1: - version "1.5.1" - resolved "https://registry.yarnpkg.com/url-parse/-/url-parse-1.5.1.tgz#d5fa9890af8a5e1f274a2c98376510f6425f6e3b" - integrity sha512-HOfCOUJt7iSYzEx/UqgtwKRMC6EU91NFhsCHMv9oM03VJcVo2Qrp8T8kI9D7amFf1cu+/3CEhgb3rF9zL7k85Q== + version "1.5.3" + resolved "https://registry.yarnpkg.com/url-parse/-/url-parse-1.5.3.tgz#71c1303d38fb6639ade183c2992c8cc0686df862" + integrity sha512-IIORyIQD9rvj0A4CLWsHkBBJuNqWpFQe224b6j9t/ABmquIS0qDU2pY6kl6AuOrL5OkCXHMCFNe1jBcuAggjvQ== dependencies: querystringify "^2.1.1" requires-port "^1.0.0" From 0e25c055fb20f9d249c762ca326e4739e6c315d9 Mon Sep 17 00:00:00 2001 From: Justin Domingue Date: Tue, 30 Nov 2021 11:44:40 -0500 Subject: [PATCH 067/378] add more tests for tryParseTick (#2110) --- src/state/mint/v3/utils.test.ts | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/src/state/mint/v3/utils.test.ts b/src/state/mint/v3/utils.test.ts index dacf70af9a..6cde1da04f 100644 --- a/src/state/mint/v3/utils.test.ts +++ b/src/state/mint/v3/utils.test.ts @@ -16,7 +16,7 @@ describe('hooks', () => { expect(tryParsePrice(baseToken, quoteToken, '20.')).toEqual(undefined) }) - it('should return a price', () => { + it('should return a price when decimals are the same', () => { const baseToken = new Token(1, '0x6b175474e89094c44da98b954eedeac495271d0f', 6) const quoteToken = new Token(1, '0x1b175474e89094c44da98b954eedeac495271d0f', 6) @@ -36,5 +36,26 @@ describe('hooks', () => { tryParsePrice(baseToken, quoteToken, /* ~2^-128 */ '0.000000000000000000000000000587747')?.toSignificant(6) ).toEqual('0.000000000000000000000000000587747') }) + + it('should return a price when decimals are different', () => { + const baseToken = new Token(1, '0x6b175474e89094c44da98b954eedeac495271d0f', 2) + const quoteToken = new Token(1, '0x1b175474e89094c44da98b954eedeac495271d0f', 4) + + expect(tryParsePrice(baseToken, quoteToken, '20')?.toSignificant(6)).toEqual('20') + expect(tryParsePrice(baseToken, quoteToken, '20.05')?.toSignificant(6)).toEqual('20.05') + expect(tryParsePrice(baseToken, quoteToken, '20.123456789')?.toSignificant(6)).toEqual('20.1235') + expect(tryParsePrice(baseToken, quoteToken, '0.123456789')?.toSignificant(6)).toEqual('0.123457') + expect(tryParsePrice(baseToken, quoteToken, '.123456789')?.toSignificant(6)).toEqual('0.123457') + expect( + tryParsePrice( + baseToken, + quoteToken, + (2 ** 128).toLocaleString('fullwide', { useGrouping: false }) + )?.toSignificant(6) + ).toEqual('340282000000000000000000000000000000000') + expect( + tryParsePrice(baseToken, quoteToken, /* ~2^-128 */ '0.000000000000000000000000000587747')?.toSignificant(6) + ).toEqual('0.000000000000000000000000000587747') + }) }) }) From 745be977efc24be72f75d8123d9dcaa5faa4baf9 Mon Sep 17 00:00:00 2001 From: Moody Salem Date: Tue, 30 Nov 2021 15:20:59 -0500 Subject: [PATCH 068/378] fix(lint): clean up the eslint config (#2886) * fix(lint): clean up the eslint config * Fix code style issues with ESLint * fix the linter errors that arose from using the proper config * clean up the rebass text renames * fix if statement, use the config * use the same name prefix for both steps * `TextPreset` -> `ThemedText` Co-authored-by: Lint Action --- .eslintrc.json | 22 +++- .github/workflows/lint.yml | 11 +- cypress/support/commands.js | 1 + lingui.config.ts | 4 +- package.json | 6 - .../AccountDetails/TransactionSummary.tsx | 6 +- src/components/AccountDetails/index.tsx | 10 +- src/components/AddressInputPanel/index.tsx | 9 +- .../CurrencyInputPanel/FiatValue.tsx | 6 +- src/components/CurrencyInputPanel/index.tsx | 10 +- src/components/ErrorBoundary/index.tsx | 18 +-- src/components/FeeSelector/FeeOption.tsx | 8 +- .../FeeSelector/FeeTierPercentageBadge.tsx | 6 +- src/components/FeeSelector/index.tsx | 14 +-- src/components/Header/Polling.tsx | 4 +- src/components/Header/UniBalanceContent.tsx | 42 +++---- src/components/Header/index.tsx | 6 +- .../InputStepCounter/InputStepCounter.tsx | 6 +- .../LiquidityChartRangeInput/Area.tsx | 2 +- .../LiquidityChartRangeInput/index.tsx | 6 +- src/components/ModalViews/index.tsx | 10 +- src/components/NavigationTabs/index.tsx | 6 +- src/components/Popups/ClaimPopup.tsx | 16 +-- src/components/Popups/TransactionPopup.tsx | 8 +- src/components/PositionCard/index.tsx | 6 +- src/components/PositionPreview/index.tsx | 66 +++++------ src/components/PrivacyPolicy/index.tsx | 24 ++-- src/components/ProgressSteps/index.tsx | 4 +- .../RangeSelector/PresetsButtons.tsx | 6 +- .../RoutingDiagram/RoutingDiagram.tsx | 8 +- src/components/SearchModal/BlockedToken.tsx | 8 +- src/components/SearchModal/CurrencyList.tsx | 10 +- src/components/SearchModal/CurrencySearch.tsx | 10 +- src/components/SearchModal/ImportList.tsx | 40 +++---- src/components/SearchModal/ImportRow.tsx | 16 +-- src/components/SearchModal/ImportToken.tsx | 10 +- src/components/SearchModal/ManageLists.tsx | 18 +-- src/components/SearchModal/ManageTokens.tsx | 22 ++-- .../SearchModal/TokenImportCard.tsx | 20 ++-- src/components/Settings/index.tsx | 10 +- src/components/SwitchLocaleLink/index.tsx | 4 +- src/components/Toggle/ListToggle.tsx | 4 +- .../TransactionConfirmationModal/index.tsx | 6 +- src/components/TransactionSettings/index.tsx | 14 +-- src/components/WalletModal/index.tsx | 14 +-- src/components/claim/AddressClaimModal.tsx | 34 +++--- src/components/claim/ClaimModal.tsx | 48 ++++---- src/components/earn/ClaimRewardModal.tsx | 30 ++--- src/components/earn/PoolCard.tsx | 30 ++--- src/components/earn/StakingModal.tsx | 30 ++--- src/components/earn/UnstakingModal.tsx | 46 ++++---- src/components/swap/AdvancedSwapDetails.tsx | 34 +++--- src/components/swap/RouterLabel.tsx | 8 +- src/components/swap/SwapHeader.tsx | 6 +- src/components/swap/SwapModalHeader.tsx | 34 +++--- src/components/swap/SwapRoute.tsx | 10 +- src/components/swap/TradePrice.tsx | 6 +- .../swap/UnsupportedCurrencyFooter.tsx | 18 +-- src/components/swap/styleds.tsx | 4 +- src/components/vote/DelegateModal.tsx | 32 +++--- src/components/vote/ProposalEmptyState.tsx | 10 +- src/components/vote/VoteModal.tsx | 32 +++--- src/connectors/Fortmatic.ts | 8 +- src/constants/governance.ts | 2 +- src/hooks/useERC20Permit.ts | 14 +-- src/hooks/useMonitoringEventCallback.ts | 2 +- src/pages/AddLiquidity/index.tsx | 78 ++++++------- .../AddLiquidityV2/ConfirmAddModalBottom.tsx | 34 +++--- src/pages/AddLiquidityV2/PoolPriceBar.tsx | 10 +- src/pages/AddLiquidityV2/index.tsx | 30 ++--- .../ProposalSubmissionModal.tsx | 6 +- src/pages/CreateProposal/index.tsx | 6 +- src/pages/Earn/Countdown.tsx | 6 +- src/pages/Earn/Manage.tsx | 62 +++++----- src/pages/Earn/index.tsx | 18 +-- src/pages/MigrateV2/MigrateV2Pair.tsx | 101 +++++++++-------- src/pages/MigrateV2/index.tsx | 20 ++-- src/pages/Pool/CTACards.tsx | 12 +- src/pages/Pool/PositionPage.tsx | 106 +++++++++--------- src/pages/Pool/index.tsx | 18 +-- src/pages/Pool/v2.tsx | 34 +++--- src/pages/PoolFinder/index.tsx | 6 +- src/pages/RemoveLiquidity/V3.tsx | 18 +-- src/pages/RemoveLiquidity/index.tsx | 10 +- src/pages/Swap/index.tsx | 16 +-- src/pages/Vote/Landing.tsx | 36 +++--- src/pages/Vote/VotePage.tsx | 44 ++++---- src/state/application/reducer.test.ts | 6 +- src/state/governance/hooks.ts | 2 +- src/state/lists/reducer.test.ts | 2 +- src/state/multicall/reducer.test.ts | 24 ++-- src/state/multicall/updater.test.ts | 40 +++---- src/state/stake/hooks.tsx | 2 +- src/state/swap/hooks.tsx | 2 +- src/state/transactions/reducer.test.ts | 4 +- src/theme/index.tsx | 37 +++--- 96 files changed, 913 insertions(+), 872 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index c7a5d5b77f..cb83684f3d 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -8,13 +8,33 @@ "jsx": true } }, - "ignorePatterns": ["node_modules/**/*"], "settings": { "react": { "version": "detect" } }, + "ignorePatterns": [ + "src/types/v3", + "src/abis/types", + "src/locales/**/*.js", + "src/locales/**/en-US.po", + "src/state/data/generated.ts", + "node_modules", + "coverage", + "build", + "dist", + ".DS_Store", + ".env.local", + ".env.development.local", + ".env.test.local", + ".env.production.local", + ".idea/", + ".vscode/", + "package-lock.json", + "yarn.lock" + ], "extends": [ + "react-app", "plugin:react/recommended", "plugin:@typescript-eslint/recommended", "plugin:react-hooks/recommended", diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 4ed1b23e59..3164110ebd 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -38,10 +38,15 @@ jobs: - name: Install dependencies run: yarn install --frozen-lockfile - - name: Run linters + - name: Run eslint w/ autofix + if: ${{ github.event_name != 'pull_request' || github.event.pull_request.head.repo.owner.login == github.repository_owner }} uses: wearerequired/lint-action@36c7e6689e80d785d27a22f71d970f3a3b4fcb70 with: github_token: ${{ secrets.github_token }} eslint: true - eslint_extensions: js,jsx,ts,tsx,json - auto_fix: ${{ github.event_name != 'pull_request' || github.event.pull_request.head.repo.owner.login == github.repository_owner }} + eslint_args: "-c .eslintrc.json" + auto_fix: true + + - name: Run eslint + if: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.repo.owner.login != github.repository_owner }} + run: yarn eslint . diff --git a/cypress/support/commands.js b/cypress/support/commands.js index 5e8455c571..79253627a3 100644 --- a/cypress/support/commands.js +++ b/cypress/support/commands.js @@ -74,6 +74,7 @@ class CustomizedBridge extends Eip1193Bridge { } // sets up the injected provider to be a mock ethereum provider with the given mnemonic/index +// eslint-disable-next-line no-undef Cypress.Commands.overwrite('visit', (original, url, options) => { return original(url.startsWith('/') && url.length > 2 && !url.startsWith('/#') ? `/#${url}` : url, { ...options, diff --git a/lingui.config.ts b/lingui.config.ts index b635013d7e..7f22424da3 100644 --- a/lingui.config.ts +++ b/lingui.config.ts @@ -1,4 +1,4 @@ -export default { +const linguiConfig = { catalogs: [ { path: '/src/locales/{locale}', @@ -52,3 +52,5 @@ export default { runtimeConfigModule: ['@lingui/core', 'i18n'], sourceLocale: 'en-US', } + +export default linguiConfig diff --git a/package.json b/package.json index d350fe1513..d65d246d15 100644 --- a/package.json +++ b/package.json @@ -152,12 +152,6 @@ "bundle": "microbundle --tsconfig tsconfig.lib.json src/lib/index.tsx --format esm,cjs", "cosmos": "open http://localhost:5000 && cross-env FAST_REFRESH=false cosmos" }, - "eslintConfig": { - "extends": "react-app", - "ignorePatterns": [ - "node_modules" - ] - }, "browserslist": { "production": [ ">0.2%", diff --git a/src/components/AccountDetails/TransactionSummary.tsx b/src/components/AccountDetails/TransactionSummary.tsx index 59d814e818..4ab04479a5 100644 --- a/src/components/AccountDetails/TransactionSummary.tsx +++ b/src/components/AccountDetails/TransactionSummary.tsx @@ -80,7 +80,7 @@ function ClaimSummary({ info: { recipient, uniAmountRaw } }: { info: ClaimTransa ) } -function SubmitProposalTransactionSummary({}: { info: SubmitProposalTransactionInfo }) { +function SubmitProposalTransactionSummary(_: { info: SubmitProposalTransactionInfo }) { return Submit new proposal } @@ -147,13 +147,13 @@ function WrapSummary({ info: { currencyAmountRaw, unwrapped } }: { info: WrapTra } } -function DepositLiquidityStakingSummary({}: { info: DepositLiquidityStakingTransactionInfo }) { +function DepositLiquidityStakingSummary(_: { info: DepositLiquidityStakingTransactionInfo }) { // not worth rendering the tokens since you can should no longer deposit liquidity in the staking contracts // todo: deprecate and delete the code paths that allow this, show user more information return Deposit liquidity } -function WithdrawLiquidityStakingSummary({}: { info: WithdrawLiquidityStakingTransactionInfo }) { +function WithdrawLiquidityStakingSummary(_: { info: WithdrawLiquidityStakingTransactionInfo }) { return Withdraw deposited liquidity } diff --git a/src/components/AccountDetails/index.tsx b/src/components/AccountDetails/index.tsx index 1c8845a733..81fb5a567b 100644 --- a/src/components/AccountDetails/index.tsx +++ b/src/components/AccountDetails/index.tsx @@ -10,7 +10,7 @@ import { injected, portis, walletlink } from '../../connectors' import { SUPPORTED_WALLETS } from '../../constants/wallet' import { useActiveWeb3React } from '../../hooks/web3' import { clearAllTransactions } from '../../state/transactions/actions' -import { ExternalLink, LinkStyledButton, TYPE } from '../../theme' +import { ExternalLink, LinkStyledButton, ThemedText } from '../../theme' import { shortenAddress } from '../../utils' import { ExplorerDataType, getExplorerLink } from '../../utils/getExplorerLink' import { ButtonSecondary } from '../Button' @@ -378,9 +378,9 @@ export default function AccountDetails({ {!!pendingTransactions.length || !!confirmedTransactions.length ? ( - + Recent Transactions - + (clear all) @@ -390,9 +390,9 @@ export default function AccountDetails({ ) : ( - + Your transactions will appear here... - + )} diff --git a/src/components/AddressInputPanel/index.tsx b/src/components/AddressInputPanel/index.tsx index f83722e278..c36bf0bc96 100644 --- a/src/components/AddressInputPanel/index.tsx +++ b/src/components/AddressInputPanel/index.tsx @@ -1,11 +1,12 @@ +import { Trans } from '@lingui/macro' // eslint-disable-next-line no-restricted-imports -import { t, Trans } from '@lingui/macro' +import { t } from '@lingui/macro' import { ReactNode, useCallback, useContext } from 'react' import styled, { ThemeContext } from 'styled-components/macro' import useENS from '../../hooks/useENS' import { useActiveWeb3React } from '../../hooks/web3' -import { ExternalLink, TYPE } from '../../theme' +import { ExternalLink, ThemedText } from '../../theme' import { ExplorerDataType, getExplorerLink } from '../../utils/getExplorerLink' import { AutoColumn } from '../Column' import { RowBetween } from '../Row' @@ -107,9 +108,9 @@ export default function AddressInputPanel({ - + {label ?? Recipient} - + {address && chainId && ( + {fiatValue ? ( ~$ @@ -39,6 +39,6 @@ export function FiatValue({ ({priceImpact.multiply(-1).toSignificant(3)}%) ) : null} - + ) } diff --git a/src/components/CurrencyInputPanel/index.tsx b/src/components/CurrencyInputPanel/index.tsx index 21c0714769..d07a531ebb 100644 --- a/src/components/CurrencyInputPanel/index.tsx +++ b/src/components/CurrencyInputPanel/index.tsx @@ -13,7 +13,7 @@ import { ReactComponent as DropDown } from '../../assets/images/dropdown.svg' import useTheme from '../../hooks/useTheme' import { useActiveWeb3React } from '../../hooks/web3' import { useCurrencyBalance } from '../../state/wallet/hooks' -import { TYPE } from '../../theme' +import { ThemedText } from '../../theme' import { ButtonGray } from '../Button' import CurrencyLogo from '../CurrencyLogo' import DoubleCurrencyLogo from '../DoubleLogo' @@ -212,9 +212,9 @@ export default function CurrencyInputPanel({ - + The market price is outside your specified price range. Single-asset deposit only. - + )} @@ -271,7 +271,7 @@ export default function CurrencyInputPanel({ {account ? ( - ) ) : null} - + {showMaxButton && selectedCurrencyBalance ? ( (Max) diff --git a/src/components/ErrorBoundary/index.tsx b/src/components/ErrorBoundary/index.tsx index c0acccaf0d..294e6228b8 100644 --- a/src/components/ErrorBoundary/index.tsx +++ b/src/components/ErrorBoundary/index.tsx @@ -4,7 +4,7 @@ import ReactGA from 'react-ga' import styled from 'styled-components/macro' import store, { AppState } from '../../state' -import { ExternalLink, TYPE } from '../../theme' +import { ExternalLink, ThemedText } from '../../theme' import { userAgent } from '../../utils/userAgent' import { AutoColumn } from '../Column' import { AutoRow } from '../Row' @@ -77,13 +77,13 @@ export default class ErrorBoundary extends React.Component - + Something went wrong - + - {error.stack} + {error.stack} {IS_UNISWAP ? ( @@ -96,18 +96,18 @@ export default class ErrorBoundary extends React.Component - + Create an issue on GitHub - + - + Get support on Discord - + @@ -126,7 +126,7 @@ function getRelevantState(): null | keyof AppState { if (!path.startsWith('#/')) { return null } - const pieces = path.substring(2).split(/[\/\\?]/) + const pieces = path.substring(2).split(/[/\\?]/) switch (pieces[0]) { case 'swap': return 'swap' diff --git a/src/components/FeeSelector/FeeOption.tsx b/src/components/FeeSelector/FeeOption.tsx index 83f504844b..8193fffeab 100644 --- a/src/components/FeeSelector/FeeOption.tsx +++ b/src/components/FeeSelector/FeeOption.tsx @@ -6,12 +6,12 @@ import { useFeeTierDistribution } from 'hooks/useFeeTierDistribution' import { PoolState } from 'hooks/usePools' import React from 'react' import styled from 'styled-components/macro' -import { TYPE } from 'theme' +import { ThemedText } from 'theme' import { FeeTierPercentageBadge } from './FeeTierPercentageBadge' import { FEE_AMOUNT_DETAIL } from './shared' -const ResponsiveText = styled(TYPE.label)` +const ResponsiveText = styled(ThemedText.Label)` line-height: 16px; font-size: 14px; @@ -37,9 +37,9 @@ export function FeeOption({ feeAmount, active, poolState, distributions, onClick {FEE_AMOUNT_DETAIL[feeAmount].label}% - + {FEE_AMOUNT_DETAIL[feeAmount].description} - + {distributions && ( diff --git a/src/components/FeeSelector/FeeTierPercentageBadge.tsx b/src/components/FeeSelector/FeeTierPercentageBadge.tsx index 95e5576adf..814d7bd9b3 100644 --- a/src/components/FeeSelector/FeeTierPercentageBadge.tsx +++ b/src/components/FeeSelector/FeeTierPercentageBadge.tsx @@ -4,7 +4,7 @@ import Badge from 'components/Badge' import { useFeeTierDistribution } from 'hooks/useFeeTierDistribution' import { PoolState } from 'hooks/usePools' import React from 'react' -import { TYPE } from 'theme' +import { ThemedText } from 'theme' export function FeeTierPercentageBadge({ feeAmount, @@ -17,7 +17,7 @@ export function FeeTierPercentageBadge({ }) { return ( - + {!distributions || poolState === PoolState.NOT_EXISTS || poolState === PoolState.INVALID ? ( Not created ) : distributions[feeAmount] !== undefined ? ( @@ -25,7 +25,7 @@ export function FeeTierPercentageBadge({ ) : ( No data )} - + ) } diff --git a/src/components/FeeSelector/index.tsx b/src/components/FeeSelector/index.tsx index 0cfa5cba28..f6d3236192 100644 --- a/src/components/FeeSelector/index.tsx +++ b/src/components/FeeSelector/index.tsx @@ -14,7 +14,7 @@ import React, { useCallback, useEffect, useMemo, useRef, useState } from 'react' import ReactGA from 'react-ga' import { Box } from 'rebass' import styled, { keyframes } from 'styled-components/macro' -import { TYPE } from 'theme' +import { ThemedText } from 'theme' import { FeeOption } from './FeeOption' import { FeeTierPercentageBadge } from './FeeTierPercentageBadge' @@ -149,18 +149,18 @@ export default function FeeSelector({ {!feeAmount ? ( <> - + Fee tier - - + + The % you will earn in fees. - + ) : ( <> - + {FEE_AMOUNT_DETAIL[feeAmount].label}% fee tier - + {distributions && ( ` display: none; `} ` -const StyledPollingNumber = styled(TYPE.small)<{ breathe: boolean; hovering: boolean }>` +const StyledPollingNumber = styled(ThemedText.Small)<{ breathe: boolean; hovering: boolean }>` transition: opacity 0.25s ease; opacity: ${({ breathe, hovering }) => (hovering ? 0.7 : breathe ? 1 : 0.5)}; :hover { diff --git a/src/components/Header/UniBalanceContent.tsx b/src/components/Header/UniBalanceContent.tsx index 85a2816e57..013b9c564c 100644 --- a/src/components/Header/UniBalanceContent.tsx +++ b/src/components/Header/UniBalanceContent.tsx @@ -14,7 +14,7 @@ import useUSDCPrice from '../../hooks/useUSDCPrice' import { useActiveWeb3React } from '../../hooks/web3' import { useTotalUniEarned } from '../../state/stake/hooks' import { useAggregateUniBalance, useTokenBalance } from '../../state/wallet/hooks' -import { ExternalLink, StyledInternalLink, TYPE, UniTokenAnimated } from '../../theme' +import { ExternalLink, StyledInternalLink, ThemedText, UniTokenAnimated } from '../../theme' import { computeUniCirculation } from '../../utils/computeUniCirculation' import { AutoColumn } from '../Column' import { Break, CardBGImage, CardNoise, CardSection, DataCard } from '../earn/styled' @@ -70,9 +70,9 @@ export default function UniBalanceContent({ setShowUniBalanceModal }: { setShowU - + Your UNI Breakdown - + setShowUniBalanceModal(false)} /> @@ -82,29 +82,29 @@ export default function UniBalanceContent({ setShowUniBalanceModal }: { setShowU {' '} - + {total?.toFixed(2, { groupSeparator: ',' })} - + - + Balance: - - {uniBalance?.toFixed(2, { groupSeparator: ',' })} + + {uniBalance?.toFixed(2, { groupSeparator: ',' })} - + Unclaimed: - - + + {uniToClaim?.toFixed(4, { groupSeparator: ',' })}{' '} {uniToClaim && uniToClaim.greaterThan('0') && ( setShowUniBalanceModal(false)} to="/uni"> (claim) )} - + @@ -114,22 +114,22 @@ export default function UniBalanceContent({ setShowUniBalanceModal }: { setShowU - + UNI price: - - ${uniPrice?.toFixed(2) ?? '-'} + + ${uniPrice?.toFixed(2) ?? '-'} - + UNI in circulation: - - {circulation?.toFixed(0, { groupSeparator: ',' })} + + {circulation?.toFixed(0, { groupSeparator: ',' })} - + Total Supply - - {totalSupply?.toFixed(0, { groupSeparator: ',' })} + + {totalSupply?.toFixed(0, { groupSeparator: ',' })} {uni && uni.chainId === 1 ? ( diff --git a/src/components/Header/index.tsx b/src/components/Header/index.tsx index 3bd9fe9e9b..6a6da407c1 100644 --- a/src/components/Header/index.tsx +++ b/src/components/Header/index.tsx @@ -15,7 +15,7 @@ import styled from 'styled-components/macro' import { ReactComponent as Logo } from '../../assets/svg/logo.svg' import { useActiveWeb3React } from '../../hooks/web3' -import { ExternalLink, TYPE } from '../../theme' +import { ExternalLink, ThemedText } from '../../theme' import ClaimModal from '../claim/ClaimModal' import { CardNoise } from '../earn/styled' import Menu from '../Menu' @@ -309,7 +309,7 @@ export default function Header() { {availableClaim && !showClaimPopup && ( - + {claimTxn && !claimTxn?.receipt ? ( Claiming UNI @@ -317,7 +317,7 @@ export default function Header() { ) : ( Claim UNI )} - + diff --git a/src/components/InputStepCounter/InputStepCounter.tsx b/src/components/InputStepCounter/InputStepCounter.tsx index e0a033e303..5380dca010 100644 --- a/src/components/InputStepCounter/InputStepCounter.tsx +++ b/src/components/InputStepCounter/InputStepCounter.tsx @@ -6,7 +6,7 @@ import { AutoColumn } from 'components/Column' import { ReactNode, useCallback, useEffect, useState } from 'react' import { Minus, Plus } from 'react-feather' import styled, { keyframes } from 'styled-components/macro' -import { TYPE } from 'theme' +import { ThemedText } from 'theme' import { Input as NumericalInput } from '../NumericalInput' @@ -57,13 +57,13 @@ const StyledInput = styled(NumericalInput)<{ usePercent?: boolean }>` `}; ` -const InputTitle = styled(TYPE.small)` +const InputTitle = styled(ThemedText.Small)` color: ${({ theme }) => theme.text2}; font-size: 12px; font-weight: 500; ` -const ButtonLabel = styled(TYPE.white)<{ disabled: boolean }>` +const ButtonLabel = styled(ThemedText.White)<{ disabled: boolean }>` color: ${({ theme, disabled }) => (disabled ? theme.text2 : theme.text1)} !important; ` diff --git a/src/components/LiquidityChartRangeInput/Area.tsx b/src/components/LiquidityChartRangeInput/Area.tsx index 7a0e2401ef..ea7953e5e1 100644 --- a/src/components/LiquidityChartRangeInput/Area.tsx +++ b/src/components/LiquidityChartRangeInput/Area.tsx @@ -37,7 +37,7 @@ export const Area = ({ .y0(yScale(0))( series.filter((d) => { const value = xScale(xValue(d)) - return value > 0 && value <= innerWidth + return value > 0 && value <= window.innerWidth }) as Iterable<[number, number]> ) ?? undefined } diff --git a/src/components/LiquidityChartRangeInput/index.tsx b/src/components/LiquidityChartRangeInput/index.tsx index b85fb19585..acbb0a3433 100644 --- a/src/components/LiquidityChartRangeInput/index.tsx +++ b/src/components/LiquidityChartRangeInput/index.tsx @@ -14,7 +14,7 @@ import { batch } from 'react-redux' import { Bound } from 'state/mint/v3/actions' import styled from 'styled-components/macro' -import { TYPE } from '../../theme' +import { ThemedText } from '../../theme' import { Chart } from './Chart' import { useDensityChartData } from './hooks' import { ZoomLevels } from './types' @@ -58,9 +58,9 @@ function InfoBox({ message, icon }: { message?: ReactNode; icon: ReactNode }) { {icon} {message && ( - + {message} - + )} ) diff --git a/src/components/ModalViews/index.tsx b/src/components/ModalViews/index.tsx index 2ed6899e5e..ad9075c129 100644 --- a/src/components/ModalViews/index.tsx +++ b/src/components/ModalViews/index.tsx @@ -5,7 +5,7 @@ import styled, { ThemeContext } from 'styled-components/macro' import Circle from '../../assets/images/blue-loader.svg' import { useActiveWeb3React } from '../../hooks/web3' -import { CloseIcon, CustomLightSpinner, TYPE } from '../../theme' +import { CloseIcon, CustomLightSpinner, ThemedText } from '../../theme' import { ExternalLink } from '../../theme/components' import { ExplorerDataType, getExplorerLink } from '../../utils/getExplorerLink' import { AutoColumn, ColumnCenter } from '../Column' @@ -32,9 +32,9 @@ export function LoadingView({ children, onDismiss }: { children: any; onDismiss: {children} - + Confirm this transaction in your wallet - + ) @@ -68,9 +68,9 @@ export function SubmittedView({ href={getExplorerLink(chainId, hash, ExplorerDataType.TRANSACTION)} style={{ marginLeft: '4px' }} > - + View transaction on Explorer - + )} diff --git a/src/components/NavigationTabs/index.tsx b/src/components/NavigationTabs/index.tsx index 4d8de801a2..1a09322322 100644 --- a/src/components/NavigationTabs/index.tsx +++ b/src/components/NavigationTabs/index.tsx @@ -10,7 +10,7 @@ import { useAppDispatch } from 'state/hooks' import { resetMintState } from 'state/mint/actions' import { resetMintState as resetMintV3State } from 'state/mint/v3/actions' import styled from 'styled-components/macro' -import { TYPE } from 'theme' +import { ThemedText } from 'theme' import Row, { RowBetween } from '../Row' import SettingsTab from '../Settings' @@ -136,7 +136,7 @@ export function AddRemoveTabs({ > - Remove Liquidity )} - + {children} diff --git a/src/components/Popups/ClaimPopup.tsx b/src/components/Popups/ClaimPopup.tsx index 49e969cc21..41f309bc5e 100644 --- a/src/components/Popups/ClaimPopup.tsx +++ b/src/components/Popups/ClaimPopup.tsx @@ -6,7 +6,6 @@ import ReactGA from 'react-ga' import styled, { keyframes } from 'styled-components/macro' import tokenLogo from '../../assets/images/token-logo.png' -import { ButtonPrimary } from '../../components/Button' import { useActiveWeb3React } from '../../hooks/web3' import { useModalOpen, @@ -16,7 +15,8 @@ import { } from '../../state/application/hooks' import { ApplicationModal } from '../../state/application/reducer' import { useUserHasAvailableClaim, useUserUnclaimedAmount } from '../../state/claim/hooks' -import { TYPE } from '../../theme' +import { ThemedText } from '../../theme' +import { ButtonPrimary } from '../Button' import { AutoColumn } from '../Column' import { CardBGImage, CardNoise } from '../earn/styled' @@ -98,10 +98,10 @@ export default function ClaimPopup() { {' '} - + {unclaimedAmount?.toFixed(0, { groupSeparator: ',' } ?? '-')} UNI - - + + 🎉 {' '} @@ -109,12 +109,12 @@ export default function ClaimPopup() { 🎉 - - + + Thanks for being part of the Uniswap community - + diff --git a/src/components/Popups/TransactionPopup.tsx b/src/components/Popups/TransactionPopup.tsx index 45ca2c6104..f3528870da 100644 --- a/src/components/Popups/TransactionPopup.tsx +++ b/src/components/Popups/TransactionPopup.tsx @@ -4,8 +4,8 @@ import styled, { ThemeContext } from 'styled-components/macro' import { useActiveWeb3React } from '../../hooks/web3' import { useTransaction } from '../../state/transactions/hooks' -import { TYPE } from '../../theme' -import { ExternalLink } from '../../theme/components' +import { ThemedText } from '../../theme' +import { ExternalLink } from '../../theme' import { ExplorerDataType, getExplorerLink } from '../../utils/getExplorerLink' import { TransactionSummary } from '../AccountDetails/TransactionSummary' import { AutoColumn } from '../Column' @@ -30,9 +30,9 @@ export default function TransactionPopup({ hash }: { hash: string }) { {success ? : }
- + - + {chainId && ( View on Explorer diff --git a/src/components/PositionCard/index.tsx b/src/components/PositionCard/index.tsx index 62e519b2f2..e9755ad568 100644 --- a/src/components/PositionCard/index.tsx +++ b/src/components/PositionCard/index.tsx @@ -14,7 +14,7 @@ import { useColor } from '../../hooks/useColor' import { useTotalSupply } from '../../hooks/useTotalSupply' import { useActiveWeb3React } from '../../hooks/web3' import { useTokenBalance } from '../../state/wallet/hooks' -import { ExternalLink, TYPE } from '../../theme' +import { ExternalLink, ThemedText } from '../../theme' import { currencyId } from '../../utils/currencyId' import { unwrappedToken } from '../../utils/unwrappedToken' import { ButtonEmpty, ButtonPrimary, ButtonSecondary } from '../Button' @@ -142,7 +142,7 @@ export function MinimalPositionCard({ pair, showUnwrapped = false, border }: Pos ) : ( - + ⭐️ {' '} @@ -150,7 +150,7 @@ export function MinimalPositionCard({ pair, showUnwrapped = false, border }: Pos By adding liquidity you'll earn 0.3% of all trades on this pair proportional to your share of the pool. Fees are added to the pool, accrue in real time and can be claimed by withdrawing your liquidity. {' '} - + )} diff --git a/src/components/PositionPreview/index.tsx b/src/components/PositionPreview/index.tsx index f45bfe576c..23b6778182 100644 --- a/src/components/PositionPreview/index.tsx +++ b/src/components/PositionPreview/index.tsx @@ -13,7 +13,7 @@ import JSBI from 'jsbi' import { ReactNode, useCallback, useContext, useState } from 'react' import { Bound } from 'state/mint/v3/actions' import { ThemeContext } from 'styled-components/macro' -import { TYPE } from 'theme' +import { ThemedText } from 'theme' import { formatTickPrice } from 'utils/formatTickPrice' import { unwrappedToken } from 'utils/unwrappedToken' @@ -70,9 +70,9 @@ export const PositionPreview = ({ size={24} margin={true} /> - + {currency0?.symbol} / {currency1?.symbol} - + @@ -82,36 +82,36 @@ export const PositionPreview = ({ - {currency0?.symbol} + {currency0?.symbol} - {position.amount0.toSignificant(4)} + {position.amount0.toSignificant(4)} - {currency1?.symbol} + {currency1?.symbol} - {position.amount1.toSignificant(4)} + {position.amount1.toSignificant(4)} - + Fee Tier - - + + {position?.pool?.fee / 10000}% - + - {title ? {title} :
} + {title ? {title} :
} - + Min Price - - {`${formatTickPrice( + + {`${formatTickPrice( priceLower, ticksAtLimit, Bound.LOWER - )}`} - + )}`} + {quoteCurrency.symbol} per {baseCurrency.symbol} - - + + Your position will be 100% composed of {baseCurrency?.symbol} at this price - + - + Max Price - - {`${formatTickPrice( + + {`${formatTickPrice( priceUpper, ticksAtLimit, Bound.UPPER - )}`} - + )}`} + {quoteCurrency.symbol} per {baseCurrency.symbol} - - + + Your position will be 100% composed of {quoteCurrency?.symbol} at this price - + - + Current price - - {`${price.toSignificant(5)} `} - + + {`${price.toSignificant(5)} `} + {quoteCurrency.symbol} per {baseCurrency.symbol} - + diff --git a/src/components/PrivacyPolicy/index.tsx b/src/components/PrivacyPolicy/index.tsx index 9e4690fe07..2bc4dc436c 100644 --- a/src/components/PrivacyPolicy/index.tsx +++ b/src/components/PrivacyPolicy/index.tsx @@ -5,7 +5,7 @@ import { useEffect, useRef } from 'react' import { ArrowDown, Info, X } from 'react-feather' import ReactGA from 'react-ga' import styled from 'styled-components/macro' -import { ExternalLink, TYPE } from 'theme' +import { ExternalLink, ThemedText } from 'theme' import { isMobile } from 'utils/userAgent' import { useModalOpen, useTogglePrivacyPolicy } from '../../state/application/hooks' @@ -91,9 +91,9 @@ export function PrivacyPolicyModal() { toggle()}> - + Legal & Privacy - + toggle()}> @@ -122,9 +122,9 @@ export function PrivacyPolicy() { - + Uniswap Labs' Terms of Service - + @@ -135,29 +135,29 @@ export function PrivacyPolicy() { - + Protocol Disclaimer - + - + This app uses the following third-party APIs: - + {EXTERNAL_APIS.map(({ name, description }, i) => ( - + {name} - + - {description} + {description} ))} diff --git a/src/components/ProgressSteps/index.tsx b/src/components/ProgressSteps/index.tsx index c5cba0035e..33f6bcbb96 100644 --- a/src/components/ProgressSteps/index.tsx +++ b/src/components/ProgressSteps/index.tsx @@ -2,7 +2,7 @@ import { useContext } from 'react' import styled from 'styled-components/macro' import { ThemeContext } from 'styled-components/macro' -import { TYPE } from '../../theme' +import { ThemedText } from '../../theme' import { AutoColumn } from '../Column' const Wrapper = styled(AutoColumn)` @@ -65,7 +65,7 @@ export default function ProgressCircles({ steps, disabled = false, ...rest }: Pr {step ? '✓' : i + 1 + '.'} - | + | ) })} diff --git a/src/components/RangeSelector/PresetsButtons.tsx b/src/components/RangeSelector/PresetsButtons.tsx index b4092b9669..0b4e0e0ab5 100644 --- a/src/components/RangeSelector/PresetsButtons.tsx +++ b/src/components/RangeSelector/PresetsButtons.tsx @@ -4,7 +4,7 @@ import { AutoRow } from 'components/Row' import React from 'react' import ReactGA from 'react-ga' import styled from 'styled-components/macro' -import { TYPE } from 'theme' +import { ThemedText } from 'theme' const Button = styled(ButtonOutlined).attrs(() => ({ padding: '8px', @@ -26,9 +26,9 @@ export default function PresetsButtons({ setFullRange }: { setFullRange: () => v }) }} > - + Full Range - + ) diff --git a/src/components/RoutingDiagram/RoutingDiagram.tsx b/src/components/RoutingDiagram/RoutingDiagram.tsx index 077a827b2f..c369dafa52 100644 --- a/src/components/RoutingDiagram/RoutingDiagram.tsx +++ b/src/components/RoutingDiagram/RoutingDiagram.tsx @@ -7,7 +7,7 @@ import Row, { AutoRow } from 'components/Row' import { useTokenInfoFromActiveList } from 'hooks/useTokenInfoFromActiveList' import { Box } from 'rebass' import styled from 'styled-components/macro' -import { TYPE } from 'theme' +import { ThemedText } from 'theme' import { ReactComponent as DotLine } from '../../assets/svg/dot_line.svg' @@ -93,9 +93,9 @@ function Route({ percent, path }: { percent: RoutingDiagramEntry['percent']; pat - + {percent.toSignificant(2)}% - + @@ -116,7 +116,7 @@ function Pool({ currency0, currency1, feeAmount }: { currency0: Currency; curren - {feeAmount / 10000}% + {feeAmount / 10000}% ) } diff --git a/src/components/SearchModal/BlockedToken.tsx b/src/components/SearchModal/BlockedToken.tsx index ce98d4f05d..3d5f25cabb 100644 --- a/src/components/SearchModal/BlockedToken.tsx +++ b/src/components/SearchModal/BlockedToken.tsx @@ -3,7 +3,7 @@ import { Token } from '@uniswap/sdk-core' import { ButtonPrimary } from 'components/Button' import { AlertCircle, ArrowLeft } from 'react-feather' import styled from 'styled-components/macro' -import { CloseIcon, TYPE } from 'theme' +import { CloseIcon, ThemedText } from 'theme' import TokenImportCard from './TokenImportCard' @@ -22,7 +22,7 @@ const Button = styled(ButtonPrimary)` const Content = styled.div` padding: 1em; ` -const Copy = styled(TYPE.body)` +const Copy = styled(ThemedText.Body)` text-align: center; margin: 0 2em 1em !important; font-weight: 400; @@ -51,9 +51,9 @@ const BlockedToken = ({ onBack, onDismiss, blockedTokens }: BlockedTokenProps) =
{onBack ? :
} - + Token not supported - + {onDismiss ? :
}
diff --git a/src/components/SearchModal/CurrencyList.tsx b/src/components/SearchModal/CurrencyList.tsx index 808a3ba15d..762688ef6a 100644 --- a/src/components/SearchModal/CurrencyList.tsx +++ b/src/components/SearchModal/CurrencyList.tsx @@ -14,7 +14,7 @@ import { useActiveWeb3React } from '../../hooks/web3' import { useCombinedActiveList } from '../../state/lists/hooks' import { WrappedTokenInfo } from '../../state/lists/wrappedTokenInfo' import { useCurrencyBalance } from '../../state/wallet/hooks' -import { TYPE } from '../../theme' +import { ThemedText } from '../../theme' import { isTokenOnList } from '../../utils' import Column from '../Column' import CurrencyLogo from '../CurrencyLogo' @@ -135,13 +135,13 @@ function CurrencyRow({ {currency.symbol} - + {!currency.isNative && !isOnSelectedList && customAdded ? ( {currency.name} • Added by user ) : ( currency.name )} - + {showCurrencyAmount && ( @@ -167,9 +167,9 @@ function BreakLineComponent({ style }: { style: CSSProperties }) { - + Expanded results from inactive Token Lists - + ) : ( - + No results found. - + )}