Add in translations

This commit is contained in:
George Drummond 2019-03-18 11:17:42 -04:00
parent d16d233145
commit 2cce348411
No known key found for this signature in database
GPG Key ID: 296DD6077123BF17
3 changed files with 6 additions and 4 deletions

View File

@ -3,8 +3,8 @@ from atst.utils.localization import translate
MESSAGES = {
"invitation_resent": {
"title_template": "The {{ officer_type }} has been resent instructions to join this portfolio.",
"message_template": "Invitation resent",
"title_template": "Invitation resent",
"message_template": "The {{ officer_type }} has been resent instructions to join this portfolio.",
"category": "success",
},
"task_order_draft": {

View File

@ -102,8 +102,8 @@
{{
ConfirmationButton(
btn_text="Resend Invitation",
confirm_btn="Resend",
confirm_msg="Are you sure you'd like to resend this invitation?",
confirm_btn=('task_orders.invitations.resend_btn' | translate),
confirm_msg=('task_orders.invitations.resend_confirmation_message' | translate),
action=url_for(
"portfolios.resend_invite",
portfolio_id=portfolio.id,

View File

@ -508,6 +508,8 @@ task_orders:
invitations:
dod_id_label: DoD ID
edit_text: A new invitation e-mail will be sent when new information is saved.
resend_btn: Resend
resend_confirmation_message: Are you sure you'd like to resend this invitation?
contracting_officer:
title: Contracting Officer (KO) Information
description: You'll need a signature from your KO. You might want to work with your program Financial Manager to get your TO documents moving in the right direction.