Translate table headers in PartitionTypeOrganizatorComponent to Spanish for better localization
testing/ogGui-multibranch/pipeline/head This commit looks good
Details
testing/ogGui-multibranch/pipeline/head This commit looks good
Details
parent
6fd04fb46e
commit
34ea12fc50
|
@ -5,32 +5,32 @@
|
|||
<table mat-table [dataSource]="client.partitions" class="mat-elevation-z1 partition-table">
|
||||
|
||||
<ng-container matColumnDef="diskNumber">
|
||||
<th mat-header-cell *matHeaderCellDef>Disk</th>
|
||||
<th mat-header-cell *matHeaderCellDef>Disco</th>
|
||||
<td mat-cell *matCellDef="let element">{{ element.diskNumber }}</td>
|
||||
</ng-container>
|
||||
|
||||
<ng-container matColumnDef="partitionNumber">
|
||||
<th mat-header-cell *matHeaderCellDef>Partition #</th>
|
||||
<th mat-header-cell *matHeaderCellDef>Partición</th>
|
||||
<td mat-cell *matCellDef="let element">{{ element.partitionNumber }}</td>
|
||||
</ng-container>
|
||||
|
||||
<ng-container matColumnDef="partitionCode">
|
||||
<th mat-header-cell *matHeaderCellDef>Code</th>
|
||||
<th mat-header-cell *matHeaderCellDef>Tipo</th>
|
||||
<td mat-cell *matCellDef="let element">{{ element.partitionCode }}</td>
|
||||
</ng-container>
|
||||
|
||||
<ng-container matColumnDef="size">
|
||||
<th mat-header-cell *matHeaderCellDef>Size</th>
|
||||
<th mat-header-cell *matHeaderCellDef>Tamaño</th>
|
||||
<td mat-cell *matCellDef="let element">{{ element.size }}</td>
|
||||
</ng-container>
|
||||
|
||||
<ng-container matColumnDef="filesystem">
|
||||
<th mat-header-cell *matHeaderCellDef>FS</th>
|
||||
<th mat-header-cell *matHeaderCellDef>Fyle System</th>
|
||||
<td mat-cell *matCellDef="let element">{{ element.filesystem }}</td>
|
||||
</ng-container>
|
||||
|
||||
<ng-container matColumnDef="memoryUsage">
|
||||
<th mat-header-cell *matHeaderCellDef>Memory</th>
|
||||
<th mat-header-cell *matHeaderCellDef>Memoria</th>
|
||||
<td mat-cell *matCellDef="let element">{{ element.memoryUsage }}</td>
|
||||
</ng-container>
|
||||
|
||||
|
|
|
@ -13,6 +13,8 @@ export class PartitionTypeOrganizatorComponent implements OnInit {
|
|||
displayedColumns: string[] = ['diskNumber', 'partitionNumber', 'partitionCode', 'size', 'filesystem', 'memoryUsage'];
|
||||
|
||||
ngOnInit(): void {
|
||||
console.log('Data recibida en modal:', this.data);
|
||||
|
||||
this.simplifiedData = this.data.map((client: any) => ({
|
||||
name: client.name,
|
||||
partitions: client.partitions.map((p: any) => ({
|
||||
|
@ -25,5 +27,6 @@ export class PartitionTypeOrganizatorComponent implements OnInit {
|
|||
}))
|
||||
}));
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue