Update tasks toggle copy
This commit is contained in:
@@ -2071,8 +2071,8 @@
|
|||||||
"disabledTitle": "Task-Modus ist für dieses Event aus",
|
"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.",
|
"disabledBody": "Gäste sehen nur den Fotofeed. Aktiviere Tasks in den Event-Einstellungen, um sie wieder anzuzeigen.",
|
||||||
"toggle": {
|
"toggle": {
|
||||||
"title": "1. Aufgaben aktivieren",
|
"title": "Aufgaben für dieses Event",
|
||||||
"description": "Aktiviere Aufgaben, damit Gäste Challenges und Hinweise in der App sehen.",
|
"description": "Gib Gästen optionale Foto-Ideen und kleine Challenges.",
|
||||||
"active": "AKTIV",
|
"active": "AKTIV",
|
||||||
"inactive": "INAKTIV",
|
"inactive": "INAKTIV",
|
||||||
"onLabel": "Gäste sehen Aufgaben-Prompts",
|
"onLabel": "Gäste sehen Aufgaben-Prompts",
|
||||||
@@ -2733,6 +2733,18 @@
|
|||||||
"tasks": {
|
"tasks": {
|
||||||
"disabledTitle": "Task-Modus ist für dieses Event aus",
|
"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.",
|
"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",
|
"title": "Tasks & Checklisten",
|
||||||
"quickNav": "Schnellzugriff",
|
"quickNav": "Schnellzugriff",
|
||||||
"sections": {
|
"sections": {
|
||||||
|
|||||||
@@ -2075,8 +2075,8 @@
|
|||||||
"disabledTitle": "Task mode is off for this event",
|
"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.",
|
"disabledBody": "Guests only see the photo feed. Enable tasks in the event settings to show them again.",
|
||||||
"toggle": {
|
"toggle": {
|
||||||
"title": "1. Activate tasks",
|
"title": "Tasks for this event",
|
||||||
"description": "Enable tasks so guests see challenges and prompts in the app.",
|
"description": "Give guests optional prompts and photo ideas.",
|
||||||
"active": "ACTIVE",
|
"active": "ACTIVE",
|
||||||
"inactive": "INACTIVE",
|
"inactive": "INACTIVE",
|
||||||
"onLabel": "Guests see task prompts",
|
"onLabel": "Guests see task prompts",
|
||||||
@@ -2737,6 +2737,18 @@
|
|||||||
"tasks": {
|
"tasks": {
|
||||||
"disabledTitle": "Task mode is off for this event",
|
"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.",
|
"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",
|
"title": "Tasks & checklists",
|
||||||
"quickNav": "Quick jump",
|
"quickNav": "Quick jump",
|
||||||
"sections": {
|
"sections": {
|
||||||
|
|||||||
@@ -656,12 +656,12 @@ export default function MobileEventTasksPage() {
|
|||||||
<MobileCard space="$3">
|
<MobileCard space="$3">
|
||||||
<YStack space="$1">
|
<YStack space="$1">
|
||||||
<Text fontSize="$sm" fontWeight="800" color={text}>
|
<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>
|
||||||
<Text fontSize="$xs" color={muted}>
|
<Text fontSize="$xs" color={muted}>
|
||||||
{t(
|
{t(
|
||||||
'events.tasks.toggle.description',
|
'events.tasks.toggle.description',
|
||||||
'Enable tasks so guests see challenges and prompts in the app.'
|
'Give guests optional prompts and photo ideas.'
|
||||||
)}
|
)}
|
||||||
</Text>
|
</Text>
|
||||||
</YStack>
|
</YStack>
|
||||||
|
|||||||
@@ -228,7 +228,7 @@ describe('MobileEventTasksPage', () => {
|
|||||||
it('renders the task overview summary and quick jump chips', async () => {
|
it('renders the task overview summary and quick jump chips', async () => {
|
||||||
render(<MobileEventTasksPage />);
|
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(await screen.findByText('Task overview')).toBeInTheDocument();
|
||||||
expect(screen.getByText('Tasks total')).toBeInTheDocument();
|
expect(screen.getByText('Tasks total')).toBeInTheDocument();
|
||||||
expect(screen.getByText('Quick jump')).toBeInTheDocument();
|
expect(screen.getByText('Quick jump')).toBeInTheDocument();
|
||||||
|
|||||||
Reference in New Issue
Block a user