From e9081b39d665d0d1cbae06b6cbaf99bb2b9e133a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Denis=20Duli=C3=A7i?= Date: Mon, 24 Apr 2023 13:15:45 +0300 Subject: [PATCH] fixed translation --- app/Listeners/Email/SendInvalidEmailNotification.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Listeners/Email/SendInvalidEmailNotification.php b/app/Listeners/Email/SendInvalidEmailNotification.php index d5812fce6..8d5794a88 100644 --- a/app/Listeners/Email/SendInvalidEmailNotification.php +++ b/app/Listeners/Email/SendInvalidEmailNotification.php @@ -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); }