Go on with translations

This commit is contained in:
Flavio Copes
2015-08-11 14:00:31 +02:00
parent 1efd0622a4
commit b4af153baa
3 changed files with 70 additions and 20 deletions

View File

@@ -118,7 +118,7 @@ class Popularity
$data = array();
foreach ($chart_data as $date => $count) {
$labels[] = date('D', strtotime($date));
$labels[] = self::getGrav()['grav']['language']->translate(['PLUGIN_ADMIN_' . strtoupper(date('D', strtotime($date)))]);
$data[] = $count;
}