Translated using Weblate (English (United Kingdom))
Currently translated at 100.0% (25 of 25 strings) Translation: Documentation/administrator_documentation-configuration_docs-mrf Translate-URL: https://translate.funkwhale.audio/projects/documentation/administrator_documentation-configuration_docs-mrf/en_GB/
This commit is contained in:
parent
a24e69fd4a
commit
42cfc41ed6
|
@ -8,7 +8,7 @@ msgstr ""
|
||||||
"Project-Id-Version: funkwhale 1.2.5\n"
|
"Project-Id-Version: funkwhale 1.2.5\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2022-07-01 10:35+0200\n"
|
"POT-Creation-Date: 2022-07-01 10:35+0200\n"
|
||||||
"PO-Revision-Date: 2022-07-02 21:07+0000\n"
|
"PO-Revision-Date: 2022-07-04 19:20+0000\n"
|
||||||
"Last-Translator: Ciarán Ainsworth <sporiff@funkwhale.audio>\n"
|
"Last-Translator: Ciarán Ainsworth <sporiff@funkwhale.audio>\n"
|
||||||
"Language-Team: English (United Kingdom) <https://translate.funkwhale.audio/"
|
"Language-Team: English (United Kingdom) <https://translate.funkwhale.audio/"
|
||||||
"projects/documentation/administrator_documentation-configuration_docs-mrf/"
|
"projects/documentation/administrator_documentation-configuration_docs-mrf/"
|
||||||
|
@ -23,7 +23,7 @@ msgstr ""
|
||||||
|
|
||||||
#: ../../administrator_documentation/configuration_docs/mrf.md:1
|
#: ../../administrator_documentation/configuration_docs/mrf.md:1
|
||||||
msgid "Message Rewrite Facility (MRF)"
|
msgid "Message Rewrite Facility (MRF)"
|
||||||
msgstr ""
|
msgstr "Message Rewrite Facility (MRF)"
|
||||||
|
|
||||||
#: ../../administrator_documentation/configuration_docs/mrf.md:3
|
#: ../../administrator_documentation/configuration_docs/mrf.md:3
|
||||||
msgid ""
|
msgid ""
|
||||||
|
@ -34,10 +34,15 @@ msgid ""
|
||||||
"rules to complement Funkwhale's [built-in moderation "
|
"rules to complement Funkwhale's [built-in moderation "
|
||||||
"tools](../../moderator_documentation/index.md)."
|
"tools](../../moderator_documentation/index.md)."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
"Funkwhale includes a feature that mimics [Pleroma’s Message Rewrite Facility "
|
||||||
|
"(MRF)](https://docs-develop.pleroma.social/backend/configuration/mrf/). The "
|
||||||
|
"MRF enables instance admins to create custom moderation rules. You can use "
|
||||||
|
"these rules to complement Funkwhale's [built-in moderation tools](../../"
|
||||||
|
"moderator_documentation/index.md)."
|
||||||
|
|
||||||
#: ../../administrator_documentation/configuration_docs/mrf.md:5
|
#: ../../administrator_documentation/configuration_docs/mrf.md:5
|
||||||
msgid "Architecture"
|
msgid "Architecture"
|
||||||
msgstr ""
|
msgstr "Architecture"
|
||||||
|
|
||||||
#: ../../administrator_documentation/configuration_docs/mrf.md:7
|
#: ../../administrator_documentation/configuration_docs/mrf.md:7
|
||||||
msgid ""
|
msgid ""
|
||||||
|
@ -45,34 +50,47 @@ msgid ""
|
||||||
"to a list of registered policies. Each policy can mutate the message, "
|
"to a list of registered policies. Each policy can mutate the message, "
|
||||||
"leave it as is, or discard it."
|
"leave it as is, or discard it."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
"The MRF is a pluggable system that processes messages and forwards them to a "
|
||||||
|
"list of registered policies. Each policy can mutate the message, leave it as "
|
||||||
|
"is, or discard it."
|
||||||
|
|
||||||
#: ../../administrator_documentation/configuration_docs/mrf.md:9
|
#: ../../administrator_documentation/configuration_docs/mrf.md:9
|
||||||
msgid ""
|
msgid ""
|
||||||
"We implement some of Funkwhale's built-in moderation tools as a MRF "
|
"We implement some of Funkwhale's built-in moderation tools as a MRF "
|
||||||
"policy. For example:"
|
"policy. For example:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
"We implement some of Funkwhale's built-in moderation tools as a MRF policy. "
|
||||||
|
"For example:"
|
||||||
|
|
||||||
#: ../../administrator_documentation/configuration_docs/mrf.md:11
|
#: ../../administrator_documentation/configuration_docs/mrf.md:11
|
||||||
msgid ""
|
msgid ""
|
||||||
"Allow-list, when checking incoming messages "
|
"Allow-list, when checking incoming messages "
|
||||||
"([code](https://dev.funkwhale.audio/funkwhale/funkwhale/blob/stable/api/funkwhale_api/moderation/mrf_policies.py))."
|
"([code](https://dev.funkwhale.audio/funkwhale/funkwhale/blob/stable/api/funkwhale_api/moderation/mrf_policies.py))."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
"Allow-list, when checking incoming messages ([code](https://dev.funkwhale."
|
||||||
|
"audio/funkwhale/funkwhale/blob/stable/api/funkwhale_api/moderation/"
|
||||||
|
"mrf_policies.py))."
|
||||||
|
|
||||||
#: ../../administrator_documentation/configuration_docs/mrf.md:12
|
#: ../../administrator_documentation/configuration_docs/mrf.md:12
|
||||||
msgid ""
|
msgid ""
|
||||||
"Domain and user blocking, when checking incoming messages "
|
"Domain and user blocking, when checking incoming messages "
|
||||||
"([code](https://dev.funkwhale.audio/funkwhale/funkwhale/blob/stable/api/funkwhale_api/federation/mrf_policies.py))"
|
"([code](https://dev.funkwhale.audio/funkwhale/funkwhale/blob/stable/api/funkwhale_api/federation/mrf_policies.py))"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
"Domain and user blocking, when checking incoming messages ([code](https://dev"
|
||||||
|
".funkwhale.audio/funkwhale/funkwhale/blob/stable/api/funkwhale_api/"
|
||||||
|
"federation/mrf_policies.py))"
|
||||||
|
|
||||||
#: ../../administrator_documentation/configuration_docs/mrf.md:15
|
#: ../../administrator_documentation/configuration_docs/mrf.md:15
|
||||||
msgid ""
|
msgid ""
|
||||||
"Pleroma MRF policies can also affect outgoing messages. This is not "
|
"Pleroma MRF policies can also affect outgoing messages. This is not "
|
||||||
"currently supported in Funkwhale."
|
"currently supported in Funkwhale."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
"Pleroma MRF policies can also affect outgoing messages. This is not "
|
||||||
|
"currently supported in Funkwhale."
|
||||||
|
|
||||||
#: ../../administrator_documentation/configuration_docs/mrf.md:18
|
#: ../../administrator_documentation/configuration_docs/mrf.md:18
|
||||||
msgid "Disclaimer"
|
msgid "Disclaimer"
|
||||||
msgstr ""
|
msgstr "Disclaimer"
|
||||||
|
|
||||||
#: ../../administrator_documentation/configuration_docs/mrf.md:20
|
#: ../../administrator_documentation/configuration_docs/mrf.md:20
|
||||||
msgid ""
|
msgid ""
|
||||||
|
@ -80,6 +98,9 @@ msgid ""
|
||||||
" pod. It can also affect message delivery. Every time your pod receives a"
|
" pod. It can also affect message delivery. Every time your pod receives a"
|
||||||
" message it calls your policy."
|
" message it calls your policy."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
"Writing custom MRF rules can impact the performance and stability of your "
|
||||||
|
"pod. It can also affect message delivery. Every time your pod receives a "
|
||||||
|
"message it calls your policy."
|
||||||
|
|
||||||
#: ../../administrator_documentation/configuration_docs/mrf.md:22
|
#: ../../administrator_documentation/configuration_docs/mrf.md:22
|
||||||
msgid ""
|
msgid ""
|
||||||
|
@ -87,10 +108,13 @@ msgid ""
|
||||||
"purview of the AGPL. This means you're required to release the source of "
|
"purview of the AGPL. This means you're required to release the source of "
|
||||||
"your custom MRF policy modules publicly."
|
"your custom MRF policy modules publicly."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
"The Funkwhale project consider all custom MRF policies to fall under the "
|
||||||
|
"purview of the AGPL. This means you're required to release the source of "
|
||||||
|
"your custom MRF policy modules publicly."
|
||||||
|
|
||||||
#: ../../administrator_documentation/configuration_docs/mrf.md:24
|
#: ../../administrator_documentation/configuration_docs/mrf.md:24
|
||||||
msgid "Write your first MRF policy"
|
msgid "Write your first MRF policy"
|
||||||
msgstr ""
|
msgstr "Write your first MRF policy"
|
||||||
|
|
||||||
#: ../../administrator_documentation/configuration_docs/mrf.md:26
|
#: ../../administrator_documentation/configuration_docs/mrf.md:26
|
||||||
msgid ""
|
msgid ""
|
||||||
|
@ -98,18 +122,25 @@ msgid ""
|
||||||
"`payload` parameter. This payload is the raw ActivityPub message, "
|
"`payload` parameter. This payload is the raw ActivityPub message, "
|
||||||
"received via HTTP, following the HTTP signature check."
|
"received via HTTP, following the HTTP signature check."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
"MRF policies are written as Python 3 functions that take at least one "
|
||||||
|
"`payload` parameter. This payload is the raw ActivityPub message, received "
|
||||||
|
"via HTTP, following the HTTP signature check."
|
||||||
|
|
||||||
#: ../../administrator_documentation/configuration_docs/mrf.md:28
|
#: ../../administrator_documentation/configuration_docs/mrf.md:28
|
||||||
msgid ""
|
msgid ""
|
||||||
"In the example below we write a policy that discards all Follow requests "
|
"In the example below we write a policy that discards all Follow requests "
|
||||||
"from listed domains:"
|
"from listed domains:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
"In the example below we write a policy that discards all Follow requests "
|
||||||
|
"from listed domains:"
|
||||||
|
|
||||||
#: ../../administrator_documentation/configuration_docs/mrf.md:55
|
#: ../../administrator_documentation/configuration_docs/mrf.md:55
|
||||||
msgid ""
|
msgid ""
|
||||||
"You need to store this code in a Funkwhale plugin. To create one, execute"
|
"You need to store this code in a Funkwhale plugin. To create one, execute"
|
||||||
" the following:"
|
" the following:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
"You need to store this code in a Funkwhale plugin. To create one, execute "
|
||||||
|
"the following:"
|
||||||
|
|
||||||
#: ../../administrator_documentation/configuration_docs/mrf.md:79
|
#: ../../administrator_documentation/configuration_docs/mrf.md:79
|
||||||
msgid ""
|
msgid ""
|
||||||
|
@ -118,20 +149,26 @@ msgid ""
|
||||||
"plugin in your {file}`.env` file by adding its name to the "
|
"plugin in your {file}`.env` file by adding its name to the "
|
||||||
"{attr}`FUNKWHALE_PLUGINS` list. Add this variable if it's not there."
|
"{attr}`FUNKWHALE_PLUGINS` list. Add this variable if it's not there."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
"Once you've created the plugin, put your code in an `mrf_policies.py` file. "
|
||||||
|
"Place this file inside the plugin directory. Next, enable the plugin in your "
|
||||||
|
"{file}`.env` file by adding its name to the {attr}`FUNKWHALE_PLUGINS` list. "
|
||||||
|
"Add this variable if it's not there."
|
||||||
|
|
||||||
#: ../../administrator_documentation/configuration_docs/mrf.md:81
|
#: ../../administrator_documentation/configuration_docs/mrf.md:81
|
||||||
msgid "Test your MRF policy"
|
msgid "Test your MRF policy"
|
||||||
msgstr ""
|
msgstr "Test your MRF policy"
|
||||||
|
|
||||||
#: ../../administrator_documentation/configuration_docs/mrf.md:83
|
#: ../../administrator_documentation/configuration_docs/mrf.md:83
|
||||||
msgid ""
|
msgid ""
|
||||||
"To make the job of writing and debugging MRF policies easier, we provide "
|
"To make the job of writing and debugging MRF policies easier, we provide "
|
||||||
"a management command."
|
"a management command."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
"To make the job of writing and debugging MRF policies easier, we provide a "
|
||||||
|
"management command."
|
||||||
|
|
||||||
#: ../../administrator_documentation/configuration_docs/mrf.md:85
|
#: ../../administrator_documentation/configuration_docs/mrf.md:85
|
||||||
msgid "List registered MRF policies."
|
msgid "List registered MRF policies."
|
||||||
msgstr ""
|
msgstr "List registered MRF policies."
|
||||||
|
|
||||||
#: ../../administrator_documentation/configuration_docs/mrf.md
|
#: ../../administrator_documentation/configuration_docs/mrf.md
|
||||||
msgid "Debian"
|
msgid "Debian"
|
||||||
|
@ -143,11 +180,11 @@ msgstr "Docker"
|
||||||
|
|
||||||
#: ../../administrator_documentation/configuration_docs/mrf.md:103
|
#: ../../administrator_documentation/configuration_docs/mrf.md:103
|
||||||
msgid "Check how your MRF policy handles a follow."
|
msgid "Check how your MRF policy handles a follow."
|
||||||
msgstr ""
|
msgstr "Check how your MRF policy handles a follow."
|
||||||
|
|
||||||
#: ../../administrator_documentation/configuration_docs/mrf.md:123
|
#: ../../administrator_documentation/configuration_docs/mrf.md:123
|
||||||
msgid "Check how your MRF handles a problematic follow."
|
msgid "Check how your MRF handles a problematic follow."
|
||||||
msgstr ""
|
msgstr "Check how your MRF handles a problematic follow."
|
||||||
|
|
||||||
#: ../../administrator_documentation/configuration_docs/mrf.md:143
|
#: ../../administrator_documentation/configuration_docs/mrf.md:143
|
||||||
msgid ""
|
msgid ""
|
||||||
|
@ -155,9 +192,13 @@ msgid ""
|
||||||
" find the UUID of an activity by visiting "
|
" find the UUID of an activity by visiting "
|
||||||
"`/api/admin/federation/activity`."
|
"`/api/admin/federation/activity`."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
"Check a payload against activity already present in the database. You can "
|
||||||
|
"find the UUID of an activity by visiting `/api/admin/federation/activity`."
|
||||||
|
|
||||||
#: ../../administrator_documentation/configuration_docs/mrf.md:166
|
#: ../../administrator_documentation/configuration_docs/mrf.md:166
|
||||||
msgid ""
|
msgid ""
|
||||||
"There are extra options for testing MRF policies. Check the command help "
|
"There are extra options for testing MRF policies. Check the command help "
|
||||||
"for more options."
|
"for more options."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
"There are extra options for testing MRF policies. Check the command help for "
|
||||||
|
"more options."
|
||||||
|
|
Loading…
Reference in New Issue