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
d00aa5dd
Commit
d00aa5dd
authored
Sep 24, 2024
by
Uniswap Labs Service Account
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ci(release): publish latest release
parent
5f39a9ea
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
27 additions
and
50 deletions
+27
-50
RELEASE
RELEASE
+6
-44
VERSION
VERSION
+1
-1
i18n-setup-interface.tsx
packages/uniswap/src/i18n/i18n-setup-interface.tsx
+20
-5
No files found.
RELEASE
View file @
d00aa5dd
IPFS hash of the deployment:
- CIDv0: `Qm
Q8UanH84ztdAz6r982h7KRAmtSvPwd9LDSYJ9VEW83iH
`
- CIDv1: `bafybei
a2td2e2swyfxgrspubtq3bzklw3r74qmjhjvnej3bclxjgqs24vi
`
- CIDv0: `Qm
Sen79xDfziDqosVLQFWT5F1cxK7pYHirdnMMkCjZqtDz
`
- CIDv1: `bafybei
cacoiqphc6t7aqqtkawiwotwqxwxqdtapccc4iy64xx3ompux7du
`
The latest release is always mirrored at [app.uniswap.org](https://app.uniswap.org).
...
...
@@ -10,48 +10,10 @@ You can also access the Uniswap Interface from an IPFS gateway.
Your Uniswap settings are never remembered across different URLs.
IPFS gateways:
- https://bafybei
a2td2e2swyfxgrspubtq3bzklw3r74qmjhjvnej3bclxjgqs24vi
.ipfs.dweb.link/
- https://bafybei
a2td2e2swyfxgrspubtq3bzklw3r74qmjhjvnej3bclxjgqs24vi
.ipfs.cf-ipfs.com/
- [ipfs://Qm
Q8UanH84ztdAz6r982h7KRAmtSvPwd9LDSYJ9VEW83iH/](ipfs://QmQ8UanH84ztdAz6r982h7KRAmtSvPwd9LDSYJ9VEW83iH
/)
- https://bafybei
cacoiqphc6t7aqqtkawiwotwqxwxqdtapccc4iy64xx3ompux7du
.ipfs.dweb.link/
- https://bafybei
cacoiqphc6t7aqqtkawiwotwqxwxqdtapccc4iy64xx3ompux7du
.ipfs.cf-ipfs.com/
- [ipfs://Qm
Sen79xDfziDqosVLQFWT5F1cxK7pYHirdnMMkCjZqtDz/](ipfs://QmSen79xDfziDqosVLQFWT5F1cxK7pYHirdnMMkCjZqtDz
/)
## 5.48.0 (2024-09-24)
### Features
* **web:** add address to suggestion row (#12045) 6676db9
* **web:** add ConnectWalletButtonText (#12042) 218baff
* **web:** add new fee tiers to base (#12013) 01a9528
* **web:** add the input form and context (#11978) b6c1ec4
* **web:** adding range selection screen to v4 (#11998) 8eec4b3
* **web:** allow copying v4 hooks (#11950) 9c4375d
* **web:** calculate depended amount for v2 (#12062) 2bf4c53
* **web:** calculate dependent token value from the sdk (#12040) 141d691
* **web:** create positions page v4 (#11974) 6fc32bc
* **web:** fix v4 URL paths for existing routes (#11903) 6ded044
* **web:** Migrate assets from org (#11937) c436f4c
* **web:** migrate to shared currency state (#11030) eb21f0a
* **web:** migrate to shared language state (#11029) 6ae056f
* **web:** shared swap tabs (#11769) d811690
* **web:** toolbar for v4 create page (#12012) 7bc5579
* **web:** v4 call trading-api reduce LP position endpoint (#11883) 392e1c5
* **web:** v4 migrate page (#11823) 79084f4
* **web:** v4 my positions list page (#11831) 93bd2c0
* **web:** v4 remove LP modal (#11755) e881123
### Bug Fixes
* **web:** Fix sign in translation string (#12090) 2fcbd22
* **web:** nav dropdown height overflow and scroll (#11987) 566e661
* **web:** prevent crash from new Base fee tiers (#11932) 229efd6
* **web:** removing feature flag on route definitions for v4 (#11975) 4f360d6
* **web:** token caching fix in mini portfolio (#12152) 58ef42d
* **web:** use overflow auto instead of scroll (#12008) ca9cb0c
### Continuous Integration
* **web:** update sitemaps 4849e2e
### 5.48.1 (2024-09-24)
VERSION
View file @
d00aa5dd
web/5.48.0
\ No newline at end of file
web/5.48.1
\ No newline at end of file
packages/uniswap/src/i18n/i18n-setup-interface.tsx
View file @
d00aa5dd
import
i18n
from
'
i18next
'
import
resourcesToBackend
from
'
i18next-resources-to-backend
'
import
{
initReactI18next
}
from
'
react-i18next
'
import
{
Locale
}
from
'
uniswap/src/features/language/constants
'
import
enUsLocale
from
'
uniswap/src/i18n/locales/source/en-US.json
'
import
{
logger
}
from
'
utilities/src/logger/logger
'
...
...
@@ -17,16 +18,30 @@ export function setupi18n(): undefined {
i18n
.
use
(
initReactI18next
)
.
use
(
resourcesToBackend
((
l
anguag
e
:
string
)
=>
{
resourcesToBackend
((
l
ocal
e
:
string
)
=>
{
// not sure why but it tries to load es THEN es-ES, for any language, but we just want the second
if
(
!
l
anguag
e
.
includes
(
'
-
'
))
{
return
if
(
!
l
ocal
e
.
includes
(
'
-
'
))
{
return
undefined
}
if
(
language
===
'
en-US
'
)
{
if
(
locale
===
Locale
.
EnglishUnitedStates
)
{
return
enUsLocale
}
const
localeNameToFileNameOverrides
:
Record
<
string
,
string
>
=
{
[
Locale
.
ChineseSimplified
]:
'
zh-CN
'
,
[
Locale
.
ChineseTraditional
]:
'
zh-TW
'
,
[
Locale
.
SpanishLatam
]:
Locale
.
SpanishSpain
,
[
Locale
.
SpanishUnitedStates
]:
Locale
.
SpanishSpain
,
}
if
(
Object
.
keys
(
localeNameToFileNameOverrides
).
includes
(
locale
))
{
// eslint-disable-next-line no-unsanitized/method
return
import
(
`./locales/translations/
${
localeNameToFileNameOverrides
[
locale
]}
.json`
)
}
// eslint-disable-next-line no-unsanitized/method
return
import
(
`./locales/translations/
${
l
anguag
e
}
.json`
)
return
import
(
`./locales/translations/
${
l
ocal
e
}
.json`
)
}),
)
.
on
(
'
failedLoading
'
,
(
language
,
namespace
,
msg
)
=>
{
...
...
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