Add guest analytics consent nudge
Some checks failed
linter / quality (push) Has been cancelled
tests / ci (push) Has been cancelled
tests / ui (push) Has been cancelled

This commit is contained in:
Codex Agent
2026-01-23 16:20:14 +01:00
parent 4bf0d5052c
commit bdb1789a10
7 changed files with 388 additions and 9 deletions

View File

@@ -28,6 +28,14 @@ export const messages: Record<LocaleCode, NestedMessages> = {
loading: 'Lädt...',
},
},
consent: {
analytics: {
title: 'Hilf uns, die App zu verbessern',
body: 'Erlaube anonyme Statistik (Matomo). Du kannst das jederzeit in den Einstellungen ändern.',
allow: 'Erlauben',
later: 'Nicht jetzt',
},
},
navigation: {
home: 'Start',
tasks: 'Aufgaben',
@@ -700,6 +708,12 @@ export const messages: Record<LocaleCode, NestedMessages> = {
label: 'Vibrationen aktivieren',
unsupported: 'Auf diesem Gerät nicht verfügbar.',
},
analytics: {
title: 'Anonyme Statistik',
description: 'Hilft uns, die Guest-App zu verbessern (Matomo, ohne Tracking-Cookies).',
label: 'Statistik zulassen',
note: 'Du kannst deine Entscheidung jederzeit hier ändern.',
},
legal: {
title: 'Rechtliches',
description: 'Die rechtlich verbindlichen Texte sind jederzeit hier abrufbar.',
@@ -772,6 +786,14 @@ export const messages: Record<LocaleCode, NestedMessages> = {
loading: 'Loading...',
},
},
consent: {
analytics: {
title: 'Help us improve the app',
body: 'Allow anonymous analytics (Matomo). You can change this anytime in settings.',
allow: 'Allow',
later: 'Not now',
},
},
navigation: {
home: 'Home',
tasks: 'Tasks',
@@ -1441,6 +1463,12 @@ export const messages: Record<LocaleCode, NestedMessages> = {
label: 'Enable vibrations',
unsupported: 'Not available on this device.',
},
analytics: {
title: 'Anonymous analytics',
description: 'Helps us improve the Guest app (Matomo, no tracking cookies).',
label: 'Allow analytics',
note: 'You can change this anytime here.',
},
legal: {
title: 'Legal',
description: 'The legally binding documents are always available here.',