Make WordPress Core


Ignore:
Timestamp:
05/17/2019 12:06:49 AM (6 years ago)
Author:
SergeyBiryukov
Message:

Site Health: In PHP modules test, ensure the description is translated as a whole sentence, not as separate string parts.

Props dimadin, SergeyBiryukov.
Fixes #47161.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-site-health.php

    r45328 r45331  
    741741                __( 'PHP modules perform most of the tasks on the server that make your site run. Any changes to these must be made by your server administrator.' ),
    742742                sprintf(
    743                     /* translators: %s: Link to the hosting group page about recommended PHP modules. */
    744                     __( 'The WordPress Hosting Team maintains a list of those modules, both recommended and required, in %s.' ),
     743                    /* translators: 1: Link to the hosting group page about recommended PHP modules. 2: Additional link attributes. 3: Accessibility text. */
     744                    __( 'The WordPress Hosting Team maintains a list of those modules, both recommended and required, in <a href="%1$s" %2$s>the team handbook %3$s</a>.' ),
     745                    /* translators: Localized team handbook, if one exists. */
     746                    esc_url( __( 'https://make.wordpress.org/hosting/handbook/handbook/server-environment/#php-extensions' ) ),
     747                    'target="_blank" rel="noopener noreferrer"',
    745748                    sprintf(
    746                         '<a href="%1$s" target="_blank" rel="noopener noreferrer">%2$s <span class="screen-reader-text">%3$s</span><span aria-hidden="true" class="dashicons dashicons-external"></span></a>',
    747                         /* translators: Localized team handbook, if one exists. */
    748                         esc_url( __( 'https://make.wordpress.org/hosting/handbook/handbook/server-environment/#php-extensions' ) ),
    749                         __( 'the team handbook' ),
     749                        '<span class="screen-reader-text">%s</span><span aria-hidden="true" class="dashicons dashicons-external"></span>',
    750750                        /* translators: accessibility text */
    751751                        __( '(opens in a new tab)' )
Note: See TracChangeset for help on using the changeset viewer.