I18N: Improve i18n in help text for Custom HTML widget and Additional CSS section.
Fixes #42032. Built from https://develop.svn.wordpress.org/trunk@41639 git-svn-id: http://core.svn.wordpress.org/trunk@41473 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
70925e6741
commit
033b371145
|
@ -4632,12 +4632,11 @@ final class WP_Customize_Manager {
|
|||
if ( 'false' !== wp_get_current_user()->syntax_highlighting ) {
|
||||
$section_description .= '<p>';
|
||||
$section_description .= sprintf(
|
||||
/* translators: placeholder is link to user profile */
|
||||
__( 'The edit field automatically highlights code syntax. You can disable this in your %s to work in plain text mode.' ),
|
||||
sprintf(
|
||||
' <a href="%1$s" class="external-link" target="_blank">%2$s<span class="screen-reader-text">%3$s</span></a>',
|
||||
/* translators: 1: link to user profile, 2: additional link attributes, 3: accessibility text */
|
||||
__( '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.' ),
|
||||
esc_url( get_edit_profile_url() ),
|
||||
__( 'user profile' ),
|
||||
'class="external-link" target="_blank"',
|
||||
sprintf( '<span class="screen-reader-text"> %s</span>',
|
||||
/* translators: accessibility text */
|
||||
__( '(opens in a new window)' )
|
||||
)
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.9-alpha-41638';
|
||||
$wp_version = '4.9-alpha-41639';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
|
@ -257,12 +257,11 @@ class WP_Widget_Custom_HTML extends WP_Widget {
|
|||
if ( 'false' !== wp_get_current_user()->syntax_highlighting ) {
|
||||
$content .= '<p>';
|
||||
$content .= sprintf(
|
||||
/* translators: placeholder is link to user profile */
|
||||
__( 'The edit field automatically highlights code syntax. You can disable this in your %s to work in plain text mode.' ),
|
||||
sprintf(
|
||||
' <a href="%1$s" class="external-link" target="_blank">%2$s<span class="screen-reader-text">%3$s</span></a>',
|
||||
/* translators: 1: link to user profile, 2: additional link attributes, 3: accessibility text */
|
||||
__( '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.' ),
|
||||
esc_url( get_edit_profile_url() ),
|
||||
__( 'user profile' ),
|
||||
'class="external-link" target="_blank"',
|
||||
sprintf( '<span class="screen-reader-text"> %s</span>',
|
||||
/* translators: accessibility text */
|
||||
__( '(opens in a new window)' )
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue