Plugins: Make the message displayed when no plugins are installed more concise.

Props johnjamesjacoby, Presskopp.
Fixes #42336.

git-svn-id: https://develop.svn.wordpress.org/trunk@47894 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2020-06-03 10:49:45 +00:00
parent 4ac1670efe
commit 112c2c456a
4 changed files with 4 additions and 4 deletions

View File

@ -941,7 +941,7 @@
$views.find( '.all' ).remove();
if ( ! $form.find( 'tr.no-items' ).length ) {
$form.find( '#the-list' ).append( '<tr class="no-items"><td class="colspanchange" colspan="' + columnCount + '">' + __( 'You do not appear to have any plugins available at this time.' ) + '</td></tr>' );
$form.find( '#the-list' ).append( '<tr class="no-items"><td class="colspanchange" colspan="' + columnCount + '">' + __( 'No plugins are currently available.' ) + '</td></tr>' );
}
}
} );

View File

@ -276,7 +276,7 @@ class WP_MS_Themes_List_Table extends WP_List_Table {
if ( $this->has_items ) {
_e( 'No themes found.' );
} else {
_e( 'You do not appear to have any themes available at this time.' );
_e( 'No themes are currently available.' );
}
}

View File

@ -384,7 +384,7 @@ class WP_Plugins_List_Table extends WP_List_Table {
} elseif ( ! empty( $plugins['all'] ) ) {
_e( 'No plugins found.' );
} else {
_e( 'You do not appear to have any plugins available at this time.' );
_e( 'No plugins are currently available.' );
}
}

View File

@ -28,7 +28,7 @@ if ( empty( $plugins ) ) {
?>
<div class="wrap">
<h1><?php echo esc_html( $title ); ?></h1>
<div id="message" class="error"><p><?php _e( 'You do not appear to have any plugins available at this time.' ); ?></p></div>
<div id="message" class="error"><p><?php _e( 'No plugins are currently available.' ); ?></p></div>
</div>
<?php
require_once ABSPATH . 'wp-admin/admin-footer.php';