2023-10-23 15:51:36 +08:00

53 lines
2.6 KiB
PHP
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
$lang->ldap = new stdClass();
$lang->ldap->common = 'LDAP settings';
$lang->ldap->turnon = 'Status';
$lang->ldap->host = 'LDAP server';
$lang->ldap->port = 'Port';
$lang->ldap->version = 'LDAP version';
$lang->ldap->admin = 'Admin account';
$lang->ldap->password = 'Password';
$lang->ldap->baseDN = 'Base DN';
$lang->ldap->displayName = 'Real name field';
$lang->ldap->displayNamePS = 'The field in the LDAP server that corresponds to the individual real name';
$lang->ldap->account = 'Login account field';
$lang->ldap->accountPS = 'The field in the LDAP server that corresponds to the individual user account';
$lang->ldap->charset = 'LDAP Charset';
$lang->ldap->autoCreate = 'Automatically create user';
$lang->ldap->autoCreatePS = 'Assuming that LDAP user A does not exist in the Xunxuan user list, if this option is enabled, the user A will be created in Xunxuan after successful login; otherwise, the login fails';
$lang->ldap->example = 'For example,';
$lang->ldap->or = ' or ';
$lang->ldap->error = new stdclass();
$lang->ldap->error->connect = "LDAP server is not connected. LDAP address or port error!";
$lang->ldap->error->verify = 'Account/Password Error, or LDAP verison Error!';
$lang->ldap->error->noempty = '[%s] should not be empty.';
$lang->ldap->turnonList[0] = 'OFF';
$lang->ldap->turnonList[1] = 'ON';
$lang->ldap->versionList[3] = '3';
$lang->ldap->versionList[2] = '2';
$lang->ldap->repeatPolicyList['number'] = 'Add number, for example admin,admin2';
$lang->ldap->repeatPolicyList['dept'] = 'Add dept, for example admin(Dev)admin(Test)';
$lang->ldap->autoCreateList[1] = 'Yes';
$lang->ldap->autoCreateList[0] = 'No';
$lang->ldap->noldap = new stdclass();
$lang->ldap->noldap->header = "ERROR:LDAP extension of PHP is not loaded. ";
$lang->ldap->noldap->content = 'This feature depends on LDAP extension,you could modify the php.ini file, or install it. Specific instructions can refer to <a href="https://www.zentao.pm/book/zentaopromanual/137.html" target="_blank">Install LDAP extension</a>.';
$lang->ldap->inputError = new stdClass();
$lang->ldap->inputError->host = 'LDAP host cannot be empty';
$lang->ldap->inputError->port = 'LDAP port cannot be empty';
$lang->ldap->inputError->admin = 'LDAP management account cannot be empty';
$lang->ldap->inputError->password = 'LDAP account password cannot be empty';
$lang->ldap->inputError->baseDN = 'LDAP Base DN cannot be empty';
$lang->ldap->inputError->charset = 'LDAP code cannot be empty';
$lang->ldap->inputError->account = 'LDAP login name field cannot be empty';