TinyMCE: fix the tooltip for 'alignnone' button on the image toolbar. Props johnbillion, see #30147.

git-svn-id: https://develop.svn.wordpress.org/trunk@30385 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz 2014-11-19 17:26:18 +00:00
parent 9d0c957410
commit 5740d2206b
2 changed files with 2 additions and 2 deletions

View File

@ -967,7 +967,7 @@ final class _WP_Editors {
'Insert Read More tag' => __( 'Insert Read More tag' ), 'Insert Read More tag' => __( 'Insert Read More tag' ),
'Read more...' => __( 'Read more...' ), // Title on the placeholder inside the editor 'Read more...' => __( 'Read more...' ), // Title on the placeholder inside the editor
'Distraction Free Writing' => __( 'Distraction Free Writing' ), 'Distraction Free Writing' => __( 'Distraction Free Writing' ),
'Remove alignment' => __( 'Remove alignment' ), // Tooltip for the 'alignnone' button in the image toolbar 'No alignment' => __( 'No alignment' ), // Tooltip for the 'alignnone' button in the image toolbar
); );
/** /**

View File

@ -33,7 +33,7 @@ tinymce.PluginManager.add( 'wpeditimage', function( editor ) {
alignleft: 'Align left', alignleft: 'Align left',
aligncenter: 'Align center', aligncenter: 'Align center',
alignright: 'Align right', alignright: 'Align right',
alignnone: 'Remove alignment' alignnone: 'No alignment'
}, function( tooltip, name ) { }, function( tooltip, name ) {
var direction = name.slice( 5 ); var direction = name.slice( 5 );