diff options
author | Marius Balteanu <marius.balteanu@zitec.com> | 2022-05-17 20:50:37 +0000 |
---|---|---|
committer | Marius Balteanu <marius.balteanu@zitec.com> | 2022-05-17 20:50:37 +0000 |
commit | e1d6bfbdcc1de030a4ae59e6f5a80f3d003cabe0 (patch) | |
tree | 31683b98b2301e7bbd89059edcba8489258ab95f /config | |
parent | 883aa3b5cca1645f2aae353f4f180f77c5693c7e (diff) | |
download | redmine-e1d6bfbdcc1de030a4ae59e6f5a80f3d003cabe0.tar.gz redmine-e1d6bfbdcc1de030a4ae59e6f5a80f3d003cabe0.zip |
Adds projects bulk delete (#36691).
Patch by Jens Krämer.
git-svn-id: https://svn.redmine.org/redmine/trunk@21592 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'config')
-rw-r--r-- | config/locales/en.yml | 7 | ||||
-rw-r--r-- | config/routes.rb | 1 |
2 files changed, 8 insertions, 0 deletions
diff --git a/config/locales/en.yml b/config/locales/en.yml index 6ca11855c..49023dd1c 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -1212,7 +1212,14 @@ en: text_select_mail_notifications: Select actions for which email notifications should be sent. text_regexp_info: eg. ^[A-Z0-9]+$ text_project_destroy_confirmation: Are you sure you want to delete this project and related data? + text_projects_bulk_destroy_confirmation: Are you sure you want to delete the selected projects and related data? + text_projects_bulk_destroy_head: | + You are about to permanently delete the following projects, including possible subprojects and any related data. + Please review the information below and confirm that this is indeed what you want to do. + This action cannot be undone. + text_projects_bulk_destroy_confirm: To confirm, please enter "%{yes}" in the box below. text_subprojects_destroy_warning: "Its subproject(s): %{value} will be also deleted." + text_subprojects_bulk_destroy: "including its subproject(s): %{value}" text_project_close_confirmation: Are you sure you want to close the '%{value}' project to make it read-only? text_project_reopen_confirmation: Are you sure you want to reopen the '%{value}' project? text_project_archive_confirmation: Are you sure you want to archive the '%{value}' project? diff --git a/config/routes.rb b/config/routes.rb index 9d6c54132..1e4b20d94 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -128,6 +128,7 @@ Rails.application.routes.draw do resources :projects do collection do get 'autocomplete' + delete 'bulk_destroy' end member do |