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
Correct i18n
Klaus Zandersc4b36d0189d5
diff --git a/spec/features/work_packages/share/filter_spec.rb b/spec/features/work_packages/share/filter_spec.rbindex 993db90e1c3..741725934ee 100644--- a/spec/features/work_packages/share/filter_spec.rb+++ b/spec/features/work_packages/share/filter_spec.rb@@ -147,7 +147,7 @@ RSpec.describe "Work package sharing",share_modal.expect_shared_count_of(6)# Filter for: all principals with Edit permission- share_modal.filter("role", I18n.t("sharing.permissions.edit"))+ share_modal.filter("role", I18n.t("work_package.permissions.edit"))share_modal.expect_shared_count_of(3)share_modal.expect_shared_with(inherited_project_user, "Edit")@@ -158,7 +158,7 @@ RSpec.describe "Work package sharing",share_modal.expect_not_shared_with(shared_non_project_group)# Filter for: all principals with View permission- share_modal.filter("role", I18n.t("sharing.permissions.view"))+ share_modal.filter("role", I18n.t("work_package.permissions.view"))share_modal.expect_shared_count_of(2)share_modal.expect_shared_with(project_user, "View")@@ -169,7 +169,7 @@ RSpec.describe "Work package sharing",share_modal.expect_not_shared_with(shared_project_group)# Filter for: all principals with Comment permission- share_modal.filter("role", I18n.t("sharing.permissions.comment"))+ share_modal.filter("role", I18n.t("work_package.permissions.comment"))share_modal.expect_shared_count_of(1)share_modal.expect_shared_with(project_user2, "Comment")@@ -180,7 +180,7 @@ RSpec.describe "Work package sharing",share_modal.expect_not_shared_with(shared_non_project_group)# Clicking again on the filter will reset it- share_modal.filter("role", I18n.t("sharing.permissions.comment"))+ share_modal.filter("role", I18n.t("work_package.permissions.comment"))share_modal.expect_shared_count_of(6)share_modal.expect_shared_with(project_user, "View")@@ -198,7 +198,7 @@ RSpec.describe "Work package sharing",# Filter for: all principals with View permission# role: view# type: none- share_modal.filter("role", I18n.t("sharing.permissions.view"))+ share_modal.filter("role", I18n.t("work_package.permissions.view"))share_modal.expect_shared_count_of(2)share_modal.expect_shared_with(project_user, "View")@@ -237,7 +237,7 @@ RSpec.describe "Work package sharing",# Reset role filter# role: none# type: non-project members (groups only)- share_modal.filter("role", I18n.t("sharing.permissions.view"))+ share_modal.filter("role", I18n.t("work_package.permissions.view"))share_modal.expect_shared_count_of(1)share_modal.expect_shared_with(shared_non_project_group, "View")@@ -265,7 +265,7 @@ RSpec.describe "Work package sharing",it 'does not check the "toggle all" checkbox' doshare_modal.expect_openshare_modal.filter("type", I18n.t("sharing.filter.not_project_member"))- share_modal.filter("role", I18n.t("sharing.permissions.view"))+ share_modal.filter("role", I18n.t("work_package.permissions.view"))share_modal.expect_empty_search_blankslateshare_modal.expect_shared_count_of(0)diff --git a/spec/support/components/work_packages/share_modal.rb b/spec/support/components/work_packages/share_modal.rbindex 023e237eca7..f67d395db94 100644--- a/spec/support/components/work_packages/share_modal.rb+++ b/spec/support/components/work_packages/share_modal.rb@@ -324,7 +324,7 @@ module Componentsdef expect_no_invite_optionwithin_modal doexpect(page)- .to have_text(I18n.t("sharing.permissions.denied"))+ .to have_text(I18n.t("work_package.permissions.denied"))endend