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 364556a78..acb7f6c4d 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 @@ -151,7 +151,7 @@ export const getRemoveRedactionOptions = ( const translations = isDocumine ? removeAnnotationTranslations : removeRedactionTranslations; const { permissions, redactions, applyToAllDossiers, isApprover, falsePositiveContext } = data; const isBulk = redactions.length > 1; - console.log(redactions[0].typeLabel); + const options: DetailsRadioOption[] = []; if (permissions.canRemoveOnlyHere) { options.push({ diff --git a/apps/red-ui/src/assets/i18n/redact/de.json b/apps/red-ui/src/assets/i18n/redact/de.json index 82fc69122..1bbf44c31 100644 --- a/apps/red-ui/src/assets/i18n/redact/de.json +++ b/apps/red-ui/src/assets/i18n/redact/de.json @@ -696,7 +696,7 @@ "select-dossier": "Dossier auswählen", "select-dossier-template": "Dossiervorlage auswählen" }, - "compare-error": " '{type}' type does not exist in '{template)' template.", + "compare-error": " ''{type}'' type does not exist in ''{template}'' template.", "download": "Download current entries", "error": { "400": "Cannot update dictionary because at least one of the newly added words where recognized as a general term that appear too often in texts.", @@ -2012,18 +2012,18 @@ "list-item-false-positive": "", "options": { "false-positive": { - "description": "'{value}' is not a '{type}' in this context: '{context}'.", + "description": "''{value}'' is not a ''{type}'' in this context: ''{context}''.", "description-bulk": "", "label": "False positive" }, "in-dossier": { - "description": "Do not annotate '{value}' as '{type}' in any dossier.", + "description": "Do not annotate ''{value}'' as ''{type}'' in any dossier.", "description-bulk": "", - "label": "No longer annotate as '{type}'", + "label": "No longer annotate as ''{type}''", "label-bulk": "" }, "only-here": { - "description": "Do not annotate '{value}' at this position in the current document.", + "description": "Do not annotate ''{value}'' at this position in the current document.", "description-bulk": "Do not annotate the selected terms at this position in the current document.", "label": "Remove here" } @@ -2043,29 +2043,29 @@ "comment": "Comment", "comment-placeholder": "Add remarks or mentions...", "list-item": "{text}", - "list-item-false-positive": "'{text}' in the context: '{context}'", + "list-item-false-positive": "''{text}'' in the context: ''{context}''", "options": { "do-not-recommend": { - "description": "Do not recommend '{value}' as {type} in any document of the current dossier.", + "description": "Do not recommend ''{value}'' as {type} in any document of the current dossier.", "description-bulk": "Do not recommend the selected terms in any document of the current dossier.", "extraOptionLabel": "Apply to all active and future dossiers", "label": "Remove from dossier" }, "false-positive": { - "description": "'{value}' is not a {type} in this context: '{context}'.", + "description": "''{value}'' is not a {type} in this context: ''{context}''.", "description-bulk": "Do not redact the selected terms in their respective context.", "extraOptionLabel": "Apply to all active and future dossiers", "label": "False positive" }, "in-dossier": { - "description": "Do not {type, select, hint{annotate} other{redact}} '{value}' in any document of the current dossier.", + "description": "Do not {type, select, hint{annotate} other{redact}} ''{value}'' in any document of the current dossier.", "description-bulk": "Do not redact the selected terms as their respective types in any dossier.", "extraOptionLabel": "Apply to all active and future dossiers", "label": "Remove from dossier", "label-bulk": "No longer redact in any dossier" }, "only-here": { - "description": "Do not {type, select, hint{annotate} other{redact}} '{value}' at this position in the current document.", + "description": "Do not {type, select, hint{annotate} other{redact}} ''{value}'' at this position in the current document.", "description-bulk": "Do not redact the selected terms at this position in the current document.", "label": "Remove here" } @@ -2470,4 +2470,4 @@ } }, "yesterday": "Gestern" -} \ No newline at end of file +} diff --git a/apps/red-ui/src/assets/i18n/redact/en.json b/apps/red-ui/src/assets/i18n/redact/en.json index 21a1f63da..5e2a98d2c 100644 --- a/apps/red-ui/src/assets/i18n/redact/en.json +++ b/apps/red-ui/src/assets/i18n/redact/en.json @@ -274,7 +274,7 @@ "message": { "dictionary": { "add": { - "conflict-error": "Cannot add '{content}' to the {dictionaryName} dictionary because it was recognized as a general term that appears too often in texts.", + "conflict-error": "Cannot add ''{content}'' to the {dictionaryName} dictionary because it was recognized as a general term that appears too often in texts.", "error": "Failed to add entry to dictionary: {error}", "success": "Entry added to dictionary. Changes will be visible after reanalysis." }, @@ -690,7 +690,7 @@ "dev-mode": "DEV", "dictionary": "Type", "dictionary-overview": { - "compare-error": " '{type}' type does not exist in '{template)' template.", + "compare-error": " ''{type}'' type does not exist in ''{template}'' template.", "compare": { "compare": "Compare", "select-dictionary": "Select dictionary", @@ -2012,18 +2012,18 @@ "list-item-false-positive": "", "options": { "false-positive": { - "description": "'{value}' is not a '{type}' in this context: '{context}'.", + "description": "''{value}'' is not a ''{type}'' in this context: ''{context}''.", "description-bulk": "", "label": "False positive" }, "in-dossier": { - "description": "Do not annotate '{value}' as '{type}' in any dossier.", + "description": "Do not annotate ''{value}'' as ''{type}'' in any dossier.", "description-bulk": "", - "label": "No longer annotate as '{type}'", + "label": "No longer annotate as ''{type}''", "label-bulk": "" }, "only-here": { - "description": "Do not annotate '{value}' at this position in the current document.", + "description": "Do not annotate ''{value}'' at this position in the current document.", "description-bulk": "Do not annotate the selected terms at this position in the current document.", "label": "Remove here" } @@ -2043,29 +2043,29 @@ "comment": "Comment", "comment-placeholder": "Add remarks or mentions...", "list-item": "{text}", - "list-item-false-positive": "'{text}' in the context: '{context}'", + "list-item-false-positive": "''{text}'' in the context: ''{context}''", "options": { "do-not-recommend": { - "description": "Do not recommend '{value}' as {type} in any document of the current dossier.", + "description": "Do not recommend ''{value}'' as {type} in any document of the current dossier.", "description-bulk": "Do not recommend the selected terms in any document of the current dossier.", "extraOptionLabel": "Apply to all active and future dossiers", "label": "Remove from dossier" }, "false-positive": { - "description": "'{value}' is not a {type} in this context: '{context}'.", + "description": "''{value}'' is not a {type} in this context: ''{context}''.", "description-bulk": "Do not redact the selected terms in their respective context.", "extraOptionLabel": "Apply to all active and future dossiers", "label": "False positive" }, "in-dossier": { - "description": "Do not {type, select, hint{annotate} other{redact}} '{value}' in any document of the current dossier.", + "description": "Do not {type, select, hint{annotate} other{redact}} ''{value}'' in any document of the current dossier.", "description-bulk": "Do not redact the selected terms as their respective types in any dossier.", "extraOptionLabel": "Apply to all active and future dossiers", "label": "Remove from dossier", "label-bulk": "No longer redact in any dossier" }, "only-here": { - "description": "Do not {type, select, hint{annotate} other{redact}} '{value}' at this position in the current document.", + "description": "Do not {type, select, hint{annotate} other{redact}} ''{value}'' at this position in the current document.", "description-bulk": "Do not redact the selected terms at this position in the current document.", "label": "Remove here" } @@ -2470,4 +2470,4 @@ } }, "yesterday": "Yesterday" -} \ No newline at end of file +} diff --git a/apps/red-ui/src/assets/i18n/scm/de.json b/apps/red-ui/src/assets/i18n/scm/de.json index 8e62a4758..14693dbb9 100644 --- a/apps/red-ui/src/assets/i18n/scm/de.json +++ b/apps/red-ui/src/assets/i18n/scm/de.json @@ -2009,21 +2009,21 @@ "comment": "Comment", "comment-placeholder": "Add remarks or mentions ...", "list-item": "{text}", - "list-item-false-positive": "\"{text}\" in the context: \"{context}\"", + "list-item-false-positive": "''{text}'' in the context: ''{context}''", "options": { "false-positive": { - "description": "\"{value}\" is not a \"{type}\" in this context: \"{context}\".", + "description": "''{value}'' is not a ''{type}'' in this context: ''{context}''.", "description-bulk": "The selected items should not be annotated in their respective contexts.", "label": "False positive" }, "in-dossier": { - "description": "Do not annotate \"{value}\" as \"{type}\" in any dossier.", + "description": "Do not annotate ''{value}'' as ''{type}'' in any dossier.", "description-bulk": "Do not annotate the selected terms as their respective types in any dossier.", - "label": "No longer annotate as \"{type}\"", + "label": "No longer annotate as ''{type}''", "label-bulk": "No longer annotate in any dossier" }, "only-here": { - "description": "Do not annotate \"{value}\" at this position in the current document.", + "description": "Do not annotate ''{value}'' at this position in the current document.", "description-bulk": "Do not annotate the selected terms at this position in the current document.", "label": "Remove here" } @@ -2046,26 +2046,26 @@ "list-item-false-positive": "", "options": { "do-not-recommend": { - "description": "Do not recommend \"{value}\" as {type} in any document of the current dossier.", + "description": "Do not recommend ''{value}'' as {type} in any document of the current dossier.", "description-bulk": "Do not recommend the selected values as their respective types in any document of the current dossier.", "extraOptionLabel": "Apply to all dossiers", "label": "Remove from dossier" }, "false-positive": { - "description": "\"{value}\" is not a {type} in this context: \"{context}\".", + "description": "''{value}'' is not a {type} in this context: ''{context}''.", "description-bulk": "", "extraOptionLabel": "Apply to all dossiers", "label": "False positive" }, "in-dossier": { - "description": "Do not {type} \"{value}\" in any document of the current dossier.", + "description": "Do not {type} ''{value}'' in any document of the current dossier.", "description-bulk": "", "extraOptionLabel": "Apply to all dossiers", "label": "Remove from dossier", "label-bulk": "" }, "only-here": { - "description": "Do not {type} \"{value}\" at this position in the current document.", + "description": "Do not {type} ''{value}'' at this position in the current document.", "description-bulk": "", "label": "Remove here" } @@ -2470,4 +2470,4 @@ } }, "yesterday": "Gestern" -} \ No newline at end of file +} diff --git a/apps/red-ui/src/assets/i18n/scm/en.json b/apps/red-ui/src/assets/i18n/scm/en.json index 9b9cd2cc9..766c620a3 100644 --- a/apps/red-ui/src/assets/i18n/scm/en.json +++ b/apps/red-ui/src/assets/i18n/scm/en.json @@ -2009,21 +2009,21 @@ "comment": "Comment", "comment-placeholder": "Add remarks or mentions ...", "list-item": "{text}", - "list-item-false-positive": "\"{text}\" in the context: \"{context}\"", + "list-item-false-positive": "''{text}'' in the context: ''{context}''", "options": { "false-positive": { - "description": "\"{value}\" is not a \"{type}\" in this context: \"{context}\".", + "description": "''{value}'' is not a ''{type}'' in this context: ''{context}''.", "description-bulk": "The selected items should not be annotated in their respective contexts.", "label": "False positive" }, "in-dossier": { - "description": "Do not annotate \"{value}\" as \"{type}\" in any dossier.", + "description": "Do not annotate ''{value}'' as ''{type}'' in any dossier.", "description-bulk": "Do not annotate the selected terms as their respective types in any dossier.", - "label": "No longer annotate as \"{type}\"", + "label": "No longer annotate as ''{type}''", "label-bulk": "No longer annotate in any dossier" }, "only-here": { - "description": "Do not annotate \"{value}\" at this position in the current document.", + "description": "Do not annotate ''{value}'' at this position in the current document.", "description-bulk": "Do not annotate the selected terms at this position in the current document.", "label": "Remove here" } @@ -2046,26 +2046,26 @@ "list-item-false-positive": "", "options": { "do-not-recommend": { - "description": "Do not recommend \"{value}\" as {type} in any document of the current dossier.", + "description": "Do not recommend ''{value}'' as {type} in any document of the current dossier.", "description-bulk": "Do not recommend the selected values as their respective types in any document of the current dossier.", "extraOptionLabel": "Apply to all dossiers", "label": "Remove from dossier" }, "false-positive": { - "description": "\"{value}\" is not a {type} in this context: \"{context}\".", + "description": "''{value}'' is not a {type} in this context: ''{context}''.", "description-bulk": "", "extraOptionLabel": "Apply to all dossiers", "label": "False positive" }, "in-dossier": { - "description": "Do not {type} \"{value}\" in any document of the current dossier.", + "description": "Do not {type} ''{value}'' in any document of the current dossier.", "description-bulk": "", "extraOptionLabel": "Apply to all dossiers", "label": "Remove from dossier", "label-bulk": "" }, "only-here": { - "description": "Do not {type} \"{value}\" at this position in the current document.", + "description": "Do not {type} ''{value}'' at this position in the current document.", "description-bulk": "", "label": "Remove here" } @@ -2470,4 +2470,4 @@ } }, "yesterday": "Yesterday" -} \ No newline at end of file +}