Zach Pomerantz
e81e8a8f71
fix: inadvertent merges/reverts ( #2915 )
...
* Revert "Revert "Merge branch 'main' of https://github.com/Uniswap/interface " (#2912 )"
This reverts commit 7d343dcfbdf75a2f91d28cefce84e4b1bace7b87.
* Revert "deleted files"
This reverts commit 097b8361d4c09afd3cb681c4622145c555ced884.
2021-12-02 10:35:39 -08:00
Justin Domingue
097b8361d4
deleted files
2021-12-02 11:14:41 -05:00
Moody Salem
53da48b646
refactor: add an import sorting plugin ( #2417 )
...
* refactor: add an import sorting plugin
* Fix code style issues with ESLint
Co-authored-by: Lint Action <lint-action@samuelmeuli.com>
2021-09-21 18:21:28 -05:00
Zach Pomerantz
88cc20a61a
feat(i18n): initialize locale before React ( #2343 )
...
* feat: initialize locale before React
* chore: explain react-router-dom hash/search usage
2021-09-14 10:17:56 -07:00
Moody Salem
a7a1607faa
fix: add a link to switch the locale conditionally ( #1776 )
...
* add a link to switch the locale conditionally
* make it smaller
* add the locale labels
* language labels from the internet
* fix the heart in the claim popup
* undo the conditional change
* remove todo
* updated Chinese locale name to office-365 language ids
* added missing <Trans>
Co-authored-by: Justin Domingue <judo@uniswap.org>
2021-06-01 09:54:43 -05:00
Moody Salem
408a07ebd4
try extracting en-US.po only in the github workflow
2021-05-29 15:32:51 -05:00
Moody Salem
cfea3723a2
remove setting the locale from using the active locale
2021-05-29 07:14:26 -05:00
Moody Salem
7d0fb9cc10
workaround for the url locale not sticking
2021-05-29 00:29:17 -05:00
Moody Salem
3394bc738f
fix the locale parsing of full locale string
2021-05-28 23:43:15 -05:00
Moody Salem
32b56ba0fd
just pick the first occurrence of an abbreviated locale in the locale parsing
2021-05-28 23:30:29 -05:00
Moody Salem
d719942931
chore: en -> en-US
2021-05-28 23:15:07 -05:00
Moody Salem
ab34645073
chore: pare down the locales directory to let the crowdin sync do the work
2021-05-28 23:06:54 -05:00
Justin Domingue
70174140bc
chore: refactored locale management hook ( #1737 )
...
* chore: refactored locale management hook
* use useMemo instead of useState
2021-05-28 17:36:37 -07:00