diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2017-07-18 08:52:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-18 08:52:09 +0200 |
commit | 4b1f258198e54ffb24215ef9e6357615cfda0f0b (patch) | |
tree | 658f52cd7b6a5ad359fe1d94f7774635c002ac0a /apps | |
parent | 99555faffddc04c99bf70550f55805aa00880fcf (diff) | |
parent | 66cbf908530f2ad9f340b301ed89a9f187e671d1 (diff) | |
download | nextcloud-server-4b1f258198e54ffb24215ef9e6357615cfda0f0b.tar.gz nextcloud-server-4b1f258198e54ffb24215ef9e6357615cfda0f0b.zip |
Merge pull request #5735 from nextcloud/comradekingu-patch-1
Spelling: Shortening and binding
Diffstat (limited to 'apps')
-rw-r--r-- | apps/user_ldap/ajax/testConfiguration.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/user_ldap/ajax/testConfiguration.php b/apps/user_ldap/ajax/testConfiguration.php index 0416e49767b..d48a6be9382 100644 --- a/apps/user_ldap/ajax/testConfiguration.php +++ b/apps/user_ldap/ajax/testConfiguration.php @@ -67,19 +67,19 @@ try { $ldapWrapper->read($connection->getConnectionResource(), '', 'objectClass=*', array('dn')); } catch (\Exception $e) { if($e->getCode() === 1) { - OCP\JSON::error(array('message' => $l->t('The configuration is invalid: anonymous bind is not allowed.'))); + OCP\JSON::error(array('message' => $l->t('Invalid configuration: Anonymous binding is not allowed.'))); exit; } } OCP\JSON::success(array('message' - => $l->t('The configuration is valid and the connection could be established!'))); + => $l->t('Valid configuration, connection established!'))); } else { OCP\JSON::error(array('message' - => $l->t('The configuration is valid, but the Bind failed. Please check the server settings and credentials.'))); + => $l->t('Valid configuration, but binding failed. Please check the server settings and credentials.'))); } } else { OCP\JSON::error(array('message' - => $l->t('The configuration is invalid. Please have a look at the logs for further details.'))); + => $l->t('Invalid configuration. Please have a look at the logs for further details.'))); } } catch (\Exception $e) { OCP\JSON::error(array('message' => $e->getMessage())); |