gearheads
/
mastodon
Archived
2
0
Fork 0

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

gh/dev
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'> <NavLink exact to='/explore'>
<FormattedMessage tagName='div' id='explore.trending_statuses' defaultMessage='Posts' /> <FormattedMessage tagName='div' id='explore.trending_statuses' defaultMessage='Posts' />
</NavLink> </NavLink>
<NavLink exact to='/explore/tags'> <NavLink exact to='/explore/tags'>
<FormattedMessage tagName='div' id='explore.trending_tags' defaultMessage='Hashtags' /> <FormattedMessage tagName='div' id='explore.trending_tags' defaultMessage='Hashtags' />
</NavLink> </NavLink>
{signedIn && (
<NavLink exact to='/explore/suggestions'>
<FormattedMessage tagName='div' id='explore.suggested_follows' defaultMessage='People' />
</NavLink>
)}
<NavLink exact to='/explore/links'> <NavLink exact to='/explore/links'>
<FormattedMessage tagName='div' id='explore.trending_links' defaultMessage='News' /> <FormattedMessage tagName='div' id='explore.trending_links' defaultMessage='News' />
</NavLink> </NavLink>
{signedIn && (
<NavLink exact to='/explore/suggestions'>
<FormattedMessage tagName='div' id='explore.suggested_follows' defaultMessage='For you' />
</NavLink>
)}
</div> </div>
<Switch> <Switch>

View File

@ -2073,12 +2073,12 @@
"id": "explore.trending_tags" "id": "explore.trending_tags"
}, },
{ {
"defaultMessage": "News", "defaultMessage": "People",
"id": "explore.trending_links" "id": "explore.suggested_follows"
}, },
{ {
"defaultMessage": "For you", "defaultMessage": "News",
"id": "explore.suggested_follows" "id": "explore.trending_links"
} }
], ],
"path": "app/javascript/mastodon/features/explore/index.json" "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.copy_stacktrace": "Copy stacktrace to clipboard",
"errors.unexpected_crash.report_issue": "Report issue", "errors.unexpected_crash.report_issue": "Report issue",
"explore.search_results": "Search results", "explore.search_results": "Search results",
"explore.suggested_follows": "For you", "explore.suggested_follows": "People",
"explore.title": "Explore", "explore.title": "Explore",
"explore.trending_links": "News", "explore.trending_links": "News",
"explore.trending_statuses": "Posts", "explore.trending_statuses": "Posts",