add translations

This commit is contained in:
Julie Lenaerts 2023-11-15 16:15:24 +01:00
parent f78c1c0512
commit 382f275719
7 changed files with 43 additions and 18 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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