exports: improve activity translations

This commit is contained in:
2022-08-16 17:08:32 +02:00
parent 42122f5832
commit fb18d9fb56
2 changed files with 9 additions and 9 deletions

View File

@@ -44,7 +44,7 @@ class CountActivity implements ExportInterface, GroupedExportInterface
public function getDescription()
{
return 'Count activities by various parameters.';
return 'Count activities linked to a person by various parameters.';
}
public function getLabels($key, array $values, $data)
@@ -53,7 +53,7 @@ class CountActivity implements ExportInterface, GroupedExportInterface
throw new LogicException("the key {$key} is not used by this export");
}
return static fn ($value) => '_header' === $value ? 'Number of activities' : $value;
return static fn ($value) => '_header' === $value ? 'Number of activities linked to a person' : $value;
}
public function getQueryKeys($data)
@@ -68,7 +68,7 @@ class CountActivity implements ExportInterface, GroupedExportInterface
public function getTitle()
{
return 'Count activities';
return 'Count activities linked to a person';
}
public function getType()