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

fixed translation for section edit action

Jonas Jabari2184c2a535a4
diff --git a/app/components/settings/project_custom_field_sections/show_component.rb b/app/components/settings/project_custom_field_sections/show_component.rb
index 8001d6e75b2..00aa9ddfaa4 100644
--- a/app/components/settings/project_custom_field_sections/show_component.rb
+++ b/app/components/settings/project_custom_field_sections/show_component.rb
@@ -97,7 +97,7 @@ module Settings
end
def edit_action_item(menu)
- menu.with_item(label: t("text_edit"),
+ menu.with_item(label: t("settings.project_attributes.label_edit_section"),
tag: :button,
content_arguments: { 'data-show-dialog-id': "project-custom-field-section-dialog#{@project_custom_field_section.id}" },
value: "") do |item|
diff --git a/config/locales/en.yml b/config/locales/en.yml
index e84bba3711c..ee446f332d9 100644
--- a/config/locales/en.yml
+++ b/config/locales/en.yml
@@ -2960,6 +2960,7 @@ Project attributes and sections are defined in the <a href=%{admin_settings_url}
heading: "Project attributes"
label_new_attribute: "Project attribute"
label_new_section: "Section"
+ label_edit_section: "Edit title"
label_section_actions: "Section actions"
heading_description: "These project attributes appear in the project overview of each project. You can add new attributes and group them into sections. Individual attributes can be enabled or disabled at a project level."
label_project_custom_field_actions: "Project attribute actions"