edit translation key
This commit is contained in:
parent
9935087812
commit
41d90b8e1b
@ -47,7 +47,7 @@
|
|||||||
<table mat-table [dataSource]="source.timeseriesDatasource" [trackBy]="trackByRowTimestamp"
|
<table mat-table [dataSource]="source.timeseriesDatasource" [trackBy]="trackByRowTimestamp"
|
||||||
matSort [matSortActive]="source.pageLink.sortOrder.property" [matSortDirection]="source.pageLink.sortDirection()" matSortDisableClear>
|
matSort [matSortActive]="source.pageLink.sortOrder.property" [matSortDirection]="source.pageLink.sortDirection()" matSortDisableClear>
|
||||||
<ng-container *ngIf="showTimestamp" [matColumnDef]="'0'">
|
<ng-container *ngIf="showTimestamp" [matColumnDef]="'0'">
|
||||||
<mat-header-cell *matHeaderCellDef mat-sort-header>{{ 'audit-log.timestamp' | translate }}</mat-header-cell>
|
<mat-header-cell *matHeaderCellDef mat-sort-header>{{ 'widgets.table.display-timestamp' | translate }}</mat-header-cell>
|
||||||
<mat-cell *matCellDef="let row; let rowIndex = index"
|
<mat-cell *matCellDef="let row; let rowIndex = index"
|
||||||
[innerHTML]="cellContent(source, null, 0, row, row[0], rowIndex) | async"
|
[innerHTML]="cellContent(source, null, 0, row, row[0], rowIndex) | async"
|
||||||
[style]="cellStyle(source, null, 0, row, row[0], rowIndex) | async">
|
[style]="cellStyle(source, null, 0, row, row[0], rowIndex) | async">
|
||||||
|
|||||||
@ -513,7 +513,7 @@ export class TimeseriesTableWidgetComponent extends PageComponent implements OnI
|
|||||||
let title = '';
|
let title = '';
|
||||||
const header = this.sources[index].header.find(column => column.index.toString() === value);
|
const header = this.sources[index].header.find(column => column.index.toString() === value);
|
||||||
if (value === '0') {
|
if (value === '0') {
|
||||||
title = this.translate.instant('audit-log.timestamp');
|
title = this.translate.instant('widgets.table.display-timestamp');
|
||||||
} else if (value === 'actions') {
|
} else if (value === 'actions') {
|
||||||
title = 'Actions';
|
title = 'Actions';
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user