aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2025-02-26 16:10:37 +0100
committerJoas Schilling <coding@schilljs.com>2025-03-05 16:49:11 +0100
commitbc1c497abd959dc912fb59f2c99fcdd92c4269e7 (patch)
tree25bfd0d05f6c1329fae2148743f13c5c5c8bf70f
parent76486b7a20bc37e2682f8ec9bebd408f2aa26d64 (diff)
downloadnextcloud-server-bc1c497abd959dc912fb59f2c99fcdd92c4269e7.tar.gz
nextcloud-server-bc1c497abd959dc912fb59f2c99fcdd92c4269e7.zip
fix(translation): Fix string concatenation in LDAP endpoint
Signed-off-by: Joas Schilling <coding@schilljs.com>
-rw-r--r--apps/user_ldap/ajax/wizard.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/user_ldap/ajax/wizard.php b/apps/user_ldap/ajax/wizard.php
index 5c2cddc7672..aa617fb3fc1 100644
--- a/apps/user_ldap/ajax/wizard.php
+++ b/apps/user_ldap/ajax/wizard.php
@@ -98,8 +98,7 @@ switch ($action) {
$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();