diff options
author | mattab <matthieu.aubry@gmail.com> | 2013-05-23 04:37:55 +0400 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2013-05-23 04:37:55 +0400 |
commit | 3032245d535f444201766c3b80528416eb926c0f (patch) | |
tree | 56e859c9d9a9f275990042302eb26c967e4b7a7b /plugins/SegmentEditor | |
parent | 13ba840fcb226a8d2f6217c28d7f71e54b6ab360 (diff) |
Fixing lcfirst not available yet
Diffstat (limited to 'plugins/SegmentEditor')
-rw-r--r-- | plugins/SegmentEditor/Controller.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/SegmentEditor/Controller.php b/plugins/SegmentEditor/Controller.php index a540ce4a72..f61239798a 100644 --- a/plugins/SegmentEditor/Controller.php +++ b/plugins/SegmentEditor/Controller.php @@ -26,7 +26,9 @@ class Piwik_SegmentEditor_Controller extends Piwik_Controller foreach($segments as $segment) { if($segment['category'] == Piwik_Translate('General_Visit') && $segment['type'] == 'metric') { - $segment['category'] .= ' (' . lcfirst(Piwik_Translate('General_Metrics')) . ')'; + $metricsLabel = Piwik_Translate('General_Metrics'); + $metricsLabel[0] = strtolower($metricsLabel[0]); + $segment['category'] .= ' (' . $metricsLabel . ')'; } $segmentsByCategory[$segment['category']][] = $segment; } |