1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-10 21:33:27 +00:00

[PM-9951] Assignment Collections copy (part 2) (#10244)

* add back disc bullet for assignment collections

* add singular and plural versions of bulk collection assignment description
This commit is contained in:
Nick Krantz
2024-07-24 13:28:33 -05:00
committed by GitHub
parent b07d7ee1c6
commit 61713e5fe4
3 changed files with 17 additions and 4 deletions

View File

@@ -3764,7 +3764,10 @@
"assign": {
"message": "Assign"
},
"bulkCollectionAssignmentDialogDescription": {
"bulkCollectionAssignmentDialogDescriptionSingular": {
"message": "Only organization members with access to these collections will be able to see the item."
},
"bulkCollectionAssignmentDialogDescriptionPlural": {
"message": "Only organization members with access to these collections will be able to see the items."
},
"bulkCollectionAssignmentWarning": {

View File

@@ -7933,7 +7933,10 @@
"assignToTheseCollections": {
"message": "Assign to these collections"
},
"bulkCollectionAssignmentDialogDescription": {
"bulkCollectionAssignmentDialogDescriptionSingular": {
"message": "Only organization members with access to these collections will be able to see the item."
},
"bulkCollectionAssignmentDialogDescriptionPlural": {
"message": "Only organization members with access to these collections will be able to see the items."
},
"selectCollectionsToAssign": {

View File

@@ -1,7 +1,14 @@
<form [formGroup]="formGroup" [bitSubmit]="submit" id="assign_collections_form">
<p>{{ "bulkCollectionAssignmentDialogDescription" | i18n }}</p>
<p>
{{
(personalItemsCount === 1
? "bulkCollectionAssignmentDialogDescriptionSingular"
: "bulkCollectionAssignmentDialogDescriptionPlural"
) | i18n
}}
</p>
<ul class="tw-list-none tw-pl-5 tw-space-y-2 tw-break-words">
<ul class="tw-list-disc tw-pl-5 tw-space-y-2 tw-break-words">
<li *ngIf="readonlyItemCount > 0">
<p>
{{ "bulkCollectionAssignmentWarning" | i18n: totalItemCount : readonlyItemCount }}