Use common translation

This commit is contained in:
George Drummond 2019-05-14 13:48:43 -04:00
parent f1299dc4b0
commit b884c8a762
No known key found for this signature in database
GPG Key ID: 296DD6077123BF17
3 changed files with 3 additions and 5 deletions

View File

@ -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"
)
}}

View File

@ -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"
)

View File

@ -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: