' . esc_html__( 'There is no published content yet.', 'qtrad' ) . '
'; return; } $languages = qtrad_enabled_languages(); echo '| ' . esc_html__( 'Content', 'qtrad' ) . ' | '; foreach ( $languages as $lang ) { echo '' . esc_html( qtrad_language_name( $lang ) ) . ' | '; } echo '|
|---|---|---|
| ' . esc_html( $row['label'] ) . ' ' . esc_html( sprintf( _n( '(%d published)', '(%d published)', $row['counts']['total'], 'qtrad' ), $row['counts']['total'] ) ) . ' | '; foreach ( $languages as $lang ) { $missing = $row['counts']['missing'][ $lang ]; if ( 0 === $missing ) { echo '' . esc_html__( 'Complete', 'qtrad' ) . ' | '; continue; } $url = add_query_arg( array( 'post_type' => $post_type, 'post_status' => 'publish', 'qtrad_missing' => $lang ), admin_url( 'edit.php' ) ); /* translators: %d: number of items without a translation */ echo '' . esc_html( sprintf( _n( '%d missing', '%d missing', $missing, 'qtrad' ), $missing ) ) . ' | '; } echo '
' . esc_html__( 'Missing means the title or content has no text in that language, so visitors see the fallback.', 'qtrad' ) . '
'; }