diff --git a/js/src/i18n/en_US.json b/js/src/i18n/en_US.json index 4b4b61013..c78839b8a 100644 --- a/js/src/i18n/en_US.json +++ b/js/src/i18n/en_US.json @@ -1564,5 +1564,8 @@ "No apps authorized yet": "No apps authorized yet", "You have been logged-out": "You have been logged-out", "An “application programming interface” or “API” is a communication protocol that allows software components to communicate with each other. The Mobilizon API, for example, can allow third-party software tools to communicate with Mobilizon instances to carry out certain actions, such as posting events on your behalf, automatically and remotely.": "An “application programming interface” or “API” is a communication protocol that allows software components to communicate with each other. The Mobilizon API, for example, can allow third-party software tools to communicate with Mobilizon instances to carry out certain actions, such as posting events on your behalf, automatically and remotely.", - "Announcements": "Announcements" + "Announcements": "Announcements", + "Application authorized": "Application authorized", + "Check your device to continue. You may now close this window.": "Check your device to continue. You may now close this window.", + "Participants to {eventTitle}": "Participants to {eventTitle}" } \ No newline at end of file diff --git a/js/src/i18n/fr_FR.json b/js/src/i18n/fr_FR.json index 52327f255..5a4fdaf0a 100644 --- a/js/src/i18n/fr_FR.json +++ b/js/src/i18n/fr_FR.json @@ -1560,5 +1560,8 @@ "{username} was invited to {group}": "{username} a été invité à {group}", "{user}'s follow request was accepted": "La demande de suivi de {user} a été acceptée", "{user}'s follow request was rejected": "La demande de suivi de {user} a été rejetée", - "© The OpenStreetMap Contributors": "© Les Contributeur⋅ices OpenStreetMap" + "© The OpenStreetMap Contributors": "© Les Contributeur⋅ices OpenStreetMap", + "Application authorized": "Application autorisée", + "Check your device to continue. You may now close this window.": "Vérifiez votre appareil pour continuer. Vous pouvez maintenant fermer cette fenêtre.", + "Participants to {eventTitle}": "Participant·es à {eventTitle}" } diff --git a/js/src/views/Event/ParticipantsView.vue b/js/src/views/Event/ParticipantsView.vue index 821fcdb6d..20bc39788 100644 --- a/js/src/views/Event/ParticipantsView.vue +++ b/js/src/views/Event/ParticipantsView.vue @@ -284,6 +284,7 @@ import Incognito from "vue-material-design-icons/Incognito.vue"; import EmptyContent from "@/components/Utils/EmptyContent.vue"; import { Notifier } from "@/plugins/notifier"; import Tag from "@/components/TagElement.vue"; +import { useHead } from "@vueuse/head"; const PARTICIPANTS_PER_PAGE = 10; const MESSAGE_ELLIPSIS_LENGTH = 130; @@ -458,6 +459,12 @@ const toggleQueueDetails = (row: IParticipant): void => { }; const openDetailedRows = ref>({}); + +useHead({ + title: computed(() => + t("Participants to {eventTitle}", { eventTitle: event.value?.title }) + ), +});