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
[#56605] Project attributes: Rename "Deactivate in project" to "Remove from project" (#16553)
Kabiru Mwenja7c9b9c83e193
diff --git a/app/components/settings/project_custom_fields/project_custom_field_mapping/row_component.rb b/app/components/settings/project_custom_fields/project_custom_field_mapping/row_component.rbindex a02c28570b2..0a4a86a2d3a 100644--- a/app/components/settings/project_custom_fields/project_custom_field_mapping/row_component.rb+++ b/app/components/settings/project_custom_fields/project_custom_field_mapping/row_component.rb@@ -48,7 +48,7 @@ module Settings{scheme: :default,icon: nil,- label: I18n.t("projects.settings.project_custom_fields.actions.deactivate_for_project"),+ label: I18n.t("projects.settings.project_custom_fields.actions.remove_from_project"),href: unlink_admin_settings_project_custom_field_path(id: @table.params[:custom_field].id,project_custom_field_project_mapping: { project_id: project.id }diff --git a/config/locales/en.yml b/config/locales/en.ymlindex d0d10725d37..93b889d8872 100644--- a/config/locales/en.yml+++ b/config/locales/en.yml@@ -334,7 +334,7 @@ en:actions:label_enable_single: "Active in this project, click to disable"label_disable_single: "Inactive in this project, click to enable"- deactivate_for_project: "Deactivate for this project"+ remove_from_project: "Remove from project"label_enable_all: "Enable all"label_disable_all: "Disable all"is_required_blank_slate:diff --git a/spec/features/admin/project_custom_fields/project_mappings_spec.rb b/spec/features/admin/project_custom_fields/project_mappings_spec.rbindex a31eb04e83b..a5bb3bf0bb0 100644--- a/spec/features/admin/project_custom_fields/project_mappings_spec.rb+++ b/spec/features/admin/project_custom_fields/project_mappings_spec.rb@@ -137,7 +137,7 @@ RSpec.describe "Project Custom Field Mappings", :js dovisit project_mappings_admin_settings_project_custom_field_path(project_custom_field)- project_custom_field_mappings_page.click_menu_item_of("Deactivate for this project", project)+ project_custom_field_mappings_page.click_menu_item_of("Remove from project", project)expect(page).to have_no_text(project.name)