From 650011d80bed1bfac86928e711fef98c5dc648b9 Mon Sep 17 00:00:00 2001 From: danidfra Date: Fri, 21 Feb 2025 20:01:34 -0300 Subject: [PATCH] Update buttons to "Explorer" --- src/components/sidebar-navigation.tsx | 6 +++--- src/components/thumb-navigation.tsx | 6 +++--- src/features/aliases/components/search.tsx | 2 +- src/features/list-editor/components/search.tsx | 2 +- src/locales/en.json | 7 ++++--- 5 files changed, 12 insertions(+), 11 deletions(-) diff --git a/src/components/sidebar-navigation.tsx b/src/components/sidebar-navigation.tsx index 9f8641b56..932a22b6f 100644 --- a/src/components/sidebar-navigation.tsx +++ b/src/components/sidebar-navigation.tsx @@ -15,7 +15,7 @@ import homeIcon from '@tabler/icons/outline/home.svg'; import listIcon from '@tabler/icons/outline/list.svg'; import mailIcon from '@tabler/icons/outline/mail.svg'; import messagesIcon from '@tabler/icons/outline/messages.svg'; -import searchIcon from '@tabler/icons/outline/search.svg'; +import rocketIcon from '@tabler/icons/outline/rocket.svg'; import settingsIcon from '@tabler/icons/outline/settings.svg'; import userPlusIcon from '@tabler/icons/outline/user-plus.svg'; import userIcon from '@tabler/icons/outline/user.svg'; @@ -163,8 +163,8 @@ const SidebarNavigation = () => { } + icon={rocketIcon} + text={} /> {account && ( diff --git a/src/components/thumb-navigation.tsx b/src/components/thumb-navigation.tsx index e33c235d7..9a335a874 100644 --- a/src/components/thumb-navigation.tsx +++ b/src/components/thumb-navigation.tsx @@ -8,7 +8,7 @@ import dashboardIcon from '@tabler/icons/outline/dashboard.svg'; import homeIcon from '@tabler/icons/outline/home.svg'; import mailIcon from '@tabler/icons/outline/mail.svg'; import messagesIcon from '@tabler/icons/outline/messages.svg'; -import searchIcon from '@tabler/icons/outline/search.svg'; +import rocketIcon from '@tabler/icons/outline/rocket.svg'; import { FormattedMessage } from 'react-intl'; import ThumbNavigationLink from 'soapbox/components/thumb-navigation-link.tsx'; @@ -84,8 +84,8 @@ const ThumbNavigation: React.FC = (): JSX.Element => { )} } + src={rocketIcon} + text={} to='/search' exact /> diff --git a/src/features/aliases/components/search.tsx b/src/features/aliases/components/search.tsx index 7b39eff50..da313a90c 100644 --- a/src/features/aliases/components/search.tsx +++ b/src/features/aliases/components/search.tsx @@ -10,7 +10,7 @@ import { useAppSelector } from 'soapbox/hooks/useAppSelector.ts'; const messages = defineMessages({ search: { id: 'aliases.search', defaultMessage: 'Search your old account' }, - searchTitle: { id: 'tabs_bar.search', defaultMessage: 'Discover' }, + searchTitle: { id: 'tabs_bar.search', defaultMessage: 'Explorer' }, }); const Search: React.FC = () => { diff --git a/src/features/list-editor/components/search.tsx b/src/features/list-editor/components/search.tsx index 6641286ca..14823ff20 100644 --- a/src/features/list-editor/components/search.tsx +++ b/src/features/list-editor/components/search.tsx @@ -13,7 +13,7 @@ import { useAppSelector } from 'soapbox/hooks/useAppSelector.ts'; const messages = defineMessages({ search: { id: 'lists.search', defaultMessage: 'Search among people you follow' }, - searchTitle: { id: 'tabs_bar.search', defaultMessage: 'Discover' }, + searchTitle: { id: 'tabs_bar.search', defaultMessage: 'Explorer' }, }); const Search = () => { diff --git a/src/locales/en.json b/src/locales/en.json index 5d3ce0b83..bf282e524 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -368,7 +368,7 @@ "column.event_map": "Event location", "column.event_participants": "Event participants", "column.events": "Events", - "column.explorer.bridge_card.text": "Curious about Bridges? Click here", + "column.explorer.bridge_card.text": "Curious about Bridges? Click here", "column.explorer.bridge_card.title": "Bridge", "column.explorer.filters": "Filters:", "column.explorer.filters.add_filter": "Add Filter", @@ -383,6 +383,7 @@ "column.explorer.filters.nostr": "Nostr", "column.explorer.filters.platforms": "Platforms:", "column.explorer.filters.show_replies": "Show replies:", + "column.explorer.filters.show_text_posts": "Just text posts:", "column.explorer.nostr_card.text": "Wondering about Nostr? Find Out More", "column.explorer.nostr_card.title": "Nostr", "column.explorer.popular_accounts": "Popular Accounts", @@ -1142,7 +1143,7 @@ "navigation.direct_messages": "Messages", "navigation.home": "Home", "navigation.notifications": "Notifications", - "navigation.search": "Discover", + "navigation.search": "Explorer", "navigation_bar.account_aliases": "Account aliases", "navigation_bar.account_migration": "Move account", "navigation_bar.blocks": "Blocks", @@ -1636,7 +1637,7 @@ "tabs_bar.more": "More", "tabs_bar.notifications": "Notifications", "tabs_bar.profile": "Profile", - "tabs_bar.search": "Discover", + "tabs_bar.search": "Explorer", "tabs_bar.settings": "Settings", "textarea.counter.label": "{count} characters remaining", "theme_editor.colors.accent": "Accent",