Make WordPress Core

Changeset 41878


Ignore:
Timestamp:
10/16/2017 06:13:50 PM (7 years ago)
Author:
afercia
Message:

Administration: Improve consistency of the "not found" strings.

Partially reverts [41608] restoring the original strings without the word query.

See #37430.
Fixes #42231.

Location:
trunk/src
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-plugin-install-list-table.php

    r41683 r41878  
    271271            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>';
    272272        } else {
    273             echo '<div class="no-plugin-results">' . __( 'No plugins found. Try a different search query.' ) . '</div>';
     273            echo '<div class="no-plugin-results">' . __( 'No plugins found. Try a different search.' ) . '</div>';
    274274        }
    275275    }
  • trunk/src/wp-admin/theme-install.php

    r41608 r41878  
    6161        'tryAgain'            => __( 'Try Again' ),
    6262        'themesFound'         => __( 'Number of Themes found: %d' ),
    63         'noThemesFound'       => __( 'No themes found. Try a different search query.' ),
     63        'noThemesFound'       => __( 'No themes found. Try a different search.' ),
    6464        'collapseSidebar'     => __( 'Collapse Sidebar' ),
    6565        'expandSidebar'       => __( 'Expand Sidebar' ),
     
    229229    <div class="theme-install-overlay wp-full-overlay expanded"></div>
    230230
    231     <p class="no-themes"><?php _e( 'No themes found. Try a different search query.' ); ?></p>
     231    <p class="no-themes"><?php _e( 'No themes found. Try a different search.' ); ?></p>
    232232    <span class="spinner"></span>
    233233
  • trunk/src/wp-admin/themes.php

    r41797 r41878  
    140140        'searchPlaceholder' => __( 'Search installed themes...' ), // placeholder (no ellipsis)
    141141        'themesFound'       => __( 'Number of Themes found: %d' ),
    142         'noThemesFound'     => __( 'No themes found. Try a different search query.' ),
     142        'noThemesFound'     => __( 'No themes found. Try a different search.' ),
    143143    ),
    144144) );
     
    309309<div class="theme-overlay" tabindex="0" role="dialog" aria-label="<?php esc_attr_e( 'Theme Details' ); ?>"></div>
    310310
    311 <p class="no-themes"><?php _e( 'No themes found. Try a different search query.' ); ?></p>
     311<p class="no-themes"><?php _e( 'No themes found. Try a different search.' ); ?></p>
    312312
    313313<?php
  • trunk/src/wp-includes/script-loader.php

    r41877 r41878  
    828828                'nonceError'                 => __( 'An error has occurred. Please reload the page and try again.' ),
    829829                'pluginsFound'               => __( 'Number of plugins found: %d' ),
    830                 'noPluginsFound'             => __( 'No plugins found. Try a different search query.' ),
     830                'noPluginsFound'             => __( 'No plugins found. Try a different search.' ),
    831831            ),
    832832        ) );
Note: See TracChangeset for help on using the changeset viewer.