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

change header Advanced settings to Interface colours

Behrokh Satarnejad6edaaddb9fa7
diff --git a/app/views/custom_styles/show.html.erb b/app/views/custom_styles/show.html.erb
index ce9096a678d..cecbc4e7923 100644
--- a/app/views/custom_styles/show.html.erb
+++ b/app/views/custom_styles/show.html.erb
@@ -54,7 +54,7 @@ See COPYRIGHT and LICENSE files for more details.
<%= form_tag update_design_colors_path, method: :post, class: "form" do %>
<section class="form--section">
<fieldset class="form--fieldset">
- <legend class="form--fieldset-legend"><%= I18n.t(:label_advanced_settings) %></legend>
+ <legend class="form--fieldset-legend"><%= I18n.t(:label_interface_colours) %></legend>
<% DesignColor.setables.each do |design_color| %>
<div class="form--field -required">
<label class="form--label"><%= I18n.t("admin.custom_styles.colors.#{design_color.variable}") %>:</label>
diff --git a/config/locales/en.yml b/config/locales/en.yml
index 509a7bda599..044c6ccb281 100644
--- a/config/locales/en.yml
+++ b/config/locales/en.yml
@@ -2034,7 +2034,7 @@ en:
label_additional_workflow_transitions_for_assignee: "Additional transitions allowed when the user is the assignee"
label_additional_workflow_transitions_for_author: "Additional transitions allowed when the user is the author"
label_administration: "Administration"
- label_advanced_settings: "Advanced settings"
+ label_interface_colours: "Interface colours"
label_age: "Age"
label_ago: "days ago"
label_all: "all"
diff --git a/spec/views/custom_styles/show.html.erb_spec.rb b/spec/views/custom_styles/show.html.erb_spec.rb
index 883fa19f3bb..ad071476c82 100644
--- a/spec/views/custom_styles/show.html.erb_spec.rb
+++ b/spec/views/custom_styles/show.html.erb_spec.rb
@@ -50,7 +50,7 @@ RSpec.describe "custom_styles/show" do
expect(rendered).not_to include "Replace"
end
it "shows advanced settings" do
- expect(rendered).to have_text I18n.t(:label_advanced_settings)
+ expect(rendered).to have_text I18n.t(:label_interface_colours)
end
end
end