call t on eventAvailabitily and intergrate change from develop branch

This commit is contained in:
MynahMarie
2020-02-18 11:45:57 +02:00
parent fdfbade493
commit ea3938a91e

View File

@@ -285,9 +285,9 @@ each(premium, (pot, key) => {
notes: t('hatchingPotionNotes', { notes: t('hatchingPotionNotes', {
potText: pot.text, potText: pot.text,
}), }),
_addlNotes: pot._season ? t('eventAvailability', { _addlNotes: t('eventAvailability', {
date: t(`dateEnd${pot._season}`), date: t('dateEndFebruary'),
}) : null, }),
premium: true, premium: true,
limited: false, limited: false,
canBuy () { canBuy () {
@@ -303,7 +303,7 @@ each(wacky, (pot, key) => {
notes: t('hatchingPotionNotes', { notes: t('hatchingPotionNotes', {
potText: pot.text, potText: pot.text,
}), }),
_addlNotes: pot._seasont && pot._season !== '_PENDING_' ? ('eventAvailability', { _addlNotes: pot._seasont && pot._season !== '_PENDING_' ? t('eventAvailability', {
date: t(`dateEnd${pot._season}`), date: t(`dateEnd${pot._season}`),
}) : null, }) : null,
premium: false, premium: false,