Make wishlist name suggestions translatable
This commit is contained in:
parent
d117ac2ad8
commit
306c8b1146
1 changed files with 3 additions and 3 deletions
|
@ -28,11 +28,11 @@ function getWishlistNameSuggestion(): string
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($startOfBirthdate && $now <= $startOfBirthdate) {
|
if ($startOfBirthdate && $now <= $startOfBirthdate) {
|
||||||
$name = 'Birthday';
|
$name = __('Birthday');
|
||||||
} elseif ($now <= $startOfEaster) {
|
} elseif ($now <= $startOfEaster) {
|
||||||
$name = 'Easter';
|
$name = __('Easter');
|
||||||
} elseif ($now <= $startOfChristmas) {
|
} elseif ($now <= $startOfChristmas) {
|
||||||
$name = 'Christmas';
|
$name = __('Christmas');
|
||||||
}
|
}
|
||||||
|
|
||||||
return $name;
|
return $name;
|
||||||
|
|
Loading…
Reference in a new issue