RED-4731: Audit translations

This commit is contained in:
Adina Țeudan 2022-07-26 15:46:41 +03:00
parent 0c3b35d8c2
commit df5472947a
5 changed files with 6 additions and 5 deletions

View File

@ -28,7 +28,7 @@
<mat-form-field class="no-label">
<mat-select (selectionChange)="filterChange()" formControlName="category">
<mat-option *ngFor="let category of categories" [value]="category">
{{ translations[category] | translate }}
{{ (translations[category] | translate) || category }}
</mat-option>
</mat-select>
</mat-form-field>
@ -94,6 +94,6 @@
<redaction-initials-avatar [user]="log.userId" [withName]="true"></redaction-initials-avatar>
</div>
<div [translate]="translations[log.category]" class="cell"></div>
<div class="cell">{{ (translations[log.category] | translate) || log.category | humanize }}</div>
</div>
</ng-template>

View File

@ -9,7 +9,7 @@ import { Audit, IAudit, IAuditResponse, IAuditSearchRequest } from '@red/domain'
import { AuditService } from '../../services/audit.service';
import { firstValueFrom } from 'rxjs';
import { Dayjs } from 'dayjs';
import { RouterHistoryService } from '../../../../services/router-history.service';
import { RouterHistoryService } from '@services/router-history.service';
const PAGE_SIZE = 50;

View File

@ -13,4 +13,5 @@ export const auditCategoriesTranslations = {
DOCUMENT: _('audit-screen.categories.document'),
AUDIT: _('audit-screen.categories.audit'),
DOSSIER_TEMPLATE: _('audit-screen.categories.dossier-template'),
// SETTINGS: _('audit-screen.categories.settings'),
} as const;

View File

@ -415,6 +415,7 @@
"license": "Lizenz",
"project": "Projekt",
"project-template": "Projekt-Vorlage",
"settings": "",
"user": "Nutzer"
},
"no-data": {
@ -710,7 +711,6 @@
"title": "Es ist kein Zertifikat für die digitale Signatur konfiguriert. Laden Sie ein PCKS#12-Zertifikat hoch, um Ihre geschwärzten Dokumente zu signieren."
}
},
"disabled": "",
"document-info": {
"save": "Dokumenteninformation speichern",
"title": "Datei-Attribute anlegen"

View File

@ -415,6 +415,7 @@
"license": "License",
"project": "Project",
"project-template": "Project Template",
"settings": "Settings",
"user": "User"
},
"no-data": {
@ -710,7 +711,6 @@
"title": "No Digital Signature Certificate.<br/>For signing redacted documents please configure a certificate."
}
},
"disabled": "disabled",
"document-info": {
"save": "Save Document Info",
"title": "Enter File Attributes"