PLT-3766 Change remaining LDAP references to AD/LDAP (#3985)

* Update user.go

* Update en.json

* Update ldap_test_button.jsx

* Update en.json
Этот коммит содержится в:
Jason Blais
2016-09-08 08:48:12 -04:00
коммит произвёл enahum
родитель ba2e131804
Коммит b6ed10a31e
4 изменённых файлов: 9 добавлений и 7 удалений

Просмотреть файл

@@ -2156,7 +2156,7 @@ func emailToLdap(c *Context, w http.ResponseWriter, r *http.Request) {
return
}
go sendSignInChangeEmail(c, user.Email, c.GetSiteURL(), "LDAP")
go sendSignInChangeEmail(c, user.Email, c.GetSiteURL(), "AD/LDAP")
m := map[string]string{}
m["follow_link"] = "/login?extra=signin_change"

Просмотреть файл

@@ -2461,7 +2461,7 @@
},
{
"id": "ent.ldap.disabled.app_error",
"translation": "LDAP disabled or licence does not support LDAP."
"translation": "AD/LDAP disabled or licence does not support AD/LDAP."
},
{
"id": "ent.ldap.do_login.bind_admin_user.app_error",

Просмотреть файл

@@ -71,7 +71,7 @@ export default class LdapTestButton extends React.Component {
<i className='fa fa-warning'/>
<FormattedMessage
id='admin.ldap.testFailure'
defaultMessage='LDAP Test Failure: {error}'
defaultMessage='AD/LDAP Test Failure: {error}'
values={{
error: this.state.fail
}}
@@ -86,7 +86,7 @@ export default class LdapTestButton extends React.Component {
<i className='fa fa-success'/>
<FormattedMessage
id='admin.ldap.testSuccess'
defaultMessage='LDAP Test Successful'
defaultMessage='AD/LDAP Test Successful'
values={{
error: this.state.fail
}}
@@ -99,7 +99,7 @@ export default class LdapTestButton extends React.Component {
let helpText = (
<FormattedHTMLMessage
id='admin.ldap.testHelpText'
defaultMessage='Tests if the Mattermost server can connect to the LDAP server specified. See log file for more detailed error messages.'
defaultMessage='Tests if the Mattermost server can connect to the AD/LDAP server specified. See log file for more detailed error messages.'
/>
);
@@ -115,7 +115,7 @@ export default class LdapTestButton extends React.Component {
contents = (
<FormattedMessage
id='admin.ldap.ldap_test_button'
defaultMessage='LDAP Test'
defaultMessage='AD/LDAP Test'
/>
);
}

Просмотреть файл

@@ -417,7 +417,7 @@
"admin.ldap.loginNameEx": "Ex \"AD/LDAP Username\"",
"admin.ldap.loginNameTitle": "Login Field Name:",
"admin.ldap.maxPageSizeEx": "Ex \"2000\"",
"admin.ldap.maxPageSizeHelpText": "The maximum number of users the Mattermost server will request from the LDAP server at one time. 0 is unlimited.",
"admin.ldap.maxPageSizeHelpText": "The maximum number of users the Mattermost server will request from the AD/LDAP server at one time. 0 is unlimited.",
"admin.ldap.maxPageSizeTitle": "Maximum Page Size:",
"admin.ldap.nicknameAttrDesc": "(Optional) The attribute in the AD/LDAP server that will be used to populate the nickname of users in Mattermost.",
"admin.ldap.nicknameAttrEx": "Ex \"nickname\"",
@@ -440,7 +440,9 @@
"admin.ldap.syncNowHelpText": "Initiates an AD/LDAP synchronization immediately.",
"admin.ldap.sync_button": "AD/LDAP Synchronize Now",
"admin.ldap.testFailure": "AD/LDAP Test Failure: {error}",
"admin.ldap.testSuccess": "AD/LDAP Test Successful",
"admin.ldap.testHelpText": "Tests if the Mattermost server can connect to the AD/LDAP server specified. See log file for more detailed error messages.",
"admin.ldap.ldap_test_button": "AD/LDAP Test",
"admin.ldap.uernameAttrDesc": "The attribute in the AD/LDAP server that will be used to populate the username field in Mattermost. This may be the same as the ID Attribute.",
"admin.ldap.userFilterDisc": "(Optional) Enter an AD/LDAP Filter to use when searching for user objects. Only the users selected by the query will be able to access Mattermost. For Active Directory, the query to filter out disabled users is (&(objectCategory=Person)(!(UserAccountControl:1.2.840.113556.1.4.803:=2))).",
"admin.ldap.userFilterEx": "Ex. \"(objectClass=user)\"",