add trans('validation.custom.comment')
This commit is contained in:
parent
f5bb6baba2
commit
d3575fff52
3 changed files with 7 additions and 3 deletions
|
|
@ -273,6 +273,7 @@ return [
|
|||
'analytics' => 'analytics',
|
||||
'game_rules' => 'règlement du jeu',
|
||||
'notify_prize_sent' => 'notification de lot envoyé au participant',
|
||||
'comment' => 'commentaire',
|
||||
|
||||
'barcode' => 'code-barres du produit',
|
||||
'ticket' => 'ticket de caisse avec la date',
|
||||
|
|
|
|||
|
|
@ -60,7 +60,7 @@
|
|||
@include('back::partials.inputs.varchar-multiline', [
|
||||
'id' => 'participation-comment',
|
||||
'label' => __(':field', [
|
||||
'field' => Str::ucfirst(__('Commentaire')),
|
||||
'field' => Str::ucfirst(__('validation.custom.comment')),
|
||||
]),
|
||||
'hasWordCounter' => true,
|
||||
'name' => 'comment',
|
||||
|
|
@ -68,7 +68,7 @@
|
|||
'model' => $participationModel ?? null,
|
||||
'helper' => __('validation.between.string', [
|
||||
'attribute' => __(':field', [
|
||||
'field' => Str::ucfirst(__('Commentaire')),
|
||||
'field' => Str::ucfirst(__('validation.custom.comment')),
|
||||
]),
|
||||
'min' => 3,
|
||||
'max' => 255,
|
||||
|
|
|
|||
|
|
@ -122,7 +122,10 @@ Breadcrumbs::for('bo.participations.winners-list', function (Generator $trail) {
|
|||
});
|
||||
Breadcrumbs::for('bo.participations.set-comment', function (Generator $trail, Participation $participation) {
|
||||
$trail->parent('bo.participations.winners-list');
|
||||
$trail->push(trans('Commentaire'), route('bo.participations.set-comment', $participation));
|
||||
$trail->push(
|
||||
Str::ucfirst(trans('validation.custom.comment')),
|
||||
route('bo.participations.set-comment', $participation)
|
||||
);
|
||||
});
|
||||
|
||||
// * UNIQUES CODES
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue