def METHOD_NAME(notification: "Notification") -> str:
    message = html.escape(
        pgettext("notification replied", "%(actor)s replied to %(thread)s")
    )
    return message % {
        "actor": bold_escape(notification.actor_name),
        "thread": bold_escape(notification.thread_title),
    }