dorfteich/packages/shared/i18n/de/setup.json
Claude Fable 5 28aa04d5e4
All checks were successful
CI / Lint, typecheck, test (push) Successful in 3m6s
CI / Build container images (push) Has been skipped
CD / Build and push images (push) Successful in 3m13s
CD / Deploy to Test (push) Successful in 12s
CD / Smoke tests against Test (push) Successful in 1m14s
CD / Promote to Int (push) Successful in 10s
CI / Auth e2e pack (push) Successful in 5m6s
CI / Import/export fidelity gate (push) Successful in 45s
Add the first-run setup wizard UI (#81)
The SPA now probes GET /setup on boot: while setup is pending it
renders only the wizard at /setup, the login page (to resume a started
wizard as the Site Admin), and a "setup pending" notice on every other
route — without the regular chrome, whose pond/search queries would
all 503. If the probe itself fails (offline reload), the app falls
through to the normal routes. Once completed, /setup just goes home.

The wizard walks six steps against the #80 api: welcome with language
choice (drives i18n immediately and pre-fills the admin/instance
locales), Site Admin account (signs in via the step-1 session cookie),
instance basics, SMTP with live-test-before-save plus an explicit skip,
registration mode, and a summary whose finish unlocks the app
logged-in-ready. Every step validates through the shared Zod schemas
before advancing; entered values live in the parent component, so Back
preserves them, and re-submitting a step on a second forward pass just
overwrites the same settings. A wizard someone else started shows a
sign-in hand-off instead of dead admin-gated steps. New `setup` i18n
namespace in de and en.

Two #80 touch-ups fell out of verifying this end to end: the SMTP
port's NaN case now maps to the translated required-message, and
GET /setup's smtpConfigured uses `||` instead of `??` so the empty
strings compose passes for unset vars fall through to the secret store.

The e2e pack (setup.spec.ts) needs an instance where setup is still
pending, so the CI job provisions a second api + static web against a
virgin database on their own ports and runs the full wizard journey
there, including the failing-relay path and both languages.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EwZ4jR4KFAPvpjWevfUGX1
2026-07-11 16:05:01 +02:00

77 lines
3.2 KiB
JSON

{
"pending": {
"title": "Fast geschafft",
"body": "Diese Dorfteich-Instanz ist noch nicht eingerichtet. Eine Administratorin oder ein Administrator muss zuerst die Ersteinrichtung durchführen.",
"start": "Einrichtung starten"
},
"progress": "Schritt {{current}} von {{total}}",
"back": "Zurück",
"next": "Weiter",
"steps": {
"language": "Sprache",
"admin": "Admin-Konto",
"instance": "Instanz",
"smtp": "E-Mail",
"registration": "Registrierung",
"summary": "Abschluss"
},
"language": {
"title": "Willkommen bei Dorfteich",
"body": "Dieser Assistent richtet deine Instanz in wenigen Schritten ein.",
"choose": "In welcher Sprache sollen Einrichtung und Instanz laufen?",
"de": "Deutsch",
"en": "English"
},
"admin": {
"title": "Site-Admin-Konto anlegen",
"body": "Das erste Konto verwaltet diese Instanz: Es erhält volle Administrationsrechte und wird direkt angemeldet.",
"submit": "Konto anlegen & weiter",
"exists": "Das Site-Admin-Konto existiert bereits — weiter mit den Instanz-Einstellungen.",
"resumeTitle": "Einrichtung bereits begonnen",
"resumeBody": "Das Site-Admin-Konto dieser Instanz existiert bereits. Melde dich mit diesem Konto an, um die Einrichtung fortzusetzen.",
"resumeLink": "Anmelden und fortsetzen"
},
"instance": {
"title": "Gib deiner Instanz einen Namen",
"name": "Name der Instanz",
"nameHint": "Sichtbar für alle, die diesen Dorfteich besuchen.",
"defaultLocale": "Standardsprache",
"defaultLocaleHint": "Gilt für öffentliche Seiten und als Voreinstellung für neue Konten."
},
"smtp": {
"title": "E-Mail-Versand",
"body": "Dorfteich verschickt Registrierungs-Bestätigungen und Passwort-Zurücksetzungen über einen SMTP-Server. Du kannst diesen Schritt überspringen und später in den Admin-Einstellungen nachholen — bis dahin verschickt die Instanz keine E-Mails.",
"host": "SMTP-Server",
"port": "Port",
"secure": "Von Anfang an verschlüsseln (SMTPS)",
"user": "Benutzername (optional)",
"pass": "Passwort (optional)",
"from": "Absenderadresse",
"fromHint": "Zum Beispiel dorfteich@example.org.",
"submit": "Testmail senden & weiter",
"submitHint": "Vor dem Speichern geht eine Testmail an deine Adresse — erst wenn sie zugestellt wurde, geht es weiter.",
"skip": "Vorerst überspringen"
},
"registration": {
"title": "Wer darf mitmachen?",
"open": "Offene Registrierung",
"openHint": "Alle können ein Konto anlegen (mit E-Mail-Bestätigung).",
"closed": "Geschlossen",
"closedHint": "Keine Selbst-Registrierung — Konten legen die Administrierenden an."
},
"summary": {
"title": "Zusammenfassung",
"body": "Alles ist vorbereitet. Schließe die Einrichtung ab, um die Instanz freizuschalten.",
"admin": "Site-Admin",
"instance": "Name der Instanz",
"locale": "Standardsprache",
"smtp": "E-Mail-Versand",
"smtpConfigured": "Eingerichtet ({{host}})",
"smtpSkipped": "Übersprungen — später einrichtbar",
"registration": "Registrierung",
"registrationOpen": "Offen",
"registrationClosed": "Geschlossen",
"finish": "Einrichtung abschließen"
}
}