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

fix[Op#52449]: use i18n strings

Kabiru Mwenjaba11587ef550
diff --git a/modules/storages/app/components/storages/admin/sidebar/health_status_component.html.erb b/modules/storages/app/components/storages/admin/sidebar/health_status_component.html.erb
index 9504c12bc09..39672b8d570 100644
--- a/modules/storages/app/components/storages/admin/sidebar/health_status_component.html.erb
+++ b/modules/storages/app/components/storages/admin/sidebar/health_status_component.html.erb
@@ -4,11 +4,11 @@
health_status_container.with_row do
flex_layout do |heading|
heading.with_row do
- render(Primer::Beta::Heading.new(tag: :h4)) { "Health status" }
+ render(Primer::Beta::Heading.new(tag: :h4)) { I18n.t("storages.health.title") }
end
heading.with_row(mt: 2) do
- render(Primer::Beta::Text.new(font_weight: :bold)) { "Automatically managed folder status" }
+ render(Primer::Beta::Text.new(font_weight: :bold)) { I18n.t("storages.health.subtitle") }
end
end
end
diff --git a/modules/storages/config/locales/en.yml b/modules/storages/config/locales/en.yml
index 5f0a157e464..cebae33ea9c 100644
--- a/modules/storages/config/locales/en.yml
+++ b/modules/storages/config/locales/en.yml
@@ -93,7 +93,7 @@ en:
label_healthy: Healthy
label_pending: Pending
since: since %{datetime}
- subtitle: Automatic managed project folders
+ subtitle: Automatically managed project folders
title: Health status
help_texts:
project_folder: The project folder is the default folder for file uploads for this project. Users can nevertheless still upload files to other locations.