Make WordPress Core


Ignore:
Timestamp:
09/29/2017 11:09:13 AM (8 years ago)
Author:
SergeyBiryukov
Message:

I18N: Improve i18n in help text for Custom HTML widget and Additional CSS section.

Fixes #42032.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/widgets/class-wp-widget-custom-html.php

    r41586 r41639  
    258258            $content .= '<p>';
    259259            $content .= sprintf(
    260                 /* translators: placeholder is link to user profile */
    261                 __( 'The edit field automatically highlights code syntax. You can disable this in your %s to work in plain text mode.' ),
    262                 sprintf(
    263                     ' <a href="%1$s" class="external-link" target="_blank">%2$s<span class="screen-reader-text">%3$s</span></a>',
    264                     esc_url( get_edit_profile_url() ),
    265                     __( 'user profile' ),
     260                /* translators: 1: link to user profile, 2: additional link attributes, 3: accessibility text */
     261                __( 'The edit field automatically highlights code syntax. You can disable this in your <a href="%1$s" %2$s>user profile%3$s</a> to work in plain text mode.' ),
     262                esc_url( get_edit_profile_url() ),
     263                'class="external-link" target="_blank"',
     264                sprintf( '<span class="screen-reader-text"> %s</span>',
    266265                    /* translators: accessibility text */
    267266                    __( '(opens in a new window)' )
Note: See TracChangeset for help on using the changeset viewer.