Merge pull request #2773 from CihanSenturk/count-relationship-text
Relationships count warning text updated
This commit is contained in:
commit
96fa22029a
@ -25,7 +25,7 @@ trait Relationships
|
|||||||
}
|
}
|
||||||
|
|
||||||
$text = Str::contains($text, '::') ? $text : 'general.' . $text;
|
$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;
|
return $counter;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user