From 57db23c6416a2a503fe56787ce67a5ca9c2c82a4 Mon Sep 17 00:00:00 2001 From: Michael Date: Mon, 13 Dec 2021 06:16:31 +0000 Subject: [PATCH 1/2] Blockbot: Added translation to the setings descrption --- blockbot/blockbot.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/blockbot/blockbot.php b/blockbot/blockbot.php index 451aca29..5a9cc4e3 100644 --- a/blockbot/blockbot.php +++ b/blockbot/blockbot.php @@ -28,9 +28,9 @@ function blockbot_addon_admin(&$a, &$o) { $o = Renderer::replaceMacros($t, [ '$submit' => DI::l10n()->t('Save Settings'), - '$good_crawlers' => ['good_crawlers', DI::l10n()->t('Allow "good" crawlers'), DI::config()->get('blockbot', 'good_crawlers'), "Don't block fediverse crawlers, relay servers and other bots with good purposes."], - '$block_gab' => ['block_gab', DI::l10n()->t('Block GabSocial'), DI::config()->get('blockbot', 'block_gab'), 'Block the software GabSocial. This will block every access for that software. You can block dedicated gab instances in the blocklist settings in the admin section.'], - '$training' => ['training', DI::l10n()->t('Training mode'), DI::config()->get('blockbot', 'training'), "Activates the training mode. This is only meant for developing purposes. Don't activate this on a production machine. This can cut communication with some systems."], + '$good_crawlers' => ['good_crawlers', DI::l10n()->t('Allow "good" crawlers'), DI::config()->get('blockbot', 'good_crawlers'), DI::l10n()->t("Don't block fediverse crawlers, relay servers and other bots with good purposes.")], + '$block_gab' => ['block_gab', DI::l10n()->t('Block GabSocial'), DI::config()->get('blockbot', 'block_gab'), DI::l10n()->t('Block the software GabSocial. This will block every access for that software. You can block dedicated gab instances in the blocklist settings in the admin section.')], + '$training' => ['training', DI::l10n()->t('Training mode'), DI::config()->get('blockbot', 'training'), DI::l10n()->t("Activates the training mode. This is only meant for developing purposes. Don't activate this on a production machine. This can cut communication with some systems.")], ]); } From 767d76682b2c78676996bf1b9517bde3e530aac9 Mon Sep 17 00:00:00 2001 From: Michael Date: Mon, 13 Dec 2021 06:19:14 +0000 Subject: [PATCH 2/2] messages.po updated --- blockbot/lang/C/messages.po | 26 +++++++++++++++++++++++--- 1 file changed, 23 insertions(+), 3 deletions(-) diff --git a/blockbot/lang/C/messages.po b/blockbot/lang/C/messages.po index 79f5d1b5..6f30e845 100644 --- a/blockbot/lang/C/messages.po +++ b/blockbot/lang/C/messages.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-02-01 18:15+0100\n" +"POT-Creation-Date: 2021-12-13 06:17+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -17,18 +17,38 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -#: blockbot.php:29 +#: blockbot.php:30 msgid "Save Settings" msgstr "" -#: blockbot.php:30 +#: blockbot.php:31 msgid "Allow \"good\" crawlers" msgstr "" #: blockbot.php:31 +msgid "" +"Don't block fediverse crawlers, relay servers and other bots with good " +"purposes." +msgstr "" + +#: blockbot.php:32 msgid "Block GabSocial" msgstr "" #: blockbot.php:32 +msgid "" +"Block the software GabSocial. This will block every access for that " +"software. You can block dedicated gab instances in the blocklist settings in " +"the admin section." +msgstr "" + +#: blockbot.php:33 msgid "Training mode" msgstr "" + +#: blockbot.php:33 +msgid "" +"Activates the training mode. This is only meant for developing purposes. " +"Don't activate this on a production machine. This can cut communication with " +"some systems." +msgstr ""