feat: format sitestats with separators

This commit is contained in:
alistair3149 2021-03-23 10:38:30 -04:00 committed by GitHub
parent 592dd1fb3c
commit 88aed73f5c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -146,7 +146,7 @@ final class Drawer extends Partial {
foreach ( $stats as &$stat ) {
$items[] = [
'id' => $stat,
'value' => call_user_func( 'SiteStats::' . $stat ),
'value' => number_format( call_user_func( 'SiteStats::' . $stat ) ),
'label' => $this->skin->msg( "citizen-sitestats-$stat-label" )->text(),
];
}