Implement i18n with German and English support (default DE)
This commit is contained in:
70
dictionaries/de.json
Normal file
70
dictionaries/de.json
Normal file
@@ -0,0 +1,70 @@
|
||||
{
|
||||
"home": {
|
||||
"title": "Katzen-Sitting-Planer",
|
||||
"description": "Koordiniere die Pflege deiner Vierbeiner, während du weg bist.",
|
||||
"createPlan": "Neuen Plan erstellen",
|
||||
"createPlanDesc": "Wähle deine Reisedaten und setze ein Gruppen-Passwort."
|
||||
},
|
||||
"createPlanForm": {
|
||||
"travelDates": "Reisedaten",
|
||||
"pickDateRange": "Zeitraum wählen",
|
||||
"dateRangeDesc": "Wähle die Tage aus, an denen du weg bist.",
|
||||
"groupPassword": "Gruppen-Passwort",
|
||||
"passwordPlaceholder": "geheim-miau",
|
||||
"passwordDesc": "Teile dieses Passwort mit deinen Katzen-Sittern.",
|
||||
"submit": "Plan erstellen",
|
||||
"success": "Plan erfolgreich erstellt!",
|
||||
"error": "Etwas ist schiefgelaufen. Bitte versuche es erneut.",
|
||||
"passwordError": "Das Passwort muss mindestens 4 Zeichen lang sein."
|
||||
},
|
||||
"dashboard": {
|
||||
"overview": "Übersicht",
|
||||
"instructions": "Anleitungen",
|
||||
"instructionsTitle": "Katzenpflege-Anleitungen",
|
||||
"export": "Exportieren",
|
||||
"settings": "Einstellungen",
|
||||
"ownerHome": "Besitzer zu Hause",
|
||||
"illDoIt": "Ich mache das!",
|
||||
"bookTitle": "Buchung für den {date}",
|
||||
"bookDesc": "Wer kümmert sich um die Katzen?",
|
||||
"imSitting": "Ich sitte",
|
||||
"ownerIsHome": "Besitzer ist zu Hause",
|
||||
"nameLabel": "Name",
|
||||
"namePlaceholder": "Dein Name",
|
||||
"confirmBooking": "Buchung bestätigen",
|
||||
"saving": "Speichere...",
|
||||
"bookedSuccess": "Termin gebucht!",
|
||||
"bookError": "Buchung fehlgeschlagen. Vielleicht war jemand schneller?",
|
||||
"cancelConfirm": "Bist du sicher, dass du diesen Eintrag entfernen möchtest?",
|
||||
"cancelSuccess": "Eintrag entfernt",
|
||||
"cancelError": "Entfernen fehlgeschlagen",
|
||||
"noInstructions": "Noch keine spezifischen Instruktionen hinterlegt."
|
||||
},
|
||||
"login": {
|
||||
"title": "Passwort eingeben",
|
||||
"description": "Bitte gib das Passwort ein, das du vom Katzenbesitzer erhalten hast.",
|
||||
"submit": "Plan öffnen",
|
||||
"error": "Ungültiges Passwort"
|
||||
},
|
||||
"settings": {
|
||||
"title": "Plan-Einstellungen",
|
||||
"description": "Aktualisiere die Instruktionen oder den Benachrichtigungs-Webhook.",
|
||||
"webhookLabel": "Benachrichtigungs-Webhook (Discord/Telegram)",
|
||||
"webhookPlaceholder": "https://discord.com/api/webhooks/...",
|
||||
"webhookDesc": "Lass dich informieren, wenn jemand bucht oder absagt.",
|
||||
"instructionsLabel": "Katzen-Instruktionen",
|
||||
"instructionsPlaceholder": "Futter: 2x täglich, Klo: täglich...",
|
||||
"notifyAllLabel": "Alle Ereignisse melden",
|
||||
"notifyAllDesc": "Falls deaktiviert, werden nur Absagen gemeldet.",
|
||||
"save": "Änderungen speichern",
|
||||
"saving": "Speichere...",
|
||||
"success": "Einstellungen aktualisiert!",
|
||||
"error": "Aktualisierung fehlgeschlagen"
|
||||
},
|
||||
"notifications": {
|
||||
"ownerHome": "🏠 BESITZER ZU HAUSE: Markiert für den {date}.\nPlan: {url}",
|
||||
"newBooking": "✅ NEUE BUCHUNG: {name} sittet am {date}.\nPlan: {url}",
|
||||
"cancellation": "🚨 ABSAGE: {name} hat die Buchung für den {date} gelöscht.\nPlan: {url}",
|
||||
"instructionsUpdated": "📝 UPDATE: Die Katzen-Instruktionen wurden geändert.\nPlan: {url}"
|
||||
}
|
||||
}
|
||||
70
dictionaries/en.json
Normal file
70
dictionaries/en.json
Normal file
@@ -0,0 +1,70 @@
|
||||
{
|
||||
"home": {
|
||||
"title": "Cat Sitting Planner",
|
||||
"description": "Coordinate care for your furry friends while you're away.",
|
||||
"createPlan": "Create a New Plan",
|
||||
"createPlanDesc": "Select your travel dates and set a group password."
|
||||
},
|
||||
"createPlanForm": {
|
||||
"travelDates": "Travel Dates",
|
||||
"pickDateRange": "Pick a date range",
|
||||
"dateRangeDesc": "Select the days you will be away.",
|
||||
"groupPassword": "Group Password",
|
||||
"passwordPlaceholder": "secret-meow",
|
||||
"passwordDesc": "Share this password with your cat sitters.",
|
||||
"submit": "Create Plan",
|
||||
"success": "Plan created successfully!",
|
||||
"error": "Something went wrong. Please try again.",
|
||||
"passwordError": "Password must be at least 4 characters."
|
||||
},
|
||||
"dashboard": {
|
||||
"overview": "Overview",
|
||||
"instructions": "Instructions",
|
||||
"instructionsTitle": "Cat Care Instructions",
|
||||
"export": "Export",
|
||||
"settings": "Settings",
|
||||
"ownerHome": "Owner Home",
|
||||
"illDoIt": "I'll do it!",
|
||||
"bookTitle": "Book {date}",
|
||||
"bookDesc": "Who is taking care of the cats?",
|
||||
"imSitting": "I am Sitting",
|
||||
"ownerIsHome": "Owner is Home",
|
||||
"nameLabel": "Name",
|
||||
"namePlaceholder": "Your Name",
|
||||
"confirmBooking": "Confirm Booking",
|
||||
"saving": "Saving...",
|
||||
"bookedSuccess": "Spot booked!",
|
||||
"bookError": "Failed to book spot. Maybe it was just taken?",
|
||||
"cancelConfirm": "Are you sure you want to remove this entry?",
|
||||
"cancelSuccess": "Entry removed",
|
||||
"cancelError": "Failed to remove entry",
|
||||
"noInstructions": "No specific instructions provided yet."
|
||||
},
|
||||
"login": {
|
||||
"title": "Enter Password",
|
||||
"description": "Please enter the password provided by the cat owner to access this plan.",
|
||||
"submit": "Access Plan",
|
||||
"error": "Invalid password"
|
||||
},
|
||||
"settings": {
|
||||
"title": "Plan Settings",
|
||||
"description": "Update the cat care instructions or notification webhook.",
|
||||
"webhookLabel": "Notification Webhook (Discord/Telegram)",
|
||||
"webhookPlaceholder": "https://discord.com/api/webhooks/...",
|
||||
"webhookDesc": "Get notified on Discord/Telegram when someone books or cancels.",
|
||||
"instructionsLabel": "Cat Instructions",
|
||||
"instructionsPlaceholder": "Food: 2x daily, Litter: daily...",
|
||||
"notifyAllLabel": "Notify for all events",
|
||||
"notifyAllDesc": "If disabled, only cancellations will be notified.",
|
||||
"save": "Save changes",
|
||||
"saving": "Saving...",
|
||||
"success": "Settings updated!",
|
||||
"error": "Failed to update settings"
|
||||
},
|
||||
"notifications": {
|
||||
"ownerHome": "🏠 OWNER HOME: Marked for {date}.\nPlan: {url}",
|
||||
"newBooking": "✅ NEW BOOKING: {name} is sitting on {date}.\nPlan: {url}",
|
||||
"cancellation": "🚨 CANCELLATION: {name} removed their booking for {date}.\nPlan: {url}",
|
||||
"instructionsUpdated": "📝 UPDATED: Cat instructions have been modified.\nPlan: {url}"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user