true,
'title' => __( 'Account connected', 'justreview' ),
'text' => sprintf(
'%s ยท %s',
$ctx['account'] && '' !== $ctx['account']['brand'] ? $ctx['account']['brand'] : __( 'JustReview account', 'justreview' ),
$ctx['plan']
),
'url' => '',
),
array(
'done' => $justreview_sources > 0,
'title' => __( 'Review sources', 'justreview' ),
'text' => $justreview_sources > 0
? sprintf(
/* translators: 1: liczba zrodel, 2: liczba opinii. */
__( 'Connected sources: %1$d, total reviews: %2$d.', 'justreview' ),
(int) $justreview_sources,
(int) $ctx['account']['total']
)
: __( 'Nothing is connected yet, so there\'s nothing to show.', 'justreview' ),
'url' => JustReview_Admin::url( JustReview_Admin::SLUG . '-sources' ),
),
array(
'done' => $justreview_widgets > 0,
'title' => __( 'Widgets', 'justreview' ),
'text' => $justreview_widgets > 0
? sprintf(
/* translators: %d: liczba zapisanych widgetow. */
_n( 'You have %d saved widget.', 'You have %d saved widgets.', (int) $justreview_widgets, 'justreview' ),
(int) $justreview_widgets
)
: __( 'Build your first widget: pick a type, sources, and colors.', 'justreview' ),
'url' => JustReview_Admin::url( JustReview_Admin::SLUG . '-widgets' ),
),
array(
'done' => false,
'title' => __( 'Check the result', 'justreview' ),
'text' => __( 'Insert the widget into a page, then check what an outside visitor sees.', 'justreview' ),
'url' => JustReview_Admin::url( JustReview_Admin::SLUG . '-diagnostics' ),
),
);
?>
$justreview_step ) : ?>
<
class=""
href=""
>
→
>
' . esc_html( $ctx['settings']['hash'] ) . ''
);
?>