From 4aa0725e381eb959c7bd77d839b6688e761d32e4 Mon Sep 17 00:00:00 2001 From: Sebastian Fix Date: Sat, 9 Sep 2023 14:58:12 +0200 Subject: [PATCH] Updated Translatiosn --- resources/lang/de/translations.php | 24 ++++++++++++++++++++++++ resources/lang/de_CH/translations.php | 24 ++++++++++++++++++++++++ resources/lang/fr/translations.php | 24 ++++++++++++++++++++++++ resources/lang/fr_CH/translations.php | 24 ++++++++++++++++++++++++ resources/lang/it/translations.php | 24 ++++++++++++++++++++++++ resources/lang/it_CH/translations.php | 24 ++++++++++++++++++++++++ tests/Feature/LoginControllerTest.php | 4 ++-- vite.config.js.example | 14 -------------- 8 files changed, 146 insertions(+), 16 deletions(-) create mode 100644 resources/lang/de/translations.php create mode 100644 resources/lang/de_CH/translations.php create mode 100644 resources/lang/fr/translations.php create mode 100644 resources/lang/fr_CH/translations.php create mode 100644 resources/lang/it/translations.php create mode 100644 resources/lang/it_CH/translations.php delete mode 100644 vite.config.js.example diff --git a/resources/lang/de/translations.php b/resources/lang/de/translations.php new file mode 100644 index 0000000..d8b5e13 --- /dev/null +++ b/resources/lang/de/translations.php @@ -0,0 +1,24 @@ + 'Schliessen', + 'logo' => 'Logo', + 'all-rights-reserved' => 'Alle Rechte vorbehalten', + 'back-to-login' => 'Zurück zur Anmeldung', + 'request-password-reset' => 'Passwort zurücksetzten', + 'sign-in' => 'Anmelden', + 'sign-in-with-microsoft' => 'Anmelden mit Microsoft', + 'reset-password' => 'Passwort zurücksetzen', + 'resend-verification-email' => 'Bestätigungsmail erneut senden', + 'email' => 'Email', + 'password' => 'Passwort', + 'confirm-password' => 'Bestätige das Passwort', + 'remember-me' => 'Angemeldet bleiben', + 'forgot-your-password' => 'Haben Sie Ihr Passwort vergessen', + 'login' => 'Anmeldung', + 'forgot-password' => 'Passwort vergessen', + 'reset-your-password' => 'Setze dein Passwort zurück', + 'verify-email' => 'E-Mail bestätigen', + 'before-continuing' => 'vor dem Fortfahren', + 'didnt-receive' => 'Nicht erhalten', +]; diff --git a/resources/lang/de_CH/translations.php b/resources/lang/de_CH/translations.php new file mode 100644 index 0000000..d8b5e13 --- /dev/null +++ b/resources/lang/de_CH/translations.php @@ -0,0 +1,24 @@ + 'Schliessen', + 'logo' => 'Logo', + 'all-rights-reserved' => 'Alle Rechte vorbehalten', + 'back-to-login' => 'Zurück zur Anmeldung', + 'request-password-reset' => 'Passwort zurücksetzten', + 'sign-in' => 'Anmelden', + 'sign-in-with-microsoft' => 'Anmelden mit Microsoft', + 'reset-password' => 'Passwort zurücksetzen', + 'resend-verification-email' => 'Bestätigungsmail erneut senden', + 'email' => 'Email', + 'password' => 'Passwort', + 'confirm-password' => 'Bestätige das Passwort', + 'remember-me' => 'Angemeldet bleiben', + 'forgot-your-password' => 'Haben Sie Ihr Passwort vergessen', + 'login' => 'Anmeldung', + 'forgot-password' => 'Passwort vergessen', + 'reset-your-password' => 'Setze dein Passwort zurück', + 'verify-email' => 'E-Mail bestätigen', + 'before-continuing' => 'vor dem Fortfahren', + 'didnt-receive' => 'Nicht erhalten', +]; diff --git a/resources/lang/fr/translations.php b/resources/lang/fr/translations.php new file mode 100644 index 0000000..ea16955 --- /dev/null +++ b/resources/lang/fr/translations.php @@ -0,0 +1,24 @@ + 'fermer', + 'logo' => 'logo', + 'all-rights-reserved' => 'tous droits réservés', + 'back-to-login' => 'retour connexion', + 'request-password-reset' => 'demande de réinitialisation du mot de passe', + 'sign-in' => 'se connecter', + 'sign-in-with-microsoft' => 'se connecter avec Microsoft', + 'reset-password' => 'réinitialiser le mot de passe', + 'resend-verification-email' => "renvoyer l'e-mail de vérification", + 'email' => 'e-mail', + 'password' => 'mot de passe', + 'confirm-password' => 'Confirmez le mot de passe', + 'remember-me' => 'souviens-toi de moi', + 'forgot-your-password' => 'Mot de passe oublié', + 'login' => 'se connecter', + 'forgot-password' => 'Mot de passe oublié', + 'reset-your-password' => 'réinitialisez votre mot de passe', + 'verify-email' => 'Vérifier les courriels', + 'before-continuing' => 'avant de continuer', + 'didnt-receive' => "je n'ai pas reçu", +]; diff --git a/resources/lang/fr_CH/translations.php b/resources/lang/fr_CH/translations.php new file mode 100644 index 0000000..ea16955 --- /dev/null +++ b/resources/lang/fr_CH/translations.php @@ -0,0 +1,24 @@ + 'fermer', + 'logo' => 'logo', + 'all-rights-reserved' => 'tous droits réservés', + 'back-to-login' => 'retour connexion', + 'request-password-reset' => 'demande de réinitialisation du mot de passe', + 'sign-in' => 'se connecter', + 'sign-in-with-microsoft' => 'se connecter avec Microsoft', + 'reset-password' => 'réinitialiser le mot de passe', + 'resend-verification-email' => "renvoyer l'e-mail de vérification", + 'email' => 'e-mail', + 'password' => 'mot de passe', + 'confirm-password' => 'Confirmez le mot de passe', + 'remember-me' => 'souviens-toi de moi', + 'forgot-your-password' => 'Mot de passe oublié', + 'login' => 'se connecter', + 'forgot-password' => 'Mot de passe oublié', + 'reset-your-password' => 'réinitialisez votre mot de passe', + 'verify-email' => 'Vérifier les courriels', + 'before-continuing' => 'avant de continuer', + 'didnt-receive' => "je n'ai pas reçu", +]; diff --git a/resources/lang/it/translations.php b/resources/lang/it/translations.php new file mode 100644 index 0000000..aa77319 --- /dev/null +++ b/resources/lang/it/translations.php @@ -0,0 +1,24 @@ + 'vicino', + 'logo' => 'logo', + 'all-rights-reserved' => 'tutti i diritti riservati', + 'back-to-login' => 'torna al login', + 'request-password-reset' => 'richiesta-reimpostazione-password', + 'sign-in' => 'registrazione', + 'sign-in-with-microsoft' => 'accedi con Microsoft', + 'reset-password' => 'Resetta la password', + 'resend-verification-email' => 'invia nuovamente email di verifica', + 'email' => 'e-mail', + 'password' => "parola d'ordine", + 'confirm-password' => 'Conferma password', + 'remember-me' => 'Ricordati di me', + 'forgot-your-password' => 'Hai dimenticato la password', + 'login' => 'login', + 'forgot-password' => 'Ha dimenticato la password', + 'reset-your-password' => 'reimposta la tua password', + 'verify-email' => 'Verifica Email', + 'before-continuing' => 'prima di continuare', + 'didnt-receive' => 'non ho ricevuto', +]; diff --git a/resources/lang/it_CH/translations.php b/resources/lang/it_CH/translations.php new file mode 100644 index 0000000..aa77319 --- /dev/null +++ b/resources/lang/it_CH/translations.php @@ -0,0 +1,24 @@ + 'vicino', + 'logo' => 'logo', + 'all-rights-reserved' => 'tutti i diritti riservati', + 'back-to-login' => 'torna al login', + 'request-password-reset' => 'richiesta-reimpostazione-password', + 'sign-in' => 'registrazione', + 'sign-in-with-microsoft' => 'accedi con Microsoft', + 'reset-password' => 'Resetta la password', + 'resend-verification-email' => 'invia nuovamente email di verifica', + 'email' => 'e-mail', + 'password' => "parola d'ordine", + 'confirm-password' => 'Conferma password', + 'remember-me' => 'Ricordati di me', + 'forgot-your-password' => 'Hai dimenticato la password', + 'login' => 'login', + 'forgot-password' => 'Ha dimenticato la password', + 'reset-your-password' => 'reimposta la tua password', + 'verify-email' => 'Verifica Email', + 'before-continuing' => 'prima di continuare', + 'didnt-receive' => 'non ho ricevuto', +]; diff --git a/tests/Feature/LoginControllerTest.php b/tests/Feature/LoginControllerTest.php index 98708f1..9a86e0f 100644 --- a/tests/Feature/LoginControllerTest.php +++ b/tests/Feature/LoginControllerTest.php @@ -3,9 +3,9 @@ namespace Tests\Feature\Controllers\Employees; it('unauthorized auth.login', function () { - $response = $this->get(route('login')); + $response = $this->get(route('auth.login')); $response->assertOk(); -})->group('auth', 'login')->skip(); +})->group('auth', 'login', 'test')->only(); it('authorized auth.login', function () { authenticatedUser(); diff --git a/vite.config.js.example b/vite.config.js.example deleted file mode 100644 index 9b1cd0e..0000000 --- a/vite.config.js.example +++ /dev/null @@ -1,14 +0,0 @@ -import {defineConfig} from 'vite'; -import laravel, {refreshPaths} from 'laravel-vite-plugin'; - -export default defineConfig({ - plugins: [ - laravel({ - input: [ - "resources/css/app.css", - "resources/js/app.js" - ], - refresh: [...refreshPaths], - }) - ], -});