fix translation with calendar exports

This commit is contained in:
Mathieu Jaumotte 2022-08-31 15:26:28 +02:00
parent 6dbee02d82
commit bee5336c1d
12 changed files with 23 additions and 22 deletions

View File

@ -74,6 +74,6 @@ final class AgentAggregator implements AggregatorInterface
public function getTitle(): string public function getTitle(): string
{ {
return 'Group by agent'; return 'Group appointments by agent';
} }
} }

View File

@ -50,7 +50,7 @@ class CancelReasonAggregator implements AggregatorInterface
public function getTitle(): string public function getTitle(): string
{ {
return 'Group by cancel reason'; return 'Group appointments by cancel reason';
} }
public function addRole() public function addRole()

View File

@ -50,7 +50,7 @@ final class JobAggregator implements AggregatorInterface
public function getTitle(): string public function getTitle(): string
{ {
return 'Group by agent job'; return 'Group appointments by agent job';
} }
public function addRole() public function addRole()

View File

@ -45,7 +45,7 @@ final class LocationAggregator implements AggregatorInterface
public function getTitle(): string public function getTitle(): string
{ {
return 'Group by location'; return 'Group appointments by location';
} }
public function addRole(): ?Role public function addRole(): ?Role

View File

@ -50,7 +50,7 @@ final class LocationTypeAggregator implements AggregatorInterface
public function getTitle(): string public function getTitle(): string
{ {
return 'Group by location type'; return 'Group appointments by location type';
} }
public function addRole() public function addRole()

View File

@ -38,7 +38,7 @@ class MonthYearAggregator implements AggregatorInterface
public function getTitle(): string public function getTitle(): string
{ {
return 'Group by month and year'; return 'Group appointments by month and year';
} }
public function addRole(): ?Role public function addRole(): ?Role

View File

@ -50,7 +50,7 @@ final class ScopeAggregator implements AggregatorInterface
public function getTitle(): string public function getTitle(): string
{ {
return 'Group by agent scope'; return 'Group appointments by agent scope';
} }
public function addRole() public function addRole()

View File

@ -35,7 +35,7 @@ class AgentFilter implements FilterInterface
public function getTitle(): string public function getTitle(): string
{ {
return 'Filter by agent'; return 'Filter appointments by agent';
} }
public function describeAction($data, $format = 'string'): array public function describeAction($data, $format = 'string'): array

View File

@ -5,6 +5,7 @@ namespace Chill\CalendarBundle\Export\Filter;
use Chill\CalendarBundle\Export\Declarations; use Chill\CalendarBundle\Export\Declarations;
use Chill\MainBundle\Export\FilterInterface; use Chill\MainBundle\Export\FilterInterface;
use Chill\MainBundle\Form\Type\ChillDateType; use Chill\MainBundle\Form\Type\ChillDateType;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Query\Expr\Andx; use Doctrine\ORM\Query\Expr\Andx;
use Doctrine\ORM\QueryBuilder; use Doctrine\ORM\QueryBuilder;
use Symfony\Component\Form\FormBuilderInterface; use Symfony\Component\Form\FormBuilderInterface;
@ -26,7 +27,7 @@ class BetweenDatesFilter implements FilterInterface
public function getTitle(): string public function getTitle(): string
{ {
return 'Filter by appointments between certain dates'; return 'Filter appointments between certain dates';
} }
public function describeAction($data, $format = 'string'): array public function describeAction($data, $format = 'string'): array

View File

@ -94,6 +94,6 @@ class JobFilter implements FilterInterface
public function getTitle(): string public function getTitle(): string
{ {
return 'Filter by agent job'; return 'Filter appointments by agent job';
} }
} }

View File

@ -94,6 +94,6 @@ class ScopeFilter implements FilterInterface
public function getTitle() public function getTitle()
{ {
return 'Filter by agent scope'; return 'Filter appointments by agent scope';
} }
} }

View File

@ -51,21 +51,21 @@ Sum of appointment durations: Somme de la durée des rendez-vous
Get the sum of appointment durations according to various filters: Calcule la somme des durées des rendez-vous en fonction de différents paramètres. Get the sum of appointment durations according to various filters: Calcule la somme des durées des rendez-vous en fonction de différents paramètres.
'Filtered by agent: only %agents%': "Filtré par agents: uniquement %agents%" 'Filtered by agent: only %agents%': "Filtré par agents: uniquement %agents%"
Filter by agent: Filtrer par agents Filter appointments by agent: Filtrer les rendez-vous par agents
Filter by agent job: Filtrer par métiers des agents Filter appointments by agent job: Filtrer les rendez-vous par métiers des agents
'Filtered by agent job: only %jobs%': 'Filtré par métiers des agents: uniquement les %jobs%' 'Filtered by agent job: only %jobs%': 'Filtré par métiers des agents: uniquement les %jobs%'
Filter by agent scope: Filtrer par services des agents Filter appointments by agent scope: Filtrer les rendez-vous par services des agents
'Filtered by agent scope: only %scopes%': 'Filtré par services des agents: uniquement les services %scopes%' 'Filtered by agent scope: only %scopes%': 'Filtré par services des agents: uniquement les services %scopes%'
Filter by appointments between certain dates: Filtrer par date du rendez-vous Filter appointments between certain dates: Filtrer les rendez-vous par date du rendez-vous
'Filtered by appointments between %dateFrom% and %dateTo%': 'Filtré par rendez-vous entre %dateFrom% et %dateTo%' 'Filtered by appointments between %dateFrom% and %dateTo%': 'Filtré par rendez-vous entre %dateFrom% et %dateTo%'
Group by agent: Grouper par agent Group appointments by agent: Grouper les rendez-vous par agent
Group by agent job: Grouper par métier de l'agent Group appointments by agent job: Grouper les rendez-vous par métier de l'agent
Group by agent scope: Grouper par service de l'agent Group appointments by agent scope: Grouper les rendez-vous par service de l'agent
Group by location type: Grouper par type de localisation Group appointments by location type: Grouper les rendez-vous par type de localisation
Group by location: Grouper par lieu de rendez-vous Group appointments by location: Grouper les rendez-vous par lieu de rendez-vous
Group by cancel reason: Grouper par motif d'annulation Group appointments by cancel reason: Grouper les rendez-vous par motif d'annulation
Group by month and year: Grouper par mois et année Group appointments by month and year: Grouper les rendez-vous par mois et année
Scope: Service Scope: Service
Job: Métier Job: Métier
Location type: Type de localisation Location type: Type de localisation