From: Philipp Date: Sat, 22 May 2021 11:49:30 +0000 (+0200) Subject: Add temporary missed translations X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=719dee2cffe1fcb4ac556a843e02ac2ffd5d02b1;p=friendica-addons.git Add temporary missed translations --- diff --git a/blackout/blackout.php b/blackout/blackout.php index cfe4bbb7..3469048c 100644 --- a/blackout/blackout.php +++ b/blackout/blackout.php @@ -78,6 +78,8 @@ function blackout_redirect ($a, $b) { Logger::log('redirecting user to blackout page'); System::externalRedirect($myurl); } + + DI::l10n()->t('blub'); } function blackout_addon_admin(&$a, &$o) { diff --git a/blockbot/blockbot.php b/blockbot/blockbot.php index b602bf63..2f2c055a 100644 --- a/blockbot/blockbot.php +++ b/blockbot/blockbot.php @@ -37,6 +37,8 @@ function blockbot_addon_admin_post(&$a) { DI::config()->set('blockbot', 'good_crawlers', $_POST['good_crawlers'] ?? false); DI::config()->set('blockbot', 'block_gab', $_POST['block_gab'] ?? false); DI::config()->set('blockbot', 'training', $_POST['training'] ?? false); + + DI::l10n()->t('blub'); } function blockbot_init_1(App $a) {