Skip to content

Commit

Permalink
Add new strings for deleting reservations
Browse files Browse the repository at this point in the history
Used for the response text in the modal after deletion
  • Loading branch information
spaceo committed Nov 23, 2023
1 parent 0636c1e commit 3099fc4
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions web/modules/custom/dpl_react_apps/dpl_react_apps.module
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,13 @@ function dpl_react_apps_dpl_react_apps_data(array &$data): void {
$data['texts'] += [
'alert-error-close' => t('Close', [], ['context' => 'React apps (Global error handling)']),
'alert-error-message' => t('An error occurred', [], ['context' => 'React apps (Global error handling)']),
'delete-reservation-modal-button-text' => t('Cancel', [], ['context' => 'Delete reservation modal']),
'delete-reservation-modal-delete-button-text' => t('Delete', [], ['context' => 'Delete reservation modal']),
'delete-reservation-modal-delete-processing-text' => t('Processing...', [], ['context' => 'Delete reservation modal']),
'delete-reservation-modal-errors-status-text' => t('Something went wrong deleting your reservation. Please try again.', [], ['context' => 'Delete reservation modal']),
'delete-reservation-modal-errors-title-text' => t('Deleting your reservation failed', [], ['context' => 'Delete reservation modal']),
'delete-reservation-modal-success-status-text' => t('1 reservation was deleted.', [], ['context' => 'Delete reservation modal']),
'delete-reservation-modal-success-title-text' => t('You have deleted your reservation', [], ['context' => 'Delete reservation modal']),
];

$data['urls'] += [
Expand Down

0 comments on commit 3099fc4

Please sign in to comment.