Skip to content

Commit

Permalink
fix: improved german translation
Browse files Browse the repository at this point in the history
Co-authored-by: Simon <therealslimv@yahoo.de>
Co-authored-by: Simon <33730997+TheSlimvReal@users.noreply.github.com>
  • Loading branch information
3 people authored Feb 11, 2022
1 parent 26efc1a commit 3eb0f38
Show file tree
Hide file tree
Showing 7 changed files with 341 additions and 282 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@
(click)="finish()"
class="completed-button"
mat-stroked-button
i18n="Back to overview button after finishing a roll call"
>
Back to Overview
</button>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,11 @@ <h2 *ngIf="!loadingDone" class="headline">Loading...</h2>
<tr mat-row *matRowDef="let row; columns: ['child', 'attendance'];" class="dashboard-table-row"></tr>
</table>
</div>
<div *ngIf="tableDataSource.data.length === 0 && loadingDone" class="headline">no absences recorded</div>
<div
*ngIf="tableDataSource.data.length === 0 && loadingDone"
class="headline"
i18n="Placeholder if no absences are visible in dashboar"
>no absences recorded</div>
<mat-paginator
[style.display]="paginator.getNumberOfPages() === 0 ? 'none' : ''"
#paginator
Expand Down
7 changes: 3 additions & 4 deletions src/app/core/config/config-fix.ts
Original file line number Diff line number Diff line change
Expand Up @@ -538,10 +538,9 @@ export const defaultJsonConfig = {
],
"headers": [
null,
"Personal Information",
"Additional",
"Scholar activities",
"Address"
$localize`:Header for form section:Personal Information`,
$localize`:Header for form section:Additional`,
$localize`:Header for form section:Scholar activities`,
]
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
class="child-pic"
alt="child's photo"
/>
<p *ngIf="!formControl.value?.photo">No photo set</p>
<p *ngIf="!formControl.value?.photo" i18n="Placeholer if no photo is available">No photo set</p>
<mat-form-field
*ngIf="formControl.enabled && editPhotoAllowed"
class="child-pic-photofile"
Expand Down
171 changes: 95 additions & 76 deletions src/locale/messages.de.xlf

Large diffs are not rendered by default.

197 changes: 108 additions & 89 deletions src/locale/messages.fr.xlf

Large diffs are not rendered by default.

239 changes: 128 additions & 111 deletions src/locale/messages.xlf

Large diffs are not rendered by default.

0 comments on commit 3eb0f38

Please sign in to comment.