From e52085246f86809ec32f3edc5be226ce15b03457 Mon Sep 17 00:00:00 2001 From: mayaeh Date: Sun, 13 Mar 2022 12:51:09 +0900 Subject: [PATCH] Add menu column of explore to getting-started (#17755) --- app/javascript/mastodon/features/getting_started/index.js | 4 +++- app/javascript/mastodon/locales/defaultMessages.json | 4 ++++ app/javascript/mastodon/locales/en.json | 1 + 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/app/javascript/mastodon/features/getting_started/index.js b/app/javascript/mastodon/features/getting_started/index.js index 07572c530d9..2b17f667fae 100644 --- a/app/javascript/mastodon/features/getting_started/index.js +++ b/app/javascript/mastodon/features/getting_started/index.js @@ -21,6 +21,7 @@ const messages = defineMessages({ public_timeline: { id: 'navigation_bar.public_timeline', defaultMessage: 'Federated timeline' }, settings_subheading: { id: 'column_subheading.settings', defaultMessage: 'Settings' }, community_timeline: { id: 'navigation_bar.community_timeline', defaultMessage: 'Local timeline' }, + explore: { id: 'navigation_bar.explore', defaultMessage: 'Explore' }, direct: { id: 'navigation_bar.direct', defaultMessage: 'Direct messages' }, bookmarks: { id: 'navigation_bar.bookmarks', defaultMessage: 'Bookmarks' }, preferences: { id: 'navigation_bar.preferences', defaultMessage: 'Preferences' }, @@ -99,9 +100,10 @@ class GettingStarted extends ImmutablePureComponent { , , , + , ); - height += 34 + 48*2; + height += 34 + 48*3; navItems.push( , diff --git a/app/javascript/mastodon/locales/defaultMessages.json b/app/javascript/mastodon/locales/defaultMessages.json index a6cd78599bd..a93f3260efe 100644 --- a/app/javascript/mastodon/locales/defaultMessages.json +++ b/app/javascript/mastodon/locales/defaultMessages.json @@ -1956,6 +1956,10 @@ "defaultMessage": "Local timeline", "id": "navigation_bar.community_timeline" }, + { + "defaultMessage": "Explore", + "id": "navigation_bar.explore" + }, { "defaultMessage": "Direct messages", "id": "navigation_bar.direct" diff --git a/app/javascript/mastodon/locales/en.json b/app/javascript/mastodon/locales/en.json index f19b72aa19f..910c686726d 100644 --- a/app/javascript/mastodon/locales/en.json +++ b/app/javascript/mastodon/locales/en.json @@ -294,6 +294,7 @@ "navigation_bar.discover": "Discover", "navigation_bar.domain_blocks": "Blocked domains", "navigation_bar.edit_profile": "Edit profile", + "navigation_bar.explore": "Explore", "navigation_bar.favourites": "Favourites", "navigation_bar.filters": "Muted words", "navigation_bar.follow_requests": "Follow requests",