diff --git a/app/[lang]/dashboard/[planId]/_components/plan-dashboard.tsx b/app/[lang]/dashboard/[planId]/_components/plan-dashboard.tsx index 29f100e..cc5ab7c 100644 --- a/app/[lang]/dashboard/[planId]/_components/plan-dashboard.tsx +++ b/app/[lang]/dashboard/[planId]/_components/plan-dashboard.tsx @@ -3,7 +3,7 @@ import { useState, useEffect } from "react" import { format, eachDayOfInterval, isSameDay } from "date-fns" import { de, enUS } from "date-fns/locale" -import { CalendarIcon, User, Home, X, Info, Utensils, Trash2, Check } from "lucide-react" +import { CalendarIcon, User, Home, X, Info, Utensils, Trash2, Check, Share2 } from "lucide-react" import { toast } from "sonner" import { Button } from "@/components/ui/button" @@ -220,6 +220,25 @@ export function PlanDashboard({ plan, dict, settingsDict, lang }: PlanDashboardP dict={settingsDict} lang={lang} /> + diff --git a/dictionaries/de.json b/dictionaries/de.json index c7a10fa..f745f9c 100644 --- a/dictionaries/de.json +++ b/dictionaries/de.json @@ -38,6 +38,10 @@ "instructionsTitle": "Katzenpflege-Anleitungen", "export": "Exportieren", "settings": "Einstellungen", + "share": "Teilen", + "shareTitle": "Plan teilen", + "copySuccess": "Link kopiert!", + "shareError": "Fehler beim Teilen.", "feeding": "Füttern", "litter": "Klo reinigen", "ownerHome": "Besitzer zu Hause", diff --git a/dictionaries/en.json b/dictionaries/en.json index c77990d..121d191 100644 --- a/dictionaries/en.json +++ b/dictionaries/en.json @@ -38,6 +38,10 @@ "instructionsTitle": "Cat Care Instructions", "export": "Export", "settings": "Settings", + "share": "Share", + "shareTitle": "Share Plan", + "copySuccess": "Link copied to clipboard!", + "shareError": "Could not share plan.", "feeding": "Feeding", "litter": "Clean litter", "ownerHome": "Owner Home",