mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2026-05-05 23:48:02 +02:00
Go on with translations
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user