Make wishlist name suggestions translatable

This commit is contained in:
Jay Trees 2022-03-23 15:12:25 +01:00
parent d117ac2ad8
commit 306c8b1146

View file

@ -28,11 +28,11 @@ function getWishlistNameSuggestion(): string
}
if ($startOfBirthdate && $now <= $startOfBirthdate) {
$name = 'Birthday';
$name = __('Birthday');
} elseif ($now <= $startOfEaster) {
$name = 'Easter';
$name = __('Easter');
} elseif ($now <= $startOfChristmas) {
$name = 'Christmas';
$name = __('Christmas');
}
return $name;