mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
improve translations for treating agent
This commit is contained in:
parent
f7993eaf2b
commit
b03950d0f7
@ -64,7 +64,7 @@ final class JobAggregator implements AggregatorInterface
|
|||||||
*/
|
*/
|
||||||
public function getTitle(): string
|
public function getTitle(): string
|
||||||
{
|
{
|
||||||
return 'Group by user job';
|
return 'Group by treating agent job';
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -64,7 +64,7 @@ final class ScopeAggregator implements AggregatorInterface
|
|||||||
*/
|
*/
|
||||||
public function getTitle(): string
|
public function getTitle(): string
|
||||||
{
|
{
|
||||||
return 'Group by user scope';
|
return 'Group by treating agent scope';
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -39,7 +39,7 @@ class JobFilter implements FilterInterface
|
|||||||
|
|
||||||
public function buildForm(FormBuilderInterface $builder)
|
public function buildForm(FormBuilderInterface $builder)
|
||||||
{
|
{
|
||||||
$builder->add('userjob', EntityType::class, [
|
$builder->add('job', EntityType::class, [
|
||||||
'class' => UserJob::class,
|
'class' => UserJob::class,
|
||||||
'choice_label' => function (UserJob $j) {
|
'choice_label' => function (UserJob $j) {
|
||||||
return $this->translatableStringHelper->localize(
|
return $this->translatableStringHelper->localize(
|
||||||
@ -55,13 +55,13 @@ class JobFilter implements FilterInterface
|
|||||||
{
|
{
|
||||||
$userjobs = [];
|
$userjobs = [];
|
||||||
|
|
||||||
foreach ($data['userjob'] as $j) {
|
foreach ($data['job'] as $j) {
|
||||||
$userjobs[] = $this->translatableStringHelper->localize(
|
$userjobs[] = $this->translatableStringHelper->localize(
|
||||||
$j->getLabel());
|
$j->getLabel());
|
||||||
}
|
}
|
||||||
|
|
||||||
return ['Filtered by the following jobs: only %userjobs%', [
|
return ['Filtered by treating agent job: only %jobs%', [
|
||||||
'%userjobs%' => implode(', ou ', $userjobs)
|
'%jobs%' => implode(', ou ', $userjobs)
|
||||||
]];
|
]];
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -75,7 +75,7 @@ class JobFilter implements FilterInterface
|
|||||||
$qb->join('acpw.referrers', 'r');
|
$qb->join('acpw.referrers', 'r');
|
||||||
|
|
||||||
$where = $qb->getDQLPart('where');
|
$where = $qb->getDQLPart('where');
|
||||||
$clause = $qb->expr()->in('r.userJob', ':userjob');
|
$clause = $qb->expr()->in('r.userJob', ':job');
|
||||||
|
|
||||||
if ($where instanceof Andx) {
|
if ($where instanceof Andx) {
|
||||||
$where->add($clause);
|
$where->add($clause);
|
||||||
@ -84,7 +84,7 @@ class JobFilter implements FilterInterface
|
|||||||
}
|
}
|
||||||
|
|
||||||
$qb->add('where', $where);
|
$qb->add('where', $where);
|
||||||
$qb->setParameter('userjob', $data['userjob']);
|
$qb->setParameter('job', $data['job']);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function applyOn()
|
public function applyOn()
|
||||||
@ -93,8 +93,8 @@ class JobFilter implements FilterInterface
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public function getTitle()
|
public function getTitle(): string
|
||||||
{
|
{
|
||||||
return 'Filter by user job';
|
return 'Filter by treating agent job';
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -59,8 +59,8 @@ class ScopeFilter implements FilterInterface
|
|||||||
$s->getName());
|
$s->getName());
|
||||||
}
|
}
|
||||||
|
|
||||||
return ['Filtered by the following scopes: only %scope%', [
|
return ['Filtered by treating agent scope: only %scopes%', [
|
||||||
'%scope%' => implode(', ou ', $scopes)
|
'%scopes%' => implode(', ou ', $scopes)
|
||||||
]];
|
]];
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -94,6 +94,6 @@ class ScopeFilter implements FilterInterface
|
|||||||
|
|
||||||
public function getTitle()
|
public function getTitle()
|
||||||
{
|
{
|
||||||
return 'Filter by scope';
|
return 'Filter by treating agent scope';
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -513,16 +513,24 @@ Accepted referrers: Référents
|
|||||||
"Filtered by referrer: only %referrers%": "Filtré par référent: uniquement %referrers%"
|
"Filtered by referrer: only %referrers%": "Filtré par référent: uniquement %referrers%"
|
||||||
Group by referrers: Grouper par référent
|
Group by referrers: Grouper par référent
|
||||||
|
|
||||||
Filter by treating agent: Filtrer par agent traitant
|
|
||||||
Accepted agents: Agent traitant
|
|
||||||
"Filtered by treating agent: only %agents%": "Filtré par agent traitant: uniquement %agents%"
|
|
||||||
Group by treating agent: Grouper par agent traitant
|
|
||||||
|
|
||||||
Filter by opened between dates: Filtrer les parcours ouverts entre deux dates
|
Filter by opened between dates: Filtrer les parcours ouverts entre deux dates
|
||||||
Date from: Date de début
|
Date from: Date de début
|
||||||
Date to: Date de fin
|
Date to: Date de fin
|
||||||
"Filtered by opening dates: between %datefrom% and %dateto%": "Filtrer les parcours ouverts entre deux dates: entre le %datefrom% et le %dateto%"
|
"Filtered by opening dates: between %datefrom% and %dateto%": "Filtrer les parcours ouverts entre deux dates: entre le %datefrom% et le %dateto%"
|
||||||
|
|
||||||
|
Filter by treating agent scope: Filtrer par service de l'agent traitant
|
||||||
|
"Filtered by treating agent scope: only %scopes%": "Filtré par service de l'agent traitant: uniquement %scopes%"
|
||||||
|
Group by treating agent scope: Grouper par service de l'agent traitant
|
||||||
|
|
||||||
|
Filter by treating agent job: Filtrer par métier de l'agent traitant
|
||||||
|
"Filtered by treating agent job: only %jobs%": "Filtré par métier de l'agent traitant: uniquement %jobs%"
|
||||||
|
Group by treating agent job: Grouper par métier de l'agent traitant
|
||||||
|
|
||||||
|
Filter by treating agent: Filtrer par agent traitant
|
||||||
|
Accepted agents: Agent traitant
|
||||||
|
"Filtered by treating agent: only %agents%": "Filtré par agent traitant: uniquement %agents%"
|
||||||
|
Group by treating agent: Grouper par agent traitant
|
||||||
|
|
||||||
Filter by evaluation type: Filtrer par type d'évaluation
|
Filter by evaluation type: Filtrer par type d'évaluation
|
||||||
Accepted evaluationtype: Évaluations
|
Accepted evaluationtype: Évaluations
|
||||||
"Filtered by evaluation type: only %evals%": "Filtré par type d'évaluation: uniquement %evals%"
|
"Filtered by evaluation type: only %evals%": "Filtré par type d'évaluation: uniquement %evals%"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user