From 5740d2206b7a7176ed14f74bace9fc26f105778c Mon Sep 17 00:00:00 2001 From: Andrew Ozz Date: Wed, 19 Nov 2014 17:26:18 +0000 Subject: [PATCH] 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 --- src/wp-includes/class-wp-editor.php | 2 +- src/wp-includes/js/tinymce/plugins/wpeditimage/plugin.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-includes/class-wp-editor.php b/src/wp-includes/class-wp-editor.php index 98daeb8351..52c7bd3738 100644 --- a/src/wp-includes/class-wp-editor.php +++ b/src/wp-includes/class-wp-editor.php @@ -967,7 +967,7 @@ final class _WP_Editors { 'Insert Read More tag' => __( 'Insert Read More tag' ), 'Read more...' => __( 'Read more...' ), // Title on the placeholder inside the editor '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 ); /** diff --git a/src/wp-includes/js/tinymce/plugins/wpeditimage/plugin.js b/src/wp-includes/js/tinymce/plugins/wpeditimage/plugin.js index 0b7a2da5c5..45ad3893a2 100644 --- a/src/wp-includes/js/tinymce/plugins/wpeditimage/plugin.js +++ b/src/wp-includes/js/tinymce/plugins/wpeditimage/plugin.js @@ -33,7 +33,7 @@ tinymce.PluginManager.add( 'wpeditimage', function( editor ) { alignleft: 'Align left', aligncenter: 'Align center', alignright: 'Align right', - alignnone: 'Remove alignment' + alignnone: 'No alignment' }, function( tooltip, name ) { var direction = name.slice( 5 );