relationships count warning text updated

This commit is contained in:
Cihan Şentürk 2022-11-23 14:59:14 +03:00 committed by GitHub
parent 386c2c7fd9
commit fc387442f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,7 +25,7 @@ trait Relationships
}
$text = Str::contains($text, '::') ? $text : 'general.' . $text;
$counter[] = $c . ' ' . strtolower(trans_choice($text, ($c > 1) ? 2 : 1));
$counter[] = (($c > 1) ? $c . ' ' : null ) . strtolower(trans_choice($text, ($c > 1) ? 2 : 1));
}
return $counter;