diff --git a/lib/feature/delivery/bloc/tour_bloc.dart b/lib/feature/delivery/bloc/tour_bloc.dart index 4cb9baa..cdfc9b8 100644 --- a/lib/feature/delivery/bloc/tour_bloc.dart +++ b/lib/feature/delivery/bloc/tour_bloc.dart @@ -831,7 +831,7 @@ class TourBloc extends Bloc { ), )); - opBloc.add(StartOperation(message: 'Service wird gespeichert …')); + opBloc.add(StartOperation(message: 'Checkliste-Eintrag wird gespeichert …')); try { final result = await tourRepository.setDeliveryService( deliveryId: event.deliveryId, @@ -851,7 +851,7 @@ class TourBloc extends Bloc { ), )); } - opBloc.add(FinishOperation(message: 'Service gespeichert')); + opBloc.add(FinishOperation(message: 'Checkliste-Eintrag gespeichert')); } catch (e, st) { debugPrint('TourBloc.SetDeliveryServiceValue fehlgeschlagen: $e\n$st'); final latest = state; @@ -866,7 +866,7 @@ class TourBloc extends Bloc { )); } opBloc.add(FailOperation( - message: _messageOf(e, 'Service konnte nicht gespeichert werden'), + message: _messageOf(e, 'Checkliste-Eintrag konnte nicht gespeichert werden'), )); } } @@ -891,13 +891,13 @@ class TourBloc extends Bloc { ), )); - opBloc.add(StartOperation(message: 'Service wird entfernt …')); + opBloc.add(StartOperation(message: 'Checkliste-Eintrag wird entfernt …')); try { await tourRepository.removeDeliveryService( deliveryId: event.deliveryId, serviceId: event.serviceId, ); - opBloc.add(FinishOperation(message: 'Service entfernt')); + opBloc.add(FinishOperation(message: 'Checkliste-Eintrag entfernt')); } catch (e, st) { debugPrint('TourBloc.RemoveDeliveryServiceValue fehlgeschlagen: $e\n$st'); final latest = state; @@ -912,7 +912,7 @@ class TourBloc extends Bloc { )); } opBloc.add(FailOperation( - message: _messageOf(e, 'Service konnte nicht entfernt werden'), + message: _messageOf(e, 'Checkliste-Eintrag konnte nicht entfernt werden'), )); } } diff --git a/lib/feature/delivery/detail/bloc/workflow_state.dart b/lib/feature/delivery/detail/bloc/workflow_state.dart index 7c490a3..5c175b5 100644 --- a/lib/feature/delivery/detail/bloc/workflow_state.dart +++ b/lib/feature/delivery/detail/bloc/workflow_state.dart @@ -14,7 +14,7 @@ extension WorkflowStepX on WorkflowStep { WorkflowStep.info => 'Info', WorkflowStep.notes => 'Notizen', WorkflowStep.articles => 'Artikel & Gutschriften', - WorkflowStep.services => 'Services', + WorkflowStep.services => 'Checkliste', WorkflowStep.summary => 'Übersicht', }; @@ -23,7 +23,7 @@ extension WorkflowStepX on WorkflowStep { WorkflowStep.info => 'Info', WorkflowStep.notes => 'Notizen', WorkflowStep.articles => 'Artikel', - WorkflowStep.services => 'Services', + WorkflowStep.services => 'Checkliste', WorkflowStep.summary => 'Übersicht', }; } diff --git a/lib/feature/delivery/detail/presentation/steps/step_services.dart b/lib/feature/delivery/detail/presentation/steps/step_services.dart index cb2c122..a28e643 100644 --- a/lib/feature/delivery/detail/presentation/steps/step_services.dart +++ b/lib/feature/delivery/detail/presentation/steps/step_services.dart @@ -57,11 +57,11 @@ class StepServices extends StatelessWidget { Icon(Icons.construction_outlined, size: 56, color: theme.colorScheme.onSurfaceVariant), const SizedBox(height: 12), - Text('Keine Services konfiguriert', + Text('Keine Checkliste konfiguriert', style: theme.textTheme.titleMedium), const SizedBox(height: 4), Text( - 'Ein Administrator kann Services anlegen.', + 'Ein Administrator kann eine Checkliste anlegen.', style: theme.textTheme.bodySmall?.copyWith( color: theme.colorScheme.onSurfaceVariant, ),