Update tasks toggle copy

This commit is contained in:
Codex Agent
2026-01-16 15:06:48 +01:00
parent 9e4ea3dafb
commit 6d3f4f36e8
4 changed files with 31 additions and 7 deletions

View File

@@ -2071,8 +2071,8 @@
"disabledTitle": "Task-Modus ist für dieses Event aus",
"disabledBody": "Gäste sehen nur den Fotofeed. Aktiviere Tasks in den Event-Einstellungen, um sie wieder anzuzeigen.",
"toggle": {
"title": "1. Aufgaben aktivieren",
"description": "Aktiviere Aufgaben, damit Gäste Challenges und Hinweise in der App sehen.",
"title": "Aufgaben für dieses Event",
"description": "Gib Gästen optionale Foto-Ideen und kleine Challenges.",
"active": "AKTIV",
"inactive": "INAKTIV",
"onLabel": "Gäste sehen Aufgaben-Prompts",
@@ -2733,6 +2733,18 @@
"tasks": {
"disabledTitle": "Task-Modus ist für dieses Event aus",
"disabledBody": "Gäste sehen nur den Fotofeed. Aktiviere Tasks in den Event-Einstellungen, um sie wieder anzuzeigen.",
"toggle": {
"title": "Aufgaben für dieses Event",
"description": "Gib Gästen optionale Foto-Ideen und kleine Challenges.",
"active": "AKTIV",
"inactive": "INAKTIV",
"onLabel": "Gäste sehen Aufgaben-Prompts",
"offLabel": "Gäste sehen nur Fotos",
"switchLabel": "Aufgaben aktiv",
"enabled": "Aufgaben aktiviert",
"disabled": "Aufgaben deaktiviert",
"permissionHint": "Du hast keine Berechtigung, Aufgaben zu ändern."
},
"title": "Tasks & Checklisten",
"quickNav": "Schnellzugriff",
"sections": {

View File

@@ -2075,8 +2075,8 @@
"disabledTitle": "Task mode is off for this event",
"disabledBody": "Guests only see the photo feed. Enable tasks in the event settings to show them again.",
"toggle": {
"title": "1. Activate tasks",
"description": "Enable tasks so guests see challenges and prompts in the app.",
"title": "Tasks for this event",
"description": "Give guests optional prompts and photo ideas.",
"active": "ACTIVE",
"inactive": "INACTIVE",
"onLabel": "Guests see task prompts",
@@ -2737,6 +2737,18 @@
"tasks": {
"disabledTitle": "Task mode is off for this event",
"disabledBody": "Guests only see the photo feed. Enable tasks in the event settings to show them again.",
"toggle": {
"title": "Tasks for this event",
"description": "Give guests optional prompts and photo ideas.",
"active": "ACTIVE",
"inactive": "INACTIVE",
"onLabel": "Guests see task prompts",
"offLabel": "Guest app shows photos only",
"switchLabel": "Tasks enabled",
"enabled": "Tasks activated",
"disabled": "Tasks disabled",
"permissionHint": "You do not have permission to change tasks."
},
"title": "Tasks & checklists",
"quickNav": "Quick jump",
"sections": {

View File

@@ -656,12 +656,12 @@ export default function MobileEventTasksPage() {
<MobileCard space="$3">
<YStack space="$1">
<Text fontSize="$sm" fontWeight="800" color={text}>
{t('events.tasks.toggle.title', '1. Activate tasks')}
{t('events.tasks.toggle.title', 'Tasks for this event')}
</Text>
<Text fontSize="$xs" color={muted}>
{t(
'events.tasks.toggle.description',
'Enable tasks so guests see challenges and prompts in the app.'
'Give guests optional prompts and photo ideas.'
)}
</Text>
</YStack>

View File

@@ -228,7 +228,7 @@ describe('MobileEventTasksPage', () => {
it('renders the task overview summary and quick jump chips', async () => {
render(<MobileEventTasksPage />);
expect(await screen.findByText('1. Activate tasks')).toBeInTheDocument();
expect(await screen.findByText('Tasks for this event')).toBeInTheDocument();
expect(await screen.findByText('Task overview')).toBeInTheDocument();
expect(screen.getByText('Tasks total')).toBeInTheDocument();
expect(screen.getByText('Quick jump')).toBeInTheDocument();