Skip to content

Commit 378594e

Browse files
authored
feat: add pending rewards (#2865)
* feat: add pending rewards * fix: remove un-used locales * switch endpoint * fix * fix
1 parent 3e9bc57 commit 378594e

File tree

13 files changed

+91
-46742
lines changed

13 files changed

+91
-46742
lines changed

apps/kyberswap-interface/src/locales/en-US.po

Lines changed: 19 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -481,6 +481,11 @@ msgstr "TOTAL AMOUNT (USD)"
481481
msgid "Review your order"
482482
msgstr "Review your order"
483483

484+
#: src/pages/Earns/PositionDetail/index.tsx
485+
#: src/pages/Earns/UserPositions/TableContent.tsx
486+
msgid "We found a pool with the same pair offering extra rewards. Migrate to this pool on {suggestedProtocolName} hook to start earning farming rewards."
487+
msgstr "We found a pool with the same pair offering extra rewards. Migrate to this pool on {suggestedProtocolName} hook to start earning farming rewards."
488+
484489
#: src/components/swapv2/SwapSettingsPanel/DegenModeSetting.tsx
485490
#: src/components/TransactionSettings/index.tsx
486491
msgid "Degen Mode"
@@ -683,6 +688,10 @@ msgstr "Before you can subscribe to this notification, sign-in to a profile firs
683688
msgid "Position was created at {0}"
684689
msgstr "Position was created at {0}"
685690

691+
#: src/pages/Earns/components/RewardSyncing.tsx
692+
msgid "Data is still syncing — takes up to 10 minutes."
693+
msgstr "Data is still syncing — takes up to 10 minutes."
694+
686695
#: src/components/SwapForm/TradeSummary.tsx
687696
msgid "Read more about the fees {hereLink}"
688697
msgstr "Read more about the fees {hereLink}"
@@ -1136,6 +1145,11 @@ msgstr "<0>To be eligible for the Referee bonus</0>, users must join the referra
11361145
msgid "KNC Amount"
11371146
msgstr "KNC Amount"
11381147

1148+
#: src/pages/Earns/PositionDetail/index.tsx
1149+
#: src/pages/Earns/UserPositions/TableContent.tsx
1150+
msgid "Earn extra rewards with exact same pair and fee tier on {suggestedProtocolName} hook."
1151+
msgstr "Earn extra rewards with exact same pair and fee tier on {suggestedProtocolName} hook."
1152+
11391153
#: src/components/LiveChart/index.tsx
11401154
msgid "Past hour"
11411155
msgstr "Past hour"
@@ -2509,11 +2523,6 @@ msgstr "Where you can buy KNC"
25092523
msgid "Checking data"
25102524
msgstr "Checking data"
25112525

2512-
#: src/pages/Earns/PositionDetail/index.tsx
2513-
#: src/pages/Earns/UserPositions/TableContent.tsx
2514-
msgid "Earn extra rewards with exact same pair and fee tier on Uniswap v4 hook."
2515-
msgstr "Earn extra rewards with exact same pair and fee tier on Uniswap v4 hook."
2516-
25172526
#: src/components/swapv2/LimitOrder/LimitOrderForm.tsx
25182527
msgid "You Sell"
25192528
msgstr "You Sell"
@@ -3790,6 +3799,7 @@ msgid "Step 3"
37903799
msgstr "Step 3"
37913800

37923801
#: src/components/WalletPopup/Transactions/Status.tsx
3802+
#: src/pages/Earns/PositionDetail/RewardSection.tsx
37933803
#: src/pages/KyberDAO/KNCUtility/GasRefundBox.tsx
37943804
msgid "Pending"
37953805
msgstr "Pending"
@@ -6895,19 +6905,10 @@ msgstr "POOLS"
68956905
msgid "We paused all our Elastic farms on 18 April 2023, 4pm UTC. Information on this can be found in our announcement <0>here</0>"
68966906
msgstr "We paused all our Elastic farms on 18 April 2023, 4pm UTC. Information on this can be found in our announcement <0>here</0>"
68976907

6898-
#: src/pages/Earns/components/RewardSyncing.tsx
6899-
msgid "Data is still syncing — takes up to 5 minutes."
6900-
msgstr "Data is still syncing — takes up to 5 minutes."
6901-
69026908
#: src/pages/NotificationCenter/Profile/index.tsx
69036909
msgid "Profile updated"
69046910
msgstr "Profile updated"
69056911

6906-
#: src/pages/Earns/PositionDetail/index.tsx
6907-
#: src/pages/Earns/UserPositions/TableContent.tsx
6908-
msgid "We found a pool with the same pair offering extra rewards. Migrate to this pool on Uniswap v4 hook to start earning farming rewards."
6909-
msgstr "We found a pool with the same pair offering extra rewards. Migrate to this pool on Uniswap v4 hook to start earning farming rewards."
6910-
69116912
#: src/pages/Campaign/components/Information.tsx
69126913
#: src/pages/Campaign/components/Information.tsx
69136914
msgid "Points are calculated based on the tokens and the amount you swap. It will automatically be converted to ARB after a 7 days buffer period."
@@ -7657,6 +7658,10 @@ msgstr "NUMBER OF REFERRALS"
76577658
msgid "Connect your Wallet"
76587659
msgstr "Connect your Wallet"
76597660

7661+
#: src/pages/Earns/PositionDetail/RewardSection.tsx
7662+
msgid "are under review after failing to finalize in the 2 days vesting period."
7663+
msgstr "are under review after failing to finalize in the 2 days vesting period."
7664+
76607665
#: src/state/burn/hooks.ts
76617666
#: src/state/burn/hooks.ts
76627667
#: src/state/burn/hooks.ts

0 commit comments

Comments
 (0)