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
Rename label Add to favorites
Oliver Günther5bfc3193e670
diff --git a/config/locales/en.yml b/config/locales/en.ymlindex 9723939a9fc..92e00054631 100644--- a/config/locales/en.yml+++ b/config/locales/en.yml@@ -296,7 +296,7 @@ en:lists:active: "Active projects"my: "My projects"- favored: "Favored projects"+ favored: "Favorite projects"archived: "Archived projects"my_private: "My private project lists"new:@@ -1347,7 +1347,7 @@ Project attributes and sections are defined in the <a href=%{admin_settings_url}button_edit: "Edit"button_edit_associated_wikipage: "Edit associated Wiki page: %{page_title}"button_expand_all: "Expand all"- button_favorite: "Mark as favorite"+ button_favorite: "Add to favorites"button_filter: "Filter"button_generate: "Generate"button_list: "List"diff --git a/spec/features/projects/favorite_spec.rb b/spec/features/projects/favorite_spec.rbindex a0174c5cc7c..2920c231078 100644--- a/spec/features/projects/favorite_spec.rb+++ b/spec/features/projects/favorite_spec.rb@@ -43,9 +43,9 @@ RSpec.describe "Favorite projects",it "allows favoriting and unfavoriting projects" dovisit project_path(project)- expect(page).to have_selector 'a', accessible_name: "Mark as favorite"+ expect(page).to have_selector 'a', accessible_name: "Add to favorites"- click_link_or_button(accessible_name: "Mark as favorite")+ click_link_or_button(accessible_name: "Add to favorites")expect(page).to have_selector 'a', accessible_name: "Remove from favorite"@@ -66,7 +66,7 @@ RSpec.describe "Favorite projects",visit home_path- expect(page).to have_text 'Favored projects'+ expect(page).to have_text 'Favorite projects'expect(page).to have_test_selector 'favorite-project', text: 'My favorite!'retry_block do@@ -78,7 +78,7 @@ RSpec.describe "Favorite projects",top_menu.expect_result other_project.nameend- top_menu.switch_mode "Favored"+ top_menu.switch_mode "Favorites"top_menu.expect_result project.nametop_menu.expect_no_result other_project.name