Merge branch 'VM/RED-10373' into 'master'

RED-10373 - Singular-Plural disctinction in translation for remove in document

Closes RED-10373

See merge request redactmanager/red-ui!677
This commit is contained in:
Dan Percic 2024-11-04 16:34:38 +01:00
commit 208a1568b3
3 changed files with 3 additions and 3 deletions

View File

@ -185,7 +185,6 @@ export const getRemoveRedactionOptions = (
descriptionParams: { descriptionParams: {
value: redactions[0].value, value: redactions[0].value,
type: redactions[0].HINT ? 'hint' : redactions[0].typeLabel, type: redactions[0].HINT ? 'hint' : redactions[0].typeLabel,
isImage: redactions[0].isImage ? 'image' : redactions[0].typeLabel,
}, },
icon: PIN_ICON, icon: PIN_ICON,
value: RemoveRedactionOptions.ONLY_HERE, value: RemoveRedactionOptions.ONLY_HERE,
@ -198,6 +197,7 @@ export const getRemoveRedactionOptions = (
description: removeRedactionTranslations.IN_DOCUMENT.description, description: removeRedactionTranslations.IN_DOCUMENT.description,
icon: DOCUMENT_ICON, icon: DOCUMENT_ICON,
value: RemoveRedactionOptions.IN_DOCUMENT, value: RemoveRedactionOptions.IN_DOCUMENT,
descriptionParams: { length: redactions.length },
}); });
} }
} }

View File

@ -2222,7 +2222,7 @@
"label": "Remove from dossier in this context" "label": "Remove from dossier in this context"
}, },
"in-document": { "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" "label": "Remove from document"
}, },
"in-dossier": { "in-dossier": {

@ -1 +1 @@
Subproject commit 17d2e8c530700094d783ba912e9cb71c23621547 Subproject commit 99facc0434006e7d86bcaf032febfdb19cb9956c