✨ add german translation

This commit is contained in:
anbraten committed 2026-09-24 20:28:05 +02:00
1 parent 99a9f908f1
commit c78920ba6e
15 files changed
+3282 -4101

No files matched your search

+7 -6
View File
@@ -1,4 +1,5 @@
<script setup lang="ts">
const { t } = useI18n();
const route = useRoute();
const slug = route.params.slug as string;
@@ -34,10 +35,10 @@ function skip() {
<div class="space-y-1 text-center">
<div class="text-3xl">👋</div>
<h1 class="text-xl font-bold text-stone-900 dark:text-stone-100">
Add the rest of the group
{{ t('setup.title') }}
</h1>
<p class="text-sm text-stone-500 dark:text-stone-400">
Add everyone else's name now, or skip and add them later from settings.
{{ t('setup.subtitle') }}
</p>
</div>
@@ -48,7 +49,7 @@ function skip() {
v-model="names[index]"
type="text"
class="block w-full rounded-xl border border-stone-300 bg-white px-3 py-2 text-base text-stone-900 shadow-sm placeholder:text-stone-400 focus:border-orange-400 focus:outline-none focus:ring-2 focus:ring-orange-200 dark:border-stone-700 dark:bg-stone-900 dark:text-stone-100 dark:placeholder:text-stone-500 dark:focus:ring-orange-900"
placeholder="Participant name"
:placeholder="t('setup.placeholder')"
/>
</div>
@@ -57,7 +58,7 @@ function skip() {
class="w-full rounded-xl border border-dashed border-stone-300 px-4 py-2 text-sm font-medium text-stone-600 transition-colors hover:border-orange-300 hover:text-orange-600 dark:border-stone-700 dark:text-stone-400 dark:hover:border-orange-700 dark:hover:text-orange-400"
@click="addRow"
>
+ Add another
{{ t('setup.addAnother') }}
</button>
<div class="flex gap-3">
@@ -66,7 +67,7 @@ function skip() {
class="flex-1 rounded-xl border border-stone-300 px-4 py-2 font-medium text-stone-700 dark:border-stone-700 dark:text-stone-300"
@click="skip"
>
Skip
{{ t('setup.skip') }}
</button>
<button
type="button"
@@ -74,7 +75,7 @@ function skip() {
class="flex-1 rounded-xl bg-orange-500 px-4 py-2 font-medium text-white shadow-sm transition-colors hover:bg-orange-600 active:bg-orange-600 disabled:opacity-50"
@click="continueToPot"
>
{{ saving ? 'Saving…' : 'Continue' }}
{{ saving ? t('setup.saving') : t('setup.continue') }}
</button>
</div>
</div>