i18n: s'appuyer sur le fichier fr.json pour l'edition du profil et la page de connexion

This commit is contained in:
jeremy bayse
2026-06-22 13:37:54 +02:00
parent 6d730a4363
commit 0987587a72
7 changed files with 52 additions and 33 deletions
+6 -6
View File
@@ -31,7 +31,7 @@ const submit = () => {
<template>
<GuestLayout>
<Head title="Connexion" />
<Head :title="__('Log in')" />
<div v-if="status" class="mb-4 text-sm font-medium text-green-600">
{{ status }}
@@ -39,7 +39,7 @@ const submit = () => {
<form @submit.prevent="submit">
<div>
<InputLabel for="email" value="Email" />
<InputLabel for="email" :value="__('Email')" />
<TextInput
id="email"
@@ -55,7 +55,7 @@ const submit = () => {
</div>
<div class="mt-4">
<InputLabel for="password" value="Mot de Passe" />
<InputLabel for="password" :value="__('Password')" />
<TextInput
id="password"
@@ -73,7 +73,7 @@ const submit = () => {
<label class="flex items-center">
<Checkbox name="remember" v-model:checked="form.remember" />
<span class="ms-2 text-sm text-gray-600 dark:text-gray-400"
>Se souvenir de moi</span
>{{ __('Remember me') }}</span
>
</label>
</div>
@@ -84,7 +84,7 @@ const submit = () => {
:href="route('password.request')"
class="rounded-md text-sm text-gray-600 underline hover:text-gray-900 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2 dark:text-gray-400 dark:hover:text-gray-100 dark:focus:ring-offset-gray-800"
>
Mot de passe oublié ?
{{ __('Forgot your password?') }}
</Link>
<PrimaryButton
@@ -92,7 +92,7 @@ const submit = () => {
:class="{ 'opacity-25': form.processing }"
:disabled="form.processing"
>
Se connecter
{{ __('Log in') }}
</PrimaryButton>
</div>
</form>