diff options
author | diosmosis <benaka@piwik.pro> | 2015-09-15 02:39:25 +0300 |
---|---|---|
committer | diosmosis <benaka@piwik.pro> | 2015-09-15 02:39:40 +0300 |
commit | ca6b7e77f4d4b886db0d0660db1f0ae6980e3fe4 (patch) | |
tree | 654ff7bf5454e623e6110ae6e65f5154d1048cf5 /plugins/CustomVariables | |
parent | bcdc92a68ee22daab7193fe13e8880b9f263ca84 (diff) |
Add visit scope text to relevant custom variable segments.
Diffstat (limited to 'plugins/CustomVariables')
-rw-r--r-- | plugins/CustomVariables/Columns/Base.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/CustomVariables/Columns/Base.php b/plugins/CustomVariables/Columns/Base.php index 189475b34c..1818ca3145 100644 --- a/plugins/CustomVariables/Columns/Base.php +++ b/plugins/CustomVariables/Columns/Base.php @@ -23,7 +23,7 @@ class Base extends VisitDimension $segment = new Segment(); $segment->setType('dimension'); $segment->setSegment('customVariable' . $segmentNameSuffix); - $segment->setName($this->getName()); + $segment->setName($this->getName() . ' (' . Piwik::translate('CustomVariables_ScopeVisit') . ')'); $segment->setCategory('CustomVariables_CustomVariables'); $segment->setSqlSegment($this->getSegmentColumns('log_visit.' . $fieldPrefix, $numCustomVariables)); $segment->setSuggestedValuesCallback(function ($idSite, $ignore, DataTable $table) use ($segmentNameSuffix) { |