From 925de78cec848b293266450f9b5dde85f3a9af8f Mon Sep 17 00:00:00 2001 From: Bart Visscher Date: Fri, 15 Feb 2013 15:51:55 +0100 Subject: Join split translated strings --- apps/user_ldap/ajax/testConfiguration.php | 3 +-- apps/user_ldap/templates/settings.php | 16 +++++----------- 2 files changed, 6 insertions(+), 13 deletions(-) diff --git a/apps/user_ldap/ajax/testConfiguration.php b/apps/user_ldap/ajax/testConfiguration.php index cfc07ff263e..7ce1258a796 100644 --- a/apps/user_ldap/ajax/testConfiguration.php +++ b/apps/user_ldap/ajax/testConfiguration.php @@ -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' diff --git a/apps/user_ldap/templates/settings.php b/apps/user_ldap/templates/settings.php index 43f87c076d7..a882e5b7548 100644 --- a/apps/user_ldap/templates/settings.php +++ b/apps/user_ldap/templates/settings.php @@ -5,13 +5,10 @@
  • Advanced
  • '.$l->t('Warning: Apps user_ldap and user_webdavauth are incompatible.' - .' You may experience unexpected behaviour.' - .' Please ask your system administrator to disable one of them.').'

    '; + echo '

    '.$l->t('Warning: Apps user_ldap and user_webdavauth are incompatible. You may experience unexpected behaviour. Please ask your system administrator to disable one of them.').'

    '; } if(!function_exists('ldap_connect')) { - echo '

    '.$l->t('Warning: The PHP LDAP module is not installed,' - .' the backend will not work. Please ask your system administrator to install it.').'

    '; + echo '

    '.$l->t('Warning: The PHP LDAP module is not installed, the backend will not work. Please ask your system administrator to install it.').'

    '; } ?>
    @@ -25,16 +22,14 @@

    + title="t('You can omit the protocol, except you require SSL. Then start with ldaps://');?>">

    + title="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.');?>" />

    + title="t('Defines the filter to apply, when login is attempted. %%uid replaces the username in the login action.');?>" />
    t('use %%uid placeholder, e.g. "uid=%%uid"');?>