[export] fix translations in message yaml tree

This commit is contained in:
2023-09-27 14:40:30 +02:00
parent 0953faedc4
commit e738bf0f5e
6 changed files with 37 additions and 25 deletions

View File

@@ -80,6 +80,6 @@ final readonly class ScopeAggregator implements AggregatorInterface
public function getTitle(): string
{
return 'Group course by scope';
return 'export.aggregator.course.by_scope.Group course by scope';
}
}

View File

@@ -76,7 +76,7 @@ final readonly class UserJobAggregator implements AggregatorInterface
{
$builder
->add('job_at', PickRollingDateType::class, [
'label' => 'export.acp.referrer_job.Calc date',
'label' => 'export.aggregator.course.by_user_job.Calc date',
'required' => true
]);
}
@@ -113,6 +113,6 @@ final readonly class UserJobAggregator implements AggregatorInterface
public function getTitle(): string
{
return 'export.acp.referrer_job.Group by user job';
return 'export.aggregator.course.by_user_job.Group by user job';
}
}

View File

@@ -76,7 +76,7 @@ final readonly class JobAggregator implements AggregatorInterface
public function buildForm(FormBuilderInterface $builder)
{
$builder->add('job_at', PickRollingDateType::class, [
'label' => 'export.acpw.agent_job:Calc Date',
'label' => 'export.aggregator.course_work.by_agent_job.Calc date',
'required' => true
]);
}
@@ -113,6 +113,6 @@ final readonly class JobAggregator implements AggregatorInterface
public function getTitle(): string
{
return 'export.acpw.agent_job:Group by treating agent job';
return 'export.aggregator.course_work.by_agent_job.Group by treating agent job';
}
}

View File

@@ -76,7 +76,7 @@ final readonly class ScopeAggregator implements AggregatorInterface
public function buildForm(FormBuilderInterface $builder)
{
$builder->add('scope_at', PickRollingDateType::class, [
'label' => 'export.acpw.agent_scope.Calc date',
'label' => 'export.aggregator.course_work.by_agent_scope.Calc date',
'required' => true,
]);
}
@@ -113,6 +113,6 @@ final readonly class ScopeAggregator implements AggregatorInterface
public function getTitle(): string
{
return 'export.acpw.agent_scope.Group by treating agent scope';
return 'export.aggregator.course_work.by_agent_scope.Group by treating agent scope';
}
}

View File

@@ -82,7 +82,7 @@ class UserJobFilter implements FilterInterface
'label' => 'Job',
])
->add('date_calc', PickRollingDateType::class, [
'label' => 'export.filter.course.by_user_scope.Computation date for referrer',
'label' => 'export.filter.course.by_user_job.Computation date for referrer',
'required' => true,
]);
}
@@ -94,7 +94,7 @@ class UserJobFilter implements FilterInterface
public function describeAction($data, $format = 'string')
{
return [
'Filtered by user job: only %job%', [
'export.filter.course.by_user_job.Filtered by user job: only %job%', [
'%job%' => implode(
', ',
array_map(
@@ -108,6 +108,6 @@ class UserJobFilter implements FilterInterface
public function getTitle()
{
return 'Filter by user job';
return 'export.filter.course.by_user_job.Filter by user job';
}
}