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

Use I18n helper to tranform label correclty

Henriette Dargecd18a7f5c191
diff --git a/app/helpers/types_helper.rb b/app/helpers/types_helper.rb
index 2009c4e35aa..16513a1a6bb 100644
--- a/app/helpers/types_helper.rb
+++ b/app/helpers/types_helper.rb
@@ -47,7 +47,7 @@ module ::TypesHelper
{
name: "subject_configuration",
path: edit_tab_type_path(id: @type.id, tab: :subject_configuration),
- label: "types.edit.subject_configuration.tab",
+ label: I18n.t("types.edit.subject_configuration.tab"),
view_component: WorkPackages::Types::SubjectConfigurationComponent,
enterprise_feature: :work_package_subject_generation
},