From 4059b101f53515bf48d764a71a3b928be90298a8 Mon Sep 17 00:00:00 2001 From: Adrian Hopek Date: Thu, 14 Apr 2022 11:14:51 +0200 Subject: [PATCH] #90 - fix --- .../Notifications/VacationRequestCreatedNotification.php | 2 +- resources/lang/pl.json | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/Domain/Notifications/VacationRequestCreatedNotification.php b/app/Domain/Notifications/VacationRequestCreatedNotification.php index 291c3c1..a9a54c3 100644 --- a/app/Domain/Notifications/VacationRequestCreatedNotification.php +++ b/app/Domain/Notifications/VacationRequestCreatedNotification.php @@ -92,7 +92,7 @@ class VacationRequestCreatedNotification extends Notification return __("The vacation request :title has been created correctly by user :creator on your behalf in the :appName.", [ "title" => $this->vacationRequest->name, "appName" => $appName, - "creator" => $this->vacationRequest->creator->fullName, + "creator" => $this->vacationRequest->creator->profile->fullName, ]); } } diff --git a/resources/lang/pl.json b/resources/lang/pl.json index 69cdf97..f95dbeb 100644 --- a/resources/lang/pl.json +++ b/resources/lang/pl.json @@ -61,10 +61,10 @@ "Click here for details": "Kliknij, aby zobaczyć szczegóły", "Vacation request :title is waiting for your technical approval": "Wniosek urlopowy :title czeka na akceptację techniczną", "Vacation request :title is waiting for your administrative approval": "Wniosek urlopowy :title czeka na akceptację administracyjną", - "The vacation request :title from user :requester is waiting for your technical approval.": "Wniosek urlopowy :title od użytkownika :requester czeka na Twoją akceptację techniczną.", - "The vacation request :title from user :requester is waiting for your administrative approval.": "Wniosek urlopowy :title od użytkownika :requester czeka na Twoją akceptację administracyjną.", + "The vacation request :title from user :requester is waiting for your technical approval.": "Wniosek urlopowy :title użytkownika :requester czeka na Twoją akceptację techniczną.", + "The vacation request :title from user :requester is waiting for your administrative approval.": "Wniosek urlopowy :title użytkownika :requester czeka na Twoją akceptację administracyjną.", "Vacation request :title has been :status": "Wniosek urlopowy :title został :status", - "The vacation request :title for user :requester has been :status.": "Wniosek urlopowy :title od użytkownika :requester został :status.", + "The vacation request :title for user :requester has been :status.": "Wniosek urlopowy :title użytkownika :requester został :status.", "Vacation request :title has been created on your behalf": "Wniosek urlopowy :title został utworzony w Twoim imieniu", "The vacation request :title has been created correctly by user :creator on your behalf in the :appName.": "W systemie :appName został poprawnie utworzony wniosek urlopowy :title w Twoim imieniu przez użytkownika :creator." }