Skip to content

Commit

Permalink
Change label from "For you" to "People" on explore screen in web UI (m…
Browse files Browse the repository at this point in the history
  • Loading branch information
Gargron committed Apr 28, 2023
1 parent a5bc4ea commit 7cf963e
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 9 deletions.
11 changes: 7 additions & 4 deletions app/javascript/mastodon/features/explore/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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>
<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' />
<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>
</div>

<Switch>
Expand Down
8 changes: 4 additions & 4 deletions app/javascript/mastodon/locales/defaultMessages.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion app/javascript/mastodon/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 7cf963e

Please sign in to comment.