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', {
|
||||
potText: pot.text,
|
||||
}),
|
||||
_addlNotes: pot._season ? t('eventAvailability', {
|
||||
date: t(`dateEnd${pot._season}`),
|
||||
}) : null,
|
||||
_addlNotes: t('eventAvailability', {
|
||||
date: t('dateEndFebruary'),
|
||||
}),
|
||||
premium: true,
|
||||
limited: false,
|
||||
canBuy () {
|
||||
@@ -303,7 +303,7 @@ each(wacky, (pot, key) => {
|
||||
notes: t('hatchingPotionNotes', {
|
||||
potText: pot.text,
|
||||
}),
|
||||
_addlNotes: pot._seasont && pot._season !== '_PENDING_' ? ('eventAvailability', {
|
||||
_addlNotes: pot._seasont && pot._season !== '_PENDING_' ? t('eventAvailability', {
|
||||
date: t(`dateEnd${pot._season}`),
|
||||
}) : null,
|
||||
premium: false,
|
||||
|
||||
Reference in New Issue
Block a user