diff --git a/templates/fragments/applications/edit_environments.html b/templates/fragments/applications/edit_environments.html index 5b9457dd..f6dc4912 100644 --- a/templates/fragments/applications/edit_environments.html +++ b/templates/fragments/applications/edit_environments.html @@ -127,13 +127,15 @@ {% call Modal(name=delete_environment_modal_id, dismissable=True) %} -

Are you sure you want to delete this environment?

+

+ {{ 'fragments.edit_environment_team_form.delete_environment_title' | translate }} +

{{ Alert( level="warning", - title="Warning! This action is permanent", - message="You will no longer be able to access this environment", + title=('components.modal.destructive_title' | translate), + message=('components.modal.destructive_message' | translate({"resource": "environment"})), ) }} diff --git a/translations.yaml b/translations.yaml index de1d625a..15f39fa8 100644 --- a/translations.yaml +++ b/translations.yaml @@ -47,6 +47,8 @@ common: components: modal: close: Close + destructive_message: You will no longer be able to access this {resource} + destructive_title: Warning! This action is permanent usa_header: flag_image_alt: U.S. Flag official_message: An official website of the United States government @@ -329,6 +331,8 @@ fragments: edit_application_form: explain: AT-AT allows you to create multiple applications within a portfolio. Each application can then be broken down into its own customizable environments. new_application_title: Add a new application + edit_environment_team_form: + delete_environment_title: Are you sure you want to delete this environment? edit_user_form: date_last_training_tooltip: When was the last time you completed the IA training?
Information Assurance (IA) training is an important step in cyber awareness. save_details_button: Save