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

Rework `timelines.enable_type_in_project`

Aaron Contreras03c011260d95
diff --git a/app/views/projects/settings/types/_form.html.erb b/app/views/projects/settings/types/_form.html.erb
index 902e2265de8..98e8993e41a 100644
--- a/app/views/projects/settings/types/_form.html.erb
+++ b/app/views/projects/settings/types/_form.html.erb
@@ -83,7 +83,7 @@ See COPYRIGHT and LICENSE files for more details.
<tr>
<td class='center'>
<% type_id = "project_planning_element_type_ids_#{type.id}" %>
- <%= label_tag type_id, t('timelines.enable_type_in_project', type: type.name), class: 'hidden-for-sighted' %>
+ <%= label_tag type_id, t('.enable_type_in_project', type: type.name), class: 'hidden-for-sighted' %>
<%= check_box_tag "project[type_ids][]",
type.id,
projects_types_id.include?(type.id),
diff --git a/config/locales/en.yml b/config/locales/en.yml
index d379f4a4aa4..1524c32b010 100644
--- a/config/locales/en.yml
+++ b/config/locales/en.yml
@@ -288,6 +288,8 @@ en:
no_results_title_text: There are currently no custom fields available.
types:
no_results_title_text: There are currently no types available.
+ form:
+ enable_type_in_project: 'Enable type "%{type}"'
versions:
no_results_title_text: There are currently no versions for the project.
no_results_content_text: Create a new version
@@ -2952,8 +2954,6 @@ en:
start: "from"
timelines:
- enable_type_in_project: 'Enable type "%{type}"'
-
properties: "Properties"
really_delete_color: >
Are you sure, you want to delete the following color?