From 43236dea9682f6d323a39c76f531e13ee87c203c Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sat, 27 Jun 2020 23:00:49 +0000 Subject: [PATCH] I18N: Remove `` tag from a translatable string on Edit Post screen. Props ramiy, tobifjellner. Fixes #48874. git-svn-id: https://develop.svn.wordpress.org/trunk@48194 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/edit-form-advanced.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/wp-admin/edit-form-advanced.php b/src/wp-admin/edit-form-advanced.php index 390fe7d254..bc452a0776 100644 --- a/src/wp-admin/edit-form-advanced.php +++ b/src/wp-admin/edit-form-advanced.php @@ -293,7 +293,11 @@ if ( 'post' === $post_type ) { $title_and_editor .= '

' . __( 'The Text mode allows you to enter HTML along with your post text. Note that <p> and <br> tags are converted to line breaks when switching to the Text editor to make it less cluttered. When you type, a single line break can be used instead of typing <br>, and two line breaks instead of paragraph tags. The line breaks are converted back to tags automatically.' ) . '

'; $title_and_editor .= '

' . __( 'You can insert media files by clicking the button above the post editor and following the directions. You can align or edit images using the inline formatting toolbar available in Visual mode.' ) . '

'; $title_and_editor .= '

' . __( 'You can enable distraction-free writing mode using the icon to the right. This feature is not available for old browsers or devices with small screens, and requires that the full-height editor be enabled in Screen Options.' ) . '

'; - $title_and_editor .= '

' . __( 'Keyboard users: When you’re working in the visual editor, you can use Alt + F10 to access the toolbar.' ) . '

'; + $title_and_editor .= '

' . sprintf( + /* translators: %s: Alt + F10 */ + __( 'Keyboard users: When you’re working in the visual editor, you can use %s to access the toolbar.' ), + 'Alt + F10' + ) . '

'; get_current_screen()->add_help_tab( array(