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

Fix untranslated end_date label

Oliver Günthere78d10d94edd
diff --git a/modules/meeting/app/forms/recurring_meeting/specific_date.rb b/modules/meeting/app/forms/recurring_meeting/specific_date.rb
index fb4af76f97d..e7d87538f7b 100644
--- a/modules/meeting/app/forms/recurring_meeting/specific_date.rb
+++ b/modules/meeting/app/forms/recurring_meeting/specific_date.rb
@@ -33,8 +33,7 @@ class RecurringMeeting::SpecificDate < ApplicationForm
name: :end_date,
type: "date",
value: @value,
- placeholder: Meeting.human_attribute_name(:end_date),
- label: Meeting.human_attribute_name(:end_date),
+ label: I18n.t("activerecord.attributes.recurring_meeting.end_date"),
required: false,
autofocus: false
)
diff --git a/modules/meeting/config/locales/en.yml b/modules/meeting/config/locales/en.yml
index f6f34cfc7b1..b9c515ef2f4 100644
--- a/modules/meeting/config/locales/en.yml
+++ b/modules/meeting/config/locales/en.yml
@@ -68,6 +68,7 @@ en:
start_time: "Start time"
start_time_hour: "Start time"
end_after: "Meeting series ends"
+ end_date: "End date"
iterations: "Occurrences"
errors:
messages: