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:
authormatt <matt@59fd770c-687e-43c8-a1e3-f5a4ff64c105>2009-04-06 10:46:59 +0400
committermatt <matt@59fd770c-687e-43c8-a1e3-f5a4ff64c105>2009-04-06 10:46:59 +0400
commitb8bd8cf1df9efcf41cc1b057805d12a91085bfe3 (patch)
treedfeea1da48bddd1c5f0e24660e85ecafb207c74f /plugins/UserCountry
parent3412d1bdc71e9d5f3eed2c22df3cc4e2913af629 (diff)
- make sure all "Others" type legends are correct on all graphs
- regression: 'label' should always be first column, prettier in API results - translate some text in plugin + show how easy it is to translate a plugin
Diffstat (limited to 'plugins/UserCountry')
-rw-r--r--plugins/UserCountry/API.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/UserCountry/API.php b/plugins/UserCountry/API.php
index 1e9df9b589..535e5979d4 100644
--- a/plugins/UserCountry/API.php
+++ b/plugins/UserCountry/API.php
@@ -43,8 +43,8 @@ class Piwik_UserCountry_API
public function getContinent( $idSite, $period, $date )
{
$dataTable = $this->getDataTable('UserCountry_continent', $idSite, $period, $date);
+ $dataTable->filter('Piwik_DataTable_Filter_ColumnCallbackReplace', array('label', 'Piwik_ContinentTranslate'));
$dataTable->queueFilter('Piwik_DataTable_Filter_ColumnCallbackAddMetadata', array('label', 'code', create_function('$label', 'return $label;')));
- $dataTable->queueFilter('Piwik_DataTable_Filter_ColumnCallbackReplace', array('label', 'Piwik_ContinentTranslate'));
return $dataTable;
}