]> source.dussan.org Git - nextcloud-server.git/commitdiff
Join split translated strings
authorBart Visscher <bartv@thisnet.nl>
Fri, 15 Feb 2013 14:51:55 +0000 (15:51 +0100)
committerBart Visscher <bartv@thisnet.nl>
Fri, 15 Feb 2013 14:51:55 +0000 (15:51 +0100)
apps/user_ldap/ajax/testConfiguration.php
apps/user_ldap/templates/settings.php

index cfc07ff263e27e47738fb81302386a11af75ddb9..7ce1258a7967e7b8cd711f021b4f0fe4346b213d 100644 (file)
@@ -36,8 +36,7 @@ if($connection->setConfiguration($_POST)) {
                        => $l->t('The configuration is valid and the connection could be 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('The configuration is valid, but the Bind failed. Please check the server settings and credentials.')));
        }
 } else {
        OCP\JSON::error(array('message'
index 43f87c076d7d5c50b84853046b86277774b8a443..a882e5b754866a1fb9b632829b0ac835335c0d6b 100644 (file)
@@ -5,13 +5,10 @@
                <li><a href="#ldapSettings-2">Advanced</a></li>
        </ul>
                <?php if(OCP\App::isEnabled('user_webdavauth')) {
-                       echo '<p class="ldapwarning">'.$l->t('<b>Warning:</b> Apps user_ldap and user_webdavauth are incompatible.'
-                               .' You may experience unexpected behaviour.'
-                               .' Please ask your system administrator to disable one of them.').'</p>';
+                       echo '<p class="ldapwarning">'.$l->t('<b>Warning:</b> Apps user_ldap and user_webdavauth are incompatible. You may experience unexpected behaviour. Please ask your system administrator to disable one of them.').'</p>';
                }
                if(!function_exists('ldap_connect')) {
-                       echo '<p class="ldapwarning">'.$l->t('<b>Warning:</b> The PHP LDAP module is not installed,'
-                               .' the backend will not work. Please ask your system administrator to install it.').'</p>';
+                       echo '<p class="ldapwarning">'.$l->t('<b>Warning:</b> The PHP LDAP module is not installed, the backend will not work. Please ask your system administrator to install it.').'</p>';
                }
                ?>
        <fieldset id="ldapSettings-1">
                </p>
                <p><label for="ldap_host"><?php echo $l->t('Host');?></label>
                <input type="text" id="ldap_host" name="ldap_host" data-default="<?php echo $_['ldap_host_default']; ?>"
-                       title="<?php echo $l->t('You can omit the protocol, except you require SSL.'
-                               .' Then start with ldaps://');?>"></p>
+                       title="<?php echo $l->t('You can omit the protocol, except you require SSL. Then start with ldaps://');?>"></p>
                <p><label for="ldap_base"><?php echo $l->t('Base DN');?></label>
                <textarea id="ldap_base" name="ldap_base" placeholder="<?php echo $l->t('One Base DN per line');?>"
                        title="<?php echo $l->t('You can specify Base DN for users and groups in the Advanced tab');?>"
                        data-default="<?php echo $_['ldap_base_default']; ?>" ></textarea></p>
                <p><label for="ldap_dn"><?php echo $l->t('User DN');?></label>
                <input type="text" id="ldap_dn" name="ldap_dn" data-default="<?php echo $_['ldap_dn_default']; ?>"
-                       title="<?php echo $l->t('The DN of the client user with which the bind shall be done,'
-                               .' e.g. uid=agent,dc=example,dc=com. For anonymous access, leave DN and Password empty.');?>" /></p>
+                       title="<?php echo $l->t('The DN of the client user with which the bind shall be done, e.g. uid=agent,dc=example,dc=com. For anonymous access, leave DN and Password empty.');?>" /></p>
                <p><label for="ldap_agent_password"><?php echo $l->t('Password');?></label>
                <input type="password" id="ldap_agent_password" name="ldap_agent_password"
                        data-default="<?php echo $_['ldap_agent_password_default']; ?>"
@@ -42,8 +37,7 @@
                <p><label for="ldap_login_filter"><?php echo $l->t('User Login Filter');?></label>
                <input type="text" id="ldap_login_filter" name="ldap_login_filter"
                        data-default="<?php echo $_['ldap_login_filter_default']; ?>"
-                       title="<?php echo $l->t('Defines the filter to apply, when login is attempted.'
-                               .' %%uid replaces the username in the login action.');?>" />
+                       title="<?php echo $l->t('Defines the filter to apply, when login is attempted. %%uid replaces the username in the login action.');?>" />
                                <br /><small><?php echo $l->t('use %%uid placeholder, e.g. "uid=%%uid"');?></small></p>
                <p><label for="ldap_userlist_filter"><?php echo $l->t('User List Filter');?></label>
                <input type="text" id="ldap_userlist_filter" name="ldap_userlist_filter"