New option for the moderation bot:

* forbid messages with too many special characters (#517).
* update moderation bot to v0.4.0.
* refactoring localization segments to reuse existing one in multiple
  context.
* npm run doc:translate
This commit is contained in:
John Livingston
2024-09-07 00:46:23 +02:00
parent b6028ef740
commit f15d3ed542
61 changed files with 1471 additions and 529 deletions

View File

@ -1,7 +1,7 @@
---
title: "Forbidden words"
description: "The bot can automatically moderate messages containing forbidden words."
weight: 10
weight: 20
chapter: false
---
@ -49,13 +49,13 @@ You can [open an issue](https://github.com/JohnXLivingston/peertube-plugin-livec
By checking this option, each line of the "{{% livechat_label livechat_configuration_channel_forbidden_words_label %}}" field will be considered as a [regular expression](https://en.wikipedia.org/wiki/Regular_expression).
## {{% livechat_label livechat_configuration_channel_forbidden_words_applytomoderators_label %}}
## {{% livechat_label livechat_configuration_applytomoderators_label %}}
{{% livechat_label livechat_configuration_channel_forbidden_words_applytomoderators_desc %}}
{{% livechat_label livechat_configuration_applytomoderators_desc %}}
## {{% livechat_label livechat_configuration_channel_forbidden_words_reason_label %}}
## {{% livechat_label livechat_configuration_channel_retractation_reason_label %}}
{{% livechat_label livechat_configuration_channel_forbidden_words_reason_desc %}}
{{% livechat_label livechat_configuration_channel_retractation_reason_desc %}}
## {{% livechat_label livechat_configuration_channel_forbidden_words_comments_label %}}

View File

@ -1,7 +1,7 @@
---
title: "Timers"
description: "The bot can send periodically some messages."
weight: 20
weight: 30
chapter: false
---

View File

@ -0,0 +1,30 @@
---
title: "Special characters"
description: "The bot can automatically moderate messages containing too many special characters."
weight: 10
chapter: false
---
## {{% livechat_label livechat_configuration_channel_special_chars_label %}}
{{% notice info %}}
This feature comes with the livechat plugin version 11.1.0.
{{% /notice %}}
### Configuration
{{% livechat_label livechat_configuration_channel_special_chars_desc %}}
![Screenshot of the channel options page, with several fields to configure the option "Forbid special characters".](/peertube-plugin-livechat/images/forbid_special_chars_configuration.png?classes=shadow,border&height=400px "Forbid special characters configuration")
#### {{% livechat_label livechat_configuration_channel_special_chars_tolerance_label %}}
{{% livechat_label livechat_configuration_channel_special_chars_tolerance_desc %}}
#### {{% livechat_label livechat_configuration_channel_retractation_reason_label %}}
{{% livechat_label livechat_configuration_channel_retractation_reason_desc %}}
#### {{% livechat_label livechat_configuration_applytomoderators_label %}}
{{% livechat_label livechat_configuration_applytomoderators_desc %}}

Binary file not shown.

After

Width:  |  Height:  |  Size: 99 KiB