]> source.dussan.org Git - nextcloud-server.git/commitdiff
Spelling: Shortening and binding
authorAllan Nordhøy <epost@anotheragency.no>
Fri, 14 Jul 2017 13:24:55 +0000 (15:24 +0200)
committerMorris Jobke <hey@morrisjobke.de>
Tue, 18 Jul 2017 07:11:30 +0000 (09:11 +0200)
apps/user_ldap/ajax/testConfiguration.php

index 0416e49767b06eb4b492734aa99f284e11dc2c3c..d48a6be9382043bd2debb479d22d392244cb6a4b 100644 (file)
@@ -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()));