fixed translation
This commit is contained in:
@@ -24,7 +24,7 @@ class SendInvalidEmailNotification
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ($event->contact->isCustomer() || $event->contact->isVendor() || $event->contact->isEmployee()) {
|
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 {
|
} else {
|
||||||
$type = ucfirst($event->contact->type);
|
$type = ucfirst($event->contact->type);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user