diff --git a/messages/de.json b/messages/de.json index addbde3b6..01784ec8b 100644 --- a/messages/de.json +++ b/messages/de.json @@ -3648,7 +3648,7 @@ }, "goals": { "title": "Was möchtest du erfassen?", - "body": "Wähle die Bereiche, die dir wichtig sind. Dashboard und Erinnerungen richten sich danach.", + "body": "Wähle die Bereiche, die dir wichtig sind – das hilft dir zu entscheiden, was du verfolgen und als Nächstes einrichten willst.", "helpHint": "Ein bis drei Schwerpunkte funktionieren erfahrungsgemäß am besten – mehr geht aber jederzeit.", "options": { "weightManagement": "Gewicht im Griff", @@ -3661,7 +3661,7 @@ }, "source": { "title": "Quelle verbinden", - "body": "Werte automatisch übernehmen oder weiter manuell eintragen – deine Entscheidung.", + "body": "Werte automatisch übernehmen oder weiter manuell eintragen. Hier wird nichts für dich eingerichtet – jede Karte zeigt nur, wo du sie verbindest.", "recommended": "Empfohlen", "manual": { "title": "Manuelle Eingabe", @@ -3672,12 +3672,17 @@ "body": "Waagen, Blutdruckmesser und Tracker von Withings synchronisieren automatisch.", "cta": "Withings verbinden" }, - "appleHealth": { - "title": "Apple Health", - "body": "iPhone- und Apple-Watch-Daten werden über die HealthLog-iOS-App eingelesen.", - "badge": "Mit v1.5 (iOS)", - "disabledHint": "Verfügbar, sobald die iOS-App ausgeliefert ist." - } + "more": { + "title": "Weitere Quellen", + "body": "Verbinde eine davon in den Einstellungen, wann immer du bereit bist.", + "appleHealth": "Apple Health", + "whoop": "WHOOP", + "oura": "Oura", + "polar": "Polar", + "nightscout": "Nightscout", + "fitbit": "Fitbit" + }, + "import": "Bestehende Daten importieren" }, "baseline": { "title": "Kurz zu dir", @@ -3697,7 +3702,11 @@ "done": { "title": "Alles bereit", "body": "Willkommen an Bord. Dein Dashboard wartet.", - "returnCta": "Zum Dashboard" + "returnCta": "Zum Dashboard", + "learning": "Manche Einblicke – Glukose, Schlafrhythmus, Blutdrucktrends, Zyklus – schärfen sich in den ersten ein bis zwei Wochen, sobald sich deine Daten ansammeln. Leere Kacheln heißen jetzt nur, dass wir deine Basislinie noch lernen.", + "connectCta": "Gerät verbinden", + "logCta": "Ersten Wert eintragen", + "importCta": "Bestehende Daten importieren" }, "welcomeBack": { "title": "Willkommen zurück", @@ -3742,9 +3751,9 @@ "medicationTitle": "Medikament hinzufügen", "medicationDescription": "Verfolge die Therapietreue und erhalte Erinnerungen genau dann, wenn du sie brauchst.", "medicationCta": "Medikament hinzufügen", - "withingsTitle": "Withings verbinden (optional)", - "withingsDescription": "Synchronisiere Gewicht, Blutdruck und Puls automatisch aus deinen Withings-Geräten.", - "withingsCta": "Verbinden", + "dataSourceTitle": "Datenquelle verbinden (optional)", + "dataSourceDescription": "Gewicht, Blutdruck, Schlaf und mehr automatisch aus Withings, WHOOP, Oura, Polar, Nightscout, Fitbit oder Apple Health.", + "dataSourceCta": "Verbinden", "notificationsTitle": "Benachrichtigungen einrichten", "notificationsDescription": "Wähle, wie HealthLog dich erinnert — Telegram, ntfy oder Web Push.", "notificationsCta": "Benachrichtigungen öffnen" diff --git a/messages/en.json b/messages/en.json index fdae35aad..a78cc1a24 100644 --- a/messages/en.json +++ b/messages/en.json @@ -3648,7 +3648,7 @@ }, "goals": { "title": "What would you like to track?", - "body": "Pick the areas you care about. Your dashboard and the default reminders follow your choice.", + "body": "Pick the areas you care about — it helps you decide what to track and set up next.", "helpHint": "One to three priorities tend to work best — you can always add more later.", "options": { "weightManagement": "Weight management", @@ -3661,7 +3661,7 @@ }, "source": { "title": "Connect a source", - "body": "Bring in measurements automatically, or stay on manual entry — your call.", + "body": "Bring in measurements automatically, or stay on manual entry. Nothing here is configured for you — each card just shows where to connect it.", "recommended": "Recommended", "manual": { "title": "Manual entry", @@ -3672,12 +3672,17 @@ "body": "Scales, blood-pressure cuffs and trackers from Withings sync automatically.", "cta": "Connect Withings" }, - "appleHealth": { - "title": "Apple Health", - "body": "iPhone and Apple Watch data flow in via the HealthLog iOS app.", - "badge": "Coming with v1.5 (iOS)", - "disabledHint": "Available once the iOS app ships." - } + "more": { + "title": "More sources", + "body": "Connect any of these in Settings whenever you're ready.", + "appleHealth": "Apple Health", + "whoop": "WHOOP", + "oura": "Oura", + "polar": "Polar", + "nightscout": "Nightscout", + "fitbit": "Fitbit" + }, + "import": "Import existing history" }, "baseline": { "title": "A bit about you", @@ -3697,7 +3702,11 @@ "done": { "title": "You're all set", "body": "Welcome aboard. Your dashboard is ready.", - "returnCta": "Open dashboard" + "returnCta": "Open dashboard", + "learning": "Some insights — glucose, sleep rhythm, blood-pressure trends, cycle — sharpen over the first week or two as your data builds up. Empty tiles now just mean we're still learning your baseline.", + "connectCta": "Connect a device", + "logCta": "Log your first measurement", + "importCta": "Import existing history" }, "welcomeBack": { "title": "Welcome back", @@ -3742,9 +3751,9 @@ "medicationTitle": "Add a medication", "medicationDescription": "Track adherence and get reminders right when you need them.", "medicationCta": "Add medication", - "withingsTitle": "Connect Withings (optional)", - "withingsDescription": "Auto-sync weight, BP and pulse from your Withings devices.", - "withingsCta": "Connect", + "dataSourceTitle": "Connect a data source (optional)", + "dataSourceDescription": "Auto-sync weight, BP, sleep and more from Withings, WHOOP, Oura, Polar, Nightscout, Fitbit or Apple Health.", + "dataSourceCta": "Connect", "notificationsTitle": "Configure notifications", "notificationsDescription": "Choose how HealthLog should remind you — Telegram, ntfy or Web Push.", "notificationsCta": "Open notifications" diff --git a/messages/es.json b/messages/es.json index 1de831848..07ef722cb 100644 --- a/messages/es.json +++ b/messages/es.json @@ -3648,7 +3648,7 @@ }, "goals": { "title": "¿Qué te gustaría registrar?", - "body": "Elige las áreas que te interesan. El panel y los recordatorios se ajustarán a tu elección.", + "body": "Elige las áreas que te interesan: te ayuda a decidir qué seguir y qué configurar a continuación.", "helpHint": "Una a tres prioridades suelen funcionar mejor — siempre podrás añadir más más adelante.", "options": { "weightManagement": "Control del peso", @@ -3661,7 +3661,7 @@ }, "source": { "title": "Conectar una fuente", - "body": "Importa las mediciones automáticamente o sigue con la entrada manual, tú decides.", + "body": "Importa las mediciones automáticamente o sigue con la entrada manual. Aquí no se configura nada por ti: cada tarjeta solo muestra dónde conectarla.", "recommended": "Recomendado", "manual": { "title": "Entrada manual", @@ -3672,12 +3672,17 @@ "body": "Las básculas, los tensiómetros y los trackers de Withings se sincronizan automáticamente.", "cta": "Conectar Withings" }, - "appleHealth": { - "title": "Apple Health", - "body": "Los datos del iPhone y el Apple Watch llegan a través de la app de HealthLog para iOS.", - "badge": "Con la v1.5 (iOS)", - "disabledHint": "Disponible cuando se publique la app de iOS." - } + "more": { + "title": "Más fuentes", + "body": "Conecta cualquiera de ellas en Ajustes cuando quieras.", + "appleHealth": "Apple Health", + "whoop": "WHOOP", + "oura": "Oura", + "polar": "Polar", + "nightscout": "Nightscout", + "fitbit": "Fitbit" + }, + "import": "Importar historial existente" }, "baseline": { "title": "Cuéntanos sobre ti", @@ -3697,7 +3702,11 @@ "done": { "title": "Todo listo", "body": "Bienvenido a bordo. Tu panel ya está preparado.", - "returnCta": "Abrir el panel" + "returnCta": "Abrir el panel", + "learning": "Algunas conclusiones —glucosa, ritmo de sueño, tendencias de presión arterial, ciclo— se afinan durante la primera semana o dos a medida que se acumulan tus datos. Las casillas vacías ahora solo significan que aún estamos aprendiendo tu línea base.", + "connectCta": "Conectar un dispositivo", + "logCta": "Registra tu primera medición", + "importCta": "Importar historial existente" }, "welcomeBack": { "title": "Bienvenido de nuevo", @@ -3742,9 +3751,9 @@ "medicationTitle": "Añadir medicamento", "medicationDescription": "Sigue el cumplimiento y recibe recordatorios justo cuando los necesites.", "medicationCta": "Añadir medicamento", - "withingsTitle": "Conectar Withings (opcional)", - "withingsDescription": "Sincroniza peso, tensión arterial y pulso automáticamente desde tus dispositivos Withings.", - "withingsCta": "Conectar", + "dataSourceTitle": "Conectar una fuente de datos (opcional)", + "dataSourceDescription": "Sincroniza peso, presión, sueño y más desde Withings, WHOOP, Oura, Polar, Nightscout, Fitbit o Apple Health.", + "dataSourceCta": "Conectar", "notificationsTitle": "Configurar notificaciones", "notificationsDescription": "Elige cómo te recuerda HealthLog — Telegram, ntfy o Web Push.", "notificationsCta": "Abrir notificaciones" diff --git a/messages/fr.json b/messages/fr.json index 24853a912..acec48c77 100644 --- a/messages/fr.json +++ b/messages/fr.json @@ -3648,7 +3648,7 @@ }, "goals": { "title": "Que souhaitez-vous suivre ?", - "body": "Sélectionnez les domaines qui comptent pour vous. Le tableau de bord et les rappels s'y adapteront.", + "body": "Sélectionnez les domaines qui comptent pour vous : cela vous aide à décider quoi suivre et configurer ensuite.", "helpHint": "Un à trois axes prioritaires fonctionnent généralement le mieux, mais vous pourrez en ajouter plus tard.", "options": { "weightManagement": "Gestion du poids", @@ -3661,7 +3661,7 @@ }, "source": { "title": "Connecter une source", - "body": "Importez les mesures automatiquement ou conservez la saisie manuelle, c'est vous qui décidez.", + "body": "Importez les mesures automatiquement ou conservez la saisie manuelle. Rien n'est configuré à votre place : chaque carte indique simplement où la connecter.", "recommended": "Recommandé", "manual": { "title": "Saisie manuelle", @@ -3672,12 +3672,17 @@ "body": "Balances, tensiomètres et trackers Withings se synchronisent automatiquement.", "cta": "Connecter Withings" }, - "appleHealth": { - "title": "Apple Health", - "body": "Les données de l'iPhone et de l'Apple Watch arrivent via l'application iOS HealthLog.", - "badge": "Avec la v1.5 (iOS)", - "disabledHint": "Disponible dès la sortie de l'application iOS." - } + "more": { + "title": "Autres sources", + "body": "Connectez l'une d'elles dans les Réglages quand vous le souhaitez.", + "appleHealth": "Apple Health", + "whoop": "WHOOP", + "oura": "Oura", + "polar": "Polar", + "nightscout": "Nightscout", + "fitbit": "Fitbit" + }, + "import": "Importer un historique existant" }, "baseline": { "title": "Quelques informations", @@ -3697,7 +3702,11 @@ "done": { "title": "Tout est prêt", "body": "Bienvenue à bord. Votre tableau de bord vous attend.", - "returnCta": "Ouvrir le tableau de bord" + "returnCta": "Ouvrir le tableau de bord", + "learning": "Certaines analyses — glycémie, rythme de sommeil, tendances de tension, cycle — s'affinent au cours de la première semaine ou deux à mesure que vos données s'accumulent. Des tuiles vides signifient simplement que nous apprenons encore votre référence.", + "connectCta": "Connecter un appareil", + "logCta": "Enregistrez votre première mesure", + "importCta": "Importer un historique existant" }, "welcomeBack": { "title": "Bon retour", @@ -3742,9 +3751,9 @@ "medicationTitle": "Ajouter un médicament", "medicationDescription": "Suis l’observance et reçois des rappels au moment où tu en as besoin.", "medicationCta": "Ajouter un médicament", - "withingsTitle": "Connecter Withings (optionnel)", - "withingsDescription": "Synchronise automatiquement poids, tension et pouls depuis tes appareils Withings.", - "withingsCta": "Connecter", + "dataSourceTitle": "Connecter une source de données (facultatif)", + "dataSourceDescription": "Synchronisez poids, tension, sommeil et plus depuis Withings, WHOOP, Oura, Polar, Nightscout, Fitbit ou Apple Health.", + "dataSourceCta": "Connecter", "notificationsTitle": "Configurer les notifications", "notificationsDescription": "Choisis comment HealthLog te prévient — Telegram, ntfy ou Web Push.", "notificationsCta": "Ouvrir les notifications" diff --git a/messages/it.json b/messages/it.json index e08e5cce4..e825a1770 100644 --- a/messages/it.json +++ b/messages/it.json @@ -3648,7 +3648,7 @@ }, "goals": { "title": "Cosa vuoi monitorare?", - "body": "Scegli gli ambiti che ti interessano. Dashboard e promemoria si adatteranno alle tue scelte.", + "body": "Scegli gli ambiti che ti interessano: ti aiuta a decidere cosa monitorare e configurare in seguito.", "helpHint": "Da una a tre priorità funzionano di solito meglio — potrai aggiungerne altre in qualsiasi momento.", "options": { "weightManagement": "Gestione del peso", @@ -3661,7 +3661,7 @@ }, "source": { "title": "Connetti una sorgente", - "body": "Importa le misurazioni in automatico oppure resta sull'inserimento manuale, decidi tu.", + "body": "Importa le misurazioni in automatico oppure resta sull'inserimento manuale. Qui non viene configurato nulla al posto tuo: ogni scheda mostra solo dove collegarla.", "recommended": "Consigliato", "manual": { "title": "Inserimento manuale", @@ -3672,12 +3672,17 @@ "body": "Bilance, misuratori di pressione e tracker Withings si sincronizzano automaticamente.", "cta": "Connetti Withings" }, - "appleHealth": { - "title": "Apple Health", - "body": "I dati di iPhone e Apple Watch arrivano tramite l'app HealthLog per iOS.", - "badge": "Con la v1.5 (iOS)", - "disabledHint": "Disponibile al rilascio dell'app iOS." - } + "more": { + "title": "Altre fonti", + "body": "Collega una di queste nelle Impostazioni quando vuoi.", + "appleHealth": "Apple Health", + "whoop": "WHOOP", + "oura": "Oura", + "polar": "Polar", + "nightscout": "Nightscout", + "fitbit": "Fitbit" + }, + "import": "Importa la cronologia esistente" }, "baseline": { "title": "Qualcosa su di te", @@ -3697,7 +3702,11 @@ "done": { "title": "Tutto pronto", "body": "Benvenuto a bordo. La tua dashboard è pronta.", - "returnCta": "Apri la dashboard" + "returnCta": "Apri la dashboard", + "learning": "Alcune analisi — glicemia, ritmo del sonno, tendenze della pressione, ciclo — si affinano nella prima settimana o due man mano che i tuoi dati si accumulano. Le caselle vuote ora indicano solo che stiamo ancora imparando il tuo riferimento.", + "connectCta": "Collega un dispositivo", + "logCta": "Registra la tua prima misurazione", + "importCta": "Importa la cronologia esistente" }, "welcomeBack": { "title": "Bentornato", @@ -3742,9 +3751,9 @@ "medicationTitle": "Aggiungi un farmaco", "medicationDescription": "Monitora l’aderenza e ricevi promemoria proprio quando ti servono.", "medicationCta": "Aggiungi farmaco", - "withingsTitle": "Collega Withings (opzionale)", - "withingsDescription": "Sincronizza peso, pressione e pulsazioni automaticamente dai tuoi dispositivi Withings.", - "withingsCta": "Collega", + "dataSourceTitle": "Collega una fonte di dati (opzionale)", + "dataSourceDescription": "Sincronizza peso, pressione, sonno e altro da Withings, WHOOP, Oura, Polar, Nightscout, Fitbit o Apple Health.", + "dataSourceCta": "Collega", "notificationsTitle": "Configura le notifiche", "notificationsDescription": "Scegli come HealthLog ti ricorda — Telegram, ntfy o Web Push.", "notificationsCta": "Apri notifiche" diff --git a/messages/pl.json b/messages/pl.json index 4e603ea0f..b551d7b0b 100644 --- a/messages/pl.json +++ b/messages/pl.json @@ -3648,7 +3648,7 @@ }, "goals": { "title": "Co chcesz śledzić?", - "body": "Wybierz obszary, które są dla Ciebie ważne. Pulpit i przypomnienia dostosują się do Twojego wyboru.", + "body": "Wybierz obszary, które są dla Ciebie ważne — to pomaga zdecydować, co śledzić i co skonfigurować w następnej kolejności.", "helpHint": "Od jednego do trzech priorytetów zwykle sprawdza się najlepiej — możesz dodać kolejne w dowolnej chwili.", "options": { "weightManagement": "Kontrola wagi", @@ -3661,7 +3661,7 @@ }, "source": { "title": "Połącz źródło", - "body": "Pobieraj pomiary automatycznie lub zostań przy wpisywaniu ręcznym — Twój wybór.", + "body": "Pobieraj pomiary automatycznie lub zostań przy wpisywaniu ręcznym. Nic nie jest tu konfigurowane za Ciebie — każda karta pokazuje tylko, gdzie to połączyć.", "recommended": "Polecane", "manual": { "title": "Wpis ręczny", @@ -3672,12 +3672,17 @@ "body": "Wagi, ciśnieniomierze i trackery Withings synchronizują się automatycznie.", "cta": "Połącz Withings" }, - "appleHealth": { - "title": "Apple Health", - "body": "Dane z iPhone'a i Apple Watch trafiają tu poprzez aplikację HealthLog na iOS.", - "badge": "Wraz z v1.5 (iOS)", - "disabledHint": "Dostępne po wydaniu aplikacji iOS." - } + "more": { + "title": "Więcej źródeł", + "body": "Połącz dowolne z nich w Ustawieniach, gdy zechcesz.", + "appleHealth": "Apple Health", + "whoop": "WHOOP", + "oura": "Oura", + "polar": "Polar", + "nightscout": "Nightscout", + "fitbit": "Fitbit" + }, + "import": "Importuj istniejącą historię" }, "baseline": { "title": "Kilka słów o Tobie", @@ -3697,7 +3702,11 @@ "done": { "title": "Wszystko gotowe", "body": "Witaj na pokładzie. Pulpit czeka na Ciebie.", - "returnCta": "Otwórz pulpit" + "returnCta": "Otwórz pulpit", + "learning": "Niektóre wnioski — glukoza, rytm snu, trendy ciśnienia, cykl — wyostrzają się w ciągu pierwszego tygodnia lub dwóch, w miarę gromadzenia danych. Puste kafelki oznaczają teraz tylko, że wciąż poznajemy Twój punkt odniesienia.", + "connectCta": "Połącz urządzenie", + "logCta": "Zapisz pierwszy pomiar", + "importCta": "Importuj istniejącą historię" }, "welcomeBack": { "title": "Witaj ponownie", @@ -3742,9 +3751,9 @@ "medicationTitle": "Dodaj lek", "medicationDescription": "Śledź przestrzeganie i otrzymuj przypomnienia dokładnie wtedy, kiedy ich potrzebujesz.", "medicationCta": "Dodaj lek", - "withingsTitle": "Połącz Withings (opcjonalnie)", - "withingsDescription": "Automatycznie synchronizuj wagę, ciśnienie i tętno z urządzeń Withings.", - "withingsCta": "Połącz", + "dataSourceTitle": "Połącz źródło danych (opcjonalnie)", + "dataSourceDescription": "Automatycznie synchronizuj wagę, ciśnienie, sen i więcej z Withings, WHOOP, Oura, Polar, Nightscout, Fitbit lub Apple Health.", + "dataSourceCta": "Połącz", "notificationsTitle": "Skonfiguruj powiadomienia", "notificationsDescription": "Wybierz, jak HealthLog ma ci przypominać — Telegram, ntfy lub Web Push.", "notificationsCta": "Otwórz powiadomienia" diff --git a/src/components/onboarding/DoneScreen.tsx b/src/components/onboarding/DoneScreen.tsx index ec3bbe864..9b924a123 100644 --- a/src/components/onboarding/DoneScreen.tsx +++ b/src/components/onboarding/DoneScreen.tsx @@ -1,7 +1,7 @@ "use client"; import Link from "next/link"; -import { CheckCircle2 } from "lucide-react"; +import { CheckCircle2, FileUp, PlusCircle, Plug } from "lucide-react"; import { Button } from "@/components/ui/button"; import { useTranslations } from "@/lib/i18n/context"; @@ -46,11 +46,42 @@ export function DoneScreen() {
{t("onboarding.done.body")}
++ {t("onboarding.done.learning")} +
- ++ {t("onboarding.source.more.body")} +
+