Add new onboarding flow to web UI (#24619)

This commit is contained in:
Eugen Rochko
2023-04-23 22:24:53 +02:00
committed by GitHub
parent 9d75b03ba4
commit 0461f83320
23 changed files with 1019 additions and 357 deletions

View File

@ -2264,40 +2264,6 @@
],
"path": "app/javascript/mastodon/features/filters/select_filter.json"
},
{
"descriptors": [
{
"defaultMessage": "Follow",
"id": "account.follow"
},
{
"defaultMessage": "Unfollow",
"id": "account.unfollow"
}
],
"path": "app/javascript/mastodon/features/follow_recommendations/components/account.json"
},
{
"descriptors": [
{
"defaultMessage": "Follow people you'd like to see posts from! Here are some suggestions.",
"id": "follow_recommendations.heading"
},
{
"defaultMessage": "Posts from people you follow will show up in chronological order on your home feed. Don't be afraid to make mistakes, you can unfollow people just as easily any time!",
"id": "follow_recommendations.lead"
},
{
"defaultMessage": "Looks like no suggestions could be generated for you. You can try using search to look for people you might know or explore trending hashtags.",
"id": "empty_column.follow_recommendations"
},
{
"defaultMessage": "Done",
"id": "follow_recommendations.done"
}
],
"path": "app/javascript/mastodon/features/follow_recommendations/index.json"
},
{
"descriptors": [
{
@ -3218,6 +3184,125 @@
],
"path": "app/javascript/mastodon/features/notifications/index.json"
},
{
"descriptors": [
{
"defaultMessage": "Popular on Mastodon",
"id": "onboarding.follows.title"
},
{
"defaultMessage": "You curate your own home feed. The more people you follow, the more active and interesting it will be. These profiles may be a good starting point—you can always unfollow them later!",
"id": "onboarding.follows.lead"
},
{
"defaultMessage": "<strong>Did you know?</strong> Since Mastodon is decentralized, some profiles you come across will be hosted on servers other than yours. And yet you can interact with them seamlessly! Their server is in the second half of their username!",
"id": "onboarding.tips.accounts_from_other_servers"
},
{
"defaultMessage": "Take me back",
"id": "onboarding.actions.back"
}
],
"path": "app/javascript/mastodon/features/onboarding/follows.json"
},
{
"descriptors": [
{
"defaultMessage": "You've made it!",
"id": "onboarding.start.title"
},
{
"defaultMessage": "Your new Mastodon account is ready to go. Here's how you can make the most of it:",
"id": "onboarding.start.lead"
},
{
"defaultMessage": "Customize your profile",
"id": "onboarding.steps.setup_profile.title"
},
{
"defaultMessage": "Others are more likely to interact with you with a filled out profile.",
"id": "onboarding.steps.setup_profile.body"
},
{
"defaultMessage": "Follow {count, plural, one {one person} other {# people}}",
"id": "onboarding.steps.follow_people.title"
},
{
"defaultMessage": "You curate your own feed. Lets fill it with interesting people.",
"id": "onboarding.steps.follow_people.body"
},
{
"defaultMessage": "Make your first post",
"id": "onboarding.steps.publish_status.title"
},
{
"defaultMessage": "Say hello to the world.",
"id": "onboarding.steps.publish_status.body"
},
{
"defaultMessage": "Share your profile",
"id": "onboarding.steps.share_profile.title"
},
{
"defaultMessage": "Let your friends know how to find you on Mastodon!",
"id": "onboarding.steps.share_profile.body"
},
{
"defaultMessage": "Want to skip right ahead?",
"id": "onboarding.start.skip"
},
{
"defaultMessage": "See what's trending",
"id": "onboarding.actions.go_to_explore"
},
{
"defaultMessage": "Don't show this screen again",
"id": "onboarding.actions.close"
}
],
"path": "app/javascript/mastodon/features/onboarding/index.json"
},
{
"descriptors": [
{
"defaultMessage": "I'm {username} on Mastodon! Come follow me at {url}",
"id": "onboarding.share.message"
},
{
"defaultMessage": "Copied",
"id": "copypaste.copied"
},
{
"defaultMessage": "Copy to clipboard",
"id": "copypaste.copy_to_clipboard"
},
{
"defaultMessage": "Share your profile",
"id": "onboarding.share.title"
},
{
"defaultMessage": "Let people know how they can find you on Mastodon!",
"id": "onboarding.share.lead"
},
{
"defaultMessage": "Possible next steps:",
"id": "onboarding.share.next_steps"
},
{
"defaultMessage": "Go to your home feed",
"id": "onboarding.actions.go_to_home"
},
{
"defaultMessage": "See what's trending",
"id": "onboarding.actions.go_to_explore"
},
{
"defaultMessage": "Take me back",
"id": "onboarding.action.back"
}
],
"path": "app/javascript/mastodon/features/onboarding/share.json"
},
{
"descriptors": [
{

View File

@ -182,6 +182,7 @@
"conversation.with": "With {names}",
"copypaste.copied": "Copied",
"copypaste.copy": "Copy",
"copypaste.copy_to_clipboard": "Copy to clipboard",
"directory.federated": "From known fediverse",
"directory.local": "From {domain} only",
"directory.new_arrivals": "New arrivals",
@ -222,7 +223,6 @@
"empty_column.explore_statuses": "Nothing is trending right now. Check back later!",
"empty_column.favourited_statuses": "You don't have any favourite posts yet. When you favourite one, it will show up here.",
"empty_column.favourites": "No one has favourited this post yet. When someone does, they will show up here.",
"empty_column.follow_recommendations": "Looks like no suggestions could be generated for you. You can try using search to look for people you might know or explore trending hashtags.",
"empty_column.follow_requests": "You don't have any follow requests yet. When you receive one, it will show up here.",
"empty_column.followed_tags": "You have not followed any hashtags yet. When you do, they will show up here.",
"empty_column.hashtag": "There is nothing in this hashtag yet.",
@ -261,9 +261,6 @@
"filter_modal.select_filter.subtitle": "Use an existing category or create a new one",
"filter_modal.select_filter.title": "Filter this post",
"filter_modal.title.status": "Filter a post",
"follow_recommendations.done": "Done",
"follow_recommendations.heading": "Follow people you'd like to see posts from! Here are some suggestions.",
"follow_recommendations.lead": "Posts from people you follow will show up in chronological order on your home feed. Don't be afraid to make mistakes, you can unfollow people just as easily any time!",
"follow_request.authorize": "Authorize",
"follow_request.reject": "Reject",
"follow_requests.unlocked_explanation": "Even though your account is not locked, the {domain} staff thought you might want to review follow requests from these accounts manually.",
@ -443,6 +440,29 @@
"notifications_permission_banner.enable": "Enable desktop notifications",
"notifications_permission_banner.how_to_control": "To receive notifications when Mastodon isn't open, enable desktop notifications. You can control precisely which types of interactions generate desktop notifications through the {icon} button above once they're enabled.",
"notifications_permission_banner.title": "Never miss a thing",
"onboarding.action.back": "Take me back",
"onboarding.actions.back": "Take me back",
"onboarding.actions.close": "Don't show this screen again",
"onboarding.actions.go_to_explore": "See what's trending",
"onboarding.actions.go_to_home": "Go to your home feed",
"onboarding.follows.lead": "You curate your own home feed. The more people you follow, the more active and interesting it will be. These profiles may be a good starting point—you can always unfollow them later!",
"onboarding.follows.title": "Popular on Mastodon",
"onboarding.share.lead": "Let people know how they can find you on Mastodon!",
"onboarding.share.message": "I'm {username} on Mastodon! Come follow me at {url}",
"onboarding.share.next_steps": "Possible next steps:",
"onboarding.share.title": "Share your profile",
"onboarding.start.lead": "Your new Mastodon account is ready to go. Here's how you can make the most of it:",
"onboarding.start.skip": "Want to skip right ahead?",
"onboarding.start.title": "You've made it!",
"onboarding.steps.follow_people.body": "You curate your own feed. Lets fill it with interesting people.",
"onboarding.steps.follow_people.title": "Follow {count, plural, one {one person} other {# people}}",
"onboarding.steps.publish_status.body": "Say hello to the world.",
"onboarding.steps.publish_status.title": "Make your first post",
"onboarding.steps.setup_profile.body": "Others are more likely to interact with you with a filled out profile.",
"onboarding.steps.setup_profile.title": "Customize your profile",
"onboarding.steps.share_profile.body": "Let your friends know how to find you on Mastodon!",
"onboarding.steps.share_profile.title": "Share your profile",
"onboarding.tips.accounts_from_other_servers": "<strong>Did you know?</strong> Since Mastodon is decentralized, some profiles you come across will be hosted on servers other than yours. And yet you can interact with them seamlessly! Their server is in the second half of their username!",
"password_confirmation.exceeds_maxlength": "Password confirmation exceeds the maximum password length",
"password_confirmation.mismatching": "Password confirmation does not match",
"picture_in_picture.restore": "Put it back",