Skip to content

Commit

Permalink
Change I18n captions on moderation module
Browse files Browse the repository at this point in the history
* Change I18n captions on moderation module

* Implement review recommendations
  • Loading branch information
alecslupu committed Mar 31, 2023
1 parent 7c56b4e commit 5527155
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions decidim-admin/config/locales/en.yml
Expand Up @@ -644,7 +644,7 @@ en:
nickname: Nickname
reason: Reason
reports: Reports count
title: Listing reported users
title: Reported participants
report:
reasons:
does_not_belong: Does not belong
Expand All @@ -655,7 +655,7 @@ en:
unblocked: Not Blocked
moderations:
index:
title: Moderations
title: Reported content
report:
reasons:
does_not_belong: Does not belong
Expand Down
Expand Up @@ -63,7 +63,7 @@
visit decidim_admin.moderations_path

within "body", wait: 2 do
expect(page).to have_content("Moderations")
expect(page).to have_content("Reported content")
expect(page).to have_link("Visit URL")

find_link("Visit URL").hover
Expand Down Expand Up @@ -94,7 +94,7 @@
visit decidim_admin.moderations_path

within ".container" do
expect(page).to have_content("Moderations")
expect(page).to have_content("Reported content")

expect(page).to have_no_selector("table.table-list tbody tr")
end
Expand Down
Expand Up @@ -62,7 +62,7 @@
visit decidim_admin.moderations_path

within ".container" do
expect(page).to have_content("Moderations")
expect(page).to have_content("Reported content")

expect(page).to have_no_selector("table.table-list tbody tr")
end
Expand Down

0 comments on commit 5527155

Please sign in to comment.