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
Fix label duplicate in another project
Oliver Günther6df966b3cbab
diff --git a/config/locales/js-en.yml b/config/locales/js-en.ymlindex 4cc9ceb6ad4..aeb412261eb 100644--- a/config/locales/js-en.yml+++ b/config/locales/js-en.yml@@ -91,7 +91,7 @@ en:button_copy: "Copy"button_copy_to_clipboard: "Copy to clipboard"button_copy_link_to_clipboard: "Copy link to clipboard"- button_copy_to_other_project: "Duplicate to other project"+ button_copy_to_other_project: "Duplicate in another project"button_custom-fields: "Custom fields"button_delete: "Delete"button_delete_watcher: "Delete watcher"diff --git a/spec/features/work_packages/bulk/copy_work_package_spec.rb b/spec/features/work_packages/bulk/copy_work_package_spec.rbindex 17401f6c5be..07a8605d259 100644--- a/spec/features/work_packages/bulk/copy_work_package_spec.rb+++ b/spec/features/work_packages/bulk/copy_work_package_spec.rb@@ -301,7 +301,7 @@ RSpec.describe "Copy work packages through Rails view", :js, :with_cuprite doit "copies the work package" docontext_menu.open_for work_package- context_menu.choose "Duplicate to other project"+ context_menu.choose "Duplicate in another project"# On work packages move pageexpect_page_reload dodiff --git a/spec/features/work_packages/details/context_menu_spec.rb b/spec/features/work_packages/details/context_menu_spec.rbindex 3677a26a48a..c448cd4109d 100644--- a/spec/features/work_packages/details/context_menu_spec.rb+++ b/spec/features/work_packages/details/context_menu_spec.rb@@ -13,7 +13,7 @@ RSpec.describe "Work package single context menu", :js doendit "sets the correct copy project link" do- find(".menu-item", text: "Duplicate to other project", exact_text: true).click+ find(".menu-item", text: "Duplicate in another project", exact_text: true).clickexpect(page).to have_css("h2", text: I18n.t(:button_copy))expect(page).to have_css("a.work_package", text: "##{work_package.id}")expect(page).to have_current_path /work_packages\/move\/new\?copy=true&ids\[\]=#{work_package.id}/diff --git a/spec/features/work_packages/table/context_menu/context_menu_shared_examples.rb b/spec/features/work_packages/table/context_menu/context_menu_shared_examples.rbindex e6774df2534..60ad9ae7f9f 100644--- a/spec/features/work_packages/table/context_menu/context_menu_shared_examples.rb+++ b/spec/features/work_packages/table/context_menu/context_menu_shared_examples.rb@@ -62,9 +62,9 @@ RSpec.shared_examples_for "provides a single WP context menu" doopen_context_menu.callmenu.expect_no_options "Add predecessor", "Add follower, Show relations"- # Duplicate to other project+ # Duplicate in another projectopen_context_menu.call- menu.choose("Duplicate to other project")+ menu.choose("Duplicate in another project")expect(page).to have_css("h2", text: I18n.t(:button_copy))expect(page).to have_css("a.work_package", text: "##{work_package.id}")end