feat: localize errors, translate profile, refine jobs UI

This commit is contained in:
jeremy bayse
2026-05-08 12:20:30 +02:00
parent fd4a39a703
commit 7c01803f46
29 changed files with 3633 additions and 104 deletions

View File

@@ -37,18 +37,17 @@ const updatePassword = () => {
<section>
<header>
<h2 class="text-lg font-medium text-gray-900">
Update Password
Mettre à jour le mot de passe
</h2>
<p class="mt-1 text-sm text-gray-600">
Ensure your account is using a long, random password to stay
secure.
Assurez-vous que votre compte utilise un long mot de passe aléatoire pour rester sécurisé.
</p>
</header>
<form @submit.prevent="updatePassword" class="mt-6 space-y-6">
<div>
<InputLabel for="current_password" value="Current Password" />
<InputLabel for="current_password" value="Mot de passe actuel" />
<TextInput
id="current_password"
@@ -66,7 +65,7 @@ const updatePassword = () => {
</div>
<div>
<InputLabel for="password" value="New Password" />
<InputLabel for="password" value="Nouveau mot de passe" />
<TextInput
id="password"
@@ -83,7 +82,7 @@ const updatePassword = () => {
<div>
<InputLabel
for="password_confirmation"
value="Confirm Password"
value="Confirmer le mot de passe"
/>
<TextInput
@@ -101,7 +100,7 @@ const updatePassword = () => {
</div>
<div class="flex items-center gap-4">
<PrimaryButton :disabled="form.processing">Save</PrimaryButton>
<PrimaryButton :disabled="form.processing">Enregistrer</PrimaryButton>
<Transition
enter-active-class="transition ease-in-out"
@@ -113,7 +112,7 @@ const updatePassword = () => {
v-if="form.recentlySuccessful"
class="text-sm text-gray-600"
>
Saved.
Enregistré.
</p>
</Transition>
</div>