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
[#43184] Change wording: use add when adding storages to a project (#10985)
Frank Bergmann88dd20359214
diff --git a/modules/storages/app/views/storages/project_settings/new.html.erb b/modules/storages/app/views/storages/project_settings/new.html.erbindex 4e8bf45236d..1bab96a0de1 100644--- a/modules/storages/app/views/storages/project_settings/new.html.erb+++ b/modules/storages/app/views/storages/project_settings/new.html.erb@@ -20,7 +20,7 @@</span><% end %></div>- <%= styled_button_tag t(:button_create), class: "-highlight -with-icon icon-checkmark" %>+ <%= styled_button_tag t(:button_add), class: "-highlight -with-icon icon-checkmark" %><% else %><div class="op-toast -info"><div class="op-toast--content">diff --git a/modules/storages/config/locales/en.yml b/modules/storages/config/locales/en.ymlindex 1b334f45c2d..52ed5a1331c 100644--- a/modules/storages/config/locales/en.yml+++ b/modules/storages/config/locales/en.yml@@ -46,7 +46,7 @@ en:page_titles:project_settings:index: "File storages available in this project"- new: "Enable a file storage for this project"+ new: "Add a file storage to this project"instructions:type: "Please make sure you have administration privileges in your Nextcloud instance and have the following application installed before doing the setup:"type_link_text: "“Integration OpenProject”"diff --git a/modules/storages/spec/features/create_and_delete_project_storage_spec.rb b/modules/storages/spec/features/create_and_delete_project_storage_spec.rbindex c40c4fca6cf..79cfe9321e6 100644--- a/modules/storages/spec/features/create_and_delete_project_storage_spec.rb+++ b/modules/storages/spec/features/create_and_delete_project_storage_spec.rb@@ -67,7 +67,7 @@ describe 'Activation of storages in projects', with_flag: { storages_module_acti# Enable one file storageexpect(page).to have_current_path new_project_settings_projects_storage_path(project_id: project)- expect(page).to have_text('Enable a file storage')+ expect(page).to have_text('Add a file storage')page.find('button[type=submit]').click# The list of enabled file storages should now contain Storage 1