Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Update confirmation message for one-time delete

Alexander Brandon Colesdd35d13aa328
diff --git a/modules/meeting/config/locales/en.yml b/modules/meeting/config/locales/en.yml
index 31fe68ead9f..b86bf456d0a 100644
--- a/modules/meeting/config/locales/en.yml
+++ b/modules/meeting/config/locales/en.yml
@@ -220,7 +220,7 @@ en:
title: "Delete meeting"
heading: "Delete this meeting?"
confirmation_message_html: >
- Do you want to continue?
+ This action is not reversible. Please proceed with caution.
occurrence:
title: "Delete meeting occurrence"
heading: "Delete this meeting occurrence?"
diff --git a/modules/meeting/spec/components/meetings/delete_dialog_component_spec.rb b/modules/meeting/spec/components/meetings/delete_dialog_component_spec.rb
index 0f37640dd70..5bb67d6c755 100644
--- a/modules/meeting/spec/components/meetings/delete_dialog_component_spec.rb
+++ b/modules/meeting/spec/components/meetings/delete_dialog_component_spec.rb
@@ -73,7 +73,7 @@ RSpec.describe Meetings::DeleteDialogComponent, type: :component do
end
it "shows a simple confirmation message" do
- expect(subject).to have_text "Do you want to continue?"
+ expect(subject).to have_text "This action is not reversible. Please proceed with caution."
end
end