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

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;