Say "Deactivate" rather than "Delete" on modal

This commit is contained in:
George Drummond 2019-06-11 11:32:24 -04:00
parent 39bcb05019
commit 1172b780b4
No known key found for this signature in database
GPG Key ID: 296DD6077123BF17
2 changed files with 3 additions and 2 deletions

View File

@ -12,7 +12,7 @@
class="usa-button-primary {% if applications_count == 0 %}button-danger{% else %}usa-button-disabled{% endif %}" 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 %} {% if applications_count == 0 %}v-on:click="openModal('delete_portfolio')"{% endif %}
> >
{{ "common.delete" | translate }} {{ "common.deactivate" | translate }}
</div> </div>
</div> </div>
</section> </section>

View File

@ -35,6 +35,7 @@ common:
confirm: Confirm confirm: Confirm
continue: Continue continue: Continue
delete: Delete delete: Delete
deactivate: Deactivate
delete_confirm: 'Please type the word {word} to confirm:' delete_confirm: 'Please type the word {word} to confirm:'
edit: Edit edit: Edit
hide: Hide hide: Hide
@ -348,7 +349,7 @@ forms:
file_length: Your file may not exceed 50 MB. file_length: Your file may not exceed 50 MB.
fragments: fragments:
delete_portfolio: delete_portfolio:
title: Delete Portfolio title: Deactivate Portfolio
subtitle: Portfolio deactivation is available only if there are no applications in the portfolio. subtitle: Portfolio deactivation is available only if there are no applications in the portfolio.
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.