Administration: Improve consistency of the "not found" strings.
Partially reverts [41608] restoring the original strings without the word `query`. See #37430. Fixes #42231. Built from https://develop.svn.wordpress.org/trunk@41878 git-svn-id: http://core.svn.wordpress.org/trunk@41712 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
2e602a8560
commit
575e60e96c
|
@ -270,7 +270,7 @@ class WP_Plugin_Install_List_Table extends WP_List_Table {
|
|||
if ( isset( $this->error ) ) {
|
||||
echo '<div class="inline error"><p>' . $this->error->get_error_message() . '</p><p class="hide-if-no-js"><button class="button try-again">' . __( 'Try Again' ) . '</button></p></div>';
|
||||
} else {
|
||||
echo '<div class="no-plugin-results">' . __( 'No plugins found. Try a different search query.' ) . '</div>';
|
||||
echo '<div class="no-plugin-results">' . __( 'No plugins found. Try a different search.' ) . '</div>';
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -60,7 +60,7 @@ wp_localize_script( 'theme', '_wpThemeSettings', array(
|
|||
),
|
||||
'tryAgain' => __( 'Try Again' ),
|
||||
'themesFound' => __( 'Number of Themes found: %d' ),
|
||||
'noThemesFound' => __( 'No themes found. Try a different search query.' ),
|
||||
'noThemesFound' => __( 'No themes found. Try a different search.' ),
|
||||
'collapseSidebar' => __( 'Collapse Sidebar' ),
|
||||
'expandSidebar' => __( 'Expand Sidebar' ),
|
||||
/* translators: accessibility text */
|
||||
|
@ -228,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 query.' ); ?></p>
|
||||
<p class="no-themes"><?php _e( 'No themes found. Try a different search.' ); ?></p>
|
||||
<span class="spinner"></span>
|
||||
|
||||
<?php
|
||||
|
|
|
@ -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 query.' ),
|
||||
'noThemesFound' => __( 'No themes found. Try a different search.' ),
|
||||
),
|
||||
) );
|
||||
|
||||
|
@ -308,7 +308,7 @@ foreach ( $themes as $theme ) :
|
|||
</div>
|
||||
<div class="theme-overlay" tabindex="0" role="dialog" aria-label="<?php esc_attr_e( 'Theme Details' ); ?>"></div>
|
||||
|
||||
<p class="no-themes"><?php _e( 'No themes found. Try a different search query.' ); ?></p>
|
||||
<p class="no-themes"><?php _e( 'No themes found. Try a different search.' ); ?></p>
|
||||
|
||||
<?php
|
||||
// List broken themes, if any.
|
||||
|
|
|
@ -827,7 +827,7 @@ function wp_default_scripts( &$scripts ) {
|
|||
'connectionError' => __( 'Connection lost or the server is busy. Please try again later.' ),
|
||||
'nonceError' => __( 'An error has occurred. Please reload the page and try again.' ),
|
||||
'pluginsFound' => __( 'Number of plugins found: %d' ),
|
||||
'noPluginsFound' => __( 'No plugins found. Try a different search query.' ),
|
||||
'noPluginsFound' => __( 'No plugins found. Try a different search.' ),
|
||||
),
|
||||
) );
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.9-beta2-41877';
|
||||
$wp_version = '4.9-beta2-41878';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue