mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 15:17:25 +01:00
call t on eventAvailabitily and intergrate change from develop branch
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user