Merge pull request #56728 from nextcloud/fix/fix-wizard-controller-translation-string

fix(user_ldap): Do not use variables directly in translation strings
pull/56780/merge
Andy Scherzinger 2025-12-02 19:23:10 +07:00 committed by GitHub
commit 0e9aa3dd78
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

@ -104,7 +104,7 @@ class WizardController extends OCSController {
throw new OCSException();
default:
throw new OCSException($this->l->t('Action does not exist'));
throw new OCSException('Action ' . $wizardAction . 'does not exist');
break;
}
} catch (OCSException $e) {
@ -149,7 +149,7 @@ class WizardController extends OCSController {
$mapping = Server::get(GroupMapping::class);
$result = $mapping->clear();
} else {
throw new OCSException($this->l->t('Unsupported subject ' . $subject));
throw new OCSException('Unsupported subject ' . $subject);
}
if (!$result) {