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.really_delete_color`

Aaron Contreras1b9dde4b7239
diff --git a/app/views/colors/confirm_destroy.html.erb b/app/views/colors/confirm_destroy.html.erb
index ee054152433..9c3c35fd6c9 100644
--- a/app/views/colors/confirm_destroy.html.erb
+++ b/app/views/colors/confirm_destroy.html.erb
@@ -33,7 +33,7 @@ See COPYRIGHT and LICENSE files for more details.
as: :color do |f| %>
<div class='flash warning'>
- <%= t('timelines.really_delete_color') %>
+ <%= t('colors.label_really_delete_color') %>
<span class="close-handler" role="button" tabindex="0" aria-label="{{ ::I18n.t('js.close_popup_title') }}">
<%= op_icon('icon-close') %>
</span>
diff --git a/config/locales/en.yml b/config/locales/en.yml
index e80dc30ebf5..bf7b8c625d7 100644
--- a/config/locales/en.yml
+++ b/config/locales/en.yml
@@ -199,6 +199,9 @@ en:
label_edit_color: "Edit color"
label_no_color: "No color"
label_properties: "Properties"
+ label_really_delete_color: >
+ Are you sure, you want to delete the following color?
+ Types using this color will not be deleted.
custom_actions:
actions:
@@ -2955,9 +2958,6 @@ en:
start: "from"
timelines:
- really_delete_color: >
- Are you sure, you want to delete the following color?
- Types using this color will not be deleted.
title_remove_and_delete_user: Remove the invited user from the project and delete him/her.
title_enterprise_upgrade: "Upgrade to unlock more users."