diff --git a/apps/red-ui/src/app/screens/file/file-preview-screen/file-preview-screen.component.html b/apps/red-ui/src/app/screens/file/file-preview-screen/file-preview-screen.component.html index 8d0cab7b1..15f89db76 100644 --- a/apps/red-ui/src/app/screens/file/file-preview-screen/file-preview-screen.component.html +++ b/apps/red-ui/src/app/screens/file/file-preview-screen/file-preview-screen.component.html @@ -120,6 +120,6 @@ - {{ filter.key | humanize }} + {{ 'annotation-type.' + filter.key | translate }} diff --git a/apps/red-ui/src/app/screens/file/model/annotation.wrapper.ts b/apps/red-ui/src/app/screens/file/model/annotation.wrapper.ts index 2b173b8db..3ea57419e 100644 --- a/apps/red-ui/src/app/screens/file/model/annotation.wrapper.ts +++ b/apps/red-ui/src/app/screens/file/model/annotation.wrapper.ts @@ -3,11 +3,17 @@ import { UserWrapper } from '../../../user/user.service'; import { FileStatusWrapper } from './file-status.wrapper'; export const SuperTypeSorter = { + 'add-dictionary': 2, + 'remove-dictionary': 3, + 'suggestion-add-dictionary': 7, + 'suggestion-remove-dictionary': 8, + 'suggestion-add': 5, + 'suggestion-remove': 6, + ignore: 50, redaction: 1, - suggestion: 2, - 'suggestion-remove': 3, - hint: 4, - ignore: 5 + manual: 2, + hint: 10, + 'declined-suggestion': 20 }; export class AnnotationWrapper {