remove unused i18n
This commit is contained in:
parent
c386354625
commit
ff9e73e437
@ -160,7 +160,7 @@
|
|||||||
<ng-container *ngIf="activeViewerPage && !displayedAnnotations.get(activeViewerPage)?.length">
|
<ng-container *ngIf="activeViewerPage && !displayedAnnotations.get(activeViewerPage)?.length">
|
||||||
<iqser-empty-state
|
<iqser-empty-state
|
||||||
[horizontalPadding]="24"
|
[horizontalPadding]="24"
|
||||||
[text]="(displayedPages.length ? noDataI18NKey : resetFiltersI18NKey) | translate"
|
[text]="'file-preview.no-data.title' | translate"
|
||||||
[verticalPadding]="40"
|
[verticalPadding]="40"
|
||||||
icon="iqser:document"
|
icon="iqser:document"
|
||||||
>
|
>
|
||||||
|
|||||||
@ -34,7 +34,6 @@ import { MultiSelectService } from '../../services/multi-select.service';
|
|||||||
import { DocumentInfoService } from '../../services/document-info.service';
|
import { DocumentInfoService } from '../../services/document-info.service';
|
||||||
import { SkippedService } from '../../services/skipped.service';
|
import { SkippedService } from '../../services/skipped.service';
|
||||||
import { FilePreviewStateService } from '../../services/file-preview-state.service';
|
import { FilePreviewStateService } from '../../services/file-preview-state.service';
|
||||||
import { marker as _ } from '@biesbjerg/ngx-translate-extract-marker';
|
|
||||||
|
|
||||||
const COMMAND_KEY_ARRAY = ['ArrowLeft', 'ArrowRight', 'ArrowUp', 'ArrowDown', 'Escape'];
|
const COMMAND_KEY_ARRAY = ['ArrowLeft', 'ArrowRight', 'ArrowUp', 'ArrowDown', 'Escape'];
|
||||||
const ALL_HOTKEY_ARRAY = ['ArrowLeft', 'ArrowRight', 'ArrowUp', 'ArrowDown'];
|
const ALL_HOTKEY_ARRAY = ['ArrowLeft', 'ArrowRight', 'ArrowUp', 'ArrowDown'];
|
||||||
@ -48,8 +47,6 @@ const ALL_HOTKEY_ARRAY = ['ArrowLeft', 'ArrowRight', 'ArrowUp', 'ArrowDown'];
|
|||||||
export class FileWorkloadComponent {
|
export class FileWorkloadComponent {
|
||||||
readonly iconButtonTypes = IconButtonTypes;
|
readonly iconButtonTypes = IconButtonTypes;
|
||||||
readonly circleButtonTypes = CircleButtonTypes;
|
readonly circleButtonTypes = CircleButtonTypes;
|
||||||
readonly noDataI18NKey = _('file-preview.no-data.title');
|
|
||||||
readonly resetFiltersI18NKey = _('file-preview.reset-filters');
|
|
||||||
|
|
||||||
displayedAnnotations = new Map<number, AnnotationWrapper[]>();
|
displayedAnnotations = new Map<number, AnnotationWrapper[]>();
|
||||||
@Input() selectedAnnotations: AnnotationWrapper[];
|
@Input() selectedAnnotations: AnnotationWrapper[];
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user