Editor: Allow the “Add Media” button tooltip to be translated in the Classic block.
In the Classic Editor, the “Add Media” button was outside of the TinyMCE editor. In the Block Editor, the “Add Media” button was moved into the TinyMCE toolbar in the Classic block, but the tooltip was not added to the list of translatable strings. This adds “Add Media” to that list. The corresponding keyboard shortcut is also specified for the “Add Media” button. Props afercia. Fixes #45788. git-svn-id: https://develop.svn.wordpress.org/trunk@44398 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
ce6fc7a8f4
commit
9c42554b64
@ -1284,6 +1284,7 @@ final class _WP_Editors {
|
||||
'Link options' => __( 'Link options' ), // Tooltip for the 'link options' button in the inline link dialog
|
||||
'Visual' => _x( 'Visual', 'Name for the Visual editor tab' ), // Editor switch tab label
|
||||
'Text' => _x( 'Text', 'Name for the Text editor tab (formerly HTML)' ), // Editor switch tab label
|
||||
'Add Media' => array( __( 'Add Media' ), 'accessM' ), // Tooltip for the 'Add Media' button in the Gutenberg Classic block
|
||||
|
||||
// Shortcuts help modal
|
||||
'Keyboard Shortcuts' => array( __( 'Keyboard Shortcuts' ), 'accessH' ),
|
||||
|
Loading…
x
Reference in New Issue
Block a user