aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2025-02-26 16:10:37 +0100
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2025-02-26 18:27:18 +0000
commit2ffa65201f6fe7f4e5555601a62ac0cb0dc9e06e (patch)
tree433b1f16c1962b14fb9235d2e39be159025d4a8a /apps
parent45439dcd9c3e6395b78b5703a00922423d4d2413 (diff)
downloadnextcloud-server-backport/51071/stable31.tar.gz
nextcloud-server-backport/51071/stable31.zip
fix(translation): Fix string concatenation in LDAP endpointbackport/51071/stable31
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps')
-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 fa6ed9d3a5a..dcf8701b103 100644
--- a/apps/user_ldap/ajax/wizard.php
+++ b/apps/user_ldap/ajax/wizard.php
@@ -104,8 +104,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();