Skip to content

Commit

Permalink
add i18n messages for aggregated info table
Browse files Browse the repository at this point in the history
  • Loading branch information
bseber committed Oct 25, 2024
1 parent a754831 commit 4c754d9
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 5 deletions.
6 changes: 6 additions & 0 deletions src/main/resources/messages.properties
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,12 @@ report.csv.header.break=Pause

report.time.pagination.navigation.aria-label=Bericht Seiten-Nummerierung

report.aggregated.table.head.user=Person
report.aggregated.table.head.delta=Abweichung
report.aggregated.table.head.worked=Geleistet
report.aggregated.table.head.should=Soll
report.aggregated.table.head.planned=Geplant

report.detail.summary.planned-working-hours=Geplante Arbeitszeit:
report.detail.summary.hours-worked=Geleistete Arbeitszeit:
report.detail.summary.hoursDelta.negative=Noch zu leistende Arbeitszeit:
Expand Down
6 changes: 6 additions & 0 deletions src/main/resources/messages_en.properties
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,12 @@ report.csv.header.break=Break

report.time.pagination.navigation.aria-label=Bericht Seiten-Nummerierung

report.aggregated.table.head.user=Person
report.aggregated.table.head.delta=Difference
report.aggregated.table.head.worked=Worked
report.aggregated.table.head.should=Should
report.aggregated.table.head.planned=Planned

report.detail.summary.planned-working-hours=Planned Working Hours:
report.detail.summary.hours-worked=Hours Worked:
report.detail.summary.hoursDelta.negative=Hours Remaining to Work:
Expand Down
36 changes: 31 additions & 5 deletions src/main/resources/templates/reports/user-report.html
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,37 @@
<table class="report-person-detail-table">
<thead>
<tr>
<th><span class="sr-only">Person</span></th>
<th class="text-right">Abweichung</th>
<th class="text-right">Geleistet</th>
<th class="text-right">Soll</th>
<th class="text-right">Geplant</th>
<th>
<span
class="sr-only"
th:text="#{report.aggregated.table.head.user}"
>Person</span
>
</th>
<th
class="text-right"
th:text="#{report.aggregated.table.head.delta}"
>
Abweichung
</th>
<th
class="text-right"
th:text="#{report.aggregated.table.head.worked}"
>
Geleistet
</th>
<th
class="text-right"
th:text="#{report.aggregated.table.head.should}"
>
Soll
</th>
<th
class="text-right"
th:text="#{report.aggregated.table.head.planned}"
>
Geplant
</th>
</tr>
</thead>
<tbody>
Expand Down

0 comments on commit 4c754d9

Please sign in to comment.