diff options
author | mattab <matthieu.aubry@gmail.com> | 2013-10-09 08:03:35 +0400 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2013-10-09 08:03:35 +0400 |
commit | 81ccb29b440e98ed9147e84781df0fce34ee6542 (patch) | |
tree | 378a809d208f6a2cc188489017b87a98501023f2 /plugins/Dashboard/Dashboard.php | |
parent | 98935b7cca73c74dac77d3661239a2055e6b8f8f (diff) |
Refs #4202 removing functions Piwik_Translate and Piwik_TranslateException
Diffstat (limited to 'plugins/Dashboard/Dashboard.php')
-rw-r--r-- | plugins/Dashboard/Dashboard.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Dashboard/Dashboard.php b/plugins/Dashboard/Dashboard.php index 12318cfcd3..6311043d99 100644 --- a/plugins/Dashboard/Dashboard.php +++ b/plugins/Dashboard/Dashboard.php @@ -109,7 +109,7 @@ class Dashboard extends \Piwik\Plugin foreach ($dashboards AS &$dashboard) { if (empty($dashboard['name'])) { - $dashboard['name'] = Piwik_Translate('Dashboard_DashboardOf', $login); + $dashboard['name'] = Piwik::translate('Dashboard_DashboardOf', $login); if ($nameless > 1) { $dashboard['name'] .= " ($nameless)"; } @@ -219,7 +219,7 @@ class Dashboard extends \Piwik\Plugin $tooltip = false; try { $idSite = Common::getRequestVar('idSite'); - $tooltip = Piwik_Translate('Dashboard_TopLinkTooltip', Site::getNameFor($idSite)); + $tooltip = Piwik::translate('Dashboard_TopLinkTooltip', Site::getNameFor($idSite)); } catch (Exception $ex) { // if no idSite parameter, show no tooltip } |