diff --git a/apps/red-ui/src/app/modules/dossier/screens/file-preview-screen/components/annotation-actions/annotation-actions.component.html b/apps/red-ui/src/app/modules/dossier/screens/file-preview-screen/components/annotation-actions/annotation-actions.component.html
index 0ec4827e0..5ce02dac9 100644
--- a/apps/red-ui/src/app/modules/dossier/screens/file-preview-screen/components/annotation-actions/annotation-actions.component.html
+++ b/apps/red-ui/src/app/modules/dossier/screens/file-preview-screen/components/annotation-actions/annotation-actions.component.html
@@ -149,7 +149,7 @@
[tooltip]="'annotation-actions.remove-annotation.remove-from-dict' | translate"
[type]="buttonType"
icon="red:remove-from-dict"
- iqserHelpMode="remove_from_dictionary"
+ [iqserHelpMode]="removeFromDictionaryHelpModeKey"
[scrollableParentView]="scrollableParentView"
>
diff --git a/apps/red-ui/src/app/modules/dossier/screens/file-preview-screen/components/annotation-actions/annotation-actions.component.ts b/apps/red-ui/src/app/modules/dossier/screens/file-preview-screen/components/annotation-actions/annotation-actions.component.ts
index fb5dff0c2..4a2d881cc 100644
--- a/apps/red-ui/src/app/modules/dossier/screens/file-preview-screen/components/annotation-actions/annotation-actions.component.ts
+++ b/apps/red-ui/src/app/modules/dossier/screens/file-preview-screen/components/annotation-actions/annotation-actions.component.ts
@@ -17,6 +17,12 @@ export const AnnotationButtonTypes = {
export type AnnotationButtonType = keyof typeof AnnotationButtonTypes;
+const helpModeKey = {
+ hint: 'hints_remove_from_dictionary',
+ recommendation: 'recommendation_remove_from_dictionary',
+ skipped: 'skipped_remove_from_dictionary',
+};
+
@Component({
selector: 'redaction-annotation-actions',
templateUrl: './annotation-actions.component.html',
@@ -127,4 +133,9 @@ export class AnnotationActionsComponent implements OnChanges {
this.annotations,
);
}
+
+ get removeFromDictionaryHelpModeKey() {
+ const type = this.annotations[0]?.typeLabel?.split('.')[1];
+ return helpModeKey[type];
+ }
}
diff --git a/apps/red-ui/src/assets/help-mode/links.json b/apps/red-ui/src/assets/help-mode/links.json
index ae6cc5c82..901b0bf0b 100644
--- a/apps/red-ui/src/assets/help-mode/links.json
+++ b/apps/red-ui/src/assets/help-mode/links.json
@@ -119,8 +119,20 @@
"it": "",
"fr": ""
},
- "remove_from_dictionary": {
- "en": "/en/index-en.html?contextId=remove_from_dictionary",
+ "skipped_remove_from_dictionary": {
+ "en": "/en/index-en.html?contextId=skipped_remove_from_dictionary",
+ "de": "",
+ "it": "",
+ "fr": ""
+ },
+ "hints_remove_from_dictionary": {
+ "en": "/en/index-en.html?contextId=hints_remove_from_dictionary",
+ "de": "",
+ "it": "",
+ "fr": ""
+ },
+ "recommendation_remove_from_dictionary": {
+ "en": "/en/index-en.html?contextId=recommendation_remove_from_dictionary",
"de": "",
"it": "",
"fr": ""
diff --git a/apps/red-ui/src/assets/i18n/en.json b/apps/red-ui/src/assets/i18n/en.json
index 4443a9bb0..b6be5b8c1 100644
--- a/apps/red-ui/src/assets/i18n/en.json
+++ b/apps/red-ui/src/assets/i18n/en.json
@@ -1626,7 +1626,7 @@
},
"reports": "Reports",
"reports-screen": {
- "description": "Below, you will find a list of placeholders for dossier and document-specific information. You can include these placeholders in your report templates.",
+ "description": "Below, you will find a list of placeholders for dossier- and document-specific information. You can include these placeholders in your report templates.",
"descriptions": {
"dossier-attributes": "This placeholder gets replaced with the value of the dossier attribute {attribute}.",
"file-attributes": "This placeholder gets replaced with the value of the file attribute {attribute}.",