This commit is contained in:
EwelinaLasowy 2022-02-14 15:29:24 +01:00
parent 2bf2b99e28
commit 885dcdf9bb
3 changed files with 3 additions and 3 deletions

View File

@ -37,7 +37,7 @@ class DoesNotExceedLimitRule implements VacationRequestRule
public function errorMessage(): string
{
return __("You have exceeded your vacation limit.");
return __("Vacation limit has been exceeded.");
}
protected function getUserVacationLimit(User $user, YearPeriod $yearPeriod): int

View File

@ -28,7 +28,7 @@
"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 approved vacation request in this range.": "Masz zaakceptowany wniosek urlopowy w tym zakresie dat.",
"You have exceeded your vacation limit.": "Przekroczyłeś/aś limit urlopu.",
"Vacation limit has been exceeded.": "Limit urlopu został przekroczony.",
"Vacation needs minimum one day.": "Urlop musi być co najmniej na jeden dzień.",
"The vacation request cannot be created at the turn of the year.": "Wniosek urlopowy nie może zostać złożony na przełomie roku."
}

View File

@ -181,7 +181,7 @@ class VacationRequestTest extends FeatureTestCase
"comment" => "Comment for the vacation request.",
])
->assertSessionHasErrors([
"vacationRequest" => __("You have exceeded your vacation limit."),
"vacationRequest" => __("Vacation limit has been exceeded."),
]);
}