diff --git a/apps/user_ldap/ajax/wizard.php b/apps/user_ldap/ajax/wizard.php index c90efdf7e9e..e580c097867 100644 --- a/apps/user_ldap/ajax/wizard.php +++ b/apps/user_ldap/ajax/wizard.php @@ -82,7 +82,8 @@ switch($action) { $setParameters = array(); $configuration->setConfiguration($cfg, $setParameters); if(!in_array($key, $setParameters)) { - \OCP\JSON::error(array('message' => $l->t($key.' Could not set configuration '.$setParameters[0]))); + \OCP\JSON::error(array('message' => $l->t($key. + ' Could not set configuration %s', $setParameters[0]))); exit; } $configuration->saveConfiguration(); diff --git a/apps/user_ldap/templates/part.wizard-groupfilter.php b/apps/user_ldap/templates/part.wizard-groupfilter.php index d36c171b639..17ce815589a 100644 --- a/apps/user_ldap/templates/part.wizard-groupfilter.php +++ b/apps/user_ldap/templates/part.wizard-groupfilter.php @@ -1,7 +1,7 @@

- t('Limit the access to ownCloud to groups meeting this criteria:'));?> + t('Limit the access to %s to groups meeting this criteria:', $theme->getName()));?>

diff --git a/apps/user_ldap/templates/part.wizard-loginfilter.php b/apps/user_ldap/templates/part.wizard-loginfilter.php index 4cad6595449..d4a36eb0cb7 100644 --- a/apps/user_ldap/templates/part.wizard-loginfilter.php +++ b/apps/user_ldap/templates/part.wizard-loginfilter.php @@ -13,7 +13,7 @@

- t('Limit the access to ownCloud to users meeting this criteria:'));?> + t('Limit the access to %s to users meeting this criteria:', $theme->getName()));?>