Skip to content

Commit

Permalink
Add Chinese to Skills Translations Report
Browse files Browse the repository at this point in the history
  • Loading branch information
fabian committed Jan 22, 2025
1 parent eb72137 commit 174e145
Showing 1 changed file with 12 additions and 9 deletions.
21 changes: 12 additions & 9 deletions src/app/skills-translations/skills-translations.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,11 @@ <h3 class="mt-0">
<table class="table table-striped border-top">
<colgroup>
<col width="5%">
<col width="20%">
<col width="20%">
<col width="20%">
<col width="20%">
<col width="15%">
<col width="15%">
<col width="15%">
<col width="15%">
<col width="15%">
</colgroup>
<thead>
<tr>
Expand All @@ -30,18 +31,20 @@ <h3 class="mt-0">
<th class="border-top-0">{{'German' | translate}}</th>
<th class="border-top-0">{{'French' | translate}}</th>
<th class="border-top-0">{{'Italian' | translate}}</th>
<th class="border-top-0">{{'Chinese' | translate}}</th>
</tr>
</thead>
<tbody>
<tr *ngFor="let skill of skills">
<td><a [routerLink]="['../', skill.id]">{{skill.number}}</a></td>
<td><a [routerLink]="['../', skill.id]">{{skill.name.translations.en}}</a></td>
<td><a [routerLink]="['../', skill.id]">{{skill.name.translations.de}}</a></td>
<td><a [routerLink]="['../', skill.id]">{{skill.name.translations.fr}}</a></td>
<td><a [routerLink]="['../', skill.id]">{{skill.name.translations.it}}</a></td>
<td><a [routerLink]="['../', skill.id]">{{skill.name.translations?.en}}</a></td>
<td><a [routerLink]="['../', skill.id]">{{skill.name.translations?.de}}</a></td>
<td><a [routerLink]="['../', skill.id]">{{skill.name.translations?.fr}}</a></td>
<td><a [routerLink]="['../', skill.id]">{{skill.name.translations?.it}}</a></td>
<td><a [routerLink]="['../', skill.id]">{{skill.name.translations?.zh_CN}}</a></td>
</tr>
<tr *ngIf="skills.length === 0">
<td colspan="5">{{'No skills found' | translate}}</td>
<td colspan="6">{{'No skills found' | translate}}</td>
</tr>
</tbody>
</table>
Expand Down

0 comments on commit 174e145

Please sign in to comment.