Add language to say that an available domain is not guaranteed (#1461)

* Add language to say that an available domain is not guaranteed

* Linting fun

* More fun with lint

* Update views.py

* Update domain API success message string

---------

Co-authored-by: Erin <121973038+erinysong@users.noreply.github.com>
This commit is contained in:
Michelle Rago 2023-12-11 19:56:39 -05:00 committed by GitHub
parent fce0eb0370
commit 1178cbc5c4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -32,7 +32,9 @@ DOMAIN_API_MESSAGES = {
"Read more about choosing your .gov domain.</a>".format(public_site_url("domains/choosing"))
),
"invalid": "Enter a domain using only letters, numbers, or hyphens (though we don't recommend using hyphens).",
"success": "That domain is available!",
"success": "That domain is available! Well try to give you the domain you want, \
but it's not guaranteed. After you complete this form, well \
evaluate whether your request meets our requirements.",
"error": GenericError.get_error_message(GenericErrorCodes.CANNOT_CONTACT_REGISTRY),
}