This commit is contained in:
2026-07-27 16:42:04 +02:00
parent 45a7704ea6
commit 018b751723
23 changed files with 2327 additions and 635 deletions

View File

@@ -7,49 +7,52 @@ import { useColors } from '../constants/Colors';
type ColorsType = ReturnType<typeof useColors>;
const getCopy = (language: Language, isPro: boolean) => {
// Framing: der Nutzer wollte gerade etwas tun und wurde gestoppt. Der CTA
// bringt die angefangene Aufgabe zu Ende - das Abo ist das Mittel, nicht das
// Angebot. Kein "unbegrenzt": das Pro-Kontingent ist 100 Scans pro Monat.
if (language === 'de') {
return {
title: isPro ? 'Deine Credits sind aufgebraucht' : 'Deine Gratis-Scans sind aufgebraucht',
title: 'Diese Pflanze schauen wir uns noch an.',
body: (date: string) => (isPro
? `Deine Credits erneuern sich am ${date}. Kauf Credits nach, um weiterzuscannen.`
: `Deine 3 Gratis-Scans erneuern sich am ${date}. Hol dir Pro für unbegrenztes Scannen.`),
? `Deine Credits erneuern sich am ${date}. Mit einem Credit-Paket läuft dieser Scan sofort.`
: `Deine 3 Gratis-Scans erneuern sich am ${date}. Mit Pro läuft dieser Scan sofort - plus Ursachen-Ranking, Prüfschritte und dein 7-Tage-Plan.`),
bodyNoDate: isPro
? 'Kauf Credits nach, um weiterzuscannen.'
: 'Hol dir Pro für unbegrenztes Scannen und deinen 7-Tage-Rettungsplan.',
cta: 'Pro-Pläne ansehen',
? 'Mit einem Credit-Paket läuft dieser Scan sofort.'
: 'Mit Pro läuft dieser Scan sofort - plus Ursachen-Ranking, Prüfschritte und dein 7-Tage-Plan.',
cta: isPro ? 'Credits aufladen' : 'Diesen Scan mit Pro starten',
topupsLabel: 'Oder einzelne Credits kaufen',
later: 'Vielleicht später',
later: 'Später',
best: 'BESTE WAHL',
credits: 'Credits',
};
}
if (language === 'es') {
return {
title: isPro ? 'Se acabaron tus créditos' : 'Se acabaron tus escaneos gratis',
title: 'Vamos a mirar esta planta.',
body: (date: string) => (isPro
? `Tus créditos se renuevan el ${date}. Compra créditos para seguir escaneando.`
: `Tus 3 escaneos gratis se renuevan el ${date}. Pásate a Pro para escanear sin límites.`),
? `Tus créditos se renuevan el ${date}. Con un paquete de créditos este escaneo sale ya.`
: `Tus 3 escaneos gratis se renuevan el ${date}. Con Pro este escaneo sale ya - más ranking de causas, pasos de revisión y tu plan de 7 días.`),
bodyNoDate: isPro
? 'Compra créditos para seguir escaneando.'
: 'Pásate a Pro para escanear sin límites.',
cta: 'Ver planes Pro',
? 'Con un paquete de créditos este escaneo sale ya.'
: 'Con Pro este escaneo sale ya - más ranking de causas, pasos de revisión y tu plan de 7 días.',
cta: isPro ? 'Recargar créditos' : 'Hacer este escaneo con Pro',
topupsLabel: 'O compra créditos sueltos',
later: 'Quizás más tarde',
later: 'Más tarde',
best: 'MEJOR OPCIÓN',
credits: 'créditos',
};
}
return {
title: isPro ? "You're out of credits" : "You're out of free scans",
title: "Let's still look at this plant.",
body: (date: string) => (isPro
? `Your credits renew on ${date}. Top up to keep scanning.`
: `Your 3 free scans renew on ${date}. Upgrade to Pro for unlimited scanning.`),
? `Your credits renew on ${date}. With a credit pack this scan runs right now.`
: `Your 3 free scans renew on ${date}. With Pro this scan runs right now - plus a cause ranking, things to check and your 7-day plan.`),
bodyNoDate: isPro
? 'Top up to keep scanning.'
: 'Upgrade to Pro for unlimited scanning.',
cta: 'See Pro Plans',
? 'With a credit pack this scan runs right now.'
: 'With Pro this scan runs right now - plus a cause ranking, things to check and your 7-day plan.',
cta: isPro ? 'Top up credits' : 'Run this scan with Pro',
topupsLabel: 'Or buy single credits',
later: 'Maybe later',
later: 'Later',
best: 'BEST',
credits: 'credits',
};