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

Rename confirmation message interpolation var

Alexander Brandon Colese2395cfbb19e
diff --git a/modules/meeting/app/components/meetings/delete_dialog_component.rb b/modules/meeting/app/components/meetings/delete_dialog_component.rb
index d78eb65da65..935a19c0680 100644
--- a/modules/meeting/app/components/meetings/delete_dialog_component.rb
+++ b/modules/meeting/app/components/meetings/delete_dialog_component.rb
@@ -64,7 +64,7 @@ module Meetings
def confirmation_message
if recurring_meeting.present?
- t("meeting.delete_dialog.occurrence.confirmation_message_html", name: recurring_meeting.title)
+ t("meeting.delete_dialog.occurrence.confirmation_message_html", title: recurring_meeting.title)
else
t("meeting.delete_dialog.one_time.confirmation_message_html")
end
diff --git a/modules/meeting/config/locales/en.yml b/modules/meeting/config/locales/en.yml
index b86bf456d0a..0add916e561 100644
--- a/modules/meeting/config/locales/en.yml
+++ b/modules/meeting/config/locales/en.yml
@@ -225,7 +225,7 @@ en:
title: "Delete meeting occurrence"
heading: "Delete this meeting occurrence?"
confirmation_message_html: >
- This meeting is part of a series called <strong>%{name}</strong>.
+ This meeting is part of a series called <strong>%{title}</strong>.
This will only delete this particular occurrence and not the entire series.
Do you want to continue?