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

[#54127] Language in Email notifications subscribe section UI inconclusive

Pavel Balashoua49b62ebc8a3
diff --git a/modules/storages/config/locales/en.yml b/modules/storages/config/locales/en.yml
index ef3a8b18bd6..5ace11733e1 100644
--- a/modules/storages/config/locales/en.yml
+++ b/modules/storages/config/locales/en.yml
@@ -105,7 +105,7 @@ en:
subtitle: Automatically managed project folders
title: Health status
health_email_notifications:
- description_subscribed: All administrators will receive health status email notifications for this storage.
+ description_subscribed: All administrators receive health status email notifications for this storage.
description_unsubscribed: Health status email notifications for this storage have been turned off for all administrators.
error_could_not_be_saved: Email notification settings could not be saved. Please try again.
subscribe: Subscribe
diff --git a/modules/storages/spec/components/storages/admin/sidebar/health_notifications_component_spec.rb b/modules/storages/spec/components/storages/admin/sidebar/health_notifications_component_spec.rb
index f3038a77f15..84d53ab7a06 100644
--- a/modules/storages/spec/components/storages/admin/sidebar/health_notifications_component_spec.rb
+++ b/modules/storages/spec/components/storages/admin/sidebar/health_notifications_component_spec.rb
@@ -41,7 +41,7 @@ RSpec.describe Storages::Admin::Sidebar::HealthNotificationsComponent, type: :co
expect(page).to have_css("input[type=hidden][value='0']", visible: :hidden)
expect(page).to have_test_selector(
"storage-health-notifications-description",
- text: "All administrators will receive health status email notifications for this storage."
+ text: "All administrators receive health status email notifications for this storage."
)
expect(page).to have_button("Unsubscribe")
end
diff --git a/modules/storages/spec/features/storages/admin/edit_storage_spec.rb b/modules/storages/spec/features/storages/admin/edit_storage_spec.rb
index 029ef84171c..fe21f7e634e 100644
--- a/modules/storages/spec/features/storages/admin/edit_storage_spec.rb
+++ b/modules/storages/spec/features/storages/admin/edit_storage_spec.rb
@@ -228,7 +228,7 @@ RSpec.describe "Admin Edit File storage",
aggregate_failures "Health notifications" do
expect(page).to have_test_selector("storage-health-notifications-button", text: "Unsubscribe")
expect(page).to have_test_selector("storage-health-notifications-description",
- text: "All administrators will receive health status email notifications for this storage.")
+ text: "All administrators receive health status email notifications for this storage.")
click_on "Unsubscribe"
@@ -350,7 +350,7 @@ RSpec.describe "Admin Edit File storage",
aggregate_failures "Health notifications" do
expect(page).to have_test_selector("storage-health-notifications-button", text: "Unsubscribe")
expect(page).to have_test_selector("storage-health-notifications-description",
- text: "All administrators will receive health status email notifications for this storage.")
+ text: "All administrators receive health status email notifications for this storage.")
click_on "Unsubscribe"