# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

# These are error strings for problems that happen while in the
# various states declared in nsILDAPAutoCompFormatter.idl.  Note that
# the number that indexes each error state is the same as the number
# corresponding to that state in nsILDAPAutoCompFormatter.idl.

## @name ERR_STATE_UNBOUND
## @loc none
0 = LDAP initialisation problem
## @name ERR_STATE_INITIALIZING
## @loc none
1 = LDAP server connection failed
## @name ERR_STATE_BINDING
## @loc none
2 = LDAP server connection failed
## @name ERR_STATE_BOUND
## @loc none
3 = LDAP server communications problem
## @name ERR_STATE_SEARCHING
## @loc none
4 = LDAP server search problem
# The format of the alert dialog itself
#
## @name ALERT_FORMAT
## @loc None of %1$S, %2$S and %3$S should be localized.
##      %1$S is the error code itself, %2$S is an LDAP SDK error message from
##      chrome://mozldap/locale/ldap.properties, and %3$S is a hint relating
##      to that specific error, found in this file.
errorAlertFormat = Error code %1$S: %2$S\n\n %3$S

## The following errors are for error codes other than LDAP-specific ones.
## Someday mozilla will actually have a system for mapping nsresults to
## error strings that's actually widely used, unlike nsIErrorService.  But
## until it does, these strings live here…

## @name HOST_NOT_FOUND
## @loc none
5000 = Host not found
## @name GENERIC_ERROR
## @loc none
9999 = Unknown error

# Hints to for the user, associated with specific error codes (ie error code
# + 10000)

## @name TIMELIMIT_EXCEEDED_HINT
## @loc none
10003 = Please try again later, or else contact your System Administrator.
## @name STRONGAUTH_REQUIRED_HINT
## @loc none
10008 = Strong authentication is not currently supported.
## @name INVALID_SYNTAX_HINT
## @loc none
10021 = Verify that the search filter is correct, and then try again, or else contact your System Administrator. To verify that the search filter is correct, from the Edit menu, choose Preferences, then choose Mail & Newsgroups, and then choose Addressing. Click Edit Directories, and select the LDAP server being used. Click Edit, and then click Advanced to display the Search Filter.
## @name NO_SUCH_OBJECT_HINT
## @loc none
10032 = Verify that the Base DN is correct, and then try again, or else contact your System Administrator. To verify that the Base DN is correct, from the Edit menu, choose Preferences, then choose Mail & Newsgroups, and then choose Addressing. Click Edit Directories, and select the LDAP server being used. Click Edit to display the Base DN.
## @name BUSY_HINT
## @loc none
10051 = Please try again later.
## @name SERVER_DOWN_HINT
## @loc none
10081 = Verify that the Hostname and Port Number are correct, and then try again, or else contact your System Administrator. To verify that the Hostname and Port Number are correct, from the Edit menu, choose Preferences, then choose Mail & Newsgroups, and then choose Addressing. Click Edit Directories, and select the LDAP server being used. Click Edit to display the Hostname. Click Advanced to display the Port Number.
## @name TIMEOUT_HINT
## @loc none
10085 = Please try again later.
## @name FILTER_ERROR_HINT
## @loc none
10087 = Verify that the search filter is correct, and then try again, or else contact your System Administrator. To verify that the search filter is correct, from the Edit menu, choose Preferences, then choose Mail & Newsgroups, and then choose Addressing. Click Edit Directories, and select the LDAP server being used. Click Edit, and then click Advanced to display the Search Filter.
## @name NO_MEMORY_HINT
## @loc none
10090 = Please close some other windows and/or applications and try again.
## @name CONNECT_ERROR_HINT
## @loc none
10091 = Verify that the Hostname and Port Number are correct, and then try again, or else contact your System Administrator. To verify that the Hostname and Port Number are correct, from the Edit menu, choose Preferences, then choose Mail & Newsgroups, and then choose Addressing. Click Edit Directories, and select the LDAP server being used. Click Edit to display the Hostname. Click Advanced to display the Port Number.
## @name HOST_NOT_FOUND_HINT
## @loc none
15000 = Verify that the Hostname is correct, and then try again, or else contact your System Administrator. To verify that the Hostname is correct, from the Edit menu, choose Preferences, then choose Mail & Newsgroups, and then choose Addressing. Click Edit Directories, and select the LDAP server being used. Click Edit to display the Hostname.
## @name GENERIC_HINT
## @loc none
19999 = Please contact your System Administrator.
