From 6d3f4f36e8cca31313a009e0ea0ab34d5daca619 Mon Sep 17 00:00:00 2001 From: Codex Agent Date: Fri, 16 Jan 2026 15:06:48 +0100 Subject: [PATCH] Update tasks toggle copy --- .../js/admin/i18n/locales/de/management.json | 16 ++++++++++++++-- .../js/admin/i18n/locales/en/management.json | 16 ++++++++++++++-- resources/js/admin/mobile/EventTasksPage.tsx | 4 ++-- .../mobile/__tests__/EventTasksPage.test.tsx | 2 +- 4 files changed, 31 insertions(+), 7 deletions(-) diff --git a/resources/js/admin/i18n/locales/de/management.json b/resources/js/admin/i18n/locales/de/management.json index bd41e0f..741628d 100644 --- a/resources/js/admin/i18n/locales/de/management.json +++ b/resources/js/admin/i18n/locales/de/management.json @@ -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": { diff --git a/resources/js/admin/i18n/locales/en/management.json b/resources/js/admin/i18n/locales/en/management.json index f8d9157..71fba36 100644 --- a/resources/js/admin/i18n/locales/en/management.json +++ b/resources/js/admin/i18n/locales/en/management.json @@ -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": { diff --git a/resources/js/admin/mobile/EventTasksPage.tsx b/resources/js/admin/mobile/EventTasksPage.tsx index 9a9375b..1c45b52 100644 --- a/resources/js/admin/mobile/EventTasksPage.tsx +++ b/resources/js/admin/mobile/EventTasksPage.tsx @@ -656,12 +656,12 @@ export default function MobileEventTasksPage() { - {t('events.tasks.toggle.title', '1. Activate tasks')} + {t('events.tasks.toggle.title', 'Tasks for this event')} {t( 'events.tasks.toggle.description', - 'Enable tasks so guests see challenges and prompts in the app.' + 'Give guests optional prompts and photo ideas.' )} diff --git a/resources/js/admin/mobile/__tests__/EventTasksPage.test.tsx b/resources/js/admin/mobile/__tests__/EventTasksPage.test.tsx index baed899..0c65d73 100644 --- a/resources/js/admin/mobile/__tests__/EventTasksPage.test.tsx +++ b/resources/js/admin/mobile/__tests__/EventTasksPage.test.tsx @@ -228,7 +228,7 @@ describe('MobileEventTasksPage', () => { it('renders the task overview summary and quick jump chips', async () => { render(); - 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();