From dd31f559c7bfa505b75f4e53a9846b926c62c75a Mon Sep 17 00:00:00 2001 From: Matteo Pagliazzi Date: Mon, 13 Apr 2020 16:19:46 +0200 Subject: [PATCH] onboarding guide improvements (#12068) --- website/client/src/assets/scss/icon.scss | 4 +-- .../achievements/onboardingComplete.vue | 27 ++++++++++++++++--- .../notifications/onboardingComplete.vue | 6 ++++- .../src/components/header/onboardingGuide.vue | 19 ++++++++++--- .../src/components/userMenu/profile.vue | 20 +++++++------- website/common/locales/en/achievements.json | 19 +++++++------ 6 files changed, 66 insertions(+), 29 deletions(-) diff --git a/website/client/src/assets/scss/icon.scss b/website/client/src/assets/scss/icon.scss index 75a18503d6..5e5a9162b9 100644 --- a/website/client/src/assets/scss/icon.scss +++ b/website/client/src/assets/scss/icon.scss @@ -53,8 +53,8 @@ .close-icon { position: absolute; - top: 24px; - right: 24px; + top: 1rem; + right: 1rem; cursor: pointer; & svg path { diff --git a/website/client/src/components/achievements/onboardingComplete.vue b/website/client/src/components/achievements/onboardingComplete.vue index f603667d0a..62687c4072 100644 --- a/website/client/src/components/achievements/onboardingComplete.vue +++ b/website/client/src/components/achievements/onboardingComplete.vue @@ -7,20 +7,31 @@ >
-

{{ $t('congratulations') }}

+

+ {{ $t('onboardingComplete') }} +

+

+ {{ $t('onboardingCompleteDescSmall') }} +

-
- {{ achievementsCategories[key].open ? - $t('hideAchievements', {category: $t(key+'Achievs')}) : - $t('showAllAchievements', {category: $t(key+'Achievs')}) - }} -
+
+ {{ achievementsCategories[key].open ? + $t('hideAchievements', {category: $t(key+'Achievs')}) : + $t('showAllAchievements', {category: $t(key+'Achievs')}) + }} +

diff --git a/website/common/locales/en/achievements.json b/website/common/locales/en/achievements.json index ee0ce864f7..699e9cb3b6 100644 --- a/website/common/locales/en/achievements.json +++ b/website/common/locales/en/achievements.json @@ -4,12 +4,15 @@ "onwards": "Onwards!", "levelup": "By accomplishing your real life goals, you leveled up and are now fully healed!", "reachedLevel": "You Reached Level <%= level %>", - "gettingStartedDesc": "Let’s create a task, complete it, then check out your rewards. You’ll earn 5 achievements and 100 gold once you’re done!", + "gettingStartedDesc": "Complete these onboarding tasks and you’ll earn 5 Achievements and 100 Gold once you’re done!", "onboardingProgress": "<%= percentage %>% progress", + "yourProgress": "Your Progress", "letsGetStarted": "Let's get started!", "viewAchievements": "View Achievements", "earnedAchievement": "You earned an achievement!", - "onboardingCompleteDesc": "You earned 5 achievements and 100 gold for completing the list.", + "onboardingComplete": "You completed your onboarding tasks!", + "onboardingCompleteDesc": "You earned 5 Achievements and 100 Gold for completing the list.", + "onboardingCompleteDescSmall": "If you want even more, check out Achievements and start collecting!", "showAllAchievements": "Show All <%= category %>", "hideAchievements": "Hide <%= category %>", "foundNewItems": "You found new items!", @@ -46,21 +49,21 @@ "achievementUndeadUndertaker": "Undead Undertaker", "achievementUndeadUndertakerText": "Has tamed all Zombie Mounts.", "achievementUndeadUndertakerModalText": "You tamed all the Zombie Mounts!", - "achievementCreatedTask": "Create a Task", + "achievementCreatedTask": "Create your first task", "achievementCreatedTaskText": "Created their first task.", "achievementCreatedTaskModalText": "Add a task for something you would like to accomplish this week", - "achievementCompletedTask": "Complete a Task", + "achievementCompletedTask": "Complete a task", "achievementCompletedTaskText": "Completed their first task.", "achievementCompletedTaskModalText": "Check off any of your tasks to earn rewards", "achievementHatchedPet": "Hatch a Pet", "achievementHatchedPetText": "Hatched their first pet.", - "achievementHatchedPetModalText": "Head over to your inventory and try combining a hatching potion and an egg", + "achievementHatchedPetModalText": "Head over to your inventory and try combining a hatching Potion and an Egg", "achievementFedPet": "Feed a Pet", "achievementFedPetText": "Fed their first pet.", - "achievementFedPetModalText": "There are many different types of food, but pets can be picky", - "achievementPurchasedEquipment": "Purchase Equipment", + "achievementFedPetModalText": "There are many different types of food, but Pets can be picky", + "achievementPurchasedEquipment": "Purchase a piece of Equipment", "achievementPurchasedEquipmentText": "Purchased their first piece of equipment.", - "achievementPurchasedEquipmentModalText": "Equipment is a way to customize your avatar and improve your stats", + "achievementPurchasedEquipmentModalText": "Equipment is a way to customize your avatar and improve your Stats", "achievementPrimedForPainting": "Primed for Painting", "achievementPrimedForPaintingText": "Has collected all White Pets.", "achievementPrimedForPaintingModalText": "You collected all the White Pets!",