WordPress.org

Make WordPress Core

Changeset 48194


Ignore:
Timestamp:
06/27/2020 11:00:49 PM (3 months ago)
Author:
SergeyBiryukov
Message:

I18N: Remove <kbd> tag from a translatable string on Edit Post screen.

Props ramiy, tobifjellner.
Fixes #48874.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/edit-form-advanced.php

    r47808 r48194  
    294294    $title_and_editor .= '<p>' . __( '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.' ) . '</p>';
    295295    $title_and_editor .= '<p>' . __( '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.' ) . '</p>';
    296     $title_and_editor .= '<p>' . __( 'Keyboard users: When you&#8217;re working in the visual editor, you can use <kbd>Alt + F10</kbd> to access the toolbar.' ) . '</p>';
     296    $title_and_editor .= '<p>' . sprintf(
     297        /* translators: %s: Alt + F10 */
     298        __( 'Keyboard users: When you&#8217;re working in the visual editor, you can use %s to access the toolbar.' ),
     299        '<kbd>Alt + F10</kbd>'
     300    ) . '</p>';
    297301
    298302    get_current_screen()->add_help_tab(
Note: See TracChangeset for help on using the changeset viewer.