From 382f27571945bb575c0294dcd735c4db73c518e3 Mon Sep 17 00:00:00 2001 From: Julie Lenaerts Date: Wed, 15 Nov 2023 16:15:24 +0100 Subject: [PATCH] add translations --- .../Export/LinkedToAcp/CountCalendars.php | 6 ++--- .../LinkedToAcp/StatCalendarAvgDuration.php | 6 ++--- .../LinkedToAcp/StatCalendarSumDuration.php | 6 ++--- .../Export/LinkedToPerson/CountCalendars.php | 6 ++--- .../StatCalendarAvgDuration.php | 6 ++--- .../StatCalendarSumDuration.php | 6 ++--- .../translations/messages.fr.yml | 25 +++++++++++++++++++ 7 files changed, 43 insertions(+), 18 deletions(-) diff --git a/src/Bundle/ChillCalendarBundle/Export/Export/LinkedToAcp/CountCalendars.php b/src/Bundle/ChillCalendarBundle/Export/Export/LinkedToAcp/CountCalendars.php index fb2065889..458327483 100644 --- a/src/Bundle/ChillCalendarBundle/Export/Export/LinkedToAcp/CountCalendars.php +++ b/src/Bundle/ChillCalendarBundle/Export/Export/LinkedToAcp/CountCalendars.php @@ -54,12 +54,12 @@ class CountCalendars implements ExportInterface, GroupedExportInterface public function getDescription(): string { - return 'Count calendars by various parameters.'; + return 'export.export.count_calendar_linked_to_acp.description'; } public function getGroup(): string { - return 'Exports of calendars linked to an accompanying period'; + return 'export.export.calendar_linked_to_acp.group'; } public function getLabels($key, array $values, $data) @@ -86,7 +86,7 @@ class CountCalendars implements ExportInterface, GroupedExportInterface public function getTitle(): string { - return 'Count calendars'; + return 'export.export.count_calendar_linked_to_acp.title'; } public function getType(): string diff --git a/src/Bundle/ChillCalendarBundle/Export/Export/LinkedToAcp/StatCalendarAvgDuration.php b/src/Bundle/ChillCalendarBundle/Export/Export/LinkedToAcp/StatCalendarAvgDuration.php index 9e4107fcc..5d5757689 100644 --- a/src/Bundle/ChillCalendarBundle/Export/Export/LinkedToAcp/StatCalendarAvgDuration.php +++ b/src/Bundle/ChillCalendarBundle/Export/Export/LinkedToAcp/StatCalendarAvgDuration.php @@ -54,12 +54,12 @@ class StatCalendarAvgDuration implements ExportInterface, GroupedExportInterface public function getDescription(): string { - return 'Get the average of calendar duration according to various filters'; + return 'export.export.avg_duration_calendar_linked_to_acp.description'; } public function getGroup(): string { - return 'Exports of calendars linked to an accompanying period'; + return 'export.export.calendar_linked_to_acp.group'; } public function getLabels($key, array $values, $data) @@ -86,7 +86,7 @@ class StatCalendarAvgDuration implements ExportInterface, GroupedExportInterface public function getTitle(): string { - return 'Average calendar duration'; + return 'export.export.avg_duration_calendar_linked_to_acp.title'; } public function getType(): string diff --git a/src/Bundle/ChillCalendarBundle/Export/Export/LinkedToAcp/StatCalendarSumDuration.php b/src/Bundle/ChillCalendarBundle/Export/Export/LinkedToAcp/StatCalendarSumDuration.php index f9e7a3150..04dca3121 100644 --- a/src/Bundle/ChillCalendarBundle/Export/Export/LinkedToAcp/StatCalendarSumDuration.php +++ b/src/Bundle/ChillCalendarBundle/Export/Export/LinkedToAcp/StatCalendarSumDuration.php @@ -53,12 +53,12 @@ class StatCalendarSumDuration implements ExportInterface, GroupedExportInterface public function getDescription(): string { - return 'Get the sum of calendar durations according to various filters'; + return 'export.export.sum_duration_calendar_linked_to_acp.description'; } public function getGroup(): string { - return 'Exports of calendars linked to an accompanying period'; + return 'export.export.calendar_linked_to_acp.group'; } public function getLabels($key, array $values, $data) @@ -85,7 +85,7 @@ class StatCalendarSumDuration implements ExportInterface, GroupedExportInterface public function getTitle(): string { - return 'Sum of calendar durations'; + return 'export.export.sum_duration_calendar_linked_to_acp.description'; } public function getType(): string diff --git a/src/Bundle/ChillCalendarBundle/Export/Export/LinkedToPerson/CountCalendars.php b/src/Bundle/ChillCalendarBundle/Export/Export/LinkedToPerson/CountCalendars.php index 3e8ade4c7..e092d9cba 100644 --- a/src/Bundle/ChillCalendarBundle/Export/Export/LinkedToPerson/CountCalendars.php +++ b/src/Bundle/ChillCalendarBundle/Export/Export/LinkedToPerson/CountCalendars.php @@ -54,12 +54,12 @@ class CountCalendars implements ExportInterface, GroupedExportInterface public function getDescription(): string { - return 'Count calendars by various parameters.'; + return 'export.export.count_calendar_linked_to_person.description'; } public function getGroup(): string { - return 'Exports of calendars linked to a person'; + return 'export.export.calendar_linked_to_person.group'; } public function getLabels($key, array $values, $data) @@ -86,7 +86,7 @@ class CountCalendars implements ExportInterface, GroupedExportInterface public function getTitle(): string { - return 'Count calendars'; + return 'export.export.count_calendar_linked_to_person.title'; } public function getType(): string diff --git a/src/Bundle/ChillCalendarBundle/Export/Export/LinkedToPerson/StatCalendarAvgDuration.php b/src/Bundle/ChillCalendarBundle/Export/Export/LinkedToPerson/StatCalendarAvgDuration.php index 47bccb5d4..46fc4f3b4 100644 --- a/src/Bundle/ChillCalendarBundle/Export/Export/LinkedToPerson/StatCalendarAvgDuration.php +++ b/src/Bundle/ChillCalendarBundle/Export/Export/LinkedToPerson/StatCalendarAvgDuration.php @@ -43,12 +43,12 @@ class StatCalendarAvgDuration implements ExportInterface, GroupedExportInterface public function getDescription(): string { - return 'Get the average of calendar duration according to various filters'; + return 'export.export.stat_calendar_avg_duration_linked_to_person.description'; } public function getGroup(): string { - return 'Exports of calendars linked to a person'; + return 'export.export.calendar_linked_to_person.group'; } public function getLabels($key, array $values, $data) @@ -75,7 +75,7 @@ class StatCalendarAvgDuration implements ExportInterface, GroupedExportInterface public function getTitle(): string { - return 'Average calendar duration'; + return 'export.export.stat_calendar_avg_duration_linked_to_person.title'; } public function getType(): string diff --git a/src/Bundle/ChillCalendarBundle/Export/Export/LinkedToPerson/StatCalendarSumDuration.php b/src/Bundle/ChillCalendarBundle/Export/Export/LinkedToPerson/StatCalendarSumDuration.php index 578988e7c..cacfe5eb0 100644 --- a/src/Bundle/ChillCalendarBundle/Export/Export/LinkedToPerson/StatCalendarSumDuration.php +++ b/src/Bundle/ChillCalendarBundle/Export/Export/LinkedToPerson/StatCalendarSumDuration.php @@ -43,12 +43,12 @@ class StatCalendarSumDuration implements ExportInterface, GroupedExportInterface public function getDescription(): string { - return 'Get the sum of calendar durations according to various filters'; + return 'export.export.stat_calendar_sum_duration_linked_to_person.description'; } public function getGroup(): string { - return 'Exports of calendars linked to a person'; + return 'export.export.calendar_linked_to_person.group'; } public function getLabels($key, array $values, $data) @@ -75,7 +75,7 @@ class StatCalendarSumDuration implements ExportInterface, GroupedExportInterface public function getTitle(): string { - return 'Sum of calendar durations'; + return 'export.export.stat_calendar_sum_duration_linked_to_person.title'; } public function getType(): string diff --git a/src/Bundle/ChillCalendarBundle/translations/messages.fr.yml b/src/Bundle/ChillCalendarBundle/translations/messages.fr.yml index d157683e0..80933566d 100644 --- a/src/Bundle/ChillCalendarBundle/translations/messages.fr.yml +++ b/src/Bundle/ChillCalendarBundle/translations/messages.fr.yml @@ -112,6 +112,31 @@ Group calendars by month and year: Grouper les rendez-vous par mois et année Group calendars by urgency: Grouper les rendez-vous par urgent ou non export: + export: + calendar_linked_to_person: + group: Exports des rendez-vous liés à un usager + calendar_linked_to_acp: + group: Exports des rendez-vous liés à un parcours + stat_calendar_sum_duration_linked_to_person: + title: Somme de la durée des rendez-vous + description: Additionne la durée des rendez-vous en fonction de différents paramètres. + stat_calendar_avg_duration_linked_to_person: + title: Moyenne de la durée des rendez-vous + description: Moyenne de la durée des rendez-vous en fonction de différents paramètres. + count_calendar_linked_to_person: + title: Nombre des rendez-vous + description: Compte le nombre des rendez-vous enregistrés et liés à un usager en fonction de différents paramètres. + count_calendar_linked_to_acp: + title: Nombre des rendez-vous + description: Compte le nombre des rendez-vous enregistrés et liées à un parcours en fonction de différents paramètres. + avg_duration_calendar_linked_to_acp: + title: Moyenne de la durée des rendez-vous + description: Moyenne de la durée des rendez-vous en fonction de différents paramètres. + sum_duration_calendar_linked_to_acp: + title: Somme de la durée des rendez-vous + description: Additionne la durée des rendez-vous en fonction de différents paramètres. + + aggregator.calendar: agent_job: Group calendars by agent job: Grouper les rendez-vous par métier de l'agent