change Search to Discover
This commit is contained in:
parent
49d1ee339c
commit
1fda261032
|
@ -373,7 +373,7 @@
|
|||
"report.placeholder": "Additional comments",
|
||||
"report.submit": "Submit",
|
||||
"report.target": "Reporting {target}",
|
||||
"search.placeholder": "Search",
|
||||
"search.placeholder": "Discover",
|
||||
"search_popout.search_format": "Advanced search format",
|
||||
"search_popout.tips.full_text": "Simple text returns posts you have written, favorited, reposted, or have been mentioned in, as well as matching usernames, display names, and hashtags.",
|
||||
"search_popout.tips.hashtag": "hashtag",
|
||||
|
@ -448,7 +448,7 @@
|
|||
"tabs_bar.news": "News",
|
||||
"tabs_bar.notifications": "Alerts",
|
||||
"tabs_bar.post": "Post",
|
||||
"tabs_bar.search": "Search",
|
||||
"tabs_bar.search": "Discover",
|
||||
"time_remaining.days": "{number, plural, one {# day} other {# days}} left",
|
||||
"time_remaining.hours": "{number, plural, one {# hour} other {# hours}} left",
|
||||
"time_remaining.minutes": "{number, plural, one {# minute} other {# minutes}} left",
|
||||
|
@ -854,7 +854,7 @@
|
|||
"report.placeholder": "Additional comments",
|
||||
"report.submit": "Submit",
|
||||
"report.target": "Reporting {target}",
|
||||
"search.placeholder": "Search",
|
||||
"search.placeholder": "Discover",
|
||||
"search_popout.search_format": "Advanced search format",
|
||||
"search_popout.tips.full_text": "Simple text returns posts you have written, favorited, reposted, or have been mentioned in, as well as matching usernames, display names, and hashtags.",
|
||||
"search_popout.tips.hashtag": "hashtag",
|
||||
|
@ -929,7 +929,7 @@
|
|||
"tabs_bar.news": "News",
|
||||
"tabs_bar.notifications": "Alerts",
|
||||
"tabs_bar.post": "Post",
|
||||
"tabs_bar.search": "Search",
|
||||
"tabs_bar.search": "Discover",
|
||||
"time_remaining.days": "{number, plural, one {# day} other {# days}} left",
|
||||
"time_remaining.hours": "{number, plural, one {# hour} other {# hours}} left",
|
||||
"time_remaining.minutes": "{number, plural, one {# minute} other {# minutes}} left",
|
||||
|
|
|
@ -52,7 +52,7 @@ const clearSearchResults = () => ({
|
|||
const submitSearch = (filter?: SearchFilter) =>
|
||||
(dispatch: AppDispatch, getState: () => RootState) => {
|
||||
const value = getState().search.value;
|
||||
const type = filter || getState().search.filter || 'accounts';
|
||||
const type = filter || getState().search.filter || 'statuses';
|
||||
const accountId = getState().search.accountId;
|
||||
|
||||
// An empty search doesn't return any results
|
||||
|
|
|
@ -125,7 +125,7 @@ const SidebarNavigation = () => {
|
|||
<SidebarNavigationLink
|
||||
to='/search'
|
||||
icon={require('@tabler/icons/outline/search.svg')}
|
||||
text={<FormattedMessage id='tabs_bar.search' defaultMessage='Search' />}
|
||||
text={<FormattedMessage id='tabs_bar.search' defaultMessage='Discover' />}
|
||||
/>
|
||||
|
||||
{account && (
|
||||
|
|
|
@ -9,7 +9,7 @@ import { useAppDispatch, useAppSelector } from 'soapbox/hooks';
|
|||
|
||||
const messages = defineMessages({
|
||||
search: { id: 'aliases.search', defaultMessage: 'Search your old account' },
|
||||
searchTitle: { id: 'tabs_bar.search', defaultMessage: 'Search' },
|
||||
searchTitle: { id: 'tabs_bar.search', defaultMessage: 'Discover' },
|
||||
});
|
||||
|
||||
const Search: React.FC = () => {
|
||||
|
|
|
@ -10,7 +10,7 @@ import SuggestedGroups from './components/discover/suggested-groups';
|
|||
import TabBar, { TabItems } from './components/tab-bar';
|
||||
|
||||
const messages = defineMessages({
|
||||
placeholder: { id: 'groups.discover.search.placeholder', defaultMessage: 'Search' },
|
||||
placeholder: { id: 'groups.discover.search.placeholder', defaultMessage: 'Discover' },
|
||||
});
|
||||
|
||||
const Discover: React.FC = () => {
|
||||
|
|
|
@ -9,7 +9,7 @@ import { useAppSelector, useAppDispatch } from 'soapbox/hooks';
|
|||
|
||||
const messages = defineMessages({
|
||||
search: { id: 'lists.search', defaultMessage: 'Search among people you follow' },
|
||||
searchTitle: { id: 'tabs_bar.search', defaultMessage: 'Search' },
|
||||
searchTitle: { id: 'tabs_bar.search', defaultMessage: 'Discover' },
|
||||
});
|
||||
|
||||
const Search = () => {
|
||||
|
|
|
@ -6,7 +6,7 @@ import Search from 'soapbox/features/compose/components/search';
|
|||
import SearchResults from 'soapbox/features/compose/components/search-results';
|
||||
|
||||
const messages = defineMessages({
|
||||
heading: { id: 'column.search', defaultMessage: 'Search' },
|
||||
heading: { id: 'column.search', defaultMessage: 'Discover' },
|
||||
});
|
||||
|
||||
const SearchPage = () => {
|
||||
|
|
|
@ -431,7 +431,7 @@
|
|||
"column.reblogs": "Reposts",
|
||||
"column.registration": "Sign Up",
|
||||
"column.scheduled_statuses": "Scheduled Posts",
|
||||
"column.search": "Search",
|
||||
"column.search": "Discover",
|
||||
"column.settings_store": "Settings store",
|
||||
"column.soapbox_config": "Soapbox config",
|
||||
"column.test": "Test timeline",
|
||||
|
@ -901,7 +901,7 @@
|
|||
"groups.discover.search.error.title": "An error occurred",
|
||||
"groups.discover.search.no_results.subtitle": "Try searching for another group.",
|
||||
"groups.discover.search.no_results.title": "No matches found",
|
||||
"groups.discover.search.placeholder": "Search",
|
||||
"groups.discover.search.placeholder": "Discover",
|
||||
"groups.discover.search.recent_searches.blankslate.subtitle": "Search group names, topics or keywords",
|
||||
"groups.discover.search.recent_searches.blankslate.title": "No recent searches",
|
||||
"groups.discover.search.recent_searches.clear_all": "Clear all",
|
||||
|
@ -1577,7 +1577,7 @@
|
|||
"tabs_bar.more": "More",
|
||||
"tabs_bar.notifications": "Notifications",
|
||||
"tabs_bar.profile": "Profile",
|
||||
"tabs_bar.search": "Search",
|
||||
"tabs_bar.search": "Discover",
|
||||
"tabs_bar.settings": "Settings",
|
||||
"textarea.counter.label": "{count} characters remaining",
|
||||
"theme_editor.colors.accent": "Accent",
|
||||
|
|
Loading…
Reference in New Issue