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

@@ -29,9 +29,12 @@ class EmployeeTerminatedNotification extends Notification implements ShouldQueue
public function toMail(object $notifiable): MailMessage
{
return (new MailMessage)
->subject('Employee Terminated')
->line("{$this->employee->full_name} ({$this->employee->employee_number}) has been terminated.")
->line("Termination date: {$this->employee->termination_date?->toDateString()}");
->subject(__('notifications.employee_terminated.subject'))
->line(__('notifications.employee_terminated.line_terminated', [
'name' => $this->employee->full_name,
'number' => $this->employee->employee_number,
]))
->line(__('notifications.employee_terminated.termination_date') . ': ' . $this->employee->termination_date?->toDateString());
}
/**