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/
environments/review-docs-devel-1399dq/deployments/12466
Ciarán Ainsworth 2022-07-03 23:31:06 +00:00 zatwierdzone przez Weblate
rodzic a24e69fd4a
commit 42cfc41ed6
1 zmienionych plików z 50 dodań i 9 usunięć

Wyświetl plik

@ -8,7 +8,7 @@ msgstr ""
"Project-Id-Version: funkwhale 1.2.5\n"
"Report-Msgid-Bugs-To: \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"
"Language-Team: English (United Kingdom) <https://translate.funkwhale.audio/"
"projects/documentation/administrator_documentation-configuration_docs-mrf/"
@ -23,7 +23,7 @@ msgstr ""
#: ../../administrator_documentation/configuration_docs/mrf.md:1
msgid "Message Rewrite Facility (MRF)"
msgstr ""
msgstr "Message Rewrite Facility (MRF)"
#: ../../administrator_documentation/configuration_docs/mrf.md:3
msgid ""
@ -34,10 +34,15 @@ msgid ""
"rules to complement Funkwhale's [built-in moderation "
"tools](../../moderator_documentation/index.md)."
msgstr ""
"Funkwhale includes a feature that mimics [Pleromas 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
msgid "Architecture"
msgstr ""
msgstr "Architecture"
#: ../../administrator_documentation/configuration_docs/mrf.md:7
msgid ""
@ -45,34 +50,47 @@ msgid ""
"to a list of registered policies. Each policy can mutate the message, "
"leave it as is, or discard it."
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
msgid ""
"We implement some of Funkwhale's built-in moderation tools as a MRF "
"policy. For example:"
msgstr ""
"We implement some of Funkwhale's built-in moderation tools as a MRF policy. "
"For example:"
#: ../../administrator_documentation/configuration_docs/mrf.md:11
msgid ""
"Allow-list, when checking incoming messages "
"([code](https://dev.funkwhale.audio/funkwhale/funkwhale/blob/stable/api/funkwhale_api/moderation/mrf_policies.py))."
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
msgid ""
"Domain and user blocking, when checking incoming messages "
"([code](https://dev.funkwhale.audio/funkwhale/funkwhale/blob/stable/api/funkwhale_api/federation/mrf_policies.py))"
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
msgid ""
"Pleroma MRF policies can also affect outgoing messages. This is not "
"currently supported in Funkwhale."
msgstr ""
"Pleroma MRF policies can also affect outgoing messages. This is not "
"currently supported in Funkwhale."
#: ../../administrator_documentation/configuration_docs/mrf.md:18
msgid "Disclaimer"
msgstr ""
msgstr "Disclaimer"
#: ../../administrator_documentation/configuration_docs/mrf.md:20
msgid ""
@ -80,6 +98,9 @@ msgid ""
" pod. It can also affect message delivery. Every time your pod receives a"
" message it calls your policy."
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
msgid ""
@ -87,10 +108,13 @@ msgid ""
"purview of the AGPL. This means you're required to release the source of "
"your custom MRF policy modules publicly."
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
msgid "Write your first MRF policy"
msgstr ""
msgstr "Write your first MRF policy"
#: ../../administrator_documentation/configuration_docs/mrf.md:26
msgid ""
@ -98,18 +122,25 @@ msgid ""
"`payload` parameter. This payload is the raw ActivityPub message, "
"received via HTTP, following the HTTP signature check."
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
msgid ""
"In the example below we write a policy that discards all Follow requests "
"from listed domains:"
msgstr ""
"In the example below we write a policy that discards all Follow requests "
"from listed domains:"
#: ../../administrator_documentation/configuration_docs/mrf.md:55
msgid ""
"You need to store this code in a Funkwhale plugin. To create one, execute"
" the following:"
msgstr ""
"You need to store this code in a Funkwhale plugin. To create one, execute "
"the following:"
#: ../../administrator_documentation/configuration_docs/mrf.md:79
msgid ""
@ -118,20 +149,26 @@ msgid ""
"plugin in your {file}`.env` file by adding its name to the "
"{attr}`FUNKWHALE_PLUGINS` list. Add this variable if it's not there."
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
msgid "Test your MRF policy"
msgstr ""
msgstr "Test your MRF policy"
#: ../../administrator_documentation/configuration_docs/mrf.md:83
msgid ""
"To make the job of writing and debugging MRF policies easier, we provide "
"a management command."
msgstr ""
"To make the job of writing and debugging MRF policies easier, we provide a "
"management command."
#: ../../administrator_documentation/configuration_docs/mrf.md:85
msgid "List registered MRF policies."
msgstr ""
msgstr "List registered MRF policies."
#: ../../administrator_documentation/configuration_docs/mrf.md
msgid "Debian"
@ -143,11 +180,11 @@ msgstr "Docker"
#: ../../administrator_documentation/configuration_docs/mrf.md:103
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
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
msgid ""
@ -155,9 +192,13 @@ msgid ""
" find the UUID of an activity by visiting "
"`/api/admin/federation/activity`."
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
msgid ""
"There are extra options for testing MRF policies. Check the command help "
"for more options."
msgstr ""
"There are extra options for testing MRF policies. Check the command help for "
"more options."