#132 - added translations

This commit is contained in:
EwelinaLasowy
2022-05-06 08:01:09 +02:00
parent 3404bf1da8
commit 35b5b344b6
19 changed files with 69 additions and 38 deletions

View File

@@ -97,8 +97,8 @@ class VacationRequestCreatedNotification extends Notification
$name = $this->vacationRequest->name;
if ($this->vacationRequest->creator()->is($this->vacationRequest->user)) {
return __("The vacation request :title from user :user has been created successfully.", [
"user" => $this->vacationRequest->user->profile->full_name,
return __("The vacation request :title has been created successfully.", [
"requester" => $this->vacationRequest->user->profile->full_name,
"title" => $name,
]);
}