mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-02 11:44:33 +00:00
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:
@@ -58,8 +58,9 @@ wp_localize_script( 'theme', '_wpThemeSettings', array(
|
||||
__( 'An unexpected error occurred. Something may be wrong with WordPress.org or this server’s configuration. If you continue to have problems, please try the <a href="%s">support forums</a>.' ),
|
||||
__( 'https://wordpress.org/support/' )
|
||||
),
|
||||
'tryAgain' => __( 'Try Again' ),
|
||||
'themesFound' => __( 'Number of Themes found: %d' ),
|
||||
'noThemesFound' => __( 'No themes found. Try a different search.' ),
|
||||
'noThemesFound' => __( 'No themes found. Try a different search query.' ),
|
||||
'collapseSidebar' => __( 'Collapse Sidebar' ),
|
||||
'expandSidebar' => __( 'Expand Sidebar' ),
|
||||
/* translators: accessibility text */
|
||||
@@ -227,7 +228,7 @@ include(ABSPATH . 'wp-admin/admin-header.php');
|
||||
<div class="theme-browser content-filterable"></div>
|
||||
<div class="theme-install-overlay wp-full-overlay expanded"></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>
|
||||
<span class="spinner"></span>
|
||||
|
||||
<?php
|
||||
|
||||
Reference in New Issue
Block a user