<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[19263] trunk/wp-includes: Standardize title strings for editor buttons, props pavelevap SergeyBiryukov, fixes #18125</title>
</head>
<body>
<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; }
#msg dl a { font-weight: bold}
#msg dl a:link { color:#fc3; }
#msg dl a:active { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg > ul, #logmsg > ol { margin-left: 0; margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://core.trac.wordpress.org/changeset/19263">19263</a></dd>
<dt>Author</dt> <dd>azaozz</dd>
<dt>Date</dt> <dd>2011-11-12 06:15:15 +0000 (Sat, 12 Nov 2011)</dd>
</dl>
<h3>Log Message</h3>
<pre>Standardize title strings for editor buttons, props pavelevap SergeyBiryukov, fixes <a href="http://core.trac.wordpress.org/ticket/18125">#18125</a></pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkwpincludesclasswpeditorphp">trunk/wp-includes/class-wp-editor.php</a></li>
<li><a href="#trunkwpincludesjstinymcelangswplangsenjs">trunk/wp-includes/js/tinymce/langs/wp-langs-en.js</a></li>
<li><a href="#trunkwpincludesjstinymcelangswplangsphp">trunk/wp-includes/js/tinymce/langs/wp-langs.php</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkwpincludesclasswpeditorphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/class-wp-editor.php (19262 => 19263)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/class-wp-editor.php        2011-11-12 00:52:26 UTC (rev 19262)
+++ trunk/wp-includes/class-wp-editor.php        2011-11-12 06:15:15 UTC (rev 19263)
</span><span class="lines">@@ -635,7 +635,7 @@
</span><span class="cx">                         'bullist' => array( 'title' => __('Unordered list (Alt + Shift + U)'), 'onclick' => 'fullscreen.ul();', 'both' => false ),
</span><span class="cx">                         'numlist' => array( 'title' => __('Ordered list (Alt + Shift + O)'), 'onclick' => 'fullscreen.ol();', 'both' => false ),
</span><span class="cx">                         '1' => 'separator',
</span><del>-                        'blockquote' => array( 'title' => __('Blockquote (Alt+Shift+Q)'), 'onclick' => 'fullscreen.blockquote();', 'both' => false ),
</del><ins>+                        'blockquote' => array( 'title' => __('Blockquote (Alt + Shift + Q)'), 'onclick' => 'fullscreen.blockquote();', 'both' => false ),
</ins><span class="cx">                         'image' => array( 'title' => __('Insert/edit image (Alt + Shift + M)'), 'onclick' => "fullscreen.medialib();", 'both' => true ),
</span><span class="cx">                         '2' => 'separator',
</span><span class="cx">                         'link' => array( 'title' => __('Insert/edit link (Alt + Shift + A)'), 'onclick' => 'fullscreen.link();', 'both' => true ),
</span></span></pre></div>
<a id="trunkwpincludesjstinymcelangswplangsenjs"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/js/tinymce/langs/wp-langs-en.js (19262 => 19263)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/tinymce/langs/wp-langs-en.js        2011-11-12 00:52:26 UTC (rev 19262)
+++ trunk/wp-includes/js/tinymce/langs/wp-langs-en.js        2011-11-12 06:15:15 UTC (rev 19263)
</span><span class="lines">@@ -140,9 +140,9 @@
</span><span class="cx"> plaintext_mode:"Paste is now in plain text mode. Click again to toggle back to regular paste mode."
</span><span class="cx"> },
</span><span class="cx"> paste_dlg:{
</span><del>-text_title:"Use CTRL+V on your keyboard to paste the text into the window.",
</del><ins>+text_title:"Use CTRL + V on your keyboard to paste the text into the window.",
</ins><span class="cx"> text_linebreaks:"Keep linebreaks",
</span><del>-word_title:"Use CTRL+V on your keyboard to paste the text into the window."
</del><ins>+word_title:"Use CTRL + V on your keyboard to paste the text into the window."
</ins><span class="cx"> },
</span><span class="cx"> table:{
</span><span class="cx"> desc:"Inserts a new table",
</span><span class="lines">@@ -170,7 +170,7 @@
</span><span class="cx"> unload_msg:"The changes you made will be lost if you navigate away from this page."
</span><span class="cx"> },
</span><span class="cx"> fullscreen:{
</span><del>-desc:"Toggle fullscreen mode (Alt+Shift+G)"
</del><ins>+desc:"Toggle fullscreen mode (Alt + Shift + G)"
</ins><span class="cx"> },
</span><span class="cx"> media:{
</span><span class="cx"> desc:"Insert / edit embedded media",
</span><span class="lines">@@ -186,7 +186,7 @@
</span><span class="cx"> desc:"Visual control characters on/off."
</span><span class="cx"> },
</span><span class="cx"> spellchecker:{
</span><del>-desc:"Toggle spellchecker (Alt+Shift+N)",
</del><ins>+desc:"Toggle spellchecker (Alt + Shift + N)",
</ins><span class="cx"> menu:"Spellchecker settings",
</span><span class="cx"> ignore_word:"Ignore word",
</span><span class="cx"> ignore_words:"Ignore all",
</span><span class="lines">@@ -240,23 +240,23 @@
</span><span class="cx"> samp:"Code sample",
</span><span class="cx"> dt:"Definition term ",
</span><span class="cx"> dd:"Definition description",
</span><del>-bold_desc:"Bold (Ctrl / Alt+Shift + B)",
-italic_desc:"Italic (Ctrl / Alt+Shift + I)",
</del><ins>+bold_desc:"Bold (Ctrl / Alt + Shift + B)",
+italic_desc:"Italic (Ctrl / Alt + Shift + I)",
</ins><span class="cx"> underline_desc:"Underline",
</span><del>-striketrough_desc:"Strikethrough (Alt+Shift+D)",
-justifyleft_desc:"Align Left (Alt+Shift+L)",
-justifycenter_desc:"Align Center (Alt+Shift+C)",
-justifyright_desc:"Align Right (Alt+Shift+R)",
-justifyfull_desc:"Align Full (Alt+Shift+J)",
-bullist_desc:"Unordered list (Alt+Shift+U)",
-numlist_desc:"Ordered list (Alt+Shift+O)",
</del><ins>+striketrough_desc:"Strikethrough (Alt + Shift + D)",
+justifyleft_desc:"Align Left (Alt + Shift + L)",
+justifycenter_desc:"Align Center (Alt + Shift + C)",
+justifyright_desc:"Align Right (Alt + Shift + R)",
+justifyfull_desc:"Align Full (Alt + Shift + J)",
+bullist_desc:"Unordered list (Alt + Shift + U)",
+numlist_desc:"Ordered list (Alt + Shift + O)",
</ins><span class="cx"> outdent_desc:"Outdent",
</span><span class="cx"> indent_desc:"Indent",
</span><del>-undo_desc:"Undo (Ctrl+Z)",
-redo_desc:"Redo (Ctrl+Y)",
-link_desc:"Insert/edit link (Alt+Shift+A)",
-unlink_desc:"Unlink (Alt+Shift+S)",
-image_desc:"Insert/edit image (Alt+Shift+M)",
</del><ins>+undo_desc:"Undo (Ctrl + Z)",
+redo_desc:"Redo (Ctrl + Y)",
+link_desc:"Insert/edit link (Alt + Shift + A)",
+unlink_desc:"Unlink (Alt + Shift + S)",
+image_desc:"Insert/edit image (Alt + Shift + M)",
</ins><span class="cx"> cleanup_desc:"Cleanup messy code",
</span><span class="cx"> code_desc:"Edit HTML Source",
</span><span class="cx"> sub_desc:"Subscript",
</span><span class="lines">@@ -274,11 +274,11 @@
</span><span class="cx"> image_props_desc:"Image properties",
</span><span class="cx"> newdocument_desc:"New document",
</span><span class="cx"> help_desc:"Help",
</span><del>-blockquote_desc:"Blockquote (Alt+Shift+Q)",
</del><ins>+blockquote_desc:"Blockquote (Alt + Shift + Q)",
</ins><span class="cx"> clipboard_msg:"Copy/Cut/Paste is not available in Mozilla and Firefox.",
</span><span class="cx"> path:"Path",
</span><span class="cx"> newdocument:"Are you sure you want to clear all contents?",
</span><del>-toolbar_focus:"Jump to tool buttons - Alt+Q, Jump to editor - Alt-Z, Jump to element path - Alt-X",
</del><ins>+toolbar_focus:"Jump to tool buttons - Alt + Q, Jump to editor - Alt-Z, Jump to element path - Alt-X",
</ins><span class="cx"> more_colors:"More colors",
</span><span class="cx"> shortcuts_desc:"Accessibility Help",
</span><span class="cx"> help_shortcut:" Press ALT F10 for toolbar. Press ALT 0 for help.",
</span><span class="lines">@@ -451,10 +451,10 @@
</span><span class="cx"> });
</span><span class="cx">
</span><span class="cx"> tinyMCE.addI18n("en.wordpress",{
</span><del>-wp_adv_desc:"Show/Hide Kitchen Sink (Alt+Shift+Z)",
-wp_more_desc:"Insert More Tag (Alt+Shift+T)",
-wp_page_desc:"Insert Page break (Alt+Shift+P)",
-wp_help_desc:"Help (Alt+Shift+H)",
</del><ins>+wp_adv_desc:"Show/Hide Kitchen Sink (Alt + Shift + Z)",
+wp_more_desc:"Insert More Tag (Alt + Shift + T)",
+wp_page_desc:"Insert Page break (Alt + Shift + P)",
+wp_help_desc:"Help (Alt + Shift + H)",
</ins><span class="cx"> wp_more_alt:"More...",
</span><span class="cx"> wp_page_alt:"Next page...",
</span><span class="cx"> add_media:"Add Media",
</span></span></pre></div>
<a id="trunkwpincludesjstinymcelangswplangsphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/js/tinymce/langs/wp-langs.php (19262 => 19263)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/tinymce/langs/wp-langs.php        2011-11-12 00:52:26 UTC (rev 19262)
+++ trunk/wp-includes/js/tinymce/langs/wp-langs.php        2011-11-12 06:15:15 UTC (rev 19263)
</span><span class="lines">@@ -182,7 +182,7 @@
</span><span class="cx"> unload_msg:"' . mce_escape( __('The changes you made will be lost if you navigate away from this page.') ) . '"
</span><span class="cx"> },
</span><span class="cx"> fullscreen:{
</span><del>-desc:"' . mce_escape( __('Toggle fullscreen mode') ) . ' (Alt+Shift+G)"
</del><ins>+desc:"' . mce_escape( __('Toggle fullscreen mode (Alt + Shift + G)') ) . '"
</ins><span class="cx"> },
</span><span class="cx"> media:{
</span><span class="cx"> desc:"' . mce_escape( __('Insert / edit embedded media') ) . '",
</span><span class="lines">@@ -198,7 +198,7 @@
</span><span class="cx"> desc:"' . mce_escape( __('Visual control characters on/off.') ) . '"
</span><span class="cx"> },
</span><span class="cx"> spellchecker:{
</span><del>-desc:"' . mce_escape( __('Toggle spellchecker') ) . ' (Alt+Shift+N)",
</del><ins>+desc:"' . mce_escape( __('Toggle spellchecker (Alt + Shift + N)') ) . '",
</ins><span class="cx"> menu:"' . mce_escape( __('Spellchecker settings') ) . '",
</span><span class="cx"> ignore_word:"' . mce_escape( __('Ignore word') ) . '",
</span><span class="cx"> ignore_words:"' . mce_escape( __('Ignore all') ) . '",
</span><span class="lines">@@ -252,23 +252,23 @@
</span><span class="cx"> samp:"' . mce_escape( __('Code sample') ) . '",
</span><span class="cx"> dt:"' . mce_escape( __('Definition term ') ) . '",
</span><span class="cx"> dd:"' . mce_escape( __('Definition description') ) . '",
</span><del>-bold_desc:"' . mce_escape( __('Bold') ) . ' (Ctrl / Alt+Shift + B)",
-italic_desc:"' . mce_escape( __('Italic') ) . ' (Ctrl / Alt+Shift + I)",
</del><ins>+bold_desc:"' . mce_escape( __('Bold (Ctrl + B)') ) . '",
+italic_desc:"' . mce_escape( __('Italic (Ctrl + I)') ) . '",
</ins><span class="cx"> underline_desc:"' . mce_escape( __('Underline') ) . '",
</span><del>-striketrough_desc:"' . mce_escape( __('Strikethrough') ) . ' (Alt+Shift+D)",
-justifyleft_desc:"' . mce_escape( __('Align Left') ) . ' (Alt+Shift+L)",
-justifycenter_desc:"' . mce_escape( __('Align Center') ) . ' (Alt+Shift+C)",
-justifyright_desc:"' . mce_escape( __('Align Right') ) . ' (Alt+Shift+R)",
-justifyfull_desc:"' . mce_escape( __('Align Full') ) . ' (Alt+Shift+J)",
-bullist_desc:"' . mce_escape( __('Unordered list') ) . ' (Alt+Shift+U)",
-numlist_desc:"' . mce_escape( __('Ordered list') ) . ' (Alt+Shift+O)",
</del><ins>+striketrough_desc:"' . mce_escape( __('Strikethrough (Alt + Shift + D)') ) . '",
+justifyleft_desc:"' . mce_escape( __('Align Left (Alt + Shift + L)') ) . '",
+justifycenter_desc:"' . mce_escape( __('Align Center (Alt + Shift + C)') ) . '",
+justifyright_desc:"' . mce_escape( __('Align Right (Alt + Shift + R)') ) . '",
+justifyfull_desc:"' . mce_escape( __('Align Full (Alt + Shift + J)') ) . '",
+bullist_desc:"' . mce_escape( __('Unordered list (Alt + Shift + U)') ) . '",
+numlist_desc:"' . mce_escape( __('Ordered list (Alt + Shift + O)') ) . '",
</ins><span class="cx"> outdent_desc:"' . mce_escape( __('Outdent') ) . '",
</span><span class="cx"> indent_desc:"' . mce_escape( __('Indent') ) . '",
</span><del>-undo_desc:"' . mce_escape( __('Undo') ) . ' (Ctrl+Z)",
-redo_desc:"' . mce_escape( __('Redo') ) . ' (Ctrl+Y)",
-link_desc:"' . mce_escape( __('Insert/edit link') ) . ' (Alt+Shift+A)",
-unlink_desc:"' . mce_escape( __('Unlink') ) . ' (Alt+Shift+S)",
-image_desc:"' . mce_escape( __('Insert/edit image') ) . ' (Alt+Shift+M)",
</del><ins>+undo_desc:"' . mce_escape( __('Undo (Ctrl + Z)') ) . '",
+redo_desc:"' . mce_escape( __('Redo (Ctrl + Y)') ) . '",
+link_desc:"' . mce_escape( __('Insert/edit link (Alt + Shift + A)') ) . '",
+unlink_desc:"' . mce_escape( __('Unlink (Alt + Shift + S)') ) . '",
+image_desc:"' . mce_escape( __('Insert/edit image (Alt + Shift + M)') ) . '",
</ins><span class="cx"> cleanup_desc:"' . mce_escape( __('Cleanup messy code') ) . '",
</span><span class="cx"> code_desc:"' . mce_escape( __('Edit HTML Source') ) . '",
</span><span class="cx"> sub_desc:"' . mce_escape( __('Subscript') ) . '",
</span><span class="lines">@@ -286,7 +286,7 @@
</span><span class="cx"> image_props_desc:"' . mce_escape( __('Image properties') ) . '",
</span><span class="cx"> newdocument_desc:"' . mce_escape( __('New document') ) . '",
</span><span class="cx"> help_desc:"' . mce_escape( __('Help') ) . '",
</span><del>-blockquote_desc:"' . mce_escape( __('Blockquote') ) . ' (Alt+Shift+Q)",
</del><ins>+blockquote_desc:"' . mce_escape( __('Blockquote (Alt + Shift + Q)') ) . '",
</ins><span class="cx"> clipboard_msg:"' . mce_escape( __('Copy/Cut/Paste is not available in Mozilla and Firefox.') ) . '",
</span><span class="cx"> path:"' . mce_escape( __('Path') ) . '",
</span><span class="cx"> newdocument:"' . mce_escape( __('Are you sure you want to clear all contents?') ) . '",
</span><span class="lines">@@ -463,10 +463,10 @@
</span><span class="cx"> });
</span><span class="cx">
</span><span class="cx"> tinyMCE.addI18n("' . $this->mce_locale . '.wordpress",{
</span><del>-wp_adv_desc:"' . mce_escape( __('Show/Hide Kitchen Sink') ) . ' (Alt+Shift+Z)",
-wp_more_desc:"' . mce_escape( __('Insert More Tag') ) . ' (Alt+Shift+T)",
-wp_page_desc:"' . mce_escape( __('Insert Page break') ) . ' (Alt+Shift+P)",
-wp_help_desc:"' . mce_escape( __('Help') ) . ' (Alt+Shift+H)",
</del><ins>+wp_adv_desc:"' . mce_escape( __('Show/Hide Kitchen Sink (Alt + Shift + Z)') ) . '",
+wp_more_desc:"' . mce_escape( __('Insert More Tag (Alt + Shift + T)') ) . '",
+wp_page_desc:"' . mce_escape( __('Insert Page break (Alt + Shift + P)') ) . '",
+wp_help_desc:"' . mce_escape( __('Help (Alt + Shift + H)') ) . '",
</ins><span class="cx"> wp_more_alt:"' . mce_escape( __('More...') ) . '",
</span><span class="cx"> wp_page_alt:"' . mce_escape( __('Next page...') ) . '",
</span><span class="cx"> add_media:"' . mce_escape( __('Add Media') ) . '",
</span></span></pre>
</div>
</div>
</body>
</html>