diff --git a/atst/utils/flash.py b/atst/utils/flash.py index dd32f5cc..7970cc03 100644 --- a/atst/utils/flash.py +++ b/atst/utils/flash.py @@ -149,11 +149,10 @@ MESSAGES = { "category": "success", }, "application_deleted": { - "title_template": "Success!", + "title_template": translate("flash.success"), "message_template": """ - You have successfully deleted the {{ application_name }} application. - To view the retained activity log, visit the portfolio administration - page. Undo this action. + {{ "flash.application.deleted" | translate({"application_name": application_name}) }} + Undo. """, "category": "success", }, diff --git a/translations.yaml b/translations.yaml index c1e5de97..cf3a3fdb 100644 --- a/translations.yaml +++ b/translations.yaml @@ -28,6 +28,8 @@ flash: delete_member_success: You have successfully deleted {member_name} from the portfolio. new_ppoc_title: Primary point of contact updated new_ppoc_message: You have successfully added {ppoc_name} as the primary point of contact. You are no longer the PPoC. + application: + deleted: You have successfully deleted the {application_name} application. To view the retained activity log, visit the portfolio administration page. common: back: Back cancel: Cancel