nitpickers

This commit is contained in:
Tobias Diekershoff 2018-05-14 06:59:26 +02:00
parent 8401cfb6f9
commit a74dbd6ad0

View File

@ -33,7 +33,7 @@ function notifyall_addon_admin(App $a, &$o)
function notifyall_post(App $a) function notifyall_post(App $a)
{ {
if(! is_site_admin()) if(!is_site_admin())
{ {
return; return;
} }
@ -50,7 +50,7 @@ function notifyall_post(App $a)
if (empty($a->config['admin_name'])) if (empty($a->config['admin_name']))
{ {
$sender_name = '"' . L10n::t('%s Administrator', $sitename) . '"'; $sender_name = '"' . L10n::t('%s Administrator', $sitename) . '"';
} else { } else {
$sender_name = '"' . L10n::t('%1$s, %2$s Administrator', $a->config['admin_name'], $sitename) . '"'; $sender_name = '"' . L10n::t('%1$s, %2$s Administrator', $a->config['admin_name'], $sitename) . '"';
} }