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
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Link and add missing i18n for relation component.
Eric Guoaf629382635a
diff --git a/app/components/work_package_relations_tab/relation_component.html.erb b/app/components/work_package_relations_tab/relation_component.html.erbindex b4cdd78822b..9f6f59e9d4e 100644--- a/app/components/work_package_relations_tab/relation_component.html.erb+++ b/app/components/work_package_relations_tab/relation_component.html.erb@@ -14,7 +14,7 @@ flex_layout do |flex|ml: 2)if should_render_edit_option?- menu.with_item(label: "Edit relation",+ menu.with_item(label: I18n.t(:label_relation_edit),href: edit_path,test_selector: edit_button_test_selector,content_arguments: {@@ -24,7 +24,7 @@ flex_layout do |flex|endend- menu.with_item(label: "Delete relation",+ menu.with_item(label: I18n.t(:label_relation_delete),scheme: :danger,href: destroy_path,form_arguments: {diff --git a/config/locales/en.yml b/config/locales/en.ymlindex 4d696f53286..09406cfd8ef 100644--- a/config/locales/en.yml+++ b/config/locales/en.yml@@ -2751,6 +2751,7 @@ en:label_relation: "Relation"label_relation_actions: "Relation actions"label_relation_delete: "Delete relation"+ label_relation_edit: "Edit relation"label_relation_new: "New relation"label_release_notes: "Release notes"label_remaining_work: "Remaining work"