Pass in resource as a variable

This commit is contained in:
George Drummond 2019-05-13 09:48:28 -04:00
parent 3544386670
commit 1f0b48703c
No known key found for this signature in database
GPG Key ID: 296DD6077123BF17
2 changed files with 2 additions and 2 deletions

View File

@ -135,7 +135,7 @@
Alert( Alert(
level="warning", level="warning",
title=('components.modal.destructive_title' | translate), title=('components.modal.destructive_title' | translate),
message=('components.modal.destructive_message' | translate), message=('components.modal.destructive_message' | translate({"resource": "environment"})),
) )
}} }}

View File

@ -45,7 +45,7 @@ common:
components: components:
modal: modal:
close: Close close: Close
destructive_message: You will no longer be able to access this environment destructive_message: You will no longer be able to access this {resource}
destructive_title: Warning! This action is permanent destructive_title: Warning! This action is permanent
usa_header: usa_header:
flag_image_alt: U.S. Flag flag_image_alt: U.S. Flag