fixed translation

This commit is contained in:
Denis Duliçi 2023-04-24 13:15:45 +03:00
parent c15d9349b0
commit e9081b39d6

View File

@ -24,7 +24,7 @@ class SendInvalidEmailNotification
}
if ($event->contact->isCustomer() || $event->contact->isVendor() || $event->contact->isEmployee()) {
$type = trans('general.' . Str::plural($event->contact->type), 1);
$type = trans_choice('general.' . Str::plural($event->contact->type), 1);
} else {
$type = ucfirst($event->contact->type);
}