From ed5de2f115e6355a90c99b1b957fc40cbadc0ff9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Munsch?= Date: Thu, 25 Jun 2026 15:51:06 +0200 Subject: [PATCH] refactor(slides): use trans_choice for model translation Updated model translation for slides to use trans_choice for better localization handling. --- resources/views/bo/slides/form.blade.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/resources/views/bo/slides/form.blade.php b/resources/views/bo/slides/form.blade.php index ddb20769..553b53ef 100644 --- a/resources/views/bo/slides/form.blade.php +++ b/resources/views/bo/slides/form.blade.php @@ -19,7 +19,7 @@ 'attribute' => __(':field :inter:model', [ 'field' => __('validation.attributes.title'), 'inter' => __('validation.custom.of_the.female'), - 'model' => __('models.classes.slides'), + 'model' => trans_choice('models.classes.slides', 1), ]), 'min' => 4, 'max' => 75, @@ -83,7 +83,7 @@ 'attribute' => __(':field :inter:model', [ 'field' => __('validation.custom.attributes.picture_alt'), 'inter' => __('validation.custom.of_the.male'), - 'model' => __('models.classes.slides'), + 'model' => trans_choice('models.classes.slides', 1), ]), 'min' => 4, 'max' => 75, @@ -105,7 +105,7 @@ 'attribute' => __(':field :inter:model', [ 'field' => __('validation.custom.attributes.picture_title'), 'inter' => __('validation.custom.of_the.male'), - 'model' => __('models.classes.slides'), + 'model' => trans_choice('models.classes.slides', 1), ]), 'min' => 4, 'max' => 75, @@ -131,7 +131,7 @@ 'attribute' => __(':field :inter:model', [ 'field' => __('validation.attributes.text'), 'inter' => __('validation.custom.of_the.male'), - 'model' => __('models.classes.slides'), + 'model' => trans_choice('models.classes.slides', 1), ]), 'min' => 4, ]),