Add spell checking with typos (#4138)

* Add spell checking with typos
Implement https://github.com/FreshRSS/FreshRSS/pull/4134#issuecomment-1008027558

* GitHub Actions attempt

* Quiet wget

* Makefile
This commit is contained in:
Alexandre Alapetite
2022-01-09 18:21:40 +01:00
committed by GitHub
parent 9dbbe924c5
commit 4e2dff4591
24 changed files with 119 additions and 71 deletions

View File

@@ -23,25 +23,25 @@ class FreshRSS_stats_Controller extends FreshRSS_ActionController {
FreshRSS_View::prependTitle(_t('admin.stats.title') . ' · ');
}
private function convertToSerie($data) {
$serie = array();
private function convertToSeries($data) {
$series = array();
foreach ($data as $key => $value) {
$serie[] = array($key, $value);
$series[] = array($key, $value);
}
return $serie;
return $series;
}
private function convertToPieSerie($data) {
$serie = array();
private function convertToPieSeries($data) {
$series = array();
foreach ($data as $value) {
$value['data'] = array(array(0, (int) $value['data']));
$serie[] = $value;
$series[] = $value;
}
return $serie;
return $series;
}
/**