Skip to content

Commit

Permalink
feat: configure translations
Browse files Browse the repository at this point in the history
  • Loading branch information
greatislander committed Nov 25, 2024
1 parent db754a4 commit 9ebd24d
Show file tree
Hide file tree
Showing 54 changed files with 64 additions and 1,096 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@
"spatie/laravel-translatable": "^6.8"
},
"require-dev": {
"larastan/larastan": "^2.9",
"laravel/pint": "^1.14",
"nunomaduro/collision": "^8.1.1",
"larastan/larastan": "^2.9",
"orchestra/testbench": "^9.0.0",
"pestphp/pest": "^2.34",
"pestphp/pest-plugin-arch": "^2.7",
Expand Down
40 changes: 0 additions & 40 deletions resources/lang/en/auth.php
Original file line number Diff line number Diff line change
@@ -1,48 +1,8 @@
<?php

return [

/*
|--------------------------------------------------------------------------
| Authentication Language Lines
|--------------------------------------------------------------------------
|
| The following language lines are used during authentication for various
| messages that we need to display to the user. You are free to modify
| these language lines according to your application's requirements.
|
*/

'sign_in' => 'Sign in',
'sign_out' => 'Sign out',
'create_account' => 'Create an account',
'label_password' => 'Password',
'label_password_confirmation' => 'Confirm password',
'existing_account_prompt' => 'Do you already have an account?',
'create_your_account' => 'Create your account',
'label_current_password' => 'Current password',
'change_password' => 'Change password',
'action_cancel' => 'Cancel',
'action_confirm' => 'Confirm',
'password_change_succeeded' => 'Your password has been changed.',
'label_remember_me' => 'Remember me',
'error_intro' => 'Sorry, something went wrong.',
'wrong_password' => 'The provided password is incorrect.',
'confirm_intro' => 'For your security, please confirm your password before continuing.',
'forget_prompt' => 'Forgot your password?',
'forgot_intro' => 'Forgot your password? Enter your email address and we will email you a password reset link that will let you choose a new one.',
'forgot_submit' => 'Send password reset link',
'reset_submit' => 'Reset password',
'verification_required' => 'Email verification required',
'verification_intro' => 'Please verify your email address by clicking on the link we emailed to you. If you didn’t receive the email, we will gladly send you another.',
'verification_sent' => 'A new verification link has been sent to the email address you provided.',
'resend_verification_email' => 'Resend verification email',
'verification_succeeded' => 'Your email address has been verified.',
'two_factor_auth_code_intro' => 'Please enter the code provided by your authenticator application to complete the sign in process.',
'label_two_factor_auth_code' => 'Authentication code',
'two_factor_auth_action_use_recovery_code' => 'Use a recovery code',
'two_factor_auth_recovery_code_intro' => 'Please enter one of your saved recovery codes to complete the sign in process.',
'label_two_factor_auth_recovery_code' => 'Recovery code',
'two_factor_auth_action_use_code' => 'Use an authentication code',
'invalid_two_factor_auth_code' => 'The provided two-factor authentication code was not valid.',
];
6 changes: 0 additions & 6 deletions resources/lang/en/dashboard.php

This file was deleted.

31 changes: 0 additions & 31 deletions resources/lang/en/errors.php

This file was deleted.

22 changes: 18 additions & 4 deletions resources/lang/en/forms.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,22 @@
<?php

return [
'save_changes' => 'Save changes',
'label_email' => 'Email address',
'errors_found' => 'Errors found',
'errors_found_message' => 'Sorry, some errors were found in your submission. Please correct these errors and try again.',
'content_added' => 'Content added',
'content_added_unsaved' => 'Content added, unsaved changes',
'label_date' => 'Date',
'label_year' => 'Year',
'label_month' => 'Month',
'label_day' => 'Day',
'month_january' => 'January',
'month_february' => 'February',
'month_march' => 'March',
'month_april' => 'April',
'month_may' => 'May',
'month_june' => 'June',
'month_july' => 'July',
'month_august' => 'August',
'month_september' => 'September',
'month_october' => 'October',
'month_november' => 'November',
'month_december' => 'December',
];
8 changes: 0 additions & 8 deletions resources/lang/en/mail.php

This file was deleted.

5 changes: 0 additions & 5 deletions resources/lang/en/nav.php

This file was deleted.

22 changes: 0 additions & 22 deletions resources/lang/en/passwords.php

This file was deleted.

8 changes: 0 additions & 8 deletions resources/lang/en/routes.php

This file was deleted.

24 changes: 0 additions & 24 deletions resources/lang/en/user.php

This file was deleted.

12 changes: 2 additions & 10 deletions resources/lang/en/validation.php
Original file line number Diff line number Diff line change
@@ -1,14 +1,6 @@
<?php

return [
'password' => [
'length-uppercase' => 'The :attribute must be at least :length characters and contain at least one uppercase character.',
'length-numeric' => 'The :attribute must be at least :length characters and contain at least one number.',
'length-specialcharacter' => 'The :attribute must be at least :length characters and contain at least one special character.',
'length-uppercase-numeric' => 'The :attribute must be at least :length characters and contain at least one uppercase character and one number.',
'length-uppercase-specialcharacter' => 'The :attribute must be at least :length characters and contain at least one uppercase character and one special character.',
'length-uppercase-numeric-specialcharacter' => 'The :attribute must be at least :length characters and contain at least one uppercase character, one number, and one special character.',
'length-numeric-specialcharacter' => 'The :attribute must be at least :length characters and contain at least one special character and one number.',
'length' => 'The :attribute must be at least :length characters.',
],
'current_password' => 'The password is incorrect.',
'date' => 'The :attribute is not a valid date.',
];
6 changes: 0 additions & 6 deletions resources/lang/en/welcome.php

This file was deleted.

40 changes: 0 additions & 40 deletions resources/lang/fr/auth.php
Original file line number Diff line number Diff line change
@@ -1,48 +1,8 @@
<?php

return [

/*
|--------------------------------------------------------------------------
| Authentication Language Lines
|--------------------------------------------------------------------------
|
| The following language lines are used during authentication for various
| messages that we need to display to the user. You are free to modify
| these language lines according to your application's requirements.
|
*/

'sign_in' => 'S’identifier',
'sign_out' => 'Se déconnecter',
'create_account' => 'Créer un compte',
'label_password' => 'Mot de passe',
'label_password_confirmation' => 'Confirmez le mot de passe',
'existing_account_prompt' => 'Vous avez déjà un compte?',
'create_your_account' => 'Créez votre compte',
'label_current_password' => 'Mot de passe actuel',
'change_password' => 'Changer le mot de passe',
'action_cancel' => 'Annuler',
'action_confirm' => 'Confirmer',
'password_change_succeeded' => 'Votre mot de passe a été modifié.',
'label_remember_me' => 'Souvenez-vous de moi',
'error_intro' => 'Désolé, quelque chose s’est mal passé.',
'wrong_password' => 'Le mot de passe fourni est incorrect.',
'confirm_intro' => 'Pour votre sécurité, veuillez confirmer votre mot de passe avant de continuer.',
'forget_prompt' => 'Mot de passe oublié?',
'forgot_intro' => 'Mot de passe oublié? Entrez votre adresse e-mail et nous vous enverrons par e-mail un lien de réinitialisation du mot de passe qui vous permettra d’en choisir un nouveau.',
'forgot_submit' => 'Envoyer le lien de réinitialisation',
'reset_submit' => 'Réinitialiser le mot de passe',
'verification_required' => 'Vérification de l\'e-mail requise',
'verification_intro' => 'Veuillez vérifier votre adresse e-mail en cliquant sur le lien que nous vous avons envoyé. Si vous n\'avez pas reçu le courriel, nous vous enverrons volontiers un autre.',
'verification_sent' => 'Un nouveau lien de vérification a été envoyé à l\'adresse e-mail que vous avez fournie.',
'resend_verification_email' => 'Renvoyer l’e-mail de vérification',
'verification_succeeded' => 'Votre adresse e-mail a été vérifiée.',
'two_factor_auth_code_intro' => 'Veuillez entrer le code fourni par votre application d\'authentificateur pour compléter le processus de connexion.',
'label_two_factor_auth_code' => 'Code d\'authentification',
'two_factor_auth_action_use_recovery_code' => 'Utiliser un code de récupération',
'two_factor_auth_recovery_code_intro' => 'Veuillez entrer un de vos codes de récupération enregistrés pour terminer le processus de connexion.',
'label_two_factor_auth_recovery_code' => 'Code de récupération',
'two_factor_auth_action_use_code' => 'Utiliser un code d\'authentification',
'invalid_two_factor_auth_code' => 'Le code d\'authentification à deux facteurs fourni n\'est pas valide.',
];
6 changes: 0 additions & 6 deletions resources/lang/fr/dashboard.php

This file was deleted.

31 changes: 0 additions & 31 deletions resources/lang/fr/errors.php

This file was deleted.

22 changes: 18 additions & 4 deletions resources/lang/fr/forms.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,22 @@
<?php

return [
'save_changes' => 'Sauvegarder les modifications',
'label_email' => 'Adresse e-mail',
'errors_found' => 'Erreurs trouvées',
'errors_found_message' => 'Désolé, certaines erreurs ont été trouvées dans votre envoi. Veuillez corriger ces erreurs et réessayer.',
'content_added' => 'Contenu ajouté',
'content_added_unsaved' => 'Contenu ajouté, modifications non sauvegardées',
'label_date' => 'Date',
'label_year' => 'Année',
'label_month' => 'Mois',
'label_day' => 'Jour',
'month_january' => 'Janvier',
'month_february' => 'Février',
'month_march' => 'Mars',
'month_april' => 'Avril',
'month_may' => 'Mai',
'month_june' => 'Juin',
'month_july' => 'Juillet',
'month_august' => 'Août',
'month_september' => 'Septembre',
'month_october' => 'Octobre',
'month_november' => 'Novembre',
'month_december' => 'Décembre',
];
8 changes: 0 additions & 8 deletions resources/lang/fr/mail.php

This file was deleted.

5 changes: 0 additions & 5 deletions resources/lang/fr/nav.php

This file was deleted.

22 changes: 0 additions & 22 deletions resources/lang/fr/passwords.php

This file was deleted.

8 changes: 0 additions & 8 deletions resources/lang/fr/routes.php

This file was deleted.

Loading

0 comments on commit 9ebd24d

Please sign in to comment.