Plugins: Improve error messages on plugins screen.

This unifies the layout and wording of error messages on both the plugins screen and the themes screen.

Props tinkerbelly, juhise, Ankit K Gupta, m1tk00, swissspidy, mrahmadawais, danieltj.
Fixes #37430.


git-svn-id: https://develop.svn.wordpress.org/trunk@41608 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Pascal Birchler
2017-09-27 08:45:46 +00:00
parent 1935d9a2d1
commit dfaa7de8fb
6 changed files with 23 additions and 9 deletions

View File

@@ -139,7 +139,7 @@ wp_localize_script( 'theme', '_wpThemeSettings', array(
'search' => __( 'Search Installed Themes' ),
'searchPlaceholder' => __( 'Search installed themes...' ), // placeholder (no ellipsis)
'themesFound' => __( 'Number of Themes found: %d' ),
'noThemesFound' => __( 'No themes found. Try a different search.' ),
'noThemesFound' => __( 'No themes found. Try a different search query.' ),
),
) );
@@ -303,7 +303,7 @@ foreach ( $themes as $theme ) :
</div>
<div class="theme-overlay"></div>
<p class="no-themes"><?php _e( 'No themes found. Try a different search.' ); ?></p>
<p class="no-themes"><?php _e( 'No themes found. Try a different search query.' ); ?></p>
<?php
// List broken themes, if any.