diff --git a/apps/red-ui/src/app/modules/file-preview/components/annotation-actions/annotation-actions.component.html b/apps/red-ui/src/app/modules/file-preview/components/annotation-actions/annotation-actions.component.html
index a8ea203b8..5f6814da6 100644
--- a/apps/red-ui/src/app/modules/file-preview/components/annotation-actions/annotation-actions.component.html
+++ b/apps/red-ui/src/app/modules/file-preview/components/annotation-actions/annotation-actions.component.html
@@ -35,9 +35,9 @@
@@ -87,14 +87,14 @@
icon="red:undo"
>
-
+
+
+
+
+
+
+
+
{
}
recategorizeRedactions(body: List, dossierId: string, fileId: string) {
- return this.recategorize(body, dossierId, fileId).pipe(this.#showToast('recategorize-image'));
+ return this.recategorize(body, dossierId, fileId).pipe(this.#showToast('change-type'));
}
addAnnotation(
diff --git a/apps/red-ui/src/app/modules/file-preview/services/pdf-annotation-actions.service.ts b/apps/red-ui/src/app/modules/file-preview/services/pdf-annotation-actions.service.ts
index 47908fa98..680ca13b5 100644
--- a/apps/red-ui/src/app/modules/file-preview/services/pdf-annotation-actions.service.ts
+++ b/apps/red-ui/src/app/modules/file-preview/services/pdf-annotation-actions.service.ts
@@ -51,19 +51,19 @@ export class PdfAnnotationActionsService {
availableActions.push(resizeButton);
}
- if (permissions.canChangeLegalBasis) {
- const editButton = this.#getButton('edit', _('annotation-actions.edit-reason.label'), () =>
+ if (permissions.canChangeLegalBasis || permissions.canRecategorizeImage) {
+ const editButton = this.#getButton('edit', _('annotation-actions.edit-redaction.label'), () =>
this.#annotationActionsService.editRedaction(annotations),
);
availableActions.push(editButton);
}
- if (permissions.canRecategorizeImage) {
- const recategorizeButton = this.#getButton('thumb-down', _('annotation-actions.recategorize-image'), () =>
- this.#annotationActionsService.editRedaction(annotations),
- );
- availableActions.push(recategorizeButton);
- }
+ // if (permissions.canRecategorizeImage) {
+ // const recategorizeButton = this.#getButton('thumb-down', _('annotation-actions.recategorize-image'), () =>
+ // this.#annotationActionsService.editRedaction(annotations),
+ // );
+ // availableActions.push(recategorizeButton);
+ // }
if (permissions.canAcceptRecommendation) {
const acceptRecommendationButton = this.#getButton('check', _('annotation-actions.accept-recommendation.label'), () =>
diff --git a/apps/red-ui/src/app/translations/annotation-actions-translations.ts b/apps/red-ui/src/app/translations/annotation-actions-translations.ts
index ca3c041e3..8e622a17f 100644
--- a/apps/red-ui/src/app/translations/annotation-actions-translations.ts
+++ b/apps/red-ui/src/app/translations/annotation-actions-translations.ts
@@ -68,6 +68,10 @@ export const manualRedactionActionsTranslations: Record