improved language consistency in error/help messages

This commit is contained in:
Steve Desmond
2015-10-30 14:47:23 -04:00
parent c8999f86a1
commit edabce9a96
+8 -8
View File
@@ -486,29 +486,29 @@ def is_preferred(offered_challb, satisfied,
_ERROR_HELP_COMMON = ( _ERROR_HELP_COMMON = (
"To fix these errors, please make sure that your domain name was entered " "To fix these errors, please make sure that your domain name was entered "
"correctly and the DNS A record(s) for that domain contains the " "correctly and the DNS A record(s) for that domain contain(s) the "
"right IP address.") "right IP address.")
_ERROR_HELP = { _ERROR_HELP = {
"connection": "connection":
_ERROR_HELP_COMMON + " Additionally, please check that your computer " _ERROR_HELP_COMMON + " Additionally, please check that your computer "
"has publicly routable IP address and no firewalls are preventing the " "has a publicly routable IP address and that no firewalls are preventing "
"server from communicating with the client.", "the server from communicating with the client.",
"dnssec": "dnssec":
_ERROR_HELP_COMMON + " Additionally, if you have DNSSEC enabled for " _ERROR_HELP_COMMON + " Additionally, if you have DNSSEC enabled for "
"your domain, please ensure the signature is valid.", "your domain, please ensure that the signature is valid.",
"malformed": "malformed":
"To fix these errors, please make sure that you did not provide any " "To fix these errors, please make sure that you did not provide any "
"invalid information to the client and try running Let's Encrypt " "invalid information to the client, and try running Let's Encrypt "
"again.", "again.",
"serverInternal": "serverInternal":
"Unfortunately, an error on the ACME server prevented you from completing " "Unfortunately, an error on the ACME server prevented you from completing "
"authorization. Please try again later.", "authorization. Please try again later.",
"tls": "tls":
_ERROR_HELP_COMMON + " Additionally, please check that you have an up " _ERROR_HELP_COMMON + " Additionally, please check that you have an "
"to date TLS configuration that allows the server to communicate with " "up-to-date TLS configuration that allows the server to communicate "
"the Let's Encrypt client.", "with the Let's Encrypt client.",
"unauthorized": _ERROR_HELP_COMMON, "unauthorized": _ERROR_HELP_COMMON,
"unknownHost": _ERROR_HELP_COMMON, "unknownHost": _ERROR_HELP_COMMON,
} }