Change label from "For you" to "People" on explore screen in web UI (#24706)

pull/2198/head
Eugen Rochko 2023-04-28 08:54:20 +02:00 committed by GitHub
parent a5bc4ea550
commit 7cf963eec2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 13 additions and 10 deletions

View File

@ -71,17 +71,20 @@ class Explore extends React.PureComponent {
<NavLink exact to='/explore'>
<FormattedMessage tagName='div' id='explore.trending_statuses' defaultMessage='Posts' />
</NavLink>
<NavLink exact to='/explore/tags'>
<FormattedMessage tagName='div' id='explore.trending_tags' defaultMessage='Hashtags' />
</NavLink>
{signedIn && (
<NavLink exact to='/explore/suggestions'>
<FormattedMessage tagName='div' id='explore.suggested_follows' defaultMessage='People' />
</NavLink>
)}
<NavLink exact to='/explore/links'>
<FormattedMessage tagName='div' id='explore.trending_links' defaultMessage='News' />
</NavLink>
{signedIn && (
<NavLink exact to='/explore/suggestions'>
<FormattedMessage tagName='div' id='explore.suggested_follows' defaultMessage='For you' />
</NavLink>
)}
</div>
<Switch>

View File

@ -2073,12 +2073,12 @@
"id": "explore.trending_tags"
},
{
"defaultMessage": "News",
"id": "explore.trending_links"
"defaultMessage": "People",
"id": "explore.suggested_follows"
},
{
"defaultMessage": "For you",
"id": "explore.suggested_follows"
"defaultMessage": "News",
"id": "explore.trending_links"
}
],
"path": "app/javascript/mastodon/features/explore/index.json"

View File

@ -240,7 +240,7 @@
"errors.unexpected_crash.copy_stacktrace": "Copy stacktrace to clipboard",
"errors.unexpected_crash.report_issue": "Report issue",
"explore.search_results": "Search results",
"explore.suggested_follows": "For you",
"explore.suggested_follows": "People",
"explore.title": "Explore",
"explore.trending_links": "News",
"explore.trending_statuses": "Posts",