diff --git a/appview/pages/templates/strings/string.html b/appview/pages/templates/strings/string.html index 80a646e5..139c7abd 100644 --- a/appview/pages/templates/strings/string.html +++ b/appview/pages/templates/strings/string.html @@ -35,7 +35,7 @@ title="Delete string" hx-delete="/strings/{{ .String.Did }}/{{ .String.Rkey }}/" hx-swap="none" - hx-confirm="Are you sure you want to delete the gist `{{ .String.Filename }}`?" + hx-confirm="Are you sure you want to delete the string `{{ .String.Filename }}`?" > {{ i "trash-2" "size-4" }} diff --git a/appview/strings/strings.go b/appview/strings/strings.go index a51f3489..8634a2b6 100644 --- a/appview/strings/strings.go +++ b/appview/strings/strings.go @@ -456,7 +456,7 @@ func (s *Strings) delete(w http.ResponseWriter, r *http.Request) { } if user.Did != id.DID.String() { - fail("You cannot delete this gist", fmt.Errorf("unauthorized deletion, %s != %s", user.Did, id.DID.String())) + fail("You cannot delete this string", fmt.Errorf("unauthorized deletion, %s != %s", user.Did, id.DID.String())) return }