aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2025-02-26 16:10:37 +0100
committerJoas Schilling <coding@schilljs.com>2025-02-26 16:10:37 +0100
commit32dd46413e739455c119638463293ea378f354ad (patch)
treec55472e2ccf2e3d97c13348cf86337099695a926
parent095ab4419e21b0ea143b6b4441f229bca2e5d0fa (diff)
downloadnextcloud-server-32dd46413e739455c119638463293ea378f354ad.tar.gz
nextcloud-server-32dd46413e739455c119638463293ea378f354ad.zip
fix(translation): Fix string concatenation in LDAP endpointbugfix/noid/improve-english-sources
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 19980bf4921..056299e1bff 100644
--- a/apps/user_ldap/ajax/wizard.php
+++ b/apps/user_ldap/ajax/wizard.php
@@ -105,8 +105,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();