From c553d15a350b60e0b9b9eb946f91aa9331a5567e Mon Sep 17 00:00:00 2001 From: sgiehl Date: Fri, 12 Jun 2015 23:54:31 +0200 Subject: use new intl unit data --- plugins/VisitorInterest/API.php | 4 ++-- plugins/VisitorInterest/lang/en.json | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'plugins/VisitorInterest') diff --git a/plugins/VisitorInterest/API.php b/plugins/VisitorInterest/API.php index 74f050c33a..6567d96c3e 100644 --- a/plugins/VisitorInterest/API.php +++ b/plugins/VisitorInterest/API.php @@ -36,7 +36,7 @@ class API extends \Piwik\Plugin\API $dataTable->queueFilter('Sort', array('label', 'asc', true, false)); $dataTable->queueFilter('BeautifyTimeRangeLabels', array( Piwik::translate('VisitorInterest_BetweenXYSeconds'), - Piwik::translate('VisitorInterest_OneMinute'), + Piwik::translate('Intl_OneMinuteShort'), Piwik::translate('VisitorInterest_PlusXMin'))); return $dataTable; } @@ -65,7 +65,7 @@ class API extends \Piwik\Plugin\API { $dataTable = $this->getDataTable( Archiver::DAYS_SINCE_LAST_RECORD_NAME, $idSite, $period, $date, $segment, Metrics::INDEX_NB_VISITS); - $dataTable->queueFilter('BeautifyRangeLabels', array(Piwik::translate('General_OneDay'), Piwik::translate('General_NDays'))); + $dataTable->queueFilter('BeautifyRangeLabels', array(Piwik::translate('Intl_OneDay'), Piwik::translate('Intl_NDays'))); return $dataTable; } diff --git a/plugins/VisitorInterest/lang/en.json b/plugins/VisitorInterest/lang/en.json index e61911c061..dd7fe1441d 100644 --- a/plugins/VisitorInterest/lang/en.json +++ b/plugins/VisitorInterest/lang/en.json @@ -6,7 +6,6 @@ "ColumnVisitDuration": "Visit duration", "Engagement": "Engagement", "NPages": "%s pages", - "OneMinute": "1 min", "OnePage": "1 page", "PluginDescription": "Reports about visitors interest: number of pages viewed, time spent on the Website, days since last visit, and more.", "PlusXMin": "%s min", -- cgit v1.2.3