6, 'page' => 1, ) ); $rows = Groups::collapse( Query::recent( 6, $args ) ); $scoped = ! current_user_can( Capabilities::MANAGE ); $stats = Query::stats( $scoped, $scoped ? Vocabulary::viewer_categories() : array() ); echo '
' . esc_html( sprintf( /* translators: 1: events today, 2: events in 7 days. */ __( '%1$d today ยท %2$d in 7 days', 'admintrace-activity-logger' ), (int) $stats['today'], (int) $stats['week'] ) ) . '
' . esc_html__( 'No activity yet.', 'admintrace-activity-logger' ) . '
' . esc_html__( 'Open the journal', 'admintrace-activity-logger' ) . '