exports: activity improve translations

This commit is contained in:
2022-08-17 16:51:21 +02:00
parent 26cd677501
commit c199bb5534
3 changed files with 12 additions and 16 deletions

View File

@@ -183,7 +183,7 @@ class ListActivity implements ListInterface, GroupedExportInterface
public function getTitle()
{
return 'List activities linked to a person';
return 'List activity linked to a person';
}
public function getType(): string

View File

@@ -73,7 +73,7 @@ class StatActivityDuration implements ExportInterface, GroupedExportInterface
throw new LogicException(sprintf('The key %s is not used by this export', $key));
}
$header = self::SUM === $this->action ? 'Sum of activities duration' : false;
$header = self::SUM === $this->action ? 'Sum activities linked to a person duration' : false;
return static fn (string $value) => '_header' === $value ? $header : $value;
}