Skip to content

Commit

Permalink
Fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
paulinebessoles committed Nov 7, 2024
1 parent 7596a7c commit b67ebed
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 12 deletions.
4 changes: 3 additions & 1 deletion .github/styles/config/vocabularies/Decidim/accept.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
Decidim
moderations
Unreport
Unreport
unreport
Unhide
18 changes: 9 additions & 9 deletions docs/en/modules/admin/pages/moderations/reported_content.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@ There you'll find first all the unprocessed reports if there's any, with:
* *Type*: the kind of content reported, for instance comment, proposal, debate, etc.
* *Participatory Space*: which space this content belongs to.
* *Reported content URL*: link for seeing the content reported and see the context of the complaint.
* *Reason*: why it was reported. If the participant that made the report has given extra
* *Reason*: why the content is reported. If the participant that made the report has given extra

Check warning on line 33 in docs/en/modules/admin/pages/moderations/reported_content.adoc

View workflow job for this annotation

GitHub Actions / prose

[vale] reported by reviewdog 🐶 [Google.Passive] In general, use active voice instead of passive voice ('is reported'). Raw Output: {"message": "[Google.Passive] In general, use active voice instead of passive voice ('is reported').", "location": {"path": "docs/en/modules/admin/pages/moderations/reported_content.adoc", "range": {"start": {"line": 33, "column": 29}}}, "severity": "INFO"}
information it's possible to see it by hovering it.
* *Reported at*: when it was originally reported.
* *Count*: number of times it was reported by different users.
* *Count*: number of reports by different users.
* *Actions*: you can *Expand*, *Unreport* or *Hide*.

Check failure on line 37 in docs/en/modules/admin/pages/moderations/reported_content.adoc

View workflow job for this annotation

GitHub Actions / prose

[vale] reported by reviewdog 🐶 [Vale.Terms] Use 'unreport' instead of 'Unreport'. Raw Output: {"message": "[Vale.Terms] Use 'unreport' instead of 'Unreport'.", "location": {"path": "docs/en/modules/admin/pages/moderations/reported_content.adoc", "range": {"start": {"line": 37, "column": 33}}}, "severity": "ERROR"}

Once you moderate a content, it will be available in the "Hidden" contents list, accessible at the top right of the page.
Once you moderate a content, it appears in the "Hidden" contents list, accessible at the top right of the page.

=== Actions

Expand All @@ -50,21 +50,21 @@ Once you moderate a content, it will be available in the "Hidden" contents list,

|image:icons/action_unreport.png[Unreport icon]

Check failure on line 51 in docs/en/modules/admin/pages/moderations/reported_content.adoc

View workflow job for this annotation

GitHub Actions / prose

[vale] reported by reviewdog 🐶 [Vale.Terms] Use 'unreport' instead of 'Unreport'. Raw Output: {"message": "[Vale.Terms] Use 'unreport' instead of 'Unreport'.", "location": {"path": "docs/en/modules/admin/pages/moderations/reported_content.adoc", "range": {"start": {"line": 51, "column": 34}}}, "severity": "ERROR"}
|Unreport

Check failure on line 52 in docs/en/modules/admin/pages/moderations/reported_content.adoc

View workflow job for this annotation

GitHub Actions / prose

[vale] reported by reviewdog 🐶 [Vale.Terms] Use 'unreport' instead of 'Unreport'. Raw Output: {"message": "[Vale.Terms] Use 'unreport' instead of 'Unreport'.", "location": {"path": "docs/en/modules/admin/pages/moderations/reported_content.adoc", "range": {"start": {"line": 52, "column": 2}}}, "severity": "ERROR"}
|Allows an admin or moderator to keep showing this content (rejecting the report).
|Available when the content is not yet hidden.
|Allows an administrator or moderator to keep showing this content and cancel the report.
|Available when the content isn't yet hidden.

|image:icons/action_hide.png[Hide icon]
|Hide
|Allows an admin or moderator to hide this content (accepting the report).
|Available when the content is not yet hidden.
|Allows an administrator or moderator to hide this content and accept the report.
|Available when the content isn't yet hidden.

|image:icons/action_hide.png[Unhide icon]
|Unhide
|Allows an admin or moderator to unhide this content (showing it publicly again).
|Allows an administrator or moderator to unhide this content (showing it publicly again).

Check failure on line 63 in docs/en/modules/admin/pages/moderations/reported_content.adoc

View workflow job for this annotation

GitHub Actions / prose

[vale] reported by reviewdog 🐶 [Vale.Terms] Use 'Unhide' instead of 'unhide'. Raw Output: {"message": "[Vale.Terms] Use 'Unhide' instead of 'unhide'.", "location": {"path": "docs/en/modules/admin/pages/moderations/reported_content.adoc", "range": {"start": {"line": 63, "column": 42}}}, "severity": "ERROR"}

Check warning on line 63 in docs/en/modules/admin/pages/moderations/reported_content.adoc

View workflow job for this annotation

GitHub Actions / prose

[vale] reported by reviewdog 🐶 [Google.Parens] Use parentheses judiciously. Raw Output: {"message": "[Google.Parens] Use parentheses judiciously.", "location": {"path": "docs/en/modules/admin/pages/moderations/reported_content.adoc", "range": {"start": {"line": 63, "column": 62}}}, "severity": "INFO"}
|Available when the content has been hidden.

Check warning on line 64 in docs/en/modules/admin/pages/moderations/reported_content.adoc

View workflow job for this annotation

GitHub Actions / prose

[vale] reported by reviewdog 🐶 [Google.Passive] In general, use active voice instead of passive voice ('been hidden'). Raw Output: {"message": "[Google.Passive] In general, use active voice instead of passive voice ('been hidden').", "location": {"path": "docs/en/modules/admin/pages/moderations/reported_content.adoc", "range": {"start": {"line": 64, "column": 33}}}, "severity": "INFO"}
|===

If a content has been mistakenly "Unreported", then you'll need to find it again in the public platform
If a content has been mistakenly "Unreported" then you'll need to find it again in the public platform
and report it again so you can moderate it.

=== Expand
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ You can find all the reported participants on the reported participant list in t
* *Reason*: why the participant is reported. If the participant that made the report has given extra

Check warning on line 33 in docs/en/modules/admin/pages/moderations/reported_users.adoc

View workflow job for this annotation

GitHub Actions / prose

[vale] reported by reviewdog 🐶 [Google.Passive] In general, use active voice instead of passive voice ('is reported'). Raw Output: {"message": "[Google.Passive] In general, use active voice instead of passive voice ('is reported').", "location": {"path": "docs/en/modules/admin/pages/moderations/reported_users.adoc", "range": {"start": {"line": 33, "column": 33}}}, "severity": "INFO"}
information it's possible to see it by hovering it.
* *Reported at*: when they were originally reported.
* *Reports count*: number reports by different users.
* *Reports count*: number of reports by different users.
* *Actions*: you can *Unreport* or *Block* the participant.

Check failure on line 37 in docs/en/modules/admin/pages/moderations/reported_users.adoc

View workflow job for this annotation

GitHub Actions / prose

[vale] reported by reviewdog 🐶 [Vale.Terms] Use 'unreport' instead of 'Unreport'. Raw Output: {"message": "[Vale.Terms] Use 'unreport' instead of 'Unreport'.", "location": {"path": "docs/en/modules/admin/pages/moderations/reported_users.adoc", "range": {"start": {"line": 37, "column": 23}}}, "severity": "ERROR"}

=== Actions
Expand Down
2 changes: 1 addition & 1 deletion docs/en/modules/admin/pages/participants/participants.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ image:participants_participants_actions.png[Participants actions]
After clicking in this option you'll need to provide a justification why you're
blocking this participant:

image:moderations/moderations_participants_block_user_justification.png[Justificate the blocked user action]
image:moderations/moderations_participants_block_user_justification.png[Justifiy the blocked user action]

Check failure on line 49 in docs/en/modules/admin/pages/participants/participants.adoc

View workflow job for this annotation

GitHub Actions / prose

[vale] reported by reviewdog 🐶 [Vale.Spelling] Did you really mean 'Justifiy'? Raw Output: {"message": "[Vale.Spelling] Did you really mean 'Justifiy'?", "location": {"path": "docs/en/modules/admin/pages/participants/participants.adoc", "range": {"start": {"line": 49, "column": 73}}}, "severity": "ERROR"}

Once a blocked participant tries to log-in they will see an error message:

Expand Down

0 comments on commit b67ebed

Please sign in to comment.