Merge pull request #814 from dod-ccpo/delete-environment-translations

Add in missing "delete environment" translations
This commit is contained in:
George Drummond 2019-05-14 10:25:05 -04:00 committed by GitHub
commit a4156507d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 3 deletions

View File

@ -127,13 +127,15 @@
</toggler> </toggler>
{% call Modal(name=delete_environment_modal_id, dismissable=True) %} {% call Modal(name=delete_environment_modal_id, dismissable=True) %}
<h1>Are you sure you want to delete this environment?</h1> <h1>
{{ 'fragments.edit_environment_team_form.delete_environment_title' | translate }}
</h1>
{{ {{
Alert( Alert(
level="warning", level="warning",
title="Warning! This action is permanent", title=('components.modal.destructive_title' | translate),
message="You will no longer be able to access this environment", message=('components.modal.destructive_message' | translate({"resource": "environment"})),
) )
}} }}

View File

@ -47,6 +47,8 @@ common:
components: components:
modal: modal:
close: Close close: Close
destructive_message: You will no longer be able to access this {resource}
destructive_title: Warning! This action is permanent
usa_header: usa_header:
flag_image_alt: U.S. Flag flag_image_alt: U.S. Flag
official_message: An official website of the United States government official_message: An official website of the United States government
@ -329,6 +331,8 @@ fragments:
edit_application_form: 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. 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 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: edit_user_form:
date_last_training_tooltip: When was the last time you completed the IA training? <br> Information Assurance (IA) training is an important step in cyber awareness. date_last_training_tooltip: When was the last time you completed the IA training? <br> Information Assurance (IA) training is an important step in cyber awareness.
save_details_button: Save save_details_button: Save