diff --git a/apps/red-ui/src/app/modules/file-preview/utils/dialog-options.ts b/apps/red-ui/src/app/modules/file-preview/utils/dialog-options.ts index 29db18b8e..a512cf90a 100644 --- a/apps/red-ui/src/app/modules/file-preview/utils/dialog-options.ts +++ b/apps/red-ui/src/app/modules/file-preview/utils/dialog-options.ts @@ -185,7 +185,6 @@ export const getRemoveRedactionOptions = ( descriptionParams: { value: redactions[0].value, type: redactions[0].HINT ? 'hint' : redactions[0].typeLabel, - isImage: redactions[0].isImage ? 'image' : redactions[0].typeLabel, }, icon: PIN_ICON, value: RemoveRedactionOptions.ONLY_HERE, @@ -198,6 +197,7 @@ export const getRemoveRedactionOptions = ( description: removeRedactionTranslations.IN_DOCUMENT.description, icon: DOCUMENT_ICON, value: RemoveRedactionOptions.IN_DOCUMENT, + descriptionParams: { length: redactions.length }, }); } } diff --git a/apps/red-ui/src/assets/i18n/redact/en.json b/apps/red-ui/src/assets/i18n/redact/en.json index d2c22b5d0..842339be4 100644 --- a/apps/red-ui/src/assets/i18n/redact/en.json +++ b/apps/red-ui/src/assets/i18n/redact/en.json @@ -2222,7 +2222,7 @@ "label": "Remove from dossier in this context" }, "in-document": { - "description": "Do not auto-redact the selected {isImage, select, image{image} other{term}} on any page of this document.", + "description": "Do not auto-redact the selected {length, plural, one{term} other{terms}} on any page of this document.", "label": "Remove from document" }, "in-dossier": { diff --git a/libs/common-ui b/libs/common-ui index 17d2e8c53..99facc043 160000 --- a/libs/common-ui +++ b/libs/common-ui @@ -1 +1 @@ -Subproject commit 17d2e8c530700094d783ba912e9cb71c23621547 +Subproject commit 99facc0434006e7d86bcaf032febfdb19cb9956c