Skip to content

Commit

Permalink
Merge pull request nextcloud#51071 from nextcloud/bugfix/noid/improve…
Browse files Browse the repository at this point in the history
…-english-sources

fix(translation): Fix string concatenation in LDAP endpoint
  • Loading branch information
nickvergessen authored Feb 26, 2025
2 parents 2afb6ed + 32dd464 commit 774afcb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions apps/user_ldap/ajax/wizard.php
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,7 @@
$setParameters = [];
$configuration->setConfiguration($cfg, $setParameters);
if (!in_array($key, $setParameters)) {
\OC_JSON::error(['message' => $l->t($key .
' Could not set configuration %s', $setParameters[0])]);
\OC_JSON::error(['message' => $l->t('Could not set configuration %1$s to %2$s', [$key, $setParameters[0]])]);
exit;
}
$configuration->saveConfiguration();
Expand Down

0 comments on commit 774afcb

Please sign in to comment.