Make WordPress Core

Changeset 45332 for branches/5.2


Ignore:
Timestamp:
05/17/2019 12:08:51 AM (5 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.
Merges [45331] to the 5.2 branch.
Fixes #47161.

Location:
branches/5.2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/5.2

  • branches/5.2/src/wp-admin/includes/class-wp-site-health.php

    r45329 r45332  
    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.