new client various fixes: Equipment shop empty; Skills not Spells; no Saddles message (#8959)

* shows message in Equipment shop when you've bought all class gear

* change Spells to Skills in visible text

* show correct message in stable when you don't have any Saddles
This commit is contained in:
Alys
2017-08-22 07:45:25 +10:00
committed by negue
parent e9141ff5c9
commit 41da55921c
4 changed files with 7 additions and 4 deletions

View File

@@ -163,7 +163,7 @@
drawer(
:title="$t('quickInventory')",
:errorMessage="(!hasDrawerTabItems(selectedDrawerTab)) ? $t('noFoodAvailable') : null"
:errorMessage="(!hasDrawerTabItems(selectedDrawerTab)) ? ((selectedDrawerTab === 0) ? $t('noFoodAvailable') : $t('noSaddlesAvailable')) : null"
)
div(slot="drawer-header")
.drawer-tab-container

View File

@@ -99,6 +99,7 @@
:itemWidth=94,
:itemMargin=24,
:type="'gear'",
:noItemsLabel="$t('noGearItemsOfClass')"
)
template(slot="item", scope="ctx")
shopItem(

View File

@@ -55,6 +55,7 @@
"recentActivity": "Recent Activity",
"gearNotOwned": "You do not own this item.",
"noGearItemsOfType": "You don't own any of these.",
"noGearItemsOfClass": "You already have all your class equipment! More will be released during the Grand Galas, near the solstices and equinoxes.",
"myGuilds": "My Guilds",
"guildsDiscovery": "Discover Guilds",
"habiticaOfficial": "Habitica Official",
@@ -127,7 +128,8 @@
"joinHabitica": "Join Habitica",
"alreadyHaveAccountLogin": "Already have a Habitica account? Log in",
"quickInventory": "Quick Inventory",
"noFoodAvailable": "You don't have any food.",
"noFoodAvailable": "You don't have any Food.",
"noSaddlesAvailable": "You don't have any Saddles.",
"gotIt": "Got it!",
"welcomeStable": "Welcome to the Stable!",
"welcomeStableText": "I'm Matt, the Beast Master. Starting at level 3, you can hatch Pets from Eggs by using Potions you find! When you hatch a Pet from your Inventory, it will appear here! Click a Pet's image to add it to your avatar. Feed them here with the Food you find after level 3, and they'll grow into hardy Mounts.",

View File

@@ -66,8 +66,8 @@
"classStats": "These are your class's stats; they affect the game-play. Each time you level up, you get one point to allocate to a particular stat. Hover over each stat for more information.",
"autoAllocate": "Auto Allocate",
"autoAllocateText": "If 'automatic allocation' is checked, your avatar gains stats automatically based on your tasks' attributes, which you can find in <strong>TASK > Edit > Advanced > Attributes</strong>. Eg, if you hit the gym often, and your 'Gym' Daily is set to 'Strength', you'll gain Strength automatically.",
"spells": "Spells",
"spellsText": "You can now unlock class-specific spells. You'll see your first at level 11. Your mana replenishes 10 points per day, plus 1 point per completed <a target='_blank' href='http://habitica.wikia.com/wiki/Todos'>To-Do</a>.",
"spells": "Skills",
"spellsText": "You can now unlock class-specific skills. You'll see your first at level 11. Your mana replenishes 10 points per day, plus 1 point per completed <a target='_blank' href='http://habitica.wikia.com/wiki/Todos'>To-Do</a>.",
"toDo": "To-Do",
"moreClass": "For more information on the class-system, see <a href='http://habitica.wikia.com/wiki/Class_System' target='_blank'>Wikia</a>.",