fix: correct French translations in various files
- Updated translations for clarity and correctness in RepeatFrequency, validation messages, and form labels.
This commit is contained in:
parent
1f6f2a47f2
commit
3d9bb99381
10 changed files with 21 additions and 21 deletions
|
|
@ -21,7 +21,7 @@ enum RepeatFrequency: string
|
|||
* @phpstan-ignore-next-line
|
||||
*/
|
||||
private const LABELS = [
|
||||
self::WEEKLY->name => 'Toute les semaines',
|
||||
self::WEEKLY->name => 'Toutes les semaines',
|
||||
self::MONTHLY->name => 'Tous les mois',
|
||||
self::YEARLY->name => 'Tous les ans',
|
||||
];
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@ return [
|
|||
optimal dans les moteurs de recherche (balise <title>).',
|
||||
'seo_description' => 'Doit décrire précisément le contenu de la page (balise <meta> description).',
|
||||
'required_fields' => 'Champs obligatoires',
|
||||
'required_fields_with_aster' => 'Les champs suivit d\'un astérisque sont obligatoires',
|
||||
'required_fields_with_aster' => 'Les champs suivis d\'un astérisque sont obligatoires',
|
||||
'visibility_with_dates' => 'Ce champ n\'aura d\'effet que si aucune date n\'est renseignée.',
|
||||
'publish_at' => ':model sera publié à partir de cette date.',
|
||||
'unpublish_at' => ':model sera dépublié à partir de cette date.',
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ return [
|
|||
'product_incos' => 'fiche inco|fiches inco',
|
||||
'discounts' => 'promotion|promotions',
|
||||
'shops' => 'magasin|magasins',
|
||||
'pickup-exceptions' => 'fermeture exceptionelle|fermetures exceptionelles',
|
||||
'pickup-exceptions' => 'fermeture exceptionnelle|fermetures exceptionnelles',
|
||||
'orders' => 'commande|commandes',
|
||||
'customers' => 'client|clients',
|
||||
'brands' => 'marque|marques',
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ return [
|
|||
'array' => 'Le tableau :attribute doit contenir entre :min et :max éléments.',
|
||||
'file' => 'La taille du fichier de :attribute doit être comprise entre :min et :max kilo-octets.',
|
||||
'numeric' => 'La valeur de :attribute doit être comprise entre :min et :max.',
|
||||
'string' => 'Le texte :attribute doit contenir entre :min et :max caractères.',
|
||||
'string' => 'Le champ :attribute doit contenir entre :min et :max caractères.',
|
||||
],
|
||||
'boolean' => 'Le champ :attribute doit être vrai ou faux.',
|
||||
'can' => 'Le champ :attribute contient une valeur non autorisée.',
|
||||
|
|
@ -53,13 +53,13 @@ return [
|
|||
'array' => 'Le tableau :attribute doit contenir plus de :value éléments.',
|
||||
'file' => 'La taille du fichier de :attribute doit être supérieure à :value kilo-octets.',
|
||||
'numeric' => 'La valeur de :attribute doit être supérieure à :value.',
|
||||
'string' => 'Le texte :attribute doit contenir plus de :value caractères.',
|
||||
'string' => 'Le champ :attribute doit contenir plus de :value caractères.',
|
||||
],
|
||||
'gte' => [
|
||||
'array' => 'Le tableau :attribute doit contenir au moins :value éléments.',
|
||||
'file' => 'La taille du fichier de :attribute doit être supérieure ou égale à :value kilo-octets.',
|
||||
'numeric' => 'La valeur de :attribute doit être supérieure ou égale à :value.',
|
||||
'string' => 'Le texte :attribute doit contenir au moins :value caractères.',
|
||||
'string' => 'Le champ :attribute doit contenir au moins :value caractères.',
|
||||
],
|
||||
'hex_color' => 'Le champ :attribute doit être une couleur hexadécimale valide.',
|
||||
'image' => 'Le champ :attribute doit être une image.',
|
||||
|
|
@ -78,13 +78,13 @@ return [
|
|||
'array' => 'Le tableau :attribute doit contenir moins de :value éléments.',
|
||||
'file' => 'La taille du fichier de :attribute doit être inférieure à :value kilo-octets.',
|
||||
'numeric' => 'La valeur de :attribute doit être inférieure à :value.',
|
||||
'string' => 'Le texte :attribute doit contenir moins de :value caractères.',
|
||||
'string' => 'Le champ :attribute doit contenir moins de :value caractères.',
|
||||
],
|
||||
'lte' => [
|
||||
'array' => 'Le tableau :attribute doit contenir au plus :value éléments.',
|
||||
'file' => 'La taille du fichier de :attribute doit être inférieure ou égale à :value kilo-octets.',
|
||||
'numeric' => 'La valeur de :attribute doit être inférieure ou égale à :value.',
|
||||
'string' => 'Le texte :attribute doit contenir au plus :value caractères.',
|
||||
'string' => 'Le champ :attribute doit contenir au plus :value caractères.',
|
||||
],
|
||||
'mac_address' => 'Le champ :attribute doit être une adresse MAC valide.',
|
||||
'matricule' => 'Le champ :attribute doit être un matricule valide',
|
||||
|
|
@ -92,7 +92,7 @@ return [
|
|||
'array' => 'Le tableau :attribute ne peut pas contenir plus que :max éléments.',
|
||||
'file' => 'La taille du fichier de :attribute ne peut pas dépasser :max kilo-octets.',
|
||||
'numeric' => 'La valeur de :attribute ne peut pas être supérieure à :max.',
|
||||
'string' => 'Le texte de :attribute ne peut pas contenir plus de :max caractères.',
|
||||
'string' => 'Le champ de :attribute ne peut pas contenir plus de :max caractères.',
|
||||
],
|
||||
'max_digits' => 'Le champ :attribute ne doit pas avoir plus de :max chiffres.',
|
||||
'mimes' => 'Le champ :attribute doit être un fichier de type : :values.',
|
||||
|
|
@ -101,7 +101,7 @@ return [
|
|||
'array' => 'Le tableau :attribute doit contenir au moins :min éléments.',
|
||||
'file' => 'La taille du fichier de :attribute doit être supérieure ou égale à :min kilo-octets.',
|
||||
'numeric' => 'La valeur de :attribute doit être supérieure ou égale à :min.',
|
||||
'string' => 'Le texte de :attribute doit contenir au moins :min caractères.',
|
||||
'string' => 'Le champ de :attribute doit contenir au moins :min caractères.',
|
||||
],
|
||||
'min_digits' => 'Le champ :attribute doit avoir au moins :min chiffres.',
|
||||
'missing' => 'Le champ :attribute doit être manquant.',
|
||||
|
|
@ -149,7 +149,7 @@ return [
|
|||
'array' => 'Le tableau :attribute doit contenir :size éléments.',
|
||||
'file' => 'La taille du fichier de :attribute doit être de :size kilo-octets.',
|
||||
'numeric' => 'La valeur de :attribute doit être :size.',
|
||||
'string' => 'Le texte de :attribute doit contenir :size caractères.',
|
||||
'string' => 'Le champ de :attribute doit contenir :size caractères.',
|
||||
],
|
||||
'starts_with' => 'Le champ :attribute doit commencer avec une des valeurs suivantes : :values',
|
||||
'string' => 'Le champ :attribute doit être une chaîne de caractères.',
|
||||
|
|
@ -297,7 +297,7 @@ return [
|
|||
'answer' => 'réponse',
|
||||
'associated_products' => 'produits associés',
|
||||
'brand' => 'marque',
|
||||
'connected' => 'limiter au utilisateurs connectés',
|
||||
'connected' => 'limiter aux utilisateurs connectés',
|
||||
'date_end_orderable' => 'date d\'indisponibilité à la commande',
|
||||
'date_end_show' => 'date de fin d\'affichage',
|
||||
'date_start_orderable' => 'date disponibilité à la commande',
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@
|
|||
'attribute' => __(':field :inter:model', [
|
||||
'field' => __('validation.attributes.question'),
|
||||
'inter' => __('validation.custom.of_the.female'),
|
||||
'model' => __('models.classes.faqs'),
|
||||
'model' => trans_choice('models.classes.faqs', 1),
|
||||
]),
|
||||
'min' => 4,
|
||||
'max' => 75,
|
||||
|
|
@ -44,7 +44,7 @@
|
|||
'attribute' => __(':field :inter:model', [
|
||||
'field' => __('validation.custom.attributes.answer'),
|
||||
'inter' => __('validation.custom.of_the.male'),
|
||||
'model' => __('models.classes.slides'),
|
||||
'model' => trans_choice('models.classes.faqs', 1),
|
||||
]),
|
||||
'min' => 4,
|
||||
]),
|
||||
|
|
|
|||
|
|
@ -64,7 +64,7 @@
|
|||
</option>
|
||||
@foreach (\Domain\Enums\RepeatFrequency::cases() as $frequency)
|
||||
<option value="{{ $frequency->value }}" @selected(old('repeat_frequency', $pickupException->repeat_frequency ?? 'Weekly') == $frequency->value)>
|
||||
{{ __($frequency->name) }}
|
||||
{{ $frequency->label() }}
|
||||
</option>
|
||||
@endforeach
|
||||
</select>
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@
|
|||
'attribute' => __(':field :inter:model', [
|
||||
'field' => __('validation.attributes.name'),
|
||||
'inter' => __('validation.custom.of_the.female'),
|
||||
'model' => __('models.classes.slides'),
|
||||
'model' => trans_choice('models.classes.ranges', 1),
|
||||
]),
|
||||
'min' => 4,
|
||||
'max' => 75,
|
||||
|
|
@ -97,7 +97,7 @@
|
|||
'attribute' => __(':field :inter:model', [
|
||||
'field' => __('validation.custom.attributes.picture_alt'),
|
||||
'inter' => __('validation.custom.of_the.male'),
|
||||
'model' => __('models.classes.ranges'),
|
||||
'model' => trans_choice('models.classes.ranges', 1),
|
||||
]),
|
||||
'min' => 4,
|
||||
'max' => 75,
|
||||
|
|
@ -119,7 +119,7 @@
|
|||
'attribute' => __(':field :inter:model', [
|
||||
'field' => __('validation.custom.attributes.picture_title'),
|
||||
'inter' => __('validation.custom.of_the.male'),
|
||||
'model' => __('models.classes.ranges'),
|
||||
'model' => trans_choice('models.classes.ranges', 1),
|
||||
]),
|
||||
'min' => 4,
|
||||
'max' => 75,
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@
|
|||
'attribute' => __(':field :inter:model', [
|
||||
'field' => __('validation.custom.attributes.label'),
|
||||
'inter' => __('validation.custom.of_the.female'),
|
||||
'model' => __('models.classes.slides'),
|
||||
'model' => trans_choice('models.classes.tags', 1),
|
||||
]),
|
||||
'min' => 4,
|
||||
'max' => 75,
|
||||
|
|
|
|||
|
|
@ -106,7 +106,7 @@
|
|||
<div class="col">
|
||||
<label class="form-label" for="file">
|
||||
<span>{{ __('Attachment') }} </span>
|
||||
<span class="fst-italic text-muted">(.pdf, .jpeg, .png, 5MB max)</span>
|
||||
<span class="fst-italic text-muted">(.pdf, .jpeg, .png, 5Mo max)</span>
|
||||
</label>
|
||||
<input class="form-control @error('file') is-invalid @enderror" id="file" name="file" type="file"
|
||||
accept=".jpg,.jpeg,.png,.pdf" />
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@
|
|||
<!-- Order Details Card -->
|
||||
<div class="card bg-light rounded-4 p-lg-5 mb-4 border-0 p-4">
|
||||
<h3 class="mb-4">{{ __('Order details') }}</h3>
|
||||
<p class="mb-3"><strong>{{ __('Reminder of your order ref: :ref:', ['ref' => $order->reference]) }}</strong></p>
|
||||
<p class="mb-3"><strong>{{ __('Reminder of your order ref: :ref', ['ref' => $order->reference]) }}</strong></p>
|
||||
|
||||
<div class="table-responsive">
|
||||
<table class="table-borderless mb-0 table bg-transparent">
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue