i18n: s'appuyer sur le fichier fr.json pour l'edition du profil et la page de connexion
This commit is contained in:
@@ -37,17 +37,17 @@ const updatePassword = () => {
|
||||
<section>
|
||||
<header>
|
||||
<h2 class="text-lg font-medium text-gray-900 dark:text-gray-100">
|
||||
Mettre à jour le Mot de Passe
|
||||
{{ __('Update Password') }}
|
||||
</h2>
|
||||
|
||||
<p class="mt-1 text-sm text-gray-600 dark:text-gray-400">
|
||||
Assurez-vous que votre compte utilise un mot de passe long et aléatoire pour rester sécurisé.
|
||||
{{ __('Ensure your account is using a long, random password to stay secure.') }}
|
||||
</p>
|
||||
</header>
|
||||
|
||||
<form @submit.prevent="updatePassword" class="mt-6 space-y-6">
|
||||
<div>
|
||||
<InputLabel for="current_password" value="Mot de Passe Actuel" />
|
||||
<InputLabel for="current_password" :value="__('Current Password')" />
|
||||
|
||||
<TextInput
|
||||
id="current_password"
|
||||
@@ -65,7 +65,7 @@ const updatePassword = () => {
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<InputLabel for="password" value="Nouveau Mot de Passe" />
|
||||
<InputLabel for="password" :value="__('New Password')" />
|
||||
|
||||
<TextInput
|
||||
id="password"
|
||||
@@ -82,7 +82,7 @@ const updatePassword = () => {
|
||||
<div>
|
||||
<InputLabel
|
||||
for="password_confirmation"
|
||||
value="Confirmer le Mot de Passe"
|
||||
:value="__('Confirm Password')"
|
||||
/>
|
||||
|
||||
<TextInput
|
||||
@@ -100,7 +100,7 @@ const updatePassword = () => {
|
||||
</div>
|
||||
|
||||
<div class="flex items-center gap-4">
|
||||
<PrimaryButton :disabled="form.processing">Enregistrer</PrimaryButton>
|
||||
<PrimaryButton :disabled="form.processing">{{ __('Save') }}</PrimaryButton>
|
||||
|
||||
<Transition
|
||||
enter-active-class="transition ease-in-out"
|
||||
@@ -112,7 +112,7 @@ const updatePassword = () => {
|
||||
v-if="form.recentlySuccessful"
|
||||
class="text-sm text-gray-600 dark:text-gray-400"
|
||||
>
|
||||
Enregistré.
|
||||
{{ __('Saved.') }}
|
||||
</p>
|
||||
</Transition>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user