fix: 🐛 Added missing translations
This commit is contained in:
parent
57692c4eae
commit
91c42d7dc6
6 changed files with 251 additions and 8 deletions
114
resources/lang/en/crud.php
Normal file
114
resources/lang/en/crud.php
Normal file
|
|
@ -0,0 +1,114 @@
|
|||
<?php
|
||||
|
||||
return [
|
||||
'actions' => [
|
||||
'list' => 'list',
|
||||
'show' => 'view',
|
||||
'create' => 'create',
|
||||
'update' => 'update',
|
||||
'duplicate' => 'duplicate',
|
||||
'delete' => 'delete',
|
||||
'save' => 'save',
|
||||
'edit' => 'edit',
|
||||
'view' => 'overview',
|
||||
],
|
||||
|
||||
'helpers' => [
|
||||
'list' => 'List',
|
||||
'list_all' => 'List all :model',
|
||||
'create_model' => 'Create :model',
|
||||
'view_model' => 'View :model',
|
||||
'update_model' => 'Update :model',
|
||||
'duplicate_model' => 'Duplicate :model',
|
||||
'delete_model' => 'Delete :model',
|
||||
'save_model' => 'Save :model',
|
||||
'edit_model' => 'Edit :model',
|
||||
'no_results' => 'No results for :models',
|
||||
'publish' => 'Publish',
|
||||
'unpublish' => 'Unpublish',
|
||||
'seo_title' => 'Must give a precise description of the page, which is recommended for optimum
|
||||
positioning in search engines (<title> tag).',
|
||||
'seo_description' => 'Must give a precise description of the page content (<meta> description tag).',
|
||||
'visibility_with_dates' => 'This field will only have an effect if no date is entered.',
|
||||
'publish_at' => ':model will be published from this date.',
|
||||
'unpublish_at' => ':model will be unpublished from this date.',
|
||||
'year' => 'Must be a year between :yearStart and :yearEnd.',
|
||||
],
|
||||
|
||||
'libs' => [
|
||||
'toolbox' => [
|
||||
'assertFieldIsUnique' => 'The :value for the :attribute field is already in use',
|
||||
'assertNoInternalBoUrls' => ':attribute : It is forbidden to paste back-office uri into this field',
|
||||
'assertNoInternalUrls' => ':attribute : It is forbidden to paste a url of :appname into this field',
|
||||
]
|
||||
],
|
||||
|
||||
'messages' => [
|
||||
'has_been_created' => ':model has been created',
|
||||
'cannot_be_created' => ':model cannot be created',
|
||||
'has_been_updated' => ':model has been updated',
|
||||
'cannot_be_updated' => ':model cannot be updated',
|
||||
'has_been_deleted' => ':model has been deleted',
|
||||
'cannot_be_deleted' => ':model cannot be deleted',
|
||||
'order_changed' => 'The order has been changed!',
|
||||
'order_not_changed' => 'The order hasn\'t been changed!',
|
||||
'submodels_have_been_reordered' => 'L\'ordre des :submodelName appartenant à :modelLabel a été changé !',
|
||||
'publish_status_saved' => 'Change of publication status successful!',
|
||||
'highlight_status_saved' => 'Changement de la mise en avant réussi !',
|
||||
'right' => 'You don\'t have the rights to access this part !',
|
||||
'theme_updated' => 'The theme has been updated !',
|
||||
'user_unpublished' => 'You cannot unpublished your own account !',
|
||||
],
|
||||
|
||||
'minicrud' => [
|
||||
'visibility_label' => 'Visibility',
|
||||
'highlight_label' => 'Highlight',
|
||||
'visibility_helper' => 'Check to make it visible.',
|
||||
'highlight_helper' => 'Check to make it highlight.',
|
||||
'select_entity' => 'Select :entity from the list.',
|
||||
'associated_entity' => 'Associated :entity',
|
||||
'dimensions_must_be' => 'Must be :widthpx (width) by :heightpx (height).',
|
||||
'picture_title_helper' => 'Useful for users, displayed by moving the mouse over the image',
|
||||
'picture_title_label' => 'Title attribute of the image',
|
||||
'picture_alt_helper' => 'Must describe your image for search engines and blind people (5 to 6 words).',
|
||||
'picture_alt_label' => 'Alt attribute of the image',
|
||||
'video_title_helper' => 'Useful for users, displayed by moving the mouse over the video',
|
||||
'video_title_label' => 'Title attribute of the video',
|
||||
'video_alt_helper' => 'Must describe your video for search engines and blind people (5 to 6 words).',
|
||||
'video_alt_label' => 'Alt attribute of the video',
|
||||
'text_warning' => 'Proofread your content before publishing it',
|
||||
],
|
||||
|
||||
'other' => [
|
||||
'up' => 'Change the order of appearance upwards',
|
||||
'down' => 'Change the order of appearance downwards',
|
||||
'highlight' => 'Highlight',
|
||||
'no_model_found' => 'No :model found|No :model found',
|
||||
'publish' => 'Actually Published',
|
||||
'unpublish' => 'Actually Unpublished',
|
||||
'search_start' => 'Start search',
|
||||
'search_delete' => 'Delete search',
|
||||
'search_placeholder' => 'Your keywords here...',
|
||||
'sort_ascending' => 'Sort :name in ascending order',
|
||||
'sort_descending' => 'Sort :name in descending order',
|
||||
'sort_delete' => 'Delete sorting',
|
||||
'sort_arrow' => 'Here, the arrows are used to sort, not filter.',
|
||||
'right' => 'You don\'t have the rights',
|
||||
],
|
||||
|
||||
'meta' => [
|
||||
'title' => [
|
||||
'create' => '{*} Create a new :model',
|
||||
'edit' => '{*} Edit an existing :model',
|
||||
'show' => '{*} See an existing :model',
|
||||
],
|
||||
// phpcs:disable Generic.Files.LineLength.TooLong
|
||||
'description' => [
|
||||
'index' => '{*} List of all the :model',
|
||||
'create' => '{*} Creation of a new :model',
|
||||
'edit' => '{*} Edition of an existing :model',
|
||||
'show' => '{*} See informations of an existing :model déjà existant',
|
||||
],
|
||||
// phpcs:enable
|
||||
]
|
||||
];
|
||||
|
|
@ -142,9 +142,7 @@ return [
|
|||
*/
|
||||
|
||||
'custom' => [
|
||||
'attribute-name' => [
|
||||
'rule-name' => 'custom-message',
|
||||
],
|
||||
'target' => 'target',
|
||||
],
|
||||
|
||||
/*
|
||||
|
|
|
|||
127
resources/lang/fr/crud.php
Normal file
127
resources/lang/fr/crud.php
Normal file
|
|
@ -0,0 +1,127 @@
|
|||
<?php
|
||||
|
||||
return [
|
||||
'actions' => [
|
||||
'list' => 'liste',
|
||||
'show' => 'voir',
|
||||
'create' => 'créer',
|
||||
'update' => 'éditer',
|
||||
'duplicate' => 'dupliquer',
|
||||
'delete' => 'supprimer',
|
||||
'save' => 'sauvegarder',
|
||||
'edit' => 'mettre à jour',
|
||||
'view' => 'aperçu',
|
||||
'order_submodels' => 'ordonnancement des sous-élements',
|
||||
],
|
||||
|
||||
'helpers' => [
|
||||
'list' => 'Liste',
|
||||
'list_all' => 'Lister tous les :model',
|
||||
'create_model' => 'Créer :model',
|
||||
'view_model' => 'Voir :model',
|
||||
'update_model' => 'Éditer :model',
|
||||
'duplicate_model' => 'Dupliquer :model',
|
||||
'delete_model' => 'Supprimer :model',
|
||||
'save_model' => 'Sauvegarder :model',
|
||||
'edit_model' => 'Mettre à jour :model',
|
||||
'no_results' => 'Aucun résultat pour :model',
|
||||
'publish' => 'Publié',
|
||||
'unpublish' => 'Dépublié',
|
||||
'seo_title' => 'Doit décrire précisément la page, recommandation pour un positionnement
|
||||
optimal dans les moteurs de recherche (balise <title>).',
|
||||
'seo_description' => 'Doit décrire précisément le contenu de la page (balise <meta> description).',
|
||||
'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.',
|
||||
'year' => 'Doît être une année comprise entre :yearStart et :yearEnd.',
|
||||
],
|
||||
|
||||
'libs' => [
|
||||
'toolbox' => [
|
||||
'assertFieldIsUnique' => 'La :valeur du champ :attribut est déjà utilisée',
|
||||
'assertNoInternalBoUrls' => ':attribute : Il est interdit de coller l\'uri de back-office dans ce champ',
|
||||
'assertNoInternalUrls' => ':attribute : Il est interdit de coller une url de :appname dans ce champ.',
|
||||
]
|
||||
],
|
||||
|
||||
'messages' => [
|
||||
'has_been_created' => ':model a été créé',
|
||||
'cannot_be_created' => ':model ne peut être créé',
|
||||
'has_been_updated' => ':model a été mis à jour',
|
||||
'cannot_be_updated' => ':model ne peut être mis à jour',
|
||||
'has_been_deleted' => ':model a été supprimé',
|
||||
'cannot_be_deleted' => ':model ne peut être supprimé',
|
||||
'order_changed' => 'L\'ordre a été changé !',
|
||||
'order_not_changed' => 'L\'ordre n\'a pas été changé !',
|
||||
'submodels_have_been_reordered' => 'L\'ordre des :submodelName appartenant à :modelLabel a été changé !',
|
||||
'publish_status_saved' => 'Changement de l\'état de publication réussi !',
|
||||
'highlight_status_saved' => 'Changement de la mise en avant réussi !',
|
||||
'right' => 'Vous n\'avez pas les droits pour accéder à cette partie !',
|
||||
'theme_updated' => 'Le thème a été mis à jour !',
|
||||
'user_unpublished' => 'Vous ne pouvez pas désactiver votre propre compte !',
|
||||
],
|
||||
|
||||
'minicrud' => [
|
||||
'visibility_label' => 'Visibilité',
|
||||
'highlight_label' => 'Mise en avant',
|
||||
'category_label' => 'Catégorie de l\'article',
|
||||
'visibility_helper' => 'Cocher pour rendre visible.',
|
||||
'highlight_helper' => 'Cocher pour mettre en avant.',
|
||||
'category_helper' => 'Séléctionner la categorie.',
|
||||
'select_entity' => 'Sélectionnez :entity dans la liste.',
|
||||
'associated_entity' => ':entity associé(e)',
|
||||
'dimensions_must_be' => 'Doit être :widthpx (largeur) par :heightpx (hauteur).',
|
||||
'picture_title_helper' => 'Utile pour les utilisateurs, s\'affiche en passant la souris sur l\'image.',
|
||||
'picture_title_label' => 'Attribut du titre de l\'image',
|
||||
'picture_alt_helper' => 'Doit décrire votre image pour les moteurs de recherche et
|
||||
les personnes malvoyantes (5 à 6 mots).',
|
||||
'picture_alt_label' => 'Attribut Alt de l\'image',
|
||||
'video_title_helper' => 'Utile pour les utilisateurs, s\'affiche en passant la souris sur la vidéo.',
|
||||
'video_title_label' => 'Attribut du titre de la vidéo',
|
||||
'video_alt_helper' => 'Doit décrire votre vidéo pour les moteurs de recherche et
|
||||
les personnes malvoyantes (5 à 6 mots).',
|
||||
'video_alt_label' => 'Attribut Alt de la vidéo',
|
||||
'text_warning' => 'Relisez votre contenu avant de le publier.',
|
||||
],
|
||||
|
||||
'pagination' => [
|
||||
"previous" => "Page précédente",
|
||||
"next" => "Page suivante",
|
||||
"specific_page" => "Accéder à la page n°:id",
|
||||
'paginate_list' => 'Nombre d\'éléments par page',
|
||||
],
|
||||
|
||||
'other' => [
|
||||
'up' => 'Modifier l\'ordre d\'apparition vers le haut',
|
||||
'down' => 'Modifier l\'ordre d\'apparition vers le bas',
|
||||
'highlight' => 'mise en avant',
|
||||
'no_model_found' => 'Aucun :model trouvé|Aucune :model trouvée',
|
||||
'publish' => 'Actuellement Publié',
|
||||
'unpublish' => 'Actuellement Dépublié',
|
||||
'search_start' => 'Lancer la recherche',
|
||||
'search_delete' => 'Supprimer la recherche',
|
||||
'search_placeholder' => 'Vos mots clés ici...',
|
||||
'sort_ascending' => 'Trier :name dans l\'ordre croissant',
|
||||
'sort_descending' => 'Trier :name dans l\'ordre décroissant',
|
||||
'sort_delete' => 'Supprimer le tri',
|
||||
'sort_arrow' => 'Ici, les flèches sont utilisées pour trier et non pour filtrer',
|
||||
'right' => 'Vous n\'avez pas les droits',
|
||||
'model_not_published' => 'Actuellement non publié',
|
||||
],
|
||||
|
||||
'meta' => [
|
||||
'title' => [
|
||||
'create' => '{0} Création d\'un :model|{1} Création d\'une :model',
|
||||
'edit' => '{0} Edition d\'un :model|{1} Edition d\'une :model',
|
||||
'show' => '{0} Visualisation d\'un :model|{1} Visualisation d\'une :model',
|
||||
],
|
||||
// phpcs:disable Generic.Files.LineLength.TooLong
|
||||
'description' => [
|
||||
'index' => '{0} Liste de tous les :model|{1} Liste de toutes les :model',
|
||||
'create' => '{0} Création d\'un tout nouveau :model|{1} Création d\'une toute nouvelle :model|{2} Création d\'un tout nouvel :model',
|
||||
'edit' => '{0} Edition d\'un :model déjà existant|{1} Edition d\'une :model déjà existante',
|
||||
'show' => '{0} Visualisation d\'un :model déjà existant|{1} Visualisation d\'une :model déjà existante',
|
||||
],
|
||||
// phpcs:enable
|
||||
]
|
||||
];
|
||||
|
|
@ -9,7 +9,7 @@ return [
|
|||
'products' => 'Produits',
|
||||
'recipes' => 'Recettes',
|
||||
'breeders' => 'Éleveurs',
|
||||
'slides' => 'Slides',
|
||||
'url' => 'Url',
|
||||
'static_pages' => 'Pages statiques',
|
||||
'delivery_modes' => 'Modes de livraison',
|
||||
'general_configs' => 'Configurations',
|
||||
|
|
|
|||
|
|
@ -118,9 +118,13 @@ return [
|
|||
'url' => 'Le format de l\'URL de :attribute n\'est pas valide.',
|
||||
'uuid' => 'Le champ :attribute doit être un UUID valide',
|
||||
'custom' => [
|
||||
'firstname' => 'Prénom',
|
||||
'lastname' => 'Nom',
|
||||
'email' => 'Adresse email',
|
||||
'created_at' => 'créé à',
|
||||
'email' => 'Adresse email',
|
||||
'event' => 'évènement',
|
||||
'firstname' => 'Prénom',
|
||||
'lastname' => 'Nom',
|
||||
'model' => 'élément ciblé',
|
||||
'target' => 'cible',
|
||||
],
|
||||
'phone' => 'Le champ :attribute n\'est pas un numéro de téléphone valide.',
|
||||
'color' => ':attribute doit être un code couleur valide (hexadecimal, RGB, RGBA ou un nom de couleur CSS)',
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
'event' => str(__('validation.custom.event'))->ucfirst(),
|
||||
'user' => str(__('models.classes.user'))->ucfirst(),
|
||||
'model' => str(__('validation.custom.model'))->ucfirst(),
|
||||
'created_at' => str(__('validation.attributes.created_at'))->ucfirst(),
|
||||
'created_at' => str(__('validation.custom.created_at'))->ucfirst(),
|
||||
],
|
||||
'mobileHide' => [],
|
||||
])
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue