mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-29 00:13:16 +00:00
Add temporary missed translations
This commit is contained in:
parent
bf80f21bb9
commit
719dee2cff
2 changed files with 4 additions and 0 deletions
|
@ -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 a new issue