Commit 04d5ec7
authored
feat/multi language widget (#2847)
* Try add lingui widget
Continue setup
Add gitignore
Complete setup
POC
Update build script
* Add translate
* Try fix build
* Add lingui liquidity widgets
* Update message
* Show language switch
* Setup lingui zap-in
* Setup lingui zap-migration
* Fix translate ERROR_MESSAGE
* Translate zap out
Auto stash before rebase of "feat/multi-language-widget"
* Translate zap-migration-widgets
Fix conflict
Remove duplidated PoolInfo
* Update
* Update
* Update
* Hide switch languague
* Revert "Hide switch languague"
This reverts commit cec3034.
* Update
* Hide switch languague1 parent 9547c78 commit 04d5ec7
File tree
140 files changed
+5554
-883
lines changed- apps/kyberswap-interface/src
- components/SwapForm/SwapModal/SwapDetails
- locales
- pages/Earns
- PositionDetail
- UserPositions
- components/ClaimModal
- hooks
- packages
- compounding-widget
- src
- components
- Action
- Content
- Header
- PositionLiquidity
- PriceRange
- ReInvest
- Setting
- SlippageWarning
- constants
- hooks
- locales
- types
- liquidity-widgets
- src
- components
- Action
- Content
- Estimated
- Header
- PositionLiquidity
- Preview
- PriceRange
- Setting
- SlippageWarning
- constants
- locales
- types
- zap-migration-widgets
- src
- components
- Action
- Estimated
- PoolPriceWithRange
- PositionToMigrate
- Preview
- RangeInput
- Setting
- TargetPosition
- Warning
- locales
- types
- zap-out-widgets
- src
- components
- Estimated
- Setting
- locales
- types
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
140 files changed
+5554
-883
lines changedLines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
234 | 234 | | |
235 | 235 | | |
236 | 236 | | |
237 | | - | |
| 237 | + | |
238 | 238 | | |
239 | 239 | | |
240 | 240 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
737 | 737 | | |
738 | 738 | | |
739 | 739 | | |
| 740 | + | |
| 741 | + | |
| 742 | + | |
| 743 | + | |
740 | 744 | | |
741 | 745 | | |
742 | 746 | | |
| |||
1474 | 1478 | | |
1475 | 1479 | | |
1476 | 1480 | | |
| 1481 | + | |
1477 | 1482 | | |
1478 | 1483 | | |
1479 | 1484 | | |
| |||
3264 | 3269 | | |
3265 | 3270 | | |
3266 | 3271 | | |
| 3272 | + | |
| 3273 | + | |
| 3274 | + | |
| 3275 | + | |
3267 | 3276 | | |
3268 | 3277 | | |
3269 | 3278 | | |
| |||
3418 | 3427 | | |
3419 | 3428 | | |
3420 | 3429 | | |
| 3430 | + | |
| 3431 | + | |
| 3432 | + | |
| 3433 | + | |
3421 | 3434 | | |
3422 | 3435 | | |
3423 | 3436 | | |
| |||
3564 | 3577 | | |
3565 | 3578 | | |
3566 | 3579 | | |
3567 | | - | |
3568 | | - | |
3569 | | - | |
3570 | | - | |
3571 | 3580 | | |
3572 | 3581 | | |
3573 | 3582 | | |
| |||
4450 | 4459 | | |
4451 | 4460 | | |
4452 | 4461 | | |
| 4462 | + | |
| 4463 | + | |
| 4464 | + | |
| 4465 | + | |
4453 | 4466 | | |
4454 | 4467 | | |
4455 | 4468 | | |
| |||
4839 | 4852 | | |
4840 | 4853 | | |
4841 | 4854 | | |
| 4855 | + | |
| 4856 | + | |
| 4857 | + | |
| 4858 | + | |
4842 | 4859 | | |
4843 | 4860 | | |
4844 | 4861 | | |
| |||
5366 | 5383 | | |
5367 | 5384 | | |
5368 | 5385 | | |
| 5386 | + | |
5369 | 5387 | | |
5370 | 5388 | | |
5371 | 5389 | | |
| |||
5808 | 5826 | | |
5809 | 5827 | | |
5810 | 5828 | | |
| 5829 | + | |
| 5830 | + | |
| 5831 | + | |
| 5832 | + | |
5811 | 5833 | | |
5812 | 5834 | | |
5813 | 5835 | | |
| |||
7567 | 7589 | | |
7568 | 7590 | | |
7569 | 7591 | | |
| 7592 | + | |
7570 | 7593 | | |
7571 | 7594 | | |
7572 | 7595 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
737 | 737 | | |
738 | 738 | | |
739 | 739 | | |
| 740 | + | |
| 741 | + | |
| 742 | + | |
| 743 | + | |
740 | 744 | | |
741 | 745 | | |
742 | 746 | | |
| |||
1474 | 1478 | | |
1475 | 1479 | | |
1476 | 1480 | | |
| 1481 | + | |
1477 | 1482 | | |
1478 | 1483 | | |
1479 | 1484 | | |
| |||
3264 | 3269 | | |
3265 | 3270 | | |
3266 | 3271 | | |
| 3272 | + | |
| 3273 | + | |
| 3274 | + | |
| 3275 | + | |
3267 | 3276 | | |
3268 | 3277 | | |
3269 | 3278 | | |
| |||
3418 | 3427 | | |
3419 | 3428 | | |
3420 | 3429 | | |
| 3430 | + | |
| 3431 | + | |
| 3432 | + | |
| 3433 | + | |
3421 | 3434 | | |
3422 | 3435 | | |
3423 | 3436 | | |
| |||
3564 | 3577 | | |
3565 | 3578 | | |
3566 | 3579 | | |
3567 | | - | |
3568 | | - | |
3569 | | - | |
3570 | | - | |
3571 | 3580 | | |
3572 | 3581 | | |
3573 | 3582 | | |
| |||
4450 | 4459 | | |
4451 | 4460 | | |
4452 | 4461 | | |
| 4462 | + | |
| 4463 | + | |
| 4464 | + | |
| 4465 | + | |
4453 | 4466 | | |
4454 | 4467 | | |
4455 | 4468 | | |
| |||
4839 | 4852 | | |
4840 | 4853 | | |
4841 | 4854 | | |
| 4855 | + | |
| 4856 | + | |
| 4857 | + | |
| 4858 | + | |
4842 | 4859 | | |
4843 | 4860 | | |
4844 | 4861 | | |
| |||
5366 | 5383 | | |
5367 | 5384 | | |
5368 | 5385 | | |
| 5386 | + | |
5369 | 5387 | | |
5370 | 5388 | | |
5371 | 5389 | | |
| |||
5808 | 5826 | | |
5809 | 5827 | | |
5810 | 5828 | | |
| 5829 | + | |
| 5830 | + | |
| 5831 | + | |
| 5832 | + | |
5811 | 5833 | | |
5812 | 5834 | | |
5813 | 5835 | | |
| |||
7567 | 7589 | | |
7568 | 7590 | | |
7569 | 7591 | | |
| 7592 | + | |
7570 | 7593 | | |
7571 | 7594 | | |
7572 | 7595 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
419 | 419 | | |
420 | 420 | | |
421 | 421 | | |
422 | | - | |
| 422 | + | |
423 | 423 | | |
424 | 424 | | |
425 | 425 | | |
| |||
Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | | - | |
18 | | - | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
| 81 | + | |
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| |||
Lines changed: 8 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
100 | | - | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
101 | 105 | | |
102 | 106 | | |
103 | 107 | | |
104 | 108 | | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
110 | 112 | | |
111 | 113 | | |
112 | 114 | | |
| |||
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| |||
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| 16 | + | |
15 | 17 | | |
16 | 18 | | |
17 | 19 | | |
| |||
33 | 35 | | |
34 | 36 | | |
35 | 37 | | |
| 38 | + | |
36 | 39 | | |
37 | 40 | | |
38 | 41 | | |
| |||
78 | 81 | | |
79 | 82 | | |
80 | 83 | | |
| 84 | + | |
81 | 85 | | |
82 | 86 | | |
83 | 87 | | |
| |||
158 | 162 | | |
159 | 163 | | |
160 | 164 | | |
| 165 | + | |
161 | 166 | | |
162 | 167 | | |
163 | 168 | | |
| |||
228 | 233 | | |
229 | 234 | | |
230 | 235 | | |
| 236 | + | |
231 | 237 | | |
232 | 238 | | |
233 | 239 | | |
| |||
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| 18 | + | |
17 | 19 | | |
18 | 20 | | |
19 | 21 | | |
| |||
44 | 46 | | |
45 | 47 | | |
46 | 48 | | |
| 49 | + | |
47 | 50 | | |
48 | 51 | | |
49 | 52 | | |
| |||
100 | 103 | | |
101 | 104 | | |
102 | 105 | | |
| 106 | + | |
103 | 107 | | |
104 | 108 | | |
105 | 109 | | |
| |||
208 | 212 | | |
209 | 213 | | |
210 | 214 | | |
| 215 | + | |
211 | 216 | | |
212 | 217 | | |
213 | 218 | | |
| |||
344 | 349 | | |
345 | 350 | | |
346 | 351 | | |
| 352 | + | |
347 | 353 | | |
348 | 354 | | |
349 | 355 | | |
| |||
0 commit comments