From b1c8d03ee7905d4e669e30f13fc0baa696cab1ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Jou=C3=9Fen?= Date: Mon, 2 Nov 2026 17:00:13 +0100 Subject: [PATCH] BookingPool: Fix Booking Delete Confirmation See: https://mantis.ilias.de/view.php?id=48614 The bookings table reused book_confirm_delete. That sentence warns that the bookable item and its time slots will be deleted. Deleting a booking removes only the reservation. The dialog now uses book_confirm_delete_booking. --- .../src/Booking/Table/Action/BookingsTableDeleteAction.php | 2 +- lang/ilias_de.lang | 1 + lang/ilias_en.lang | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/components/ILIAS/BookingManager/src/Booking/Table/Action/BookingsTableDeleteAction.php b/components/ILIAS/BookingManager/src/Booking/Table/Action/BookingsTableDeleteAction.php index 2c9314e95f89..23d4241c5b9e 100644 --- a/components/ILIAS/BookingManager/src/Booking/Table/Action/BookingsTableDeleteAction.php +++ b/components/ILIAS/BookingManager/src/Booking/Table/Action/BookingsTableDeleteAction.php @@ -109,7 +109,7 @@ protected function getModal( ): ?Modal { return $this->ui_factory->modal()->interruptive( $this->lng->txt('confirm'), - $this->lng->txt('book_confirm_delete'), + $this->lng->txt('book_confirm_delete_booking'), $url_builder->buildURI()->__toString() )->withAffectedItems( array_map( diff --git a/lang/ilias_de.lang b/lang/ilias_de.lang index 0e9dd477897e..d918948f1fcd 100644 --- a/lang/ilias_de.lang +++ b/lang/ilias_de.lang @@ -2576,6 +2576,7 @@ book#:#book_confirm_cancel#:#Sind Sie sicher, dass Sie die folgenden Buchungen s book#:#book_confirm_cancel_aggregation#:#Anzahl Stornierungen book#:#book_confirm_cancel_info#:#Die ausgewählten Buchungen werden storniert. book#:#book_confirm_delete#:#Sind Sie sicher, dass Sie die folgenden Angebote löschen wollen inklusive aller zugehörigen Zeitfenster? Dabei werden auch alle zugehörigen Buchungen gelöscht. +book#:#book_confirm_delete_booking#:#Sind Sie sicher, dass Sie die folgenden Buchungen löschen möchten?###02 11 2026 new variable book#:#book_confirm_remove_participant#:#Sind Sie sicher, dass Sie die folgende(n) Teilnehmer entfernen wollen? Dabei werden alle zugehörigen Buchungen gelöscht. book#:#book_copy#:#Buchungspool kopieren book#:#book_create_objects#:#Angebote erstellen diff --git a/lang/ilias_en.lang b/lang/ilias_en.lang index 5a71b7fe66df..66d28bcafecc 100644 --- a/lang/ilias_en.lang +++ b/lang/ilias_en.lang @@ -2577,6 +2577,7 @@ book#:#book_confirm_cancel#:#Are you sure you want to cancel the following booki book#:#book_confirm_cancel_aggregation#:#Number of Cancellations book#:#book_confirm_cancel_info#:#The selected bookings will be cancelled. book#:#book_confirm_delete#:#Are you sure you want to delete the following items including all related time slots? This will also delete all related Bookings. +book#:#book_confirm_delete_booking#:#Are you sure you want to delete the following booking(s)?###02 11 2026 new variable book#:#book_confirm_remove_participant#:#Are you sure you want to remove the following Participant(s)? This will delete all related Bookings. book#:#book_copy#:#Copy Booking Pool book#:#book_create_objects#:#Create Items