Commit 06c8db91 authored by Moody Salem's avatar Moody Salem

chore: handle a couple missing translation keys

parent 3394bc73
...@@ -127,7 +127,7 @@ ...@@ -127,7 +127,7 @@
"compile-external-abi-types": "typechain --target ethers-v5 --out-dir src/abis/types './src/abis/**/*.json'", "compile-external-abi-types": "typechain --target ethers-v5 --out-dir src/abis/types './src/abis/**/*.json'",
"compile-v3-contract-types": "typechain --target ethers-v5 --out-dir src/types/v3 './node_modules/@uniswap/?(v3-core|v3-periphery)/artifacts/contracts/**/*.json'", "compile-v3-contract-types": "typechain --target ethers-v5 --out-dir src/types/v3 './node_modules/@uniswap/?(v3-core|v3-periphery)/artifacts/contracts/**/*.json'",
"build": "yarn compile-contract-types yarn i18n:extract && yarn i18n:compile && react-scripts build", "build": "yarn compile-contract-types yarn i18n:extract && yarn i18n:compile && react-scripts build",
"i18n:extract": "lingui extract", "i18n:extract": "lingui extract --locale en-US --overwrite",
"i18n:compile": "lingui compile", "i18n:compile": "lingui compile",
"integration-test": "start-server-and-test 'serve build -l 3000' http://localhost:3000 'cypress run'", "integration-test": "start-server-and-test 'serve build -l 3000' http://localhost:3000 'cypress run'",
"postinstall": "yarn compile-contract-types", "postinstall": "yarn compile-contract-types",
......
import { Trans } from '@lingui/macro'
import React, { useState } from 'react' import React, { useState } from 'react'
import { PaddedColumn, Separator } from './styleds' import { PaddedColumn, Separator } from './styleds'
import { RowBetween } from 'components/Row' import { RowBetween } from 'components/Row'
...@@ -63,7 +64,7 @@ export default function Manage({ ...@@ -63,7 +64,7 @@ export default function Manage({
<RowBetween> <RowBetween>
<ArrowLeft style={{ cursor: 'pointer' }} onClick={() => setModalView(CurrencyModalView.search)} /> <ArrowLeft style={{ cursor: 'pointer' }} onClick={() => setModalView(CurrencyModalView.search)} />
<Text fontWeight={500} fontSize={20}> <Text fontWeight={500} fontSize={20}>
Manage <Trans>Manage</Trans>
</Text> </Text>
<CloseIcon onClick={onDismiss} /> <CloseIcon onClick={onDismiss} />
</RowBetween> </RowBetween>
...@@ -72,10 +73,10 @@ export default function Manage({ ...@@ -72,10 +73,10 @@ export default function Manage({
<PaddedColumn style={{ paddingBottom: 0 }}> <PaddedColumn style={{ paddingBottom: 0 }}>
<ToggleWrapper> <ToggleWrapper>
<ToggleOption onClick={() => setShowLists(!showLists)} active={showLists}> <ToggleOption onClick={() => setShowLists(!showLists)} active={showLists}>
Lists <Trans>Lists</Trans>
</ToggleOption> </ToggleOption>
<ToggleOption onClick={() => setShowLists(!showLists)} active={!showLists}> <ToggleOption onClick={() => setShowLists(!showLists)} active={!showLists}>
Tokens <Trans>Tokens</Trans>
</ToggleOption> </ToggleOption>
</ToggleWrapper> </ToggleWrapper>
</PaddedColumn> </PaddedColumn>
......
...@@ -732,6 +732,10 @@ msgstr "" ...@@ -732,6 +732,10 @@ msgstr ""
msgid "Liquidity providers earn a 0.3% fee on all trades proportional to their share of the pool. Fees are added to the pool, accrue in real time and can be claimed by withdrawing your liquidity." msgid "Liquidity providers earn a 0.3% fee on all trades proportional to their share of the pool. Fees are added to the pool, accrue in real time and can be claimed by withdrawing your liquidity."
msgstr "" msgstr ""
#: src/components/SearchModal/Manage.tsx
msgid "Lists"
msgstr ""
#: src/components/SearchModal/ManageLists.tsx #: src/components/SearchModal/ManageLists.tsx
msgid "Loaded" msgid "Loaded"
msgstr "" msgstr ""
...@@ -755,6 +759,7 @@ msgstr "" ...@@ -755,6 +759,7 @@ msgstr ""
#: src/components/PositionCard/V2.tsx #: src/components/PositionCard/V2.tsx
#: src/components/PositionCard/index.tsx #: src/components/PositionCard/index.tsx
#: src/components/PositionCard/index.tsx #: src/components/PositionCard/index.tsx
#: src/components/SearchModal/Manage.tsx
#: src/components/earn/PoolCard.tsx #: src/components/earn/PoolCard.tsx
msgid "Manage" msgid "Manage"
msgstr "" msgstr ""
...@@ -1172,6 +1177,10 @@ msgstr "" ...@@ -1172,6 +1177,10 @@ msgstr ""
msgid "To (at least)" msgid "To (at least)"
msgstr "" msgstr ""
#: src/components/SearchModal/Manage.tsx
msgid "Tokens"
msgstr ""
#: src/pages/Pool/CTACards.tsx #: src/pages/Pool/CTACards.tsx
msgid "Top pools" msgid "Top pools"
msgstr "" msgstr ""
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment