diff options
author | Thomas Steur <thomas.steur@googlemail.com> | 2014-09-03 11:41:50 +0400 |
---|---|---|
committer | Thomas Steur <thomas.steur@googlemail.com> | 2014-09-03 11:41:50 +0400 |
commit | 9b1d0b1c50455fc6b7928718d71c052957a00598 (patch) | |
tree | f6a16b9bc4496b0074b6159f490a229f3538c70d /core | |
parent | e7d78e10dfa379844f4364d9aed78ae13b6de9f8 (diff) |
refs #4996 make sure processed metrics will be translated automatically and a user does not have to add them manually to the viewDataTable
Diffstat (limited to 'core')
-rw-r--r-- | core/Plugin/ViewDataTable.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/core/Plugin/ViewDataTable.php b/core/Plugin/ViewDataTable.php index 14b2f979f7..d7f72028cf 100644 --- a/core/Plugin/ViewDataTable.php +++ b/core/Plugin/ViewDataTable.php @@ -223,6 +223,11 @@ abstract class ViewDataTable implements ViewInterface $this->config->addTranslations($metrics); } + $processedMetrics = $report->getProcessedMetrics(); + if (!empty($processedMetrics)) { + $this->config->addTranslations($processedMetrics); + } + $report->configureView($this); } |