diff --git a/apps/evm/src/components/ProfileActivity/ProfileActivity.tsx b/apps/evm/src/components/ProfileActivity/ProfileActivity.tsx index 362d5502..064ca913 100644 --- a/apps/evm/src/components/ProfileActivity/ProfileActivity.tsx +++ b/apps/evm/src/components/ProfileActivity/ProfileActivity.tsx @@ -1,4 +1,4 @@ -import { Flex, P, Skeleton } from '@gobob/ui'; +import { Button, Flex, P, Skeleton } from '@gobob/ui'; import { Trans } from '@lingui/macro'; import { useStore } from '@tanstack/react-store'; import { watchAccount } from '@wagmi/core'; @@ -6,17 +6,67 @@ import { useEffect, useMemo, useRef } from 'react'; import { useConfig } from 'wagmi'; import { StyledTransactionList } from './ProfileActivity.style'; -import { - ProfileActivityFilters, - ProfileActivityFiltersData, - ProfileActivityStatusFilterOption, - ProfileActivityTypeFilterOption -} from './ProfileActivityFilters'; +import { ProfileActivityFilters, ProfileActivityFiltersData } from './ProfileActivityFilters'; import { TransactionItem } from './TransactionItem'; import { useGetBridgeTransactions, useGetGatewayTransactions } from '@/hooks'; -import { store } from '@/lib/store'; -import { BridgeTransactionStatus, GatewayTransactionType, TransactionType } from '@/types'; +import { SharedStoreProfileTxStatus, SharedStoreProfileTxType, store } from '@/lib/store'; +import { + BridgeTransaction, + BridgeTransactionStatus, + GatewayTransaction, + GatewayTransactionType, + TransactionType +} from '@/types'; + +const filterByType = ( + bridgeData: BridgeTransaction[], + gatewayData: GatewayTransaction[], + type?: SharedStoreProfileTxType +) => { + switch (type) { + case SharedStoreProfileTxType.BTC_BRIDGE: + return gatewayData?.filter((item) => item.subType === GatewayTransactionType.BRIDGE) || []; + case SharedStoreProfileTxType.STRATEGIES: + return gatewayData?.filter((item) => item.subType === GatewayTransactionType.STRATEGY) || []; + case SharedStoreProfileTxType.NATIVE_BRIDGE: + return bridgeData; + default: + case SharedStoreProfileTxType.ALL_TRANSACTIONS: + return [...bridgeData, ...gatewayData]; + } +}; + +const filterByStatus = (data: Array, status?: SharedStoreProfileTxStatus) => { + switch (status) { + case SharedStoreProfileTxStatus.PENDING: + return data.filter((item) => + item.type === TransactionType.Bridge + ? item.status !== BridgeTransactionStatus.RELAYED + : item.status !== 'l2-confirmation' + ); + case SharedStoreProfileTxStatus.COMPLETE: + return data.filter((item) => + item.type === TransactionType.Bridge + ? item.status === BridgeTransactionStatus.RELAYED + : item.status === 'l2-confirmation' + ); + case SharedStoreProfileTxStatus.FAILED: + return data.filter((item) => + item.type === TransactionType.Bridge ? item.status === BridgeTransactionStatus.FAILED_L1_TO_L2_MESSAGE : false + ); + case SharedStoreProfileTxStatus.NEEDED_ACTION: + return data.filter((item) => + item.type === TransactionType.Bridge + ? item.status === BridgeTransactionStatus.READY_TO_PROVE || + item.status === BridgeTransactionStatus.READY_FOR_RELAY + : false + ); + default: + case SharedStoreProfileTxStatus.ANY_STATUS: + return data; + } +}; const ProfileActivity = (): JSX.Element => { const { filters } = useStore(store, (state) => state.shared.profile.transactions); @@ -57,76 +107,38 @@ const ProfileActivity = (): JSX.Element => { } }, [isInitialLoading, isLoading]); - const dataByType = useMemo(() => { - switch (filters.type) { - case ProfileActivityTypeFilterOption.BTC_BRIDGE: - return gateway.data?.filter((item) => item.subType === GatewayTransactionType.BRIDGE) || []; - case ProfileActivityTypeFilterOption.STRATEGIES: - return gateway.data?.filter((item) => item.subType === GatewayTransactionType.STRATEGY) || []; - case ProfileActivityTypeFilterOption.NATIVE_BRIDGE: - return bridge.data; - default: - case ProfileActivityTypeFilterOption.ALL_TRANSACTIONS: - return [...bridge.data, ...(gateway?.data || [])]; - } - }, [bridge.data, gateway.data, filters.type]); - - const dataByStatus = useMemo(() => { - switch (filters.status) { - case ProfileActivityStatusFilterOption.PENDING: - return dataByType.filter((item) => - item.type === TransactionType.Bridge - ? item.status !== BridgeTransactionStatus.RELAYED - : item.status !== 'l2-confirmation' - ); - case ProfileActivityStatusFilterOption.COMPLETE: - return dataByType.filter((item) => - item.type === TransactionType.Bridge - ? item.status === BridgeTransactionStatus.RELAYED - : item.status === 'l2-confirmation' - ); - case ProfileActivityStatusFilterOption.FAILED: - return dataByType.filter((item) => - item.type === TransactionType.Bridge ? item.status === BridgeTransactionStatus.FAILED_L1_TO_L2_MESSAGE : false - ); - case ProfileActivityStatusFilterOption.NEEDED_ACTION: - return dataByType.filter((item) => - item.type === TransactionType.Bridge - ? item.status === BridgeTransactionStatus.READY_TO_PROVE || - item.status === BridgeTransactionStatus.READY_FOR_RELAY - : false - ); - - default: - case ProfileActivityStatusFilterOption.ANY_STATUS: - return dataByType; - } - }, [dataByType, filters.status]); + const handleFilterSelectionChange = (value: ProfileActivityFiltersData) => + store.setState((state) => ({ + ...state, + shared: { + ...state.shared, + profile: { + ...state.shared.profile, + transactions: { + ...state.shared.profile.transactions, + filters: value + } + } + } + })); + + const isFiltering = !!(filters.status || filters.type); - const sortedData = useMemo(() => { - return dataByStatus?.sort((a, b) => b.date.getTime() - a.date.getTime()); - }, [dataByStatus]); + const data = useMemo(() => { + const filteredByType = filterByType(bridge.data, gateway.data || [], filters.type); + + const filteredByStatus = filterByStatus(filteredByType, filters.status); + + return filteredByStatus?.sort((a, b) => b.date.getTime() - a.date.getTime()); + }, [bridge.data, filters.status, filters.type, gateway.data]); return ( - store.setState((state) => ({ - ...state, - shared: { - ...state.shared, - profile: { - ...state.shared.profile, - transactions: { - ...state.shared.profile.transactions, - filters: value - } - } - } - })) - } + onSelectionChange={handleFilterSelectionChange} /> @@ -147,8 +159,8 @@ const ProfileActivity = (): JSX.Element => { )) ) : ( <> - {sortedData?.length ? ( - sortedData.map((data, key) => ( + {data?.length ? ( + data.map((data, key) => ( { /> )) ) : ( - +

No operations found

+ {isFiltering && ( + + )}
)} diff --git a/apps/evm/src/components/ProfileActivity/ProfileActivityFilters.tsx b/apps/evm/src/components/ProfileActivity/ProfileActivityFilters.tsx index 9bc1c8eb..e365c5f6 100644 --- a/apps/evm/src/components/ProfileActivity/ProfileActivityFilters.tsx +++ b/apps/evm/src/components/ProfileActivity/ProfileActivityFilters.tsx @@ -14,54 +14,45 @@ import { import { Trans } from '@lingui/macro'; import { useEffect, useId, useState } from 'react'; -enum ProfileActivityStatusFilterOption { - ANY_STATUS = 'default', - PENDING = 'pending', - NEEDED_ACTION = 'needed-action', - COMPLETE = 'complete', - FAILED = 'failed' -} - -enum ProfileActivityTypeFilterOption { - ALL_TRANSACTIONS = 'default', - NATIVE_BRIDGE = 'native-bridge', - BTC_BRIDGE = 'btc-bridge', - STRATEGIES = 'strategies' -} +import { SharedStoreProfileTxStatus, SharedStoreProfileTxType } from '@/lib/store'; const statusFilterOptions = [ - { children: Any Status, key: ProfileActivityStatusFilterOption.ANY_STATUS }, - { children: Pending, key: ProfileActivityStatusFilterOption.PENDING }, - { children: Needed Action, key: ProfileActivityStatusFilterOption.NEEDED_ACTION }, - { children: Complete, key: ProfileActivityStatusFilterOption.COMPLETE }, - { children: Failed, key: ProfileActivityStatusFilterOption.FAILED } + { children: Any Status, key: SharedStoreProfileTxStatus.ANY_STATUS }, + { children: Pending, key: SharedStoreProfileTxStatus.PENDING }, + { children: Needed Action, key: SharedStoreProfileTxStatus.NEEDED_ACTION }, + { children: Complete, key: SharedStoreProfileTxStatus.COMPLETE }, + { children: Failed, key: SharedStoreProfileTxStatus.FAILED } ]; const typeFilterOptions = [ - { children: Any Transaction, key: ProfileActivityTypeFilterOption.ALL_TRANSACTIONS }, - { children: Native Bridge, key: ProfileActivityTypeFilterOption.NATIVE_BRIDGE }, - { children: BTC Bridge, key: ProfileActivityTypeFilterOption.BTC_BRIDGE }, - { children: Staking, key: ProfileActivityTypeFilterOption.STRATEGIES } + { children: Any Transaction, key: SharedStoreProfileTxType.ALL_TRANSACTIONS }, + { children: Native Bridge, key: SharedStoreProfileTxType.NATIVE_BRIDGE }, + { children: BTC Bridge, key: SharedStoreProfileTxType.BTC_BRIDGE }, + { children: Staking, key: SharedStoreProfileTxType.STRATEGIES } ]; -type ProfileActivityFiltersData = { type: ProfileActivityTypeFilterOption; status: ProfileActivityStatusFilterOption }; +type ProfileActivityFiltersData = { type?: SharedStoreProfileTxType; status?: SharedStoreProfileTxStatus }; type ProfileActivityFiltersProps = { + isFiltering: boolean; value: ProfileActivityFiltersData; onSelectionChange: (filters: ProfileActivityFiltersData) => void; }; -const ProfileActivityFilters = ({ value, onSelectionChange }: ProfileActivityFiltersProps): JSX.Element => { +const ProfileActivityFilters = ({ + isFiltering, + value, + onSelectionChange +}: ProfileActivityFiltersProps): JSX.Element => { const statusLabelId = useId(); const typeLabelId = useId(); - const [state, setState] = useState({ - status: value.status || ProfileActivityStatusFilterOption.ANY_STATUS, - type: value.type || ProfileActivityTypeFilterOption.ALL_TRANSACTIONS - }); + const [state, setState] = useState(value); const [isOpen, setOpen] = useState(false); - useEffect(() => {}, [isOpen]); + useEffect(() => { + setState(value); + }, [value]); const handleApply = () => { onSelectionChange(state); @@ -78,8 +69,8 @@ const ProfileActivityFilters = ({ value, onSelectionChange }: ProfileActivityFil const handleClear = () => { const clearState = { - status: ProfileActivityStatusFilterOption.ANY_STATUS, - type: ProfileActivityTypeFilterOption.ALL_TRANSACTIONS + status: undefined, + type: undefined }; setState(clearState); @@ -88,15 +79,11 @@ const ProfileActivityFilters = ({ value, onSelectionChange }: ProfileActivityFil setOpen(false); }; - const isFiltering = - (value.status && value.status !== ProfileActivityStatusFilterOption.ANY_STATUS) || - (value.type && value.type !== ProfileActivityTypeFilterOption.ALL_TRANSACTIONS); - const statusLabel = statusFilterOptions.find( - (item) => item.key === (value.status || ProfileActivityStatusFilterOption.ANY_STATUS) + (item) => item.key === (value.status || SharedStoreProfileTxStatus.ANY_STATUS) )?.children; const typeLabel = typeFilterOptions.find( - (item) => item.key === (value.type || ProfileActivityTypeFilterOption.ALL_TRANSACTIONS) + (item) => item.key === (value.type || SharedStoreProfileTxType.ALL_TRANSACTIONS) )?.children; return ( @@ -138,12 +125,18 @@ const ProfileActivityFilters = ({ value, onSelectionChange }: ProfileActivityFil { const [selectedKey] = [...key]; - setState((s) => ({ ...s, status: selectedKey as ProfileActivityStatusFilterOption })); + setState((s) => ({ + ...s, + status: + selectedKey === SharedStoreProfileTxStatus.ANY_STATUS + ? undefined + : (selectedKey as SharedStoreProfileTxStatus) + })); }} > {statusFilterOptions.map((option) => ( @@ -159,12 +152,18 @@ const ProfileActivityFilters = ({ value, onSelectionChange }: ProfileActivityFil { const [selectedKey] = [...key]; - setState((s) => ({ ...s, type: selectedKey as ProfileActivityTypeFilterOption })); + setState((s) => ({ + ...s, + type: + selectedKey === SharedStoreProfileTxType.ALL_TRANSACTIONS + ? undefined + : (selectedKey as SharedStoreProfileTxType) + })); }} > {typeFilterOptions.map((option) => ( @@ -189,5 +188,5 @@ const ProfileActivityFilters = ({ value, onSelectionChange }: ProfileActivityFil ); }; -export { ProfileActivityFilters, ProfileActivityStatusFilterOption, ProfileActivityTypeFilterOption }; +export { ProfileActivityFilters }; export type { ProfileActivityFiltersData }; diff --git a/apps/evm/src/locales/en.po b/apps/evm/src/locales/en.po index 73e757da..ae2a66a6 100644 --- a/apps/evm/src/locales/en.po +++ b/apps/evm/src/locales/en.po @@ -100,7 +100,7 @@ msgstr "About" msgid "About Babylon Campaign" msgstr "About Babylon Campaign" -#: src/app/[lang]/(bridge)/bridge/Bridge.tsx:182 +#: src/app/[lang]/(bridge)/bridge/Bridge.tsx:199 msgid "Action needed" msgstr "Action needed" @@ -109,9 +109,10 @@ msgstr "Action needed" msgid "Active Superchain users who have received any of the five OP Airdrops qualify for an exclusive 50% bonus on all Spice harvested between 9 December 2024 and 12 January 2025. The bonus will be applied at the end of the campaign." msgstr "Active Superchain users who have received any of the five OP Airdrops qualify for an exclusive 50% bonus on all Spice harvested between 9 December 2024 and 12 January 2025. The bonus will be applied at the end of the campaign." -#: src/app/[lang]/(bridge)/bridge/Bridge.tsx:187 -#: src/components/Profile/Profile.tsx:150 -#: src/components/Profile/Profile.tsx:154 +#: src/app/[lang]/(bridge)/bridge/Bridge.tsx:204 +#: src/app/[lang]/(bridge)/stake/components/StrategiesTable/StrategiesTable.tsx:278 +#: src/components/Profile/Profile.tsx:151 +#: src/components/Profile/Profile.tsx:155 msgid "Activity" msgstr "Activity" @@ -154,7 +155,7 @@ msgstr "Already harvesting?" #: src/app/[lang]/(bridge)/bridge/components/BridgeForm/BobBridgeForm.tsx:478 #: src/app/[lang]/(bridge)/components/BtcTokenInput/BtcTokenInput.tsx:38 -#: src/app/[lang]/(bridge)/stake/components/StrategiesTable/StrategiesTable.tsx:228 +#: src/app/[lang]/(bridge)/stake/components/StrategiesTable/StrategiesTable.tsx:251 msgid "Amount" msgstr "Amount" @@ -162,16 +163,16 @@ msgstr "Amount" msgid "and" msgstr "and" -#: src/components/ProfileActivity/ProfileActivityFilters.tsx:33 +#: src/components/ProfileActivity/ProfileActivityFilters.tsx:20 msgid "Any Status" msgstr "Any Status" -#: src/components/ProfileActivity/ProfileActivityFilters.tsx:41 +#: src/components/ProfileActivity/ProfileActivityFilters.tsx:28 msgid "Any Transaction" msgstr "Any Transaction" #: src/app/[lang]/(bridge)/components/GatewayTransactionDetails/GatewayFeeSettingsModal.tsx:180 -#: src/components/ProfileActivity/ProfileActivityFilters.tsx:183 +#: src/components/ProfileActivity/ProfileActivityFilters.tsx:182 msgid "Apply" msgstr "Apply" @@ -205,7 +206,7 @@ msgstr "Asset" msgid "Audited by" msgstr "Audited by" -#: src/app/[lang]/(bridge)/components/BannerCarousel/BabylonBanner.tsx:32 +#: src/app/[lang]/(bridge)/components/BannerCarousel/BabylonBanner.tsx:35 #: src/app/[lang]/fusion/Fusion.tsx:209 msgid "Babylon campaign" msgstr "Babylon campaign" @@ -250,7 +251,7 @@ msgstr "BOB Bridge" msgid "BOB co-founder, <0>Alexei Zamyatin, would like to invite you to a private 1-to-1 call to hear your thoughts on BOB and Bitcoin DeFi. If you are interested, please click the button below to book a call at a time that suits you." msgstr "BOB co-founder, <0>Alexei Zamyatin, would like to invite you to a private 1-to-1 call to hear your thoughts on BOB and Bitcoin DeFi. If you are interested, please click the button below to book a call at a time that suits you." -#: src/app/[lang]/(bridge)/components/BannerCarousel/FusionBanner.tsx:22 +#: src/app/[lang]/(bridge)/components/BannerCarousel/FusionBanner.tsx:23 #: src/app/[lang]/fusion/Fusion.tsx:132 msgid "BOB Fusion: The Final Season" msgstr "BOB Fusion: The Final Season" @@ -343,7 +344,7 @@ msgstr "Bridging ALEX is disabled because Alex Lab suffered an exploit involving msgid "Bringing Bitcoin DeFi to the Superchain" msgstr "Bringing Bitcoin DeFi to the Superchain" -#: src/components/ProfileActivity/ProfileActivityFilters.tsx:43 +#: src/components/ProfileActivity/ProfileActivityFilters.tsx:30 msgid "BTC Bridge" msgstr "BTC Bridge" @@ -355,7 +356,7 @@ msgstr "BTC bridge is currently unavailable. This may be due to: {0}. Please try msgid "BTC LST Lending" msgstr "BTC LST Lending" -#: src/components/Profile/Profile.tsx:100 +#: src/components/Profile/Profile.tsx:106 msgid "Buy" msgstr "Buy" @@ -384,10 +385,14 @@ msgstr "Chose any of the existing liquid staking provider to mint your BTC LST." msgid "Claim your red envelope to win Spice and celebrate the Lunar New Year with BOB.<0/>Participate in Fusion voting to receive 3 envelopes daily until January 29th.<1/>Win 888, 168 or 88 Spice with every envelope. Then share your winnings on X and follow the campaign rules for a chance to win an extra 100,000 Spice." msgstr "Claim your red envelope to win Spice and celebrate the Lunar New Year with BOB.<0/>Participate in Fusion voting to receive 3 envelopes daily until January 29th.<1/>Win 888, 168 or 88 Spice with every envelope. Then share your winnings on X and follow the campaign rules for a chance to win an extra 100,000 Spice." -#: src/components/ProfileActivity/ProfileActivityFilters.tsx:180 +#: src/components/ProfileActivity/ProfileActivityFilters.tsx:179 msgid "Clear" msgstr "Clear" +#: src/components/ProfileActivity/ProfileActivity.tsx:182 +msgid "Clear Filters" +msgstr "Clear Filters" + #: src/app/[lang]/apps/components/HeroBanner/VotingInfoModal.tsx:34 msgid "Click the <0/> icon next to your favourite apps" msgstr "Click the <0/> icon next to your favourite apps" @@ -399,7 +404,7 @@ msgstr "Click the <0/> icon next to your favourite apps" msgid "Close" msgstr "Close" -#: src/app/[lang]/(bridge)/components/BannerCarousel/BabylonBanner.tsx:22 +#: src/app/[lang]/(bridge)/components/BannerCarousel/BabylonBanner.tsx:23 #: src/app/[lang]/fusion/Fusion.tsx:198 msgid "Collect Babylon Points on BOB" msgstr "Collect Babylon Points on BOB" @@ -426,7 +431,7 @@ msgstr "Community Voting" msgid "Community Voting Information" msgstr "Community Voting Information" -#: src/components/ProfileActivity/ProfileActivityFilters.tsx:36 +#: src/components/ProfileActivity/ProfileActivityFilters.tsx:23 msgid "Complete" msgstr "Complete" @@ -464,7 +469,7 @@ msgstr "Connect EVM Wallet" msgid "Connect request is already pending" msgstr "Connect request is already pending" -#: src/components/ConnectButton/ConnectButton.tsx:74 +#: src/components/ConnectButton/ConnectButton.tsx:95 #: src/connect-ui/component/AuthButton/AuthButton.tsx:62 #: src/connect-ui/component/ConnectModal/ConnectModal.tsx:171 msgid "Connect Wallet" @@ -511,7 +516,7 @@ msgstr "Currently, there is no available liquidity to onramp BTC into {assetName msgid "Deploy high priority assets into high priority DeFi protocols to maximize your Spice harvest." msgstr "Deploy high priority assets into high priority DeFi protocols to maximize your Spice harvest." -#: src/app/[lang]/(bridge)/bridge/Bridge.tsx:199 +#: src/app/[lang]/(bridge)/bridge/Bridge.tsx:216 msgid "Deposit" msgstr "Deposit" @@ -556,7 +561,7 @@ msgstr "Diamond" msgid "Disconnect" msgstr "Disconnect" -#: src/app/[lang]/nested-providers.tsx:61 +#: src/app/[lang]/nested-providers.tsx:60 msgid "Disconnected" msgstr "Disconnected" @@ -632,7 +637,7 @@ msgstr "Estimated within the next block" msgid "Exclusive Spice Bonus For Superchain Users" msgstr "Exclusive Spice Bonus For Superchain Users" -#: src/components/ProfileActivity/ProfileActivityFilters.tsx:37 +#: src/components/ProfileActivity/ProfileActivityFilters.tsx:24 msgid "Failed" msgstr "Failed" @@ -674,7 +679,7 @@ msgstr "Fee" #~ msgid "Fetching operations..." #~ msgstr "Fetching operations..." -#: src/components/ProfileActivity/ProfileActivityFilters.tsx:127 +#: src/components/ProfileActivity/ProfileActivityFilters.tsx:114 msgid "Filter by" msgstr "Filter by" @@ -690,7 +695,7 @@ msgstr "Finalize" msgid "Follow the steps of <0>this guide to provide liquity into a DEX pool on Oku." msgstr "Follow the steps of <0>this guide to provide liquity into a DEX pool on Oku." -#: src/app/[lang]/(bridge)/components/BannerCarousel/XBanner.tsx:18 +#: src/app/[lang]/(bridge)/components/BannerCarousel/XBanner.tsx:19 msgid "Follow us on X" msgstr "Follow us on X" @@ -716,7 +721,7 @@ msgstr "FUSION" msgid "Fusion season 3 is your last ever chance to harvest Spice. Stake your Bitcoin for the highest multipliers and refer a friend to receive a share of all the Spice they collect." msgstr "Fusion season 3 is your last ever chance to harvest Spice. Stake your Bitcoin for the highest multipliers and refer a friend to receive a share of all the Spice they collect." -#: src/app/[lang]/(bridge)/components/BannerCarousel/FusionBanner.tsx:30 +#: src/app/[lang]/(bridge)/components/BannerCarousel/FusionBanner.tsx:32 msgid "Fusion season three" msgstr "Fusion season three" @@ -757,7 +762,7 @@ msgstr "Go Back" msgid "Go to Explorer" msgstr "Go to Explorer" -#: src/app/[lang]/nested-providers.tsx:76 +#: src/app/[lang]/nested-providers.tsx:75 msgid "Got it!" msgstr "Got it!" @@ -817,7 +822,7 @@ msgstr "Hot Strategies" msgid "How to vote:" msgstr "How to vote:" -#: src/app/[lang]/(bridge)/components/BannerCarousel/HybridL2Banner.tsx:29 +#: src/app/[lang]/(bridge)/components/BannerCarousel/HybridL2Banner.tsx:32 msgid "Hybrid L2" msgstr "Hybrid L2" @@ -1016,7 +1021,7 @@ msgstr "My Total Harvest" msgid "Name" msgstr "Name" -#: src/components/ProfileActivity/ProfileActivityFilters.tsx:42 +#: src/components/ProfileActivity/ProfileActivityFilters.tsx:29 msgid "Native Bridge" msgstr "Native Bridge" @@ -1040,7 +1045,7 @@ msgstr "navigate to Common Prefix audit" msgid "navigate to discord" msgstr "navigate to discord" -#: src/app/[lang]/(bridge)/components/BannerCarousel/BannerCarousel.tsx:73 +#: src/app/[lang]/(bridge)/components/BannerCarousel/BannerCarousel.tsx:74 msgid "navigate to ecosystem section in fusion page" msgstr "navigate to ecosystem section in fusion page" @@ -1068,7 +1073,7 @@ msgstr "Navigation" msgid "Need support? Enter our Discord." msgstr "Need support? Enter our Discord." -#: src/components/ProfileActivity/ProfileActivityFilters.tsx:35 +#: src/components/ProfileActivity/ProfileActivityFilters.tsx:22 msgid "Needed Action" msgstr "Needed Action" @@ -1112,11 +1117,11 @@ msgstr "New envelopes drop in {timeToNextDraw}" msgid "No new goal at the moment. Stay tuned for updates!" msgstr "No new goal at the moment. Stay tuned for updates!" -#: src/components/ProfileActivity/ProfileActivity.tsx:162 +#: src/components/ProfileActivity/ProfileActivity.tsx:174 msgid "No operations found" msgstr "No operations found" -#: src/app/[lang]/(bridge)/stake/components/StrategiesTable/StrategiesTable.tsx:300 +#: src/app/[lang]/(bridge)/stake/components/StrategiesTable/StrategiesTable.tsx:330 msgid "No strategies to display" msgstr "No strategies to display" @@ -1181,7 +1186,7 @@ msgstr "Output" msgid "Participate in the event, learn, and get up to 10,000 Spice Points at the end of the event" msgstr "Participate in the event, learn, and get up to 10,000 Spice Points at the end of the event" -#: src/components/ProfileActivity/ProfileActivityFilters.tsx:34 +#: src/components/ProfileActivity/ProfileActivityFilters.tsx:21 #: src/components/ProfileActivity/TransactionDetails.tsx:58 msgid "Pending" msgstr "Pending" @@ -1227,7 +1232,7 @@ msgstr "Preparing..." msgid "Privacy policy" msgstr "Privacy policy" -#: src/components/ConnectButton/ConnectButton.tsx:99 +#: src/components/ConnectButton/ConnectButton.tsx:124 msgid "Profile" msgstr "Profile" @@ -1260,7 +1265,7 @@ msgstr "Quests Completed" msgid "Quests Only" msgstr "Quests Only" -#: src/app/[lang]/(bridge)/components/BannerCarousel/HybridL2Banner.tsx:26 +#: src/app/[lang]/(bridge)/components/BannerCarousel/HybridL2Banner.tsx:27 msgid "Read it now." msgstr "Read it now." @@ -1268,12 +1273,12 @@ msgstr "Read it now." msgid "Read more here" msgstr "Read more here" -#: src/app/[lang]/(bridge)/components/BannerCarousel/FusionBanner.tsx:26 +#: src/app/[lang]/(bridge)/components/BannerCarousel/FusionBanner.tsx:27 msgid "Read the official Fusion Guide on the new BOB Blog and start harvesting Spice now." msgstr "Read the official Fusion Guide on the new BOB Blog and start harvesting Spice now." #: src/app/[lang]/(bridge)/bridge/components/BridgeForm/BtcBridgeForm.tsx:136 -#: src/components/Profile/Profile.tsx:114 +#: src/components/Profile/Profile.tsx:120 msgid "Receive" msgstr "Receive" @@ -1295,7 +1300,7 @@ msgstr "referral table" msgid "Referred by" msgstr "Referred by" -#: src/app/[lang]/(bridge)/components/BannerCarousel/HybridL2Banner.tsx:22 +#: src/app/[lang]/(bridge)/components/BannerCarousel/HybridL2Banner.tsx:23 msgid "Released: BOB's Hybrid L2 vision paper" msgstr "Released: BOB's Hybrid L2 vision paper" @@ -1303,7 +1308,7 @@ msgstr "Released: BOB's Hybrid L2 vision paper" msgid "Remove vote" msgstr "Remove vote" -#: src/app/[lang]/(bridge)/stake/components/StrategiesTable/StrategiesTable.tsx:107 +#: src/app/[lang]/(bridge)/stake/components/StrategiesTable/StrategiesTable.tsx:110 #: src/app/[lang]/(bridge)/stake/components/StrategyDetails/StrategyDetails.tsx:226 #: src/app/[lang]/apps/components/AppsList/AppCard.tsx:131 #: src/app/[lang]/fusion/components/Strategies/StrategyCard.tsx:107 @@ -1539,15 +1544,15 @@ msgstr "Staked Amount" #~ msgstr "staking" #: src/app/[lang]/(bridge)/stake/components/StrategiesTable/StrategiesCategories.tsx:9 -#: src/components/ProfileActivity/ProfileActivityFilters.tsx:44 +#: src/components/ProfileActivity/ProfileActivityFilters.tsx:31 msgid "Staking" msgstr "Staking" -#: src/app/[lang]/(bridge)/stake/components/StrategiesTable/StrategiesTable.tsx:257 +#: src/app/[lang]/(bridge)/stake/components/StrategiesTable/StrategiesTable.tsx:287 msgid "Staking list" msgstr "Staking list" -#: src/app/[lang]/(bridge)/stake/components/StrategiesTable/StrategiesTable.tsx:292 +#: src/app/[lang]/(bridge)/stake/components/StrategiesTable/StrategiesTable.tsx:322 msgid "Staking table" msgstr "Staking table" @@ -1566,7 +1571,7 @@ msgstr "Start Harvesting" msgid "Start Harvesting Spice" msgstr "Start Harvesting Spice" -#: src/components/ProfileActivity/ProfileActivityFilters.tsx:137 +#: src/components/ProfileActivity/ProfileActivityFilters.tsx:124 msgid "Status" msgstr "Status" @@ -1582,7 +1587,7 @@ msgstr "Step Two" msgid "Steps" msgstr "Steps" -#: src/app/[lang]/(bridge)/stake/components/StrategiesTable/StrategiesTable.tsx:87 +#: src/app/[lang]/(bridge)/stake/components/StrategiesTable/StrategiesTable.tsx:90 msgid "Strategy" msgstr "Strategy" @@ -1745,7 +1750,7 @@ msgstr "To be eligible, you must be registered for Fusion and hold or have held msgid "To cast your vote, please log in" msgstr "To cast your vote, please log in" -#: src/app/[lang]/(bridge)/components/BannerCarousel/BabylonBanner.tsx:26 +#: src/app/[lang]/(bridge)/components/BannerCarousel/BabylonBanner.tsx:27 #: src/app/[lang]/fusion/Fusion.tsx:201 msgid "To celebrate BOB becoming a Bitcoin-Secured Network, collect extra Babylon Points by using Babylon LSTs in DeFi. Read more >" msgstr "To celebrate BOB becoming a Bitcoin-Secured Network, collect extra Babylon Points by using Babylon LSTs in DeFi. Read more >" @@ -1754,13 +1759,13 @@ msgstr "To celebrate BOB becoming a Bitcoin-Secured Network, collect extra Babyl msgid "To celebrate BOB joining the Superchain, you have qualified for an OP exclusive 50% bonus on all Spice harvested between 9 December 2024 and 12 January 2025. Learn more >" msgstr "To celebrate BOB joining the Superchain, you have qualified for an OP exclusive 50% bonus on all Spice harvested between 9 December 2024 and 12 January 2025. Learn more >" -#: src/app/[lang]/(bridge)/components/BannerCarousel/XBanner.tsx:22 +#: src/app/[lang]/(bridge)/components/BannerCarousel/XBanner.tsx:23 msgid "To stay up-to date with the BOB ecosystem follow @build_on_bob." msgstr "To stay up-to date with the BOB ecosystem follow @build_on_bob." #: src/components/Profile/ProfileTokens.tsx:57 -msgid "Tokens" -msgstr "Tokens" +#~ msgid "Tokens" +#~ msgstr "Tokens" #: src/app/[lang]/fusion/components/TopUserModal/TopUserModal.tsx:38 msgid "Top 100 spice user" @@ -1802,17 +1807,17 @@ msgstr "Transaction Submitted" msgid "Transfer time" msgstr "Transfer time" -#: src/app/[lang]/(bridge)/stake/components/StrategiesTable/StrategiesTable.tsx:95 +#: src/app/[lang]/(bridge)/stake/components/StrategiesTable/StrategiesTable.tsx:98 #: src/app/[lang]/(bridge)/stake/components/StrategyDetails/StrategyDetails.tsx:236 #: src/app/[lang]/fusion/components/UserInfo/Barometer.tsx:67 msgid "TVL" msgstr "TVL" -#: src/app/[lang]/(bridge)/stake/components/StrategiesTable/StrategiesTable.tsx:97 +#: src/app/[lang]/(bridge)/stake/components/StrategiesTable/StrategiesTable.tsx:100 msgid "TVL on BOB" msgstr "TVL on BOB" -#: src/components/ProfileActivity/ProfileActivityFilters.tsx:158 +#: src/components/ProfileActivity/ProfileActivityFilters.tsx:151 msgid "Type" msgstr "Type" @@ -1935,7 +1940,7 @@ msgstr "Waiting for approval" msgid "Waiting for confirmation" msgstr "Waiting for confirmation" -#: src/components/Profile/Profile.tsx:142 +#: src/components/Profile/Profile.tsx:143 msgid "Wallet" msgstr "Wallet" @@ -1972,7 +1977,7 @@ msgstr "When you vote, you do not give away any of your harvest. Your Spice tota msgid "withdraw" msgstr "withdraw" -#: src/app/[lang]/(bridge)/bridge/Bridge.tsx:204 +#: src/app/[lang]/(bridge)/bridge/Bridge.tsx:221 #: src/app/[lang]/(bridge)/stake/[slug]/Strategy.tsx:37 msgid "Withdraw" msgstr "Withdraw" @@ -1991,7 +1996,7 @@ msgstr "Withdraw Locked Assets" msgid "Withdraw to L1 failed. Please try again." msgstr "Withdraw to L1 failed. Please try again." -#: src/app/[lang]/(bridge)/bridge/Bridge.tsx:207 +#: src/app/[lang]/(bridge)/bridge/Bridge.tsx:224 msgid "Withdrawals back to BTC are currently not supported" msgstr "Withdrawals back to BTC are currently not supported" @@ -2024,7 +2029,7 @@ msgstr "You Have 0 Envelopes" #~ msgid "You Have 0 Tickets" #~ msgstr "You Have 0 Tickets" -#: src/app/[lang]/nested-providers.tsx:68 +#: src/app/[lang]/nested-providers.tsx:67 msgid "You have switched your account mid session. Simply switch back the original account and login to have access to your funds again." msgstr "You have switched your account mid session. Simply switch back the original account and login to have access to your funds again." @@ -2098,7 +2103,7 @@ msgstr "Your assets will be delivered shortly, with an estimated arrival time of msgid "Your available balance may differ from your wallet balance due to network fees and available liquidity" msgstr "Your available balance may differ from your wallet balance due to network fees and available liquidity" -#: src/app/[lang]/nested-providers.tsx:65 +#: src/app/[lang]/nested-providers.tsx:64 msgid "Your funds are safe!" msgstr "Your funds are safe!" diff --git a/apps/evm/src/locales/zh.po b/apps/evm/src/locales/zh.po index ec432ca3..0b1a6202 100644 --- a/apps/evm/src/locales/zh.po +++ b/apps/evm/src/locales/zh.po @@ -125,7 +125,7 @@ msgstr "关于" msgid "About Babylon Campaign" msgstr "" -#: src/app/[lang]/(bridge)/bridge/Bridge.tsx:182 +#: src/app/[lang]/(bridge)/bridge/Bridge.tsx:199 msgid "Action needed" msgstr "" @@ -134,9 +134,10 @@ msgstr "" msgid "Active Superchain users who have received any of the five OP Airdrops qualify for an exclusive 50% bonus on all Spice harvested between 9 December 2024 and 12 January 2025. The bonus will be applied at the end of the campaign." msgstr "" -#: src/app/[lang]/(bridge)/bridge/Bridge.tsx:187 -#: src/components/Profile/Profile.tsx:150 -#: src/components/Profile/Profile.tsx:154 +#: src/app/[lang]/(bridge)/bridge/Bridge.tsx:204 +#: src/app/[lang]/(bridge)/stake/components/StrategiesTable/StrategiesTable.tsx:278 +#: src/components/Profile/Profile.tsx:151 +#: src/components/Profile/Profile.tsx:155 msgid "Activity" msgstr "" @@ -183,7 +184,7 @@ msgstr "已经在收获?" #: src/app/[lang]/(bridge)/bridge/components/BridgeForm/BobBridgeForm.tsx:478 #: src/app/[lang]/(bridge)/components/BtcTokenInput/BtcTokenInput.tsx:38 -#: src/app/[lang]/(bridge)/stake/components/StrategiesTable/StrategiesTable.tsx:228 +#: src/app/[lang]/(bridge)/stake/components/StrategiesTable/StrategiesTable.tsx:251 msgid "Amount" msgstr "" @@ -203,16 +204,16 @@ msgstr "" #~ msgid "and that you have read and understood our" #~ msgstr "" -#: src/components/ProfileActivity/ProfileActivityFilters.tsx:33 +#: src/components/ProfileActivity/ProfileActivityFilters.tsx:20 msgid "Any Status" msgstr "" -#: src/components/ProfileActivity/ProfileActivityFilters.tsx:41 +#: src/components/ProfileActivity/ProfileActivityFilters.tsx:28 msgid "Any Transaction" msgstr "" #: src/app/[lang]/(bridge)/components/GatewayTransactionDetails/GatewayFeeSettingsModal.tsx:180 -#: src/components/ProfileActivity/ProfileActivityFilters.tsx:183 +#: src/components/ProfileActivity/ProfileActivityFilters.tsx:182 msgid "Apply" msgstr "" @@ -267,7 +268,7 @@ msgstr "审计" #~ msgid "Authorize Wallet" #~ msgstr "" -#: src/app/[lang]/(bridge)/components/BannerCarousel/BabylonBanner.tsx:32 +#: src/app/[lang]/(bridge)/components/BannerCarousel/BabylonBanner.tsx:35 #: src/app/[lang]/fusion/Fusion.tsx:209 msgid "Babylon campaign" msgstr "" @@ -332,7 +333,7 @@ msgstr "" #~ msgid "BOB Ecosystem on OKX Cryptopedia" #~ msgstr "" -#: src/app/[lang]/(bridge)/components/BannerCarousel/FusionBanner.tsx:22 +#: src/app/[lang]/(bridge)/components/BannerCarousel/FusionBanner.tsx:23 #: src/app/[lang]/fusion/Fusion.tsx:132 msgid "BOB Fusion: The Final Season" msgstr "BOB Fusion:最终季" @@ -449,7 +450,7 @@ msgstr "由于 Alex Lab 遭受了涉及 XLink 桥接的攻击,桥接 ALEX 已 msgid "Bringing Bitcoin DeFi to the Superchain" msgstr "将比特币 DeFi 引入OP超级链" -#: src/components/ProfileActivity/ProfileActivityFilters.tsx:43 +#: src/components/ProfileActivity/ProfileActivityFilters.tsx:30 msgid "BTC Bridge" msgstr "" @@ -461,7 +462,7 @@ msgstr "" msgid "BTC LST Lending" msgstr "BTC LST借贷" -#: src/components/Profile/Profile.tsx:100 +#: src/components/Profile/Profile.tsx:106 msgid "Buy" msgstr "" @@ -511,10 +512,14 @@ msgstr "选择任何现有的流动性质押提供商来铸造你的BTC LST。" msgid "Claim your red envelope to win Spice and celebrate the Lunar New Year with BOB.<0/>Participate in Fusion voting to receive 3 envelopes daily until January 29th.<1/>Win 888, 168 or 88 Spice with every envelope. Then share your winnings on X and follow the campaign rules for a chance to win an extra 100,000 Spice." msgstr "BOB蛇年大礼包等你来领!一键获得 Spice积分奖励, 与BOB一起喜迎蛇年🐍<0/>參加Fushion投票,每天可獲得3個紅包,活動舉行至1月29日。<1/>每個紅包可分別獲得888、168或88香料。只要你在推特上分享你的獲獎喜訊,便有機會贏取額外的100,000香料。" -#: src/components/ProfileActivity/ProfileActivityFilters.tsx:180 +#: src/components/ProfileActivity/ProfileActivityFilters.tsx:179 msgid "Clear" msgstr "" +#: src/components/ProfileActivity/ProfileActivity.tsx:182 +msgid "Clear Filters" +msgstr "" + #: src/app/[lang]/apps/components/HeroBanner/VotingInfoModal.tsx:34 msgid "Click the <0/> icon next to your favourite apps" msgstr "点击 <0/> 你喜爱应用旁边的图标" @@ -530,7 +535,7 @@ msgstr "" #~ msgid "close drawer" #~ msgstr "" -#: src/app/[lang]/(bridge)/components/BannerCarousel/BabylonBanner.tsx:22 +#: src/app/[lang]/(bridge)/components/BannerCarousel/BabylonBanner.tsx:23 #: src/app/[lang]/fusion/Fusion.tsx:198 msgid "Collect Babylon Points on BOB" msgstr "" @@ -561,7 +566,7 @@ msgstr "社区投票" msgid "Community Voting Information" msgstr "社区投票信息" -#: src/components/ProfileActivity/ProfileActivityFilters.tsx:36 +#: src/components/ProfileActivity/ProfileActivityFilters.tsx:23 msgid "Complete" msgstr "" @@ -599,7 +604,7 @@ msgstr "" msgid "Connect request is already pending" msgstr "" -#: src/components/ConnectButton/ConnectButton.tsx:74 +#: src/components/ConnectButton/ConnectButton.tsx:95 #: src/connect-ui/component/AuthButton/AuthButton.tsx:62 #: src/connect-ui/component/ConnectModal/ConnectModal.tsx:171 msgid "Connect Wallet" @@ -666,7 +671,7 @@ msgstr "" msgid "Deploy high priority assets into high priority DeFi protocols to maximize your Spice harvest." msgstr "将高优先级资产部署到高优先级DeFi协议中,以最大化你的Spice收获。" -#: src/app/[lang]/(bridge)/bridge/Bridge.tsx:199 +#: src/app/[lang]/(bridge)/bridge/Bridge.tsx:216 msgid "Deposit" msgstr "" @@ -715,7 +720,7 @@ msgstr "" #~ msgid "disconnect wallet(s)" #~ msgstr "" -#: src/app/[lang]/nested-providers.tsx:61 +#: src/app/[lang]/nested-providers.tsx:60 msgid "Disconnected" msgstr "" @@ -803,7 +808,7 @@ msgstr "" msgid "Exclusive Spice Bonus For Superchain Users" msgstr "" -#: src/components/ProfileActivity/ProfileActivityFilters.tsx:37 +#: src/components/ProfileActivity/ProfileActivityFilters.tsx:24 msgid "Failed" msgstr "" @@ -873,7 +878,7 @@ msgstr "" #~ msgid "Fetching staking strategies..." #~ msgstr "" -#: src/components/ProfileActivity/ProfileActivityFilters.tsx:127 +#: src/components/ProfileActivity/ProfileActivityFilters.tsx:114 msgid "Filter by" msgstr "" @@ -889,7 +894,7 @@ msgstr "" msgid "Follow the steps of <0>this guide to provide liquity into a DEX pool on Oku." msgstr "按照 <0>本指南 的步骤为Oku上的DEX池提供流动性。" -#: src/app/[lang]/(bridge)/components/BannerCarousel/XBanner.tsx:18 +#: src/app/[lang]/(bridge)/components/BannerCarousel/XBanner.tsx:19 msgid "Follow us on X" msgstr "" @@ -915,7 +920,7 @@ msgstr "FUSION" msgid "Fusion season 3 is your last ever chance to harvest Spice. Stake your Bitcoin for the highest multipliers and refer a friend to receive a share of all the Spice they collect." msgstr "Fusion第3季是你收获Spice的最后机会。质押比特币获得最高倍数,并通过推荐朋友赚取他们Spice收获的分成。" -#: src/app/[lang]/(bridge)/components/BannerCarousel/FusionBanner.tsx:30 +#: src/app/[lang]/(bridge)/components/BannerCarousel/FusionBanner.tsx:32 msgid "Fusion season three" msgstr "" @@ -965,7 +970,7 @@ msgstr "返回" msgid "Go to Explorer" msgstr "" -#: src/app/[lang]/nested-providers.tsx:76 +#: src/app/[lang]/nested-providers.tsx:75 msgid "Got it!" msgstr "" @@ -1033,7 +1038,7 @@ msgstr "热门策略" msgid "How to vote:" msgstr "如何投票:" -#: src/app/[lang]/(bridge)/components/BannerCarousel/HybridL2Banner.tsx:29 +#: src/app/[lang]/(bridge)/components/BannerCarousel/HybridL2Banner.tsx:32 msgid "Hybrid L2" msgstr "" @@ -1281,7 +1286,7 @@ msgstr "" msgid "Name" msgstr "名称" -#: src/components/ProfileActivity/ProfileActivityFilters.tsx:42 +#: src/components/ProfileActivity/ProfileActivityFilters.tsx:29 msgid "Native Bridge" msgstr "" @@ -1309,7 +1314,7 @@ msgstr "" msgid "navigate to discord" msgstr "" -#: src/app/[lang]/(bridge)/components/BannerCarousel/BannerCarousel.tsx:73 +#: src/app/[lang]/(bridge)/components/BannerCarousel/BannerCarousel.tsx:74 msgid "navigate to ecosystem section in fusion page" msgstr "" @@ -1337,7 +1342,7 @@ msgstr "" msgid "Need support? Enter our Discord." msgstr "" -#: src/components/ProfileActivity/ProfileActivityFilters.tsx:35 +#: src/components/ProfileActivity/ProfileActivityFilters.tsx:22 msgid "Needed Action" msgstr "" @@ -1397,11 +1402,11 @@ msgstr "新紅包即將發放{timeToNextDraw}" msgid "No new goal at the moment. Stay tuned for updates!" msgstr "目前暂无新目标。请保持关注更新!" -#: src/components/ProfileActivity/ProfileActivity.tsx:162 +#: src/components/ProfileActivity/ProfileActivity.tsx:174 msgid "No operations found" msgstr "" -#: src/app/[lang]/(bridge)/stake/components/StrategiesTable/StrategiesTable.tsx:300 +#: src/app/[lang]/(bridge)/stake/components/StrategiesTable/StrategiesTable.tsx:330 msgid "No strategies to display" msgstr "" @@ -1478,7 +1483,7 @@ msgstr "" msgid "Participate in the event, learn, and get up to 10,000 Spice Points at the end of the event" msgstr "" -#: src/components/ProfileActivity/ProfileActivityFilters.tsx:34 +#: src/components/ProfileActivity/ProfileActivityFilters.tsx:21 #: src/components/ProfileActivity/TransactionDetails.tsx:58 msgid "Pending" msgstr "" @@ -1528,7 +1533,7 @@ msgstr "" msgid "Privacy policy" msgstr "隐私政策" -#: src/components/ConnectButton/ConnectButton.tsx:99 +#: src/components/ConnectButton/ConnectButton.tsx:124 msgid "Profile" msgstr "" @@ -1561,7 +1566,7 @@ msgstr "完成的任务" msgid "Quests Only" msgstr "仅任务" -#: src/app/[lang]/(bridge)/components/BannerCarousel/HybridL2Banner.tsx:26 +#: src/app/[lang]/(bridge)/components/BannerCarousel/HybridL2Banner.tsx:27 msgid "Read it now." msgstr "" @@ -1569,12 +1574,12 @@ msgstr "" msgid "Read more here" msgstr "点此了解更多" -#: src/app/[lang]/(bridge)/components/BannerCarousel/FusionBanner.tsx:26 +#: src/app/[lang]/(bridge)/components/BannerCarousel/FusionBanner.tsx:27 msgid "Read the official Fusion Guide on the new BOB Blog and start harvesting Spice now." msgstr "" #: src/app/[lang]/(bridge)/bridge/components/BridgeForm/BtcBridgeForm.tsx:136 -#: src/components/Profile/Profile.tsx:114 +#: src/components/Profile/Profile.tsx:120 msgid "Receive" msgstr "接收" @@ -1604,7 +1609,7 @@ msgstr "" msgid "Referred by" msgstr "" -#: src/app/[lang]/(bridge)/components/BannerCarousel/HybridL2Banner.tsx:22 +#: src/app/[lang]/(bridge)/components/BannerCarousel/HybridL2Banner.tsx:23 msgid "Released: BOB's Hybrid L2 vision paper" msgstr "" @@ -1625,7 +1630,7 @@ msgstr "" #~ msgid "Restaking" #~ msgstr "" -#: src/app/[lang]/(bridge)/stake/components/StrategiesTable/StrategiesTable.tsx:107 +#: src/app/[lang]/(bridge)/stake/components/StrategiesTable/StrategiesTable.tsx:110 #: src/app/[lang]/(bridge)/stake/components/StrategyDetails/StrategyDetails.tsx:226 #: src/app/[lang]/apps/components/AppsList/AppCard.tsx:131 #: src/app/[lang]/fusion/components/Strategies/StrategyCard.tsx:107 @@ -1919,15 +1924,15 @@ msgstr "" #~ msgstr "" #: src/app/[lang]/(bridge)/stake/components/StrategiesTable/StrategiesCategories.tsx:9 -#: src/components/ProfileActivity/ProfileActivityFilters.tsx:44 +#: src/components/ProfileActivity/ProfileActivityFilters.tsx:31 msgid "Staking" msgstr "" -#: src/app/[lang]/(bridge)/stake/components/StrategiesTable/StrategiesTable.tsx:257 +#: src/app/[lang]/(bridge)/stake/components/StrategiesTable/StrategiesTable.tsx:287 msgid "Staking list" msgstr "" -#: src/app/[lang]/(bridge)/stake/components/StrategiesTable/StrategiesTable.tsx:292 +#: src/app/[lang]/(bridge)/stake/components/StrategiesTable/StrategiesTable.tsx:322 msgid "Staking table" msgstr "" @@ -1950,7 +1955,7 @@ msgstr "开始收获" msgid "Start Harvesting Spice" msgstr "开始收获Spice" -#: src/components/ProfileActivity/ProfileActivityFilters.tsx:137 +#: src/components/ProfileActivity/ProfileActivityFilters.tsx:124 msgid "Status" msgstr "" @@ -1970,7 +1975,7 @@ msgstr "第二步" msgid "Steps" msgstr "" -#: src/app/[lang]/(bridge)/stake/components/StrategiesTable/StrategiesTable.tsx:87 +#: src/app/[lang]/(bridge)/stake/components/StrategiesTable/StrategiesTable.tsx:90 msgid "Strategy" msgstr "" @@ -2201,7 +2206,7 @@ msgstr "" msgid "To cast your vote, please log in" msgstr "" -#: src/app/[lang]/(bridge)/components/BannerCarousel/BabylonBanner.tsx:26 +#: src/app/[lang]/(bridge)/components/BannerCarousel/BabylonBanner.tsx:27 #: src/app/[lang]/fusion/Fusion.tsx:201 msgid "To celebrate BOB becoming a Bitcoin-Secured Network, collect extra Babylon Points by using Babylon LSTs in DeFi. Read more >" msgstr "" @@ -2214,13 +2219,13 @@ msgstr "" msgid "To celebrate BOB joining the Superchain, you have qualified for an OP exclusive 50% bonus on all Spice harvested between 9 December 2024 and 12 January 2025. Learn more >" msgstr "" -#: src/app/[lang]/(bridge)/components/BannerCarousel/XBanner.tsx:22 +#: src/app/[lang]/(bridge)/components/BannerCarousel/XBanner.tsx:23 msgid "To stay up-to date with the BOB ecosystem follow @build_on_bob." msgstr "" #: src/components/Profile/ProfileTokens.tsx:57 -msgid "Tokens" -msgstr "" +#~ msgid "Tokens" +#~ msgstr "" #: src/app/[lang]/fusion/components/TopUserModal/TopUserModal.tsx:38 msgid "Top 100 spice user" @@ -2270,7 +2275,7 @@ msgstr "" msgid "Transfer time" msgstr "" -#: src/app/[lang]/(bridge)/stake/components/StrategiesTable/StrategiesTable.tsx:95 +#: src/app/[lang]/(bridge)/stake/components/StrategiesTable/StrategiesTable.tsx:98 #: src/app/[lang]/(bridge)/stake/components/StrategyDetails/StrategyDetails.tsx:236 #: src/app/[lang]/fusion/components/UserInfo/Barometer.tsx:67 msgid "TVL" @@ -2279,11 +2284,11 @@ msgstr "总锁仓价值(TVL)" #~ msgid "TVL (on BOB)" #~ msgstr "" -#: src/app/[lang]/(bridge)/stake/components/StrategiesTable/StrategiesTable.tsx:97 +#: src/app/[lang]/(bridge)/stake/components/StrategiesTable/StrategiesTable.tsx:100 msgid "TVL on BOB" msgstr "" -#: src/components/ProfileActivity/ProfileActivityFilters.tsx:158 +#: src/components/ProfileActivity/ProfileActivityFilters.tsx:151 msgid "Type" msgstr "" @@ -2442,7 +2447,7 @@ msgstr "" msgid "Waiting for confirmation" msgstr "" -#: src/components/Profile/Profile.tsx:142 +#: src/components/Profile/Profile.tsx:143 msgid "Wallet" msgstr "钱包" @@ -2491,7 +2496,7 @@ msgstr "投票时,你不会失去任何收获。你的Spice总数仅用于计 msgid "withdraw" msgstr "" -#: src/app/[lang]/(bridge)/bridge/Bridge.tsx:204 +#: src/app/[lang]/(bridge)/bridge/Bridge.tsx:221 #: src/app/[lang]/(bridge)/stake/[slug]/Strategy.tsx:37 msgid "Withdraw" msgstr "" @@ -2510,7 +2515,7 @@ msgstr "提取锁定资产" msgid "Withdraw to L1 failed. Please try again." msgstr "" -#: src/app/[lang]/(bridge)/bridge/Bridge.tsx:207 +#: src/app/[lang]/(bridge)/bridge/Bridge.tsx:224 msgid "Withdrawals back to BTC are currently not supported" msgstr "" @@ -2555,7 +2560,7 @@ msgstr "" #~ msgid "You Have 0 Tickets" #~ msgstr "" -#: src/app/[lang]/nested-providers.tsx:68 +#: src/app/[lang]/nested-providers.tsx:67 msgid "You have switched your account mid session. Simply switch back the original account and login to have access to your funds again." msgstr "" @@ -2645,7 +2650,7 @@ msgstr "" msgid "Your available balance may differ from your wallet balance due to network fees and available liquidity" msgstr "" -#: src/app/[lang]/nested-providers.tsx:65 +#: src/app/[lang]/nested-providers.tsx:64 msgid "Your funds are safe!" msgstr ""