diff options
author | Thomas Steur <thomas.steur@googlemail.com> | 2014-06-12 08:41:39 +0400 |
---|---|---|
committer | Thomas Steur <thomas.steur@googlemail.com> | 2014-06-12 08:41:39 +0400 |
commit | 89ed726287cd16cf2712bd44073e9c16022c0062 (patch) | |
tree | f980fd0f59c6a0cda1e5d9915072a7f88675bba9 /plugins/VisitsSummary | |
parent | 83d0378998ad19fbc45f12b787c78de94866dc00 (diff) |
as the category is used for reportMetadata and widgetsList we should not translate the category. The reportMetadata wants it translated but widgetslist wants the translation key. So we translate it only for the reportMetadata. Best solution would be to always accept either translated or the key but one problem after another
Diffstat (limited to 'plugins/VisitsSummary')
-rw-r--r-- | plugins/VisitsSummary/Reports/Get.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/VisitsSummary/Reports/Get.php b/plugins/VisitsSummary/Reports/Get.php index f3eb6a1822..0023072bf3 100644 --- a/plugins/VisitsSummary/Reports/Get.php +++ b/plugins/VisitsSummary/Reports/Get.php @@ -15,7 +15,7 @@ class Get extends \Piwik\Plugin\Report protected function init() { parent::init(); - $this->category = Piwik::translate('VisitsSummary_VisitsSummary'); + $this->category = 'VisitsSummary_VisitsSummary'; $this->name = Piwik::translate('VisitsSummary_VisitsSummary'); $this->documentation = ''; // TODO $this->processedMetrics = false; |