couple of missing translations in the currency list

This commit is contained in:
Moody Salem 2021-05-29 00:11:10 -05:00
parent 4eb5c3cac8
commit 3e9289dc35
No known key found for this signature in database
GPG Key ID: 8CB5CD10385138DB
2 changed files with 18 additions and 3 deletions

@ -1,3 +1,4 @@
import { t, Trans } from '@lingui/macro'
import { Currency, CurrencyAmount, Token } from '@uniswap/sdk-core' import { Currency, CurrencyAmount, Token } from '@uniswap/sdk-core'
import React, { CSSProperties, MutableRefObject, useCallback, useMemo } from 'react' import React, { CSSProperties, MutableRefObject, useCallback, useMemo } from 'react'
import { FixedSizeList } from 'react-window' import { FixedSizeList } from 'react-window'
@ -132,7 +133,7 @@ function CurrencyRow({
{currency.symbol} {currency.symbol}
</Text> </Text>
<TYPE.darkGray ml="0px" fontSize={'12px'} fontWeight={300}> <TYPE.darkGray ml="0px" fontSize={'12px'} fontWeight={300}>
{currency.name} {!currency.isNative && !isOnSelectedList && customAdded && '• Added by user'} {currency.name} {!currency.isNative && !isOnSelectedList && customAdded && '• ' + t`Added by user`}
</TYPE.darkGray> </TYPE.darkGray>
</Column> </Column>
<TokenTags currency={currency} /> <TokenTags currency={currency} />
@ -158,10 +159,12 @@ function BreakLineComponent({ style }: { style: CSSProperties }) {
<RowFixed> <RowFixed>
<TokenListLogoWrapper src={TokenListLogo} /> <TokenListLogoWrapper src={TokenListLogo} />
<TYPE.main ml="6px" fontSize="12px" color={theme.text1}> <TYPE.main ml="6px" fontSize="12px" color={theme.text1}>
Expanded results from inactive Token Lists <Trans>Expanded results from inactive Token Lists</Trans>
</TYPE.main> </TYPE.main>
</RowFixed> </RowFixed>
<QuestionHelper text="Tokens from inactive lists. Import specific tokens below or click 'Manage' to activate more lists." /> <QuestionHelper
text={t`Tokens from inactive lists. Import specific tokens below or click 'Manage' to activate more lists.`}
/>
</RowBetween> </RowBetween>
</LightGreyCard> </LightGreyCard>
</FixedContentRow> </FixedContentRow>

@ -191,6 +191,10 @@ msgstr ""
msgid "Add {0}/{1} V3 liquidity" msgid "Add {0}/{1} V3 liquidity"
msgstr "" msgstr ""
#: src/components/SearchModal/CurrencyList.tsx
msgid "Added by user"
msgstr ""
#: src/components/TransactionConfirmationModal/index.tsx #: src/components/TransactionConfirmationModal/index.tsx
msgid "Added {0}" msgid "Added {0}"
msgstr "" msgstr ""
@ -618,6 +622,10 @@ msgstr ""
msgid "Error importing list" msgid "Error importing list"
msgstr "" msgstr ""
#: src/components/SearchModal/CurrencyList.tsx
msgid "Expanded results from inactive Token Lists"
msgstr ""
#: src/pages/Pool/CTACards.tsx #: src/pages/Pool/CTACards.tsx
msgid "Explore popular pools on Uniswap Analytics." msgid "Explore popular pools on Uniswap Analytics."
msgstr "" msgstr ""
@ -1189,6 +1197,10 @@ msgstr ""
msgid "Tokens" msgid "Tokens"
msgstr "" msgstr ""
#: src/components/SearchModal/CurrencyList.tsx
msgid "Tokens from inactive lists. Import specific tokens below or click 'Manage' to activate more lists."
msgstr ""
#: src/pages/Pool/CTACards.tsx #: src/pages/Pool/CTACards.tsx
msgid "Top pools" msgid "Top pools"
msgstr "" msgstr ""