fix translations
This commit is contained in:
parent
1091a279af
commit
882e70df5e
@ -45,7 +45,7 @@ class VacationRequestStatusChangedNotification extends Notification
|
|||||||
$user = $this->user->first_name;
|
$user = $this->user->first_name;
|
||||||
$title = $this->vacationRequest->name;
|
$title = $this->vacationRequest->name;
|
||||||
$type = $this->vacationRequest->type->label();
|
$type = $this->vacationRequest->type->label();
|
||||||
$status = $this->vacationRequest->state;
|
$status = $this->vacationRequest->state->label();
|
||||||
$from = $this->vacationRequest->from->toDisplayString();
|
$from = $this->vacationRequest->from->toDisplayString();
|
||||||
$to = $this->vacationRequest->to->toDisplayString();
|
$to = $this->vacationRequest->to->toDisplayString();
|
||||||
$days = $this->vacationRequest->vacations()->count();
|
$days = $this->vacationRequest->vacations()->count();
|
||||||
|
@ -36,4 +36,9 @@ abstract class VacationRequestState extends State
|
|||||||
Approved::class,
|
Approved::class,
|
||||||
], Cancelled::class);
|
], Cancelled::class);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function label(): string
|
||||||
|
{
|
||||||
|
return __(static::$name);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -18,14 +18,9 @@
|
|||||||
"administrator": "Administrator",
|
"administrator": "Administrator",
|
||||||
"technical_approver": "Techniczny akceptujący",
|
"technical_approver": "Techniczny akceptujący",
|
||||||
"administrative_approver": "Administracyjny akceptujący",
|
"administrative_approver": "Administracyjny akceptujący",
|
||||||
"created": "Utworzony",
|
"cancelled": "anulowany",
|
||||||
"cancelled": "Anulowany",
|
"rejected": "odrzucony",
|
||||||
"rejected": "Odrzucony",
|
"approved": "zatwierdzony",
|
||||||
"approved": "Zatwierdzony",
|
|
||||||
"waiting_for_technical": "Czeka na akceptację od technicznego",
|
|
||||||
"waiting_for_administrative": "Czeka na akceptację od administracyjnego",
|
|
||||||
"accepted_by_technical": "Zaakceptowany przez technicznego",
|
|
||||||
"accepted_by_administrative": "Zaakceptowany przez administracyjnego",
|
|
||||||
"You have pending vacation request in this range.": "Masz oczekujący wniosek urlopowy w tym zakresie dat.",
|
"You have pending vacation request in this range.": "Masz oczekujący wniosek urlopowy w tym zakresie dat.",
|
||||||
"You have approved vacation request in this range.": "Masz zaakceptowany wniosek urlopowy w tym zakresie dat.",
|
"You have approved vacation request in this range.": "Masz zaakceptowany wniosek urlopowy w tym zakresie dat.",
|
||||||
"Vacation limit has been exceeded.": "Limit urlopu został przekroczony.",
|
"Vacation limit has been exceeded.": "Limit urlopu został przekroczony.",
|
||||||
@ -65,12 +60,8 @@
|
|||||||
"Click here for details": "Kliknij, aby zobaczyć szczegóły",
|
"Click here for details": "Kliknij, aby zobaczyć szczegóły",
|
||||||
"Vacation request :title is waiting for your approval": "Wniosek urlopowy :title czeka na zaakceptowanie",
|
"Vacation request :title is waiting for your approval": "Wniosek urlopowy :title czeka na zaakceptowanie",
|
||||||
"The vacation request :title from user: :requester is waiting for your approval.": "Wniosek urlopowy :title od użytkownika :requester czeka na Twoją akceptację.",
|
"The vacation request :title from user: :requester is waiting for your approval.": "Wniosek urlopowy :title od użytkownika :requester czeka na Twoją akceptację.",
|
||||||
"Vacation request :title has been approved": "Wniosek urlopowy :title został zatwierdzony",
|
"Vacation request :title has been :status": "Wniosek urlopowy :title został :status",
|
||||||
"The vacation request :title for user :requester has been approved.": "Wniosek urlopowy :title od użytkownika :requester został zatwierdzony.",
|
"The vacation request :title for user :requester has been :status.": "Wniosek urlopowy :title od użytkownika :requester został :status.",
|
||||||
"Vacation request :title has been cancelled": "Wniosek urlopowy :title został anulowany",
|
|
||||||
"The vacation request :title for user :requester has been cancelled.": "Wniosek urlopowy :title od użytkownika :requester został anulowany.",
|
|
||||||
"Vacation request :title has been rejected": "Wniosek urlopowy :title został odrzucony",
|
|
||||||
"The vacation request :title for user :requester has been rejected.": "Wniosek urlopowy :title od użytkownika :requester został odrzucony.",
|
|
||||||
"Vacation request :title has been created on your behalf": "Wniosek urlopowy :title został utworzony w Twoim imieniu",
|
"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."
|
"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."
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user