From 719dee2cffe1fcb4ac556a843e02ac2ffd5d02b1 Mon Sep 17 00:00:00 2001 From: Philipp Date: Sat, 22 May 2021 13:49:30 +0200 Subject: [PATCH] Add temporary missed translations --- blackout/blackout.php | 2 ++ blockbot/blockbot.php | 2 ++ 2 files changed, 4 insertions(+) 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) {