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 9befd59e2..dde15aeac 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
@@ -159,6 +159,7 @@ export const getRemoveRedactionOptions = (
description: isBulk ? translations.ONLY_HERE.descriptionBulk : translations.ONLY_HERE.description,
descriptionParams: {
value: redactions[0].value,
+ type: redactions[0].hint ? 'hint' : redactions[0].type,
},
icon: PIN_ICON,
value: RemoveRedactionOptions.ONLY_HERE,
@@ -168,7 +169,7 @@ export const getRemoveRedactionOptions = (
options.push({
label: isBulk ? translations.IN_DOSSIER.labelBulk : translations.IN_DOSSIER.label,
description: isBulk ? translations.IN_DOSSIER.descriptionBulk : translations.IN_DOSSIER.description,
- descriptionParams: { value: redactions[0].value, type: redactions[0].type },
+ descriptionParams: { value: redactions[0].value, type: redactions[0].hint ? 'hint' : redactions[0].type },
icon: FOLDER_ICON,
value: RemoveRedactionOptions.IN_DOSSIER,
extraOption: !isDocumine
diff --git a/apps/red-ui/src/assets/i18n/redact/de.json b/apps/red-ui/src/assets/i18n/redact/de.json
index 1e62363f2..8287d047a 100644
--- a/apps/red-ui/src/assets/i18n/redact/de.json
+++ b/apps/red-ui/src/assets/i18n/redact/de.json
@@ -1249,7 +1249,7 @@
}
},
"reason": "Reason",
- "redacted-text": "Redacted text",
+ "redacted-text": "{type, select, hint{Hint} other{Redacted}} text",
"section": "Paragraph / Location",
"type": "Type",
"unchanged": "Unchanged"
@@ -2099,14 +2099,14 @@
"label": "False positive"
},
"in-dossier": {
- "description": "Do not {type} \"{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 dossiers",
"label": "Remove from dossier",
"label-bulk": "No longer redact in any dossier"
},
"only-here": {
- "description": "Do not {type, select, undefined{redact} other{type}} \"{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"
}
@@ -2541,4 +2541,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 3caa260f4..a7df22787 100644
--- a/apps/red-ui/src/assets/i18n/redact/en.json
+++ b/apps/red-ui/src/assets/i18n/redact/en.json
@@ -1249,7 +1249,7 @@
}
},
"reason": "Reason",
- "redacted-text": "Redacted text",
+ "redacted-text": "{type, select, hint{Hint} other{Redacted}} text",
"section": "Paragraph / Location",
"type": "Type",
"unchanged": "Unchanged"
@@ -2099,14 +2099,14 @@
"label": "False positive"
},
"in-dossier": {
- "description": "Do not {type} \"{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 dossiers",
"label": "Remove from dossier",
"label-bulk": "No longer redact in any dossier"
},
"only-here": {
- "description": "Do not {type, select, undefined{redact} other{type}} \"{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"
}
@@ -2541,4 +2541,4 @@
}
},
"yesterday": "Yesterday"
-}
\ No newline at end of file
+}