diff --git a/apps/web/src/app/organizations/manage/groups.component.ts b/apps/web/src/app/organizations/manage/groups.component.ts index aa5c0433c3d..de3d18fb138 100644 --- a/apps/web/src/app/organizations/manage/groups.component.ts +++ b/apps/web/src/app/organizations/manage/groups.component.ts @@ -253,7 +253,11 @@ export class GroupsComponent implements OnInit, OnDestroy { this.organizationId, new OrganizationUserBulkRequest(groupsToDelete.map((g) => g.id)) ); - this.platformUtilsService.showToast("success", null, `Delete ${result.data.length} groups!`); + this.platformUtilsService.showToast( + "success", + null, + this.i18nService.t("deletedManyGroups", result.data.length.toString()) + ); groupsToDelete.forEach((g) => this.removeGroup(g.id)); } catch (e) { diff --git a/apps/web/src/locales/en/messages.json b/apps/web/src/locales/en/messages.json index 14efb7e71c8..79269935aee 100644 --- a/apps/web/src/locales/en/messages.json +++ b/apps/web/src/locales/en/messages.json @@ -2680,6 +2680,15 @@ } } }, + "deletedManyGroups": { + "message": "Deleted $QUANTITY$ group(s).", + "placeholders": { + "quantity": { + "content": "$1", + "example": "3" + } + } + }, "removedUserId": { "message": "Removed user $ID$.", "placeholders": {