i18n complet des pages + routine builder avancé (config par exo, réordonner, dupliquer)
Build & Deploy / build (push) Successful in 8s

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-07-19 04:48:26 +02:00
co-authored by Claude Opus 4.8
parent 2e9f0962a1
commit bd739d13cf
11 changed files with 398 additions and 53 deletions
+5 -5
View File
@@ -14,7 +14,7 @@ async function togglePush(val: boolean) {
if (val) {
await enable(auth.push.vapid_public_key || '')
pushOn.value = true
toast.add({ title: 'Rappels activés 🔥', color: 'primary' })
toast.add({ title: t('profile.remindersOn'), color: 'primary' })
} else {
await disable()
pushOn.value = false
@@ -54,7 +54,7 @@ async function doLogout() {
</UCard>
<div>
<p class="text-sm font-semibold text-zinc-500 mb-2">Langue</p>
<p class="text-sm font-semibold text-zinc-500 mb-2">{{ t('profile.language') }}</p>
<div class="flex gap-2">
<UButton
v-for="l in (locales as { code: string, name: string }[])"
@@ -71,12 +71,12 @@ async function doLogout() {
<UCard v-if="isSupported()" :ui="{ body: 'p-4' }">
<div class="flex items-center justify-between gap-3">
<div>
<p class="font-semibold">Rappels de série 🔥</p>
<p class="text-xs text-zinc-500">Un rappel le soir si tu risques de perdre ta flamme.</p>
<p class="font-semibold">{{ t('profile.reminders') }}</p>
<p class="text-xs text-zinc-500">{{ t('profile.remindersDesc') }}</p>
</div>
<USwitch v-model="pushOn" :loading="pushLoading" @update:model-value="togglePush" />
</div>
<UButton v-if="pushOn" size="xs" variant="link" color="neutral" class="mt-1 -ml-2" label="Envoyer un test" @click="sendTest" />
<UButton v-if="pushOn" size="xs" variant="link" color="neutral" class="mt-1 -ml-2" :label="t('profile.test')" @click="sendTest" />
</UCard>
<UButton block color="neutral" variant="subtle" icon="i-lucide-log-out" :label="t('auth.logout')" @click="doLogout" />