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

This commit is contained in:
Valentin Mihai 2024-11-04 16:56:25 +02:00
parent 9228976803
commit a7a4c18715
3 changed files with 3 additions and 3 deletions

View File

@ -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 },
});
}
}

View File

@ -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": {

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