Standardize title strings for editor buttons, props pavelevap SergeyBiryukov, fixes #18125

git-svn-id: http://svn.automattic.com/wordpress/trunk@19263 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
azaozz 2011-11-12 06:15:15 +00:00
parent 9961962861
commit cc2232068a
3 changed files with 46 additions and 46 deletions

View File

@ -635,7 +635,7 @@ class WP_Editor {
'bullist' => array( 'title' => __('Unordered list (Alt + Shift + U)'), 'onclick' => 'fullscreen.ul();', 'both' => false ),
'numlist' => array( 'title' => __('Ordered list (Alt + Shift + O)'), 'onclick' => 'fullscreen.ol();', 'both' => false ),
'1' => 'separator',
'blockquote' => array( 'title' => __('Blockquote (Alt+Shift+Q)'), 'onclick' => 'fullscreen.blockquote();', 'both' => false ),
'blockquote' => array( 'title' => __('Blockquote (Alt + Shift + Q)'), 'onclick' => 'fullscreen.blockquote();', 'both' => false ),
'image' => array( 'title' => __('Insert/edit image (Alt + Shift + M)'), 'onclick' => "fullscreen.medialib();", 'both' => true ),
'2' => 'separator',
'link' => array( 'title' => __('Insert/edit link (Alt + Shift + A)'), 'onclick' => 'fullscreen.link();', 'both' => true ),

View File

@ -140,9 +140,9 @@ plaintext_mode_sticky:"Paste is now in plain text mode. Click again to toggle ba
plaintext_mode:"Paste is now in plain text mode. Click again to toggle back to regular paste mode."
},
paste_dlg:{
text_title:"Use CTRL+V on your keyboard to paste the text into the window.",
text_title:"Use CTRL + V on your keyboard to paste the text into the window.",
text_linebreaks:"Keep linebreaks",
word_title:"Use CTRL+V on your keyboard to paste the text into the window."
word_title:"Use CTRL + V on your keyboard to paste the text into the window."
},
table:{
desc:"Inserts a new table",
@ -170,7 +170,7 @@ autosave:{
unload_msg:"The changes you made will be lost if you navigate away from this page."
},
fullscreen:{
desc:"Toggle fullscreen mode (Alt+Shift+G)"
desc:"Toggle fullscreen mode (Alt + Shift + G)"
},
media:{
desc:"Insert / edit embedded media",
@ -186,7 +186,7 @@ visualchars:{
desc:"Visual control characters on/off."
},
spellchecker:{
desc:"Toggle spellchecker (Alt+Shift+N)",
desc:"Toggle spellchecker (Alt + Shift + N)",
menu:"Spellchecker settings",
ignore_word:"Ignore word",
ignore_words:"Ignore all",
@ -240,23 +240,23 @@ code:"Code",
samp:"Code sample",
dt:"Definition term ",
dd:"Definition description",
bold_desc:"Bold (Ctrl / Alt+Shift + B)",
italic_desc:"Italic (Ctrl / Alt+Shift + I)",
bold_desc:"Bold (Ctrl / Alt + Shift + B)",
italic_desc:"Italic (Ctrl / Alt + Shift + I)",
underline_desc:"Underline",
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)",
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)",
outdent_desc:"Outdent",
indent_desc:"Indent",
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)",
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)",
cleanup_desc:"Cleanup messy code",
code_desc:"Edit HTML Source",
sub_desc:"Subscript",
@ -274,11 +274,11 @@ paste_desc:"Paste",
image_props_desc:"Image properties",
newdocument_desc:"New document",
help_desc:"Help",
blockquote_desc:"Blockquote (Alt+Shift+Q)",
blockquote_desc:"Blockquote (Alt + Shift + Q)",
clipboard_msg:"Copy/Cut/Paste is not available in Mozilla and Firefox.",
path:"Path",
newdocument:"Are you sure you want to clear all contents?",
toolbar_focus:"Jump to tool buttons - Alt+Q, Jump to editor - Alt-Z, Jump to element path - Alt-X",
toolbar_focus:"Jump to tool buttons - Alt + Q, Jump to editor - Alt-Z, Jump to element path - Alt-X",
more_colors:"More colors",
shortcuts_desc:"Accessibility Help",
help_shortcut:" Press ALT F10 for toolbar. Press ALT 0 for help.",
@ -451,10 +451,10 @@ source:"Source"
});
tinyMCE.addI18n("en.wordpress",{
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)",
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)",
wp_more_alt:"More...",
wp_page_alt:"Next page...",
add_media:"Add Media",

View File

@ -182,7 +182,7 @@ autosave:{
unload_msg:"' . mce_escape( __('The changes you made will be lost if you navigate away from this page.') ) . '"
},
fullscreen:{
desc:"' . mce_escape( __('Toggle fullscreen mode') ) . ' (Alt+Shift+G)"
desc:"' . mce_escape( __('Toggle fullscreen mode (Alt + Shift + G)') ) . '"
},
media:{
desc:"' . mce_escape( __('Insert / edit embedded media') ) . '",
@ -198,7 +198,7 @@ visualchars:{
desc:"' . mce_escape( __('Visual control characters on/off.') ) . '"
},
spellchecker:{
desc:"' . mce_escape( __('Toggle spellchecker') ) . ' (Alt+Shift+N)",
desc:"' . mce_escape( __('Toggle spellchecker (Alt + Shift + N)') ) . '",
menu:"' . mce_escape( __('Spellchecker settings') ) . '",
ignore_word:"' . mce_escape( __('Ignore word') ) . '",
ignore_words:"' . mce_escape( __('Ignore all') ) . '",
@ -252,23 +252,23 @@ code:"' . mce_escape( __('Code') ) . '",
samp:"' . mce_escape( __('Code sample') ) . '",
dt:"' . mce_escape( __('Definition term ') ) . '",
dd:"' . mce_escape( __('Definition description') ) . '",
bold_desc:"' . mce_escape( __('Bold') ) . ' (Ctrl / Alt+Shift + B)",
italic_desc:"' . mce_escape( __('Italic') ) . ' (Ctrl / Alt+Shift + I)",
bold_desc:"' . mce_escape( __('Bold (Ctrl + B)') ) . '",
italic_desc:"' . mce_escape( __('Italic (Ctrl + I)') ) . '",
underline_desc:"' . mce_escape( __('Underline') ) . '",
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)",
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)') ) . '",
outdent_desc:"' . mce_escape( __('Outdent') ) . '",
indent_desc:"' . mce_escape( __('Indent') ) . '",
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)",
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)') ) . '",
cleanup_desc:"' . mce_escape( __('Cleanup messy code') ) . '",
code_desc:"' . mce_escape( __('Edit HTML Source') ) . '",
sub_desc:"' . mce_escape( __('Subscript') ) . '",
@ -286,7 +286,7 @@ paste_desc:"' . mce_escape( __('Paste') ) . '",
image_props_desc:"' . mce_escape( __('Image properties') ) . '",
newdocument_desc:"' . mce_escape( __('New document') ) . '",
help_desc:"' . mce_escape( __('Help') ) . '",
blockquote_desc:"' . mce_escape( __('Blockquote') ) . ' (Alt+Shift+Q)",
blockquote_desc:"' . mce_escape( __('Blockquote (Alt + Shift + Q)') ) . '",
clipboard_msg:"' . mce_escape( __('Copy/Cut/Paste is not available in Mozilla and Firefox.') ) . '",
path:"' . mce_escape( __('Path') ) . '",
newdocument:"' . mce_escape( __('Are you sure you want to clear all contents?') ) . '",
@ -463,10 +463,10 @@ source:"' . mce_escape( __('Source') ) . '"
});
tinyMCE.addI18n("' . $this->mce_locale . '.wordpress",{
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)",
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)') ) . '",
wp_more_alt:"' . mce_escape( __('More...') ) . '",
wp_page_alt:"' . mce_escape( __('Next page...') ) . '",
add_media:"' . mce_escape( __('Add Media') ) . '",