chore(i18n): Aligned grammar

Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
pull/51816/head
rakekniven 4 weeks ago committed by Côme Chilliet
parent aee2f2df55
commit e43a8b473c
  1. 2
      apps/settings/lib/Middleware/SubadminMiddleware.php

@ -50,7 +50,7 @@ class SubadminMiddleware extends Middleware {
public function beforeController($controller, $methodName) {
if (!$this->reflector->hasAnnotation('NoSubAdminRequired') && !$this->reflector->hasAnnotation('AuthorizedAdminSetting')) {
if (!$this->isSubAdmin()) {
throw new NotAdminException($this->l10n->t('Logged in account must be a subadmin'));
throw new NotAdminException($this->l10n->t('Logged in account must be a sub admin'));
}
}
}

Loading…
Cancel
Save