From 5c8d12c61706c548da20a0f8b188e41fd5f85c3d Mon Sep 17 00:00:00 2001 From: rachel-dtr Date: Tue, 16 Apr 2019 14:52:33 -0400 Subject: [PATCH] Adding to translations file --- atst/forms/portfolio_member.py | 8 ++++---- translations.yaml | 4 ++++ 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/atst/forms/portfolio_member.py b/atst/forms/portfolio_member.py index 3b2906c5..2e76efdd 100644 --- a/atst/forms/portfolio_member.py +++ b/atst/forms/portfolio_member.py @@ -13,28 +13,28 @@ class PermissionsForm(BaseForm): member = StringField() user_id = HiddenField() perms_app_mgmt = SelectField( - "App management", + translate("forms.new_member.app_mgmt"), choices=[ (PermissionSets.VIEW_PORTFOLIO_APPLICATION_MANAGEMENT, "View only"), (PermissionSets.EDIT_PORTFOLIO_APPLICATION_MANAGEMENT, "Edit access"), ], ) perms_funding = SelectField( - "Funding", + translate("forms.new_member.funding"), choices=[ (PermissionSets.VIEW_PORTFOLIO_FUNDING, "View only"), (PermissionSets.EDIT_PORTFOLIO_FUNDING, "Edit access"), ], ) perms_reporting = SelectField( - "Reporting", + translate("forms.new_member.reporting"), choices=[ (PermissionSets.VIEW_PORTFOLIO_REPORTS, "View only"), (PermissionSets.EDIT_PORTFOLIO_REPORTS, "Edit access"), ], ) perms_portfolio_mgmt = SelectField( - "Portfolio management", + translate("forms.new_member.portfolio_mgmt"), choices=[ (PermissionSets.VIEW_PORTFOLIO_ADMIN, "View only"), (PermissionSets.EDIT_PORTFOLIO_ADMIN, "Edit access"), diff --git a/translations.yaml b/translations.yaml index 8e3fd2d7..2cc4deaa 100644 --- a/translations.yaml +++ b/translations.yaml @@ -160,6 +160,10 @@ forms: portfolio_role_description: 'The portfolio role controls whether a member is permitted to organize a portfolio into applications and environments, add members to this portfolio, and view billing information.' portfolio_role_label: Portfolio Role access: Access Level + app_mgmt: App management + funding: Funding + reporting: Reporting + portfolio_mgmt: Portfolio management new_request: am_poc_label: I am the Portfolio Owner average_daily_traffic_description: What is the average daily traffic you expect the systems under this cloud contract to use?