feat(landing): translate landing page copy (Landing i18n namespace)

The landing page was hardcoded English, so switching languages had no
visible effect on it — added a "Landing" namespace to both message
catalogs and wired src/app/page.tsx up via getTranslations, matching
the pattern already used by other server-rendered pages.
This commit is contained in:
admin committed 2026-08-11 20:09:13 +02:00
1 parent 0da56a2aef
commit f899ed5f7c
3 files changed
+52 -29

No files matched your search

+18
View File
@@ -500,5 +500,23 @@
"confirm": "Blockieren",
"successToast": "Du hast {petName} blockiert",
"errorToast": "Tier konnte nicht blockiert werden. Bitte versuch es erneut."
},
"Landing": {
"tagline": "Wo Haustiere die Stars sind. Profile, Beiträge und Storys — gemacht für Hunde, Katzen und Vögel.",
"getStarted": "Jetzt loslegen",
"logIn": "Anmelden",
"previewAlt": "Der PawFeed-Feed mit Tierbeiträgen von Noctis und Bubi",
"featuresHeading": "Gebaut für das Tier, nicht den Menschen",
"feature1Title": "Nicht Menschen, sondern Tiere sind das Profil",
"feature1Body": "Jeder Hund, jede Katze, jeder Vogel bekommt eine eigene Identität — eigene Beiträge, Follower und eine eigene Story, getrennt vom Besitzer.",
"feature2Title": "Beiträge, Storys & Kurzvideos",
"feature2Body": "Fotos, Kurzvideos und 24-Stunden-Storys — alles rund um das, was dein Tier gerade erlebt.",
"feature3Title": "Gesundheits-Tracking",
"feature3Body": "Gewichtsverlauf, Tierarztbesuche und Impfungen an einem Ort — per privatem Link mit dem Tierarzt teilbar.",
"feature4Title": "Nachrichten von Tier zu Tier",
"feature4Body": "Direktnachrichten laufen zwischen den Tieren, nicht den Besitzern — passend zum Aufbau der ganzen Plattform.",
"footerImpressum": "Impressum",
"footerDatenschutz": "Datenschutz",
"footerAgb": "AGB"
}
}
+18
View File
@@ -500,5 +500,23 @@
"confirm": "Block",
"successToast": "You've blocked {petName}",
"errorToast": "Couldn't block this pet. Please try again."
},
"Landing": {
"tagline": "Where pets are the stars. Profiles, posts, and stories — built for dogs, cats, and birds.",
"getStarted": "Get started",
"logIn": "Log in",
"previewAlt": "The PawFeed feed, showing pet posts from Noctis and Bubi",
"featuresHeading": "Built for the pet, not the person",
"feature1Title": "Pets, not humans, are the profile",
"feature1Body": "Every dog, cat, or bird gets its own identity — its own posts, followers, and story, separate from its owner's.",
"feature2Title": "Posts, stories & short video",
"feature2Body": "Photos, short-form video, and 24-hour stories — all built around what your pet is up to.",
"feature3Title": "Health tracking",
"feature3Body": "Weight logs, vet visits, and vaccine records in one place — shareable with a vet via a private link.",
"feature4Title": "Pet-to-pet messaging",
"feature4Body": "Direct messages happen between pets, not owners — matching how the whole platform is built.",
"footerImpressum": "Imprint",
"footerDatenschutz": "Privacy Policy",
"footerAgb": "Terms"
}
}