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 the select field lable for dark mode and add some hints below field

Behrokh Satarnejadac6c676fb915
diff --git a/app/views/users/_preferences.html.erb b/app/views/users/_preferences.html.erb
index cd3a4cff935..315a43fab43 100644
--- a/app/views/users/_preferences.html.erb
+++ b/app/views/users/_preferences.html.erb
@@ -35,6 +35,9 @@ See COPYRIGHT and LICENSE files for more details.
%>
<div class="form--field">
<%= pref_fields.select :theme, theme_options_for_select, container_class: '-middle' %>
+ <div class="form--field-instructions">
+ <%= I18n.t("activerecord.attributes.user_preference.mode_guideline") %>
+ </div>
</div>
<div class="form--field">
<%= pref_fields.select :comments_sorting,
diff --git a/config/locales/en.yml b/config/locales/en.yml
index 913f6970303..6a54c484cbc 100644
--- a/config/locales/en.yml
+++ b/config/locales/en.yml
@@ -517,7 +517,7 @@ Project attributes and sections are defined in the <a href=%{admin_settings_url}
excluded_from_totals: "Excluded from totals"
themes:
- dark: "Dark"
+ dark: "Dark (experimental)"
light: "Light"
light_high_contrast: "Light high contrast"
@@ -794,6 +794,7 @@ Project attributes and sections are defined in the <a href=%{admin_settings_url}
auto_hide_popups: "Auto-hide success notifications"
warn_on_leaving_unsaved: "Warn me when leaving a work package with unsaved changes"
theme: "Mode"
+ mode_guideline: "Some modes will overwrite custom theme colours for accessibility and legibility. For the full custom theme, please select Light mode."
version:
effective_date: "Finish date"
sharing: "Sharing"