Make WordPress Core

Changeset 30862


Ignore:
Timestamp:
12/15/2014 02:56:06 PM (12 years ago)
Author:
johnbillion
Message:

TinyMCE: add another Edit translatable string for the tooltip of the Edit button on the image toolbar.

Merges [30839] to the 4.1 branch.

Props pavelevap
Fixes #30694

Location:
branches/4.1
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/4.1

  • branches/4.1/src/wp-includes/class-wp-editor.php

    r30861 r30862  
    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
  • branches/4.1/src/wp-includes/js/tinymce/plugins/wpeditimage/plugin.js

    r30775 r30862  
    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.