translate base

This commit is contained in:
Mekan1206
2026-07-31 18:08:08 +05:00
parent a794dacd39
commit 581cb8241c
413 changed files with 9087 additions and 428 deletions

View File

@@ -31,11 +31,11 @@ class VacationApprovedNotification extends Notification implements ShouldQueue
$employee = $this->vacation->employee;
return (new MailMessage)
->subject('Vacation Request Approved')
->line("The vacation request for {$employee->full_name} has been approved.")
->line("Type: {$this->vacation->type->label()}")
->line("Dates: {$this->vacation->start_date->toDateString()} to {$this->vacation->end_date->toDateString()}")
->line("Days: {$this->vacation->days}");
->subject(__('notifications.vacation_approved.subject'))
->line(__('notifications.vacation_approved.line_approved', ['name' => $employee->full_name]))
->line(__('notifications.vacation_approved.type') . ': ' . $this->vacation->type->label())
->line(__('notifications.vacation_approved.dates') . ': ' . $this->vacation->start_date->toDateString() . ' ' . $this->vacation->end_date->toDateString())
->line(__('notifications.vacation_approved.days') . ': ' . $this->vacation->days);
}
/**