1
0
mirror of https://github.com/bitwarden/browser synced 2026-01-31 00:33:33 +00:00

[EC-16] More i18n cleanup

This commit is contained in:
Shane Melton
2022-09-19 12:12:39 -07:00
parent 2ab7823481
commit 45bd7b351d
2 changed files with 14 additions and 1 deletions

View File

@@ -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) {

View File

@@ -2680,6 +2680,15 @@
}
}
},
"deletedManyGroups": {
"message": "Deleted $QUANTITY$ group(s).",
"placeholders": {
"quantity": {
"content": "$1",
"example": "3"
}
}
},
"removedUserId": {
"message": "Removed user $ID$.",
"placeholders": {