Skip to content

Commit 8d22814

Browse files
feat(asyn-deletion): Enhances lables for en and it language
ref: DSC-2385
1 parent 121aa97 commit 8d22814

3 files changed

Lines changed: 13 additions & 5 deletions

File tree

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
@@ -445,7 +445,6 @@ export class ItemDeleteComponent extends AbstractSimpleItemActionComponent imple
445445
*/
446446
notify(rd: RemoteData<Process>) {
447447
if (rd.hasSucceeded) {
448-
this.notificationsService.success(this.translateService.get('item.edit.' + this.messageKey + '.success'));
449448
const title = this.translateService.get('item-deletion.process.title');
450449
this.notificationsService.process(rd.payload.processId, 5000, title);
451450
void this.router.navigate(['']);

src/assets/i18n/en.json5

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

40824082
"item-export.process.title": "Bulk export item",
40834083

4084-
"item-deletion.process.title": "Item deletion!",
4084+
"item-deletion.process.title": "Deleting item",
40854085

4086-
"community-deletion.process.title": "Community deletion!",
4086+
"community-deletion.process.title": "Deleting community",
40874087

4088-
"collection-deletion.process.title": "Collection deletion!",
4088+
"collection-deletion.process.title": "Deleting collection",
40894089

40904090
"itemtemplate.edit.metadata.add-button": "Add",
40914091

src/assets/i18n/it.json5

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6688,6 +6688,15 @@
66886688
// "item-export.process.title": "Bulk export item",
66896689
"item-export.process.title": "Bulk export dell'item",
66906690

6691+
// "item-deletion.process.title": "Deleting item",
6692+
"item-deletion.process.title": "Cancellazione dell'item",
6693+
6694+
// "community-deletion.process.title": "Deleting community",
6695+
"community-deletion.process.title": "Cancellazione della community",
6696+
6697+
// "collection-deletion.process.title": "Deleting collection",
6698+
"collection-deletion.process.title": "Cancellazione della collection",
6699+
66916700
// "itemtemplate.edit.metadata.add-button": "Add",
66926701
"itemtemplate.edit.metadata.add-button": "Aggiungi",
66936702

@@ -15779,4 +15788,4 @@
1577915788

1578015789

1578115790

15782-
}
15791+
}

0 commit comments

Comments
 (0)