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

Use uppercase "Disabled" for virus scanning

Oliver Günther10412f7c85ce
diff --git a/app/views/admin/settings/virus_scanning_settings/show.html.erb b/app/views/admin/settings/virus_scanning_settings/show.html.erb
index 31629a7c1a8..b177363e74b 100644
--- a/app/views/admin/settings/virus_scanning_settings/show.html.erb
+++ b/app/views/admin/settings/virus_scanning_settings/show.html.erb
@@ -46,7 +46,7 @@ See COPYRIGHT and LICENSE files for more details.
<div class="form--field">
<%= setting_select :antivirus_scan_mode,
[
- [t(:label_disabled), :disabled],
+ [t(:label_disabled_uppercase), :disabled],
['ClamAV (Socket)', :clamav_socket],
['ClamAV (Host)', :clamav_host],
],
@@ -57,7 +57,7 @@ See COPYRIGHT and LICENSE files for more details.
%>
<div class="form--field-instructions">
<p><%= t('settings.antivirus.modes.description_html',
- disabled_option: t(:label_disabled),
+ disabled_option: t(:label_disabled_uppercase),
socket_option: 'ClamAV (Socket)',
host_option: 'ClamAV (Host)',
) %></p>
diff --git a/config/locales/en.yml b/config/locales/en.yml
index b447df82a3d..247cac306bd 100644
--- a/config/locales/en.yml
+++ b/config/locales/en.yml
@@ -1915,6 +1915,7 @@ en:
label_diff_side_by_side: "side by side"
label_digital_accessibility: "Digital accessibility (DE)"
label_disabled: "disabled"
+ label_disabled_uppercase: "Disabled"
label_display: "Display"
label_display_per_page: "Per page: %{value}"
label_display_used_statuses_only: "Only display statuses that are used by this type"