From 656b15d5f619dfa51007ada647b3b2aded6a3602 Mon Sep 17 00:00:00 2001 From: nixonakash01 Date: Thu, 1 Sep 2022 11:18:11 +0530 Subject: [PATCH] TOS 681 - The display text in the "Delete" Warning message popup is inappropriate in Test Case Details Page --- ui/src/app/components/cases/test-case-details.component.ts | 1 + ui/src/assets/i18n/en.json | 1 + 2 files changed, 2 insertions(+) diff --git a/ui/src/app/components/cases/test-case-details.component.ts b/ui/src/app/components/cases/test-case-details.component.ts index 1f496f84..db6c1cdd 100644 --- a/ui/src/app/components/cases/test-case-details.component.ts +++ b/ui/src/app/components/cases/test-case-details.component.ts @@ -125,6 +125,7 @@ export class TestCaseDetailsComponent extends BaseComponent implements OnInit { item: 'test case', name: this.testCase.name, note: this.translate.instant('message.common.confirmation.test_data_des', {Item:'test case'}), + confirmation: permanently ? this.translate.instant("message.common.confirmation.note") : this.translate.instant("message.common.confirmation.note_trash"), }, panelClass: ['matDialog', 'delete-confirm'] }); diff --git a/ui/src/assets/i18n/en.json b/ui/src/assets/i18n/en.json index 1a860edc..89108376 100644 --- a/ui/src/assets/i18n/en.json +++ b/ui/src/assets/i18n/en.json @@ -104,6 +104,7 @@ "message.common.confirmation.default_change": "Are you sure to change this?", "message.common.confirmation.title": "Delete Confirmation", "message.common.confirmation.note": "You cannot undo this action!", + "message.common.confirmation.note_trash": "You can always restore the deleted test cases back from Trash!", "message.common.createdDate": "Created Date", "message.common.updatedDate": "Updated Date", "message.common.clear": "Clear",