From 1172b780b4c32499224860c1cc40da678451d940 Mon Sep 17 00:00:00 2001 From: George Drummond Date: Tue, 11 Jun 2019 11:32:24 -0400 Subject: [PATCH] Say "Deactivate" rather than "Delete" on modal --- templates/fragments/delete_portfolio.html | 2 +- translations.yaml | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/templates/fragments/delete_portfolio.html b/templates/fragments/delete_portfolio.html index c318b031..7f6a0f30 100644 --- a/templates/fragments/delete_portfolio.html +++ b/templates/fragments/delete_portfolio.html @@ -12,7 +12,7 @@ class="usa-button-primary {% if applications_count == 0 %}button-danger{% else %}usa-button-disabled{% endif %}" {% if applications_count == 0 %}v-on:click="openModal('delete_portfolio')"{% endif %} > - {{ "common.delete" | translate }} + {{ "common.deactivate" | translate }} diff --git a/translations.yaml b/translations.yaml index 49317b2e..84e42d25 100644 --- a/translations.yaml +++ b/translations.yaml @@ -35,6 +35,7 @@ common: confirm: Confirm continue: Continue delete: Delete + deactivate: Deactivate delete_confirm: 'Please type the word {word} to confirm:' edit: Edit hide: Hide @@ -348,7 +349,7 @@ forms: file_length: Your file may not exceed 50 MB. fragments: delete_portfolio: - title: Delete Portfolio + title: Deactivate Portfolio subtitle: Portfolio deactivation is available only if there are no applications in the portfolio. 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.