Repository: cisagov/manage.get.gov

Issue:
Django Admin: Update text and status messaging for "get status" button
### Issue Description

In Django admin, on the Domain page, there is a button to "get status."

- Update text on the "get status" button to read: "Get registry status"
- Update other buttons on this page to use sentence case, as well; "Manage domain" and ~"Delete registry domain"~ "Delete domain in registry"
- Update the status message that appears upon clicking the button to explain what status is being represented.

### Additional Context (optional)

Status message should read: ~"The registry statuses are ['serverTransferProhibited', 'inactive']. These statuses are from the EPP provider of the .gov registry."~
"The registry statuses are ['serverTransferProhibited', 'inactive']. These statuses are from the EPP provider of the .gov registry."

### Issue Links

_No response_


Discussion:
Suggesting we just remove EPP and say:  "The registry statuses are ['serverTransferProhibited', 'inactive']. These statuses are from the provider of the .gov registry."

@Katherine-Osos does that work?
I see the thumbs up so I am updating it above accordingly

Resolving patch:
diff --git a/src/registrar/admin.py b/src/registrar/admin.py
--- a/src/registrar/admin.py
+++ b/src/registrar/admin.py
@@ -784,7 +784,8 @@ def do_get_status(self, request, obj):
         else:
             self.message_user(
                 request,
-                ("Domain statuses are %s" ". Thanks!") % statuses,
+                f"The registry statuses are {statuses}. "
+                "These statuses are from the provider of the .gov registry.",
             )
         return HttpResponseRedirect(".")
 
diff --git a/src/registrar/models/domain.py b/src/registrar/models/domain.py
--- a/src/registrar/models/domain.py
+++ b/src/registrar/models/domain.py
@@ -718,7 +718,6 @@ def map_epp_contact_to_public_contact(
 
         if not isinstance(contact, eppInfo.InfoContactResultData):
             raise ContactError("Contact must be of type InfoContactResultData")
-
         auth_info = contact.auth_info
         postal_info = contact.postal_info
         addr = postal_info.addr


Test patch:
diff --git a/src/registrar/tests/test_admin.py b/src/registrar/tests/test_admin.py
--- a/src/registrar/tests/test_admin.py
+++ b/src/registrar/tests/test_admin.py
@@ -108,12 +108,12 @@ def test_deletion_is_successful(self):
         )
         self.assertEqual(response.status_code, 200)
         self.assertContains(response, domain.name)
-        self.assertContains(response, "Delete Domain in Registry")
+        self.assertContains(response, "Delete domain in registry")
 
         # Test the info dialog
         request = self.factory.post(
             "/admin/registrar/domain/{}/change/".format(domain.pk),
-            {"_delete_domain": "Delete Domain in Registry", "name": domain.name},
+            {"_delete_domain": "Delete domain in registry", "name": domain.name},
             follow=True,
         )
         request.user = self.client
@@ -148,12 +148,12 @@ def test_deletion_ready_fsm_failure(self):
         )
         self.assertEqual(response.status_code, 200)
         self.assertContains(response, domain.name)
-        self.assertContains(response, "Delete Domain in Registry")
+        self.assertContains(response, "Delete domain in registry")
 
         # Test the error
         request = self.factory.post(
             "/admin/registrar/domain/{}/change/".format(domain.pk),
-            {"_delete_domain": "Delete Domain in Registry", "name": domain.name},
+            {"_delete_domain": "Delete domain in registry", "name": domain.name},
             follow=True,
         )
         request.user = self.client
@@ -193,12 +193,12 @@ def test_analyst_deletes_domain_idempotent(self):
         )
         self.assertEqual(response.status_code, 200)
         self.assertContains(response, domain.name)
-        self.assertContains(response, "Delete Domain in Registry")
+        self.assertContains(response, "Delete domain in registry")
 
         # Test the info dialog
         request = self.factory.post(
             "/admin/registrar/domain/{}/change/".format(domain.pk),
-            {"_delete_domain": "Delete Domain in Registry", "name": domain.name},
+            {"_delete_domain": "Delete domain in registry", "name": domain.name},
             follow=True,
         )
         request.user = self.client
@@ -220,7 +220,7 @@ def test_analyst_deletes_domain_idempotent(self):
         # Test the info dialog
         request = self.factory.post(
             "/admin/registrar/domain/{}/change/".format(domain.pk),
-            {"_delete_domain": "Delete Domain in Registry", "name": domain.name},
+            {"_delete_domain": "Delete domain in registry", "name": domain.name},
             follow=True,
         )
         request.user = self.client