Make WordPress Core

Changeset 30839


Ignore:
Timestamp:
12/13/2014 12:46:20 AM (10 years ago)
Author:
azaozz
Message:

TinyMCE: add another Edit translatable string for the tooltip of the Edit button on the image toolbar. Props pavelevap, see #30694.

Location:
trunk/src/wp-includes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-editor.php

    r30835 r30839  
    985985            'Insert' => _x( 'Insert', 'TinyMCE menu' ),
    986986            'File' => _x( 'File', 'TinyMCE menu' ),
    987             'Edit' => _x( 'Edit', 'TinyMCE menu and tooltip for the Edit button in the image toolbar' ),
     987            'Edit' => _x( 'Edit', 'TinyMCE menu' ),
    988988            'Tools' => _x( 'Tools', 'TinyMCE menu' ),
    989989            'View' => _x( 'View', 'TinyMCE menu' ),
     
    999999            'No alignment' => __( 'No alignment' ), // Tooltip for the 'alignnone' button in the image toolbar
    10001000            'Remove' => __( 'Remove' ), // Tooltip for the 'remove' button in the image toolbar
     1001            'Edit ' => __( 'Edit' ), // Tooltip for the 'edit' button in the image toolbar
    10011002        );
    10021003
  • trunk/src/wp-includes/js/tinymce/plugins/wpeditimage/plugin.js

    r30829 r30839  
    2323
    2424    editor.addButton( 'wp_img_edit', {
    25         tooltip: 'Edit',
     25        tooltip: 'Edit ', // trailing space is needed, used for context
    2626        icon: 'dashicon dashicons-edit',
    2727        onclick: function() {
Note: See TracChangeset for help on using the changeset viewer.