Skip to content

Commit 423321c

Browse files
vins01-4scienceMicheleboychuk
authored andcommitted
feat(asyn-deletion): Enhances lables for en and it language
ref: DSC-2385
1 parent eb27766 commit 423321c

File tree

3 files changed

+13
-5
lines changed

3 files changed

+13
-5
lines changed

src/app/item-page/edit-item-page/item-delete/item-delete.component.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,6 @@ export class ItemDeleteComponent extends AbstractSimpleItemActionComponent imple
411411
*/
412412
notify(rd: RemoteData<Process>) {
413413
if (rd.hasSucceeded) {
414-
this.notificationsService.success(this.translateService.get('item.edit.' + this.messageKey + '.success'));
415414
const title = this.translateService.get('item-deletion.process.title');
416415
this.notificationsService.process(rd.payload.processId, 5000, title);
417416
void this.router.navigate(['']);

src/assets/i18n/en.json5

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3704,11 +3704,11 @@
37043704

37053705
"item-export.process.title": "Bulk export item",
37063706

3707-
"item-deletion.process.title": "Item deletion!",
3707+
"item-deletion.process.title": "Deleting item",
37083708

3709-
"community-deletion.process.title": "Community deletion!",
3709+
"community-deletion.process.title": "Deleting community",
37103710

3711-
"collection-deletion.process.title": "Collection deletion!",
3711+
"collection-deletion.process.title": "Deleting collection",
37123712

37133713
"itemtemplate.edit.metadata.add-button": "Add",
37143714

src/assets/i18n/it.json5

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5845,6 +5845,15 @@
58455845
// "item-export.process.title": "Bulk export item",
58465846
"item-export.process.title": "Bulk export dell'item",
58475847

5848+
// "item-deletion.process.title": "Deleting item",
5849+
"item-deletion.process.title": "Cancellazione dell'item",
5850+
5851+
// "community-deletion.process.title": "Deleting community",
5852+
"community-deletion.process.title": "Cancellazione della community",
5853+
5854+
// "collection-deletion.process.title": "Deleting collection",
5855+
"collection-deletion.process.title": "Cancellazione della collection",
5856+
58485857
// "itemtemplate.edit.metadata.add-button": "Add",
58495858
"itemtemplate.edit.metadata.add-button": "Aggiungi",
58505859

@@ -12801,4 +12810,4 @@
1280112810

1280212811

1280312812

12804-
}
12813+
}

0 commit comments

Comments
 (0)