summaryrefslogtreecommitdiffstats
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-03-05 15:53:25 +0000
commit79352a92d4e184014c06e9886ba8889a6abf07a5 (patch)
tree91b2613e2d0c9327715805a9bb92edf8390fa86d /apps
parent40f669f1eadce110a4522a8cf7af8c6ef4d7a0f1 (diff)
downloadnextcloud-server-79352a92d4e184014c06e9886ba8889a6abf07a5.tar.gz
nextcloud-server-79352a92d4e184014c06e9886ba8889a6abf07a5.zip
fix(translation): Fix string concatenation in LDAP endpoint
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 63241667825..e8a9ce0b001 100644
--- a/apps/user_ldap/ajax/wizard.php
+++ b/apps/user_ldap/ajax/wizard.php
@@ -119,8 +119,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();