Add temporary missed translations
This commit is contained in:
parent
bf80f21bb9
commit
719dee2cff
|
@ -78,6 +78,8 @@ function blackout_redirect ($a, $b) {
|
||||||
Logger::log('redirecting user to blackout page');
|
Logger::log('redirecting user to blackout page');
|
||||||
System::externalRedirect($myurl);
|
System::externalRedirect($myurl);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
DI::l10n()->t('blub');
|
||||||
}
|
}
|
||||||
|
|
||||||
function blackout_addon_admin(&$a, &$o) {
|
function blackout_addon_admin(&$a, &$o) {
|
||||||
|
|
|
@ -37,6 +37,8 @@ function blockbot_addon_admin_post(&$a) {
|
||||||
DI::config()->set('blockbot', 'good_crawlers', $_POST['good_crawlers'] ?? false);
|
DI::config()->set('blockbot', 'good_crawlers', $_POST['good_crawlers'] ?? false);
|
||||||
DI::config()->set('blockbot', 'block_gab', $_POST['block_gab'] ?? false);
|
DI::config()->set('blockbot', 'block_gab', $_POST['block_gab'] ?? false);
|
||||||
DI::config()->set('blockbot', 'training', $_POST['training'] ?? false);
|
DI::config()->set('blockbot', 'training', $_POST['training'] ?? false);
|
||||||
|
|
||||||
|
DI::l10n()->t('blub');
|
||||||
}
|
}
|
||||||
|
|
||||||
function blockbot_init_1(App $a) {
|
function blockbot_init_1(App $a) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user