enable translated pet names in hatching success message (#10231)

This commit is contained in:
Alys
2018-04-08 22:50:36 +10:00
committed by Matteo Pagliazzi
parent e7c78eabce
commit e111ac730c
2 changed files with 2 additions and 2 deletions

View File

@@ -875,7 +875,7 @@
this.closeHatchPetDialog();
this.$store.dispatch('common:hatch', {egg: pet.eggKey, hatchingPotion: pet.potionKey});
this.text(this.$t('hatchedPet', {egg: pet.eggKey, potion: pet.potionKey}));
this.text(this.$t('hatchedPet', {egg: pet.eggName, potion: pet.potionName}));
},
onDragStart (ev, food) {
this.currentDraggingFood = food;