diff --git a/templates/portfolios/applications/settings.html b/templates/portfolios/applications/settings.html index 7de3e1b5..124d7ca4 100644 --- a/templates/portfolios/applications/settings.html +++ b/templates/portfolios/applications/settings.html @@ -89,8 +89,8 @@ {{ Alert( - title="portfolios.applications.delete.alert.title" | translate, - message="portfolios.applications.delete.alert.message" | translate, + title=("components.modal.destructive_title" | translate), + message=("portfolios.applications.delete.alert.message" | translate), level="warning" ) }} diff --git a/templates/portfolios/applications/team.html b/templates/portfolios/applications/team.html index 7e75e3b9..1cda2139 100644 --- a/templates/portfolios/applications/team.html +++ b/templates/portfolios/applications/team.html @@ -123,7 +123,7 @@ {{ Alert( - title=("portfolios.applications.remove_member.alert.title" | translate), + title=("components.modal.destructive_title" | translate), message=("portfolios.applications.remove_member.alert.message" | translate({"user_name": member_form.user_name.data})), level="warning" ) diff --git a/translations.yaml b/translations.yaml index 41629c98..0cd7e783 100644 --- a/translations.yaml +++ b/translations.yaml @@ -419,13 +419,11 @@ portfolios: remove_member: alert: message: '{user_name} will no longer be able to access this application' - title: Warning! This action is permanent. button: Remove member header: Are you sure you want to remove this team member? delete: alert: message: You will lose access to this application and all of its reporting and metrics tools. The activity log will be retained. - title: Warning! This action is permanent. button: Delete application header: Are you sure you want to delete this application? environments: