[account creation] Give proper, specific error for login failures. Strings only. Bug 555448, r=bwinton, ui-r=clarkbw, ok=sipaq
authorBen Bucksch <ben.bucksch@beonex.com>
Tue, 20 Apr 2010 22:21:12 +0200
changeset 7333 9ed648cfe463dd8542a11ba723425a05411592c5
parent 7332 68c3fc73c5fed65a7dd2c08eebf9d0be364f3c1a
child 7334 fd29d40d6240163017c4aa74aeb1675699b4a04b
push id1
push useraxel@mozilla.com
push dateTue, 10 Oct 2017 22:14:06 +0000
reviewersbwinton, clarkbw
bugs555448
[account creation] Give proper, specific error for login failures. Strings only. Bug 555448, r=bwinton, ui-r=clarkbw, ok=sipaq X-Channel-Repo: comm-central X-Channel-Converted-Revision: b9de88d28d49760af0c8cc235ad9e6585d7089e2
mail/chrome/messenger/accountCreationUtil.properties
--- a/mail/chrome/messenger/accountCreationUtil.properties
+++ b/mail/chrome/messenger/accountCreationUtil.properties
@@ -13,8 +13,18 @@ boolean.error=Not a boolean
 no_number.error=Not a number
 number_too_large.error=Number too large
 number_too_small.error=Number too small
 
 
 # fetchhttp.js
 cannot_contact_server.error=Cannot contact server
 bad_response_content.error=Bad response content
+
+# verifyConfig.js
+# LOCALIZATION NOTE(auth_failed_generic.error): The login failed (server refused to allow the user in), but the server did not give any meaningful error message. This is a common case when the user entered a wrong password or is otherwise not allowed.
+auth_failed_generic.error=Login failed. Are username/email address and password correct?
+# LOCALIZATION NOTE(auth_failed_with_reason.error): The login failed (server refused to allow the user in), and the server gave an error message which we can present to the user. This is a common case when the user entered a wrong password or is otherwise not allowed. %1$S will be the IMAP/POP3/SMTP server hostname. %2$S will be the error message from the server (usually in the local language where the server is or in English).
+auth_failed_with_reason.error=Login failed. The server %1$S said: %2$S
+# LOCALIZATION NOTE(verification_failed.error): We had some other error, not during authentication with the server, but at earlier points, e.g. locally or we entirely failed to contact the given server, and we unfortunately have no detailed error message.
+verification_failed.error=Login verification failed for an unknown reason.
+# LOCALIZATION NOTE(verification_failed_with_exception.error): We had some other error, not during authentication with the server, but at earlier points, e.g. locally or we entirely failed to contact the given server, and we have an error message. %1$S will be an error message, possibly in English
+verification_failed_with_exception.error=Login verification failed with message: %1$S