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

This commit is contained in:
Valentin Mihai 2024-11-04 18:21:56 +02:00
parent 9bc95b8eee
commit 4f9dd026ab
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 b5724849502e72995cba0d53f37688284f6d3e5f Subproject commit 99facc0434006e7d86bcaf032febfdb19cb9956c