Move strings to translations file

This commit is contained in:
Patrick Smith
2019-02-10 13:06:31 -05:00
parent 7862cb9c2c
commit aee6b47cd2
3 changed files with 22 additions and 14 deletions

View File

@@ -2,11 +2,11 @@
{% from "components/text_input.html" import TextInput %}
{% set secondary_breadcrumb = application.name + ' Application Settings' %}
{% set secondary_breadcrumb = 'portfolios.applications.existing_application_title' | translate({ "application_name": application.name }) %}
{% block application_content %}
<div class='subheading'>Application Settings</div>
<div class='subheading'>{{ 'portfolios.applications.settings_heading' | translate }}</div>
<div class="panel">
<div class="panel__content">
@@ -15,10 +15,10 @@
{% include "fragments/edit_application_form.html" %}
<div class="block-list application-list-item">
<header class="block-list__header block-list__header--grow">
<h2 class="block-list__title">Application Environments</h2>
<header class="block-list__header--grow">
<h2 class="block-list__title">{{ 'portfolios.applications.environments_heading' | translate }}</h2>
<p>
Each environment created within an application is an enclave of cloud resources that is logically separated from each other for increased security.
{{ 'portfolios.applications.environments_description' | translate }}
</p>
</header>
@@ -35,7 +35,7 @@
</div>
<div class="action-group">
<button class="usa-button usa-button-primary" tabindex="0" type="submit">Update Application</button>
<button class="usa-button usa-button-primary" tabindex="0" type="submit">{{ 'portfolios.applications.update_button_text' | translate }}</button>
</div>
</form>
</div>