RED-8817: added fp extraOption description and increase dialog height.

This commit is contained in:
Nicoleta Panaghiu 2024-03-21 17:05:16 +02:00
parent ffa6634814
commit 5cc81ac706
9 changed files with 9 additions and 2 deletions

View File

@ -1,7 +1,7 @@
@use 'common-mixins';
.dialog-content {
height: 408px;
height: 470px;
}
cdk-virtual-scroll-viewport {

View File

@ -219,6 +219,7 @@ export const getRemoveRedactionOptions = (
label: translations.FALSE_POSITIVE.extraOptionLabel,
checked: false,
hidden: !isApprover,
description: translations.FALSE_POSITIVE.extraOptionDescription,
}
: null,
});

View File

@ -6,6 +6,7 @@ export interface DialogOption {
description: string;
descriptionBulk?: string;
extraOptionLabel?: string;
extraOptionDescription?: string;
}
export const redactTextTranslations: Record<'onlyHere' | 'inDossier', DialogOption> = {

View File

@ -20,6 +20,7 @@ export const removeRedactionTranslations: { [key in RemoveRedactionOption]: Dial
description: _('remove-redaction.dialog.content.options.false-positive.description'),
descriptionBulk: _('remove-redaction.dialog.content.options.false-positive.description-bulk'),
extraOptionLabel: _('remove-redaction.dialog.content.options.false-positive.extraOptionLabel'),
extraOptionDescription: _('remove-redaction.dialog.content.options.false-positive.extraOptionDescription'),
},
DO_NOT_RECOMMEND: {
label: _('remove-redaction.dialog.content.options.do-not-recommend.label'),

View File

@ -2059,6 +2059,7 @@
"false-positive": {
"description": "Mark this redaction as a false-positive. The term will not be redacted in this dossier if it occurs in the same context.",
"description-bulk": "Mark these redactions as false-positives. The terms will not be redacted in this dossier if they occur in the same context.",
"extraOptionDescription": "",
"extraOptionLabel": "Apply to all active and future dossiers",
"label": "Remove from dossier in this context"
},

View File

@ -2059,6 +2059,7 @@
"false-positive": {
"description": "Mark this redaction as a false-positive. The term will not be redacted in this dossier if it occurs in the same context.",
"description-bulk": "Mark these redactions as false-positives. The terms will not be redacted in this dossier if they occur in the same context.",
"extraOptionDescription": "<i>Dossier template access is required to reverse this action. As a regular user you can only reverse it for the current dossier.</i>",
"extraOptionLabel": "Apply to all active and future dossiers",
"label": "Remove from dossier in this context"
},

View File

@ -2059,6 +2059,7 @@
"false-positive": {
"description": "''{value}'' is not a {type} in this context: ''{context}''.",
"description-bulk": "",
"extraOptionDescription": "",
"extraOptionLabel": "Apply to all dossiers",
"label": "False positive"
},

View File

@ -2059,6 +2059,7 @@
"false-positive": {
"description": "''{value}'' is not a {type} in this context: ''{context}''.",
"description-bulk": "",
"extraOptionDescription": "",
"extraOptionLabel": "Apply to all dossiers",
"label": "False positive"
},

@ -1 +1 @@
Subproject commit 292573f3b3766a2e2ffef4be6d6b702d779b259e
Subproject commit 48a5160d6fccfe72de2e024e4359a97cbc52c942