WordPress.org

Make WordPress Core

Changeset 47413


Ignore:
Timestamp:
03/03/2020 11:20:00 AM (16 months ago)
Author:
SergeyBiryukov
Message:

Site Health: Improve the strings in Site Health Status dashboard widget.

Follow-up to [47063].

Props dlh.
Fixes #49562.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/dashboard.php

    r47410 r47413  
    18161816    <?php if ( false === $get_issues ) : ?>
    18171817        <p>
    1818             <?php _e( 'No Site Health information has been gathered yet, you can do so by visiting the Site Health screen, alternatively the checks will run periodically.' ); ?>
    1819         </p>
    1820 
    1821         <p>
    18221818            <?php
    18231819            printf(
    18241820                /* translators: %s: URL to Site Health screen. */
    1825                 __( '<a href="%s">Visit the Site Health screen</a> to gather information on about your site.' ),
     1821                __( 'Site health checks will automatically run periodically to gather information about your site. You can also <a href="%s">visit the Site Health screen</a> to gather information on about your site now.' ),
    18261822                esc_url( admin_url( 'site-health.php' ) )
    18271823            );
    18281824            ?>
    18291825        </p>
    1830 
    18311826    <?php else : ?>
    18321827        <p>
    18331828            <?php if ( $issue_counts['critical'] > 0 ) : ?>
    1834                 <?php _e( 'Your site has critical issues that should be addressed as soon as possible to improve the performance or security of your website.' ); ?>
     1829                <?php _e( 'Your site has critical issues that should be addressed as soon as possible to improve its performance and security.' ); ?>
    18351830            <?php elseif ( $issues_total <= 0 ) : ?>
    18361831                <?php _e( 'Great job! Your site currently passes all site health checks.' ); ?>
    18371832            <?php else : ?>
    1838                 <?php _e( 'Your site health is looking quite good, but there are still some things you can do to improve the performance and security of your website.' ); ?>
     1833                <?php _e( 'Your site&#8217;s health is looking good, but there are still some things you can do to improve its performance and security.' ); ?>
    18391834            <?php endif; ?>
    18401835        </p>
     
    18461841            printf(
    18471842                /* translators: 1: Number of issues. 2: URL to Site Health screen. */
    1848                 __( 'Take a look at the <strong>%1$d items</strong> on the <a href="%2$s">Site Health Status screen</a>.' ),
     1843                _n(
     1844                    'Take a look at the <strong>%1$d item</strong> on the <a href="%2$s">Site Health screen</a>.',
     1845                    'Take a look at the <strong>%1$d items</strong> on the <a href="%2$s">Site Health screen</a>.',
     1846                    $issues_total
     1847                ),
    18491848                $issues_total,
    18501849                esc_url( admin_url( 'site-health.php' ) )
Note: See TracChangeset for help on using the changeset viewer.