Merge pull request #52005 from nextcloud/fix/l10n-placeholder

fix(l10n): put placeholder like string into variable
This commit is contained in:
Ferdinand Thiessen 2025-04-07 19:20:13 +02:00 committed by GitHub
commit 403c33a640
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -538,8 +538,8 @@ class Connection extends LDAPUtility {
if (mb_strpos((string)$this->configuration->ldapLoginFilter, '%uid', 0, 'UTF-8') === false) {
throw new ConfigurationIssueException(
'Login filter does not contain %uid place holder.',
$this->l10n->t('Login filter does not contain %uid place holder'),
'Login filter does not contain %uid placeholder.',
$this->l10n->t('Login filter does not contain %s placeholder.', ['%uid']),
);
}
}