diff --git a/atst/forms/application_member.py b/atst/forms/application_member.py index 6ee1cc9a..1eaa4e06 100644 --- a/atst/forms/application_member.py +++ b/atst/forms/application_member.py @@ -29,19 +29,25 @@ class EnvironmentForm(FlaskForm): class PermissionsForm(FlaskForm): perms_env_mgmt = BooleanField( - label="Manage Environments", + translate("portfolios.applications.members.form.env_mgmt.label"), default=False, - description="Add and rename project environments, assign environment access roles to team members." + description=translate( + "portfolios.applications.members.form.env_mgmt.description" + ), ) perms_team_mgmt = BooleanField( - label="Edit Team", + translate("portfolios.applications.members.form.team_mgmt.label"), default=False, - description="Add and remove team members." + description=translate( + "portfolios.applications.members.form.team_mgmt.description" + ), ) perms_del_env = BooleanField( - label="Delete Application", + translate("portfolios.applications.members.form.del_env.label"), default=False, - description="Delete this application." + description=translate( + "portfolios.applications.members.form.del_env.description" + ), ) @property diff --git a/templates/fragments/applications/new_member_modal_content.html b/templates/fragments/applications/new_member_modal_content.html index 6e9789f9..9d32984e 100644 --- a/templates/fragments/applications/new_member_modal_content.html +++ b/templates/fragments/applications/new_member_modal_content.html @@ -18,7 +18,7 @@ type='button' v-on:click="previous()" class='action-group__action usa-button usa-button-secondary' - value='Previous'> + value='{{ "common.previous" | translate }}'> {% endif %} {{ "common.cancel" | translate }} @@ -31,10 +31,10 @@ v-on:click="next()" v-bind:disabled="invalid" class='action-group__action usa-button' - value='Next'> + value='{{ "portfolios.applications.members.form.next_button" | translate }}'> {% endset %} - {% call MemberFormTemplate(title="Add Member", next_button=next_button, previous=False) %} + {% call MemberFormTemplate(title="portfolios.applications.members.form.add_member"|translate, next_button=next_button, previous=False) %}