diff --git a/aleksis/apps/alsijil/frontend/components/coursebook/statistics/StatisticsTardinessCard.vue b/aleksis/apps/alsijil/frontend/components/coursebook/statistics/StatisticsTardinessCard.vue index 14740a3668f2204622d2205cef50c72914fde431..275515f0f1b822d9b1da1dfe5fcbef264e242e6f 100644 --- a/aleksis/apps/alsijil/frontend/components/coursebook/statistics/StatisticsTardinessCard.vue +++ b/aleksis/apps/alsijil/frontend/components/coursebook/statistics/StatisticsTardinessCard.vue @@ -5,7 +5,7 @@ class="d-flex flex-column align-center justify-center fill-height" > <div class="text-h2"> - {{ tardinessCount }} + {{ $n(tardinessCount) }} </div> <div class="text-subtitle-2"> {{ $tc("alsijil.personal_notes.tardiness_n", tardinessCount) }} @@ -14,12 +14,12 @@ <!-- TODO: Show average tardiness instead of sum like mock-up? --> <div> <v-icon small>mdi-sigma</v-icon> - {{ $tc("time.minutes_n", tardinessSum) }} + {{ $tc("time.minutes_n", tardinessSum, { n: $n(tardinessSum) }) }} </div> <div> <v-icon small>mdi-diameter-variant</v-icon> {{ - $tc("time.minutes_n", (tardinessSum / tardinessCount).toFixed(2)) + $tc("time.minutes_n", tardinessSum / tardinessCount, { n: $n(tardinessSum/tardinessCount) }) }} </div> </div>