From d273fd8da18027609dd55acff95aa82a6dbe1301 Mon Sep 17 00:00:00 2001 From: Andrea Fercia Date: Mon, 16 Oct 2017 18:13:50 +0000 Subject: [PATCH] Administration: Improve consistency of the "not found" strings. Partially reverts [41608] restoring the original strings without the word `query`. See #37430. Fixes #42231. git-svn-id: https://develop.svn.wordpress.org/trunk@41878 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/class-wp-plugin-install-list-table.php | 2 +- src/wp-admin/theme-install.php | 4 ++-- src/wp-admin/themes.php | 4 ++-- src/wp-includes/script-loader.php | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/wp-admin/includes/class-wp-plugin-install-list-table.php b/src/wp-admin/includes/class-wp-plugin-install-list-table.php index 6fecd0ae2f..a1b4c9213b 100644 --- a/src/wp-admin/includes/class-wp-plugin-install-list-table.php +++ b/src/wp-admin/includes/class-wp-plugin-install-list-table.php @@ -270,7 +270,7 @@ class WP_Plugin_Install_List_Table extends WP_List_Table { if ( isset( $this->error ) ) { echo '

' . $this->error->get_error_message() . '

'; } else { - echo '
' . __( 'No plugins found. Try a different search query.' ) . '
'; + echo '
' . __( 'No plugins found. Try a different search.' ) . '
'; } } diff --git a/src/wp-admin/theme-install.php b/src/wp-admin/theme-install.php index aea7e4489a..e4894cc3ec 100644 --- a/src/wp-admin/theme-install.php +++ b/src/wp-admin/theme-install.php @@ -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');
-

+

__( '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 ) : -

+

__( '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.' ), ), ) );