Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
interface
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
LuckySwap
interface
Commits
06c8db91
Unverified
Commit
06c8db91
authored
May 28, 2021
by
Moody Salem
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: handle a couple missing translation keys
parent
3394bc73
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
4 deletions
+14
-4
package.json
package.json
+1
-1
Manage.tsx
src/components/SearchModal/Manage.tsx
+4
-3
en-US.po
src/locales/en-US.po
+9
-0
No files found.
package.json
View file @
06c8db91
...
...
@@ -127,7 +127,7 @@
"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'"
,
"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"
,
"integration-test"
:
"start-server-and-test 'serve build -l 3000' http://localhost:3000 'cypress run'"
,
"postinstall"
:
"yarn compile-contract-types"
,
...
...
src/components/SearchModal/Manage.tsx
View file @
06c8db91
import
{
Trans
}
from
'
@lingui/macro
'
import
React
,
{
useState
}
from
'
react
'
import
{
PaddedColumn
,
Separator
}
from
'
./styleds
'
import
{
RowBetween
}
from
'
components/Row
'
...
...
@@ -63,7 +64,7 @@ export default function Manage({
<
RowBetween
>
<
ArrowLeft
style=
{
{
cursor
:
'
pointer
'
}
}
onClick=
{
()
=>
setModalView
(
CurrencyModalView
.
search
)
}
/>
<
Text
fontWeight=
{
500
}
fontSize=
{
20
}
>
Manage
<
Trans
>
Manage
</
Trans
>
</
Text
>
<
CloseIcon
onClick=
{
onDismiss
}
/>
</
RowBetween
>
...
...
@@ -72,10 +73,10 @@ export default function Manage({
<
PaddedColumn
style=
{
{
paddingBottom
:
0
}
}
>
<
ToggleWrapper
>
<
ToggleOption
onClick=
{
()
=>
setShowLists
(
!
showLists
)
}
active=
{
showLists
}
>
Lists
<
Trans
>
Lists
</
Trans
>
</
ToggleOption
>
<
ToggleOption
onClick=
{
()
=>
setShowLists
(
!
showLists
)
}
active=
{
!
showLists
}
>
Tokens
<
Trans
>
Tokens
</
Trans
>
</
ToggleOption
>
</
ToggleWrapper
>
</
PaddedColumn
>
...
...
src/locales/en-US.po
View file @
06c8db91
...
...
@@ -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."
msgstr ""
#: src/components/SearchModal/Manage.tsx
msgid "Lists"
msgstr ""
#: src/components/SearchModal/ManageLists.tsx
msgid "Loaded"
msgstr ""
...
...
@@ -755,6 +759,7 @@ msgstr ""
#: src/components/PositionCard/V2.tsx
#: src/components/PositionCard/index.tsx
#: src/components/PositionCard/index.tsx
#: src/components/SearchModal/Manage.tsx
#: src/components/earn/PoolCard.tsx
msgid "Manage"
msgstr ""
...
...
@@ -1172,6 +1177,10 @@ msgstr ""
msgid "To (at least)"
msgstr ""
#: src/components/SearchModal/Manage.tsx
msgid "Tokens"
msgstr ""
#: src/pages/Pool/CTACards.tsx
msgid "Top pools"
msgstr ""
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment