Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsgiehl <stefan@piwik.org>2015-06-13 00:54:31 +0300
committersgiehl <stefan@piwik.org>2015-06-20 12:27:20 +0300
commitc553d15a350b60e0b9b9eb946f91aa9331a5567e (patch)
tree05b448ff11521061a817f44e064799888ddf74c0 /plugins/VisitorInterest
parent5827efe733faa856058945e9aae1e15bcaf79cf7 (diff)
use new intl unit data
Diffstat (limited to 'plugins/VisitorInterest')
-rw-r--r--plugins/VisitorInterest/API.php4
-rw-r--r--plugins/VisitorInterest/lang/en.json1
2 files changed, 2 insertions, 3 deletions
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",