diff --git a/aleksis/apps/alsijil/frontend/components/coursebook/documentation/LessonNotes.vue b/aleksis/apps/alsijil/frontend/components/coursebook/documentation/LessonNotes.vue index f5919cf519194dc9333f4676ba9864d64e29f594..81cd941dd498778122793474a6884c0e933ab339 100644 --- a/aleksis/apps/alsijil/frontend/components/coursebook/documentation/LessonNotes.vue +++ b/aleksis/apps/alsijil/frontend/components/coursebook/documentation/LessonNotes.vue @@ -70,7 +70,10 @@ import TextNoteCard from "../personal_notes/TextNoteCard.vue"; </template> <span v-else> {{ - `${participations.length} ${$t("alsijil.coursebook.notes.persons")}` + $tc( + "alsijil.coursebook.notes.persons", + participations.length, + ) }} </span> </span> @@ -119,7 +122,7 @@ import TextNoteCard from "../personal_notes/TextNoteCard.vue"; </template> <span v-else> {{ - `${participations.length} ${$t("alsijil.coursebook.notes.persons")}` + $tc("alsijil.coursebook.notes.persons", participations.length) }} </span> </span> @@ -166,7 +169,10 @@ import TextNoteCard from "../personal_notes/TextNoteCard.vue"; </template> <span v-else> {{ - `${tardyParticipations.length} ${$t("alsijil.coursebook.notes.persons")}` + $tc( + "alsijil.coursebook.notes.persons", + tardyParticipations.length, + ) }} </span> </span> diff --git a/aleksis/apps/alsijil/frontend/messages/en.json b/aleksis/apps/alsijil/frontend/messages/en.json index cdf63269dd6ebd35100ca8c6a017aab9a2553c5f..6f5e44abd8bb42a95e48f00aa1c9b374daf36a7c 100644 --- a/aleksis/apps/alsijil/frontend/messages/en.json +++ b/aleksis/apps/alsijil/frontend/messages/en.json @@ -79,7 +79,7 @@ "notes": { "show_list": "List of participants", "future": "Lesson is in the future", - "persons": "Persons" + "persons": "One person | {count} persons" }, "notices": { "future": "Editing this lesson isn't allowed as this lesson is in the future.",