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

[#55275] New section option not i18n-ed

Dombi Attila6faff528ef0b
diff --git a/config/locales/en.yml b/config/locales/en.yml
index c8464316082..202bba80efd 100644
--- a/config/locales/en.yml
+++ b/config/locales/en.yml
@@ -1171,6 +1171,7 @@ Project attributes and sections are defined in the <a href=%{admin_settings_url}
global_role: "Global role"
group: "Group"
member: "Member"
+ meeting_section: "Section"
news: "News"
notification:
one: "Notification"
diff --git a/modules/meeting/app/components/meeting_agenda_items/new_button_component.html.erb b/modules/meeting/app/components/meeting_agenda_items/new_button_component.html.erb
index f950248b5fc..1218d656e05 100644
--- a/modules/meeting/app/components/meeting_agenda_items/new_button_component.html.erb
+++ b/modules/meeting/app/components/meeting_agenda_items/new_button_component.html.erb
@@ -23,7 +23,7 @@
)
unless @meeting_section
component.with_item(
- label: "Section",
+ label: t("activerecord.models.meeting_section", count: 1),
tag: :a,
content_arguments: {
href: meeting_sections_path(@meeting),