feat: add plan title and interval editing to settings

- Add Settings button label i18n (de: Einstellungen)
- Allow editing plan title, feeding per day, feeding interval, and litter interval
- Update PlanSettings component with new form fields
- Add German and English translations for new settings
- Update Plan type to include title property
This commit is contained in:
2026-01-12 23:49:17 +01:00
parent e395f2a8b1
commit 8854cfd1f9
5 changed files with 113 additions and 2 deletions

View File

@@ -66,8 +66,10 @@
"error": "Ungültiges Passwort"
},
"settings": {
"label": "Einstellungen",
"title": "Plan-Einstellungen",
"description": "Aktualisiere die Instruktionen oder den Benachrichtigungs-Webhook.",
"titleLabel": "Titel des Plans",
"webhookLabel": "Benachrichtigungs-Webhook (Discord/Telegram)",
"webhookPlaceholder": "https://discord.com/api/webhooks/...",
"webhookDesc": "Lass dich informieren, wenn jemand bucht oder absagt.",
@@ -75,6 +77,9 @@
"instructionsPlaceholder": "Futter: 2x täglich, Klo: täglich...",
"notifyAllLabel": "Alle Ereignisse melden",
"notifyAllDesc": "Falls deaktiviert, werden nur Absagen gemeldet.",
"feedingPerDayLabel": "Wie oft am Fütterungstag füttern?",
"feedingIntervalLabel": "Alle wieviel Tage füttern?",
"litterIntervalLabel": "Alle wieviel Tage das Klo reinigen?",
"save": "Änderungen speichern",
"saving": "Speichere...",
"success": "Einstellungen aktualisiert!",