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
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
chore[Op#52449]: scope email notifications translations to the storage
Kabiru Mwenja770436dbe89d
diff --git a/modules/storages/app/controllers/storages/admin/storages_controller.rb b/modules/storages/app/controllers/storages/admin/storages_controller.rbindex c16235f8f7d..31471986444 100644--- a/modules/storages/app/controllers/storages/admin/storages_controller.rb+++ b/modules/storages/app/controllers/storages/admin/storages_controller.rb@@ -173,7 +173,7 @@ class Storages::Admin::StoragesController < ApplicationControllerrespond_with_turbo_streamselseflash.now[:primer_banner] = {- message: I18n.t("storages.email_notifications.error_could_not_be_saved"), scheme: :danger+ message: I18n.t("storages.health_email_notifications.error_could_not_be_saved"), scheme: :danger}render :editenddiff --git a/modules/storages/config/locales/en.yml b/modules/storages/config/locales/en.ymlindex db4f0e8b29f..b03d842fb3d 100644--- a/modules/storages/config/locales/en.yml+++ b/modules/storages/config/locales/en.yml@@ -76,13 +76,6 @@ en:storage_delete_result_1: Remove all storage setups for all projects using this storage.storage_delete_result_2: Remove all links from work packages of all projects to files and folders of that storage.storage_delete_result_3: In case this storage has automatically managed project folders, those and their contained files will be deleted forever.- email_notifications:- description_subscribed: Email notifications for this storage have been turned on for all administrators.- 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- title: Email notifications- unsubscribe: Unsubscribeerror_invalid_provider_type: Please select a valid storage provider.file_storage_view:access_management:@@ -111,6 +104,13 @@ en:since: since %{datetime}subtitle: Automatically managed project folderstitle: Health status+ health_email_notifications:+ description_subscribed: Email notifications for this storage have been turned on for all administrators.+ 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+ title: Email notifications+ unsubscribe: Unsubscribehelp_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.instructions: