WordPress.org

Make WordPress Core

Changeset 19263


Ignore:
Timestamp:
11/12/2011 06:15:15 AM (7 years ago)
Author:
azaozz
Message:

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

Location:
trunk/wp-includes
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/class-wp-editor.php

    r19239 r19263  
    636636            'numlist' => array( 'title' => __('Ordered list (Alt + Shift + O)'), 'onclick' => 'fullscreen.ol();', 'both' => false ),
    637637            '1' => 'separator',
    638             'blockquote' => array( 'title' => __('Blockquote (Alt+Shift+Q)'), 'onclick' => 'fullscreen.blockquote();', 'both' => false ),
     638            'blockquote' => array( 'title' => __('Blockquote (Alt + Shift + Q)'), 'onclick' => 'fullscreen.blockquote();', 'both' => false ),
    639639            'image' => array( 'title' => __('Insert/edit image (Alt + Shift + M)'), 'onclick' => "fullscreen.medialib();", 'both' => true ),
    640640            '2' => 'separator',
  • trunk/wp-includes/js/tinymce/langs/wp-langs-en.js

    r17625 r19263  
    141141},
    142142paste_dlg:{
    143 text_title:"Use CTRL+V on your keyboard to paste the text into the window.",
     143text_title:"Use CTRL + V on your keyboard to paste the text into the window.",
    144144text_linebreaks:"Keep linebreaks",
    145 word_title:"Use CTRL+V on your keyboard to paste the text into the window."
     145word_title:"Use CTRL + V on your keyboard to paste the text into the window."
    146146},
    147147table:{
     
    171171},
    172172fullscreen:{
    173 desc:"Toggle fullscreen mode (Alt+Shift+G)"
     173desc:"Toggle fullscreen mode (Alt + Shift + G)"
    174174},
    175175media:{
     
    187187},
    188188spellchecker:{
    189 desc:"Toggle spellchecker (Alt+Shift+N)",
     189desc:"Toggle spellchecker (Alt + Shift + N)",
    190190menu:"Spellchecker settings",
    191191ignore_word:"Ignore word",
     
    241241dt:"Definition term ",
    242242dd:"Definition description",
    243 bold_desc:"Bold (Ctrl / Alt+Shift + B)",
    244 italic_desc:"Italic (Ctrl / Alt+Shift + I)",
     243bold_desc:"Bold (Ctrl / Alt + Shift + B)",
     244italic_desc:"Italic (Ctrl / Alt + Shift + I)",
    245245underline_desc:"Underline",
    246 striketrough_desc:"Strikethrough (Alt+Shift+D)",
    247 justifyleft_desc:"Align Left (Alt+Shift+L)",
    248 justifycenter_desc:"Align Center (Alt+Shift+C)",
    249 justifyright_desc:"Align Right (Alt+Shift+R)",
    250 justifyfull_desc:"Align Full (Alt+Shift+J)",
    251 bullist_desc:"Unordered list (Alt+Shift+U)",
    252 numlist_desc:"Ordered list (Alt+Shift+O)",
     246striketrough_desc:"Strikethrough (Alt + Shift + D)",
     247justifyleft_desc:"Align Left (Alt + Shift + L)",
     248justifycenter_desc:"Align Center (Alt + Shift + C)",
     249justifyright_desc:"Align Right (Alt + Shift + R)",
     250justifyfull_desc:"Align Full (Alt + Shift + J)",
     251bullist_desc:"Unordered list (Alt + Shift + U)",
     252numlist_desc:"Ordered list (Alt + Shift + O)",
    253253outdent_desc:"Outdent",
    254254indent_desc:"Indent",
    255 undo_desc:"Undo (Ctrl+Z)",
    256 redo_desc:"Redo (Ctrl+Y)",
    257 link_desc:"Insert/edit link (Alt+Shift+A)",
    258 unlink_desc:"Unlink (Alt+Shift+S)",
    259 image_desc:"Insert/edit image (Alt+Shift+M)",
     255undo_desc:"Undo (Ctrl + Z)",
     256redo_desc:"Redo (Ctrl + Y)",
     257link_desc:"Insert/edit link (Alt + Shift + A)",
     258unlink_desc:"Unlink (Alt + Shift + S)",
     259image_desc:"Insert/edit image (Alt + Shift + M)",
    260260cleanup_desc:"Cleanup messy code",
    261261code_desc:"Edit HTML Source",
     
    275275newdocument_desc:"New document",
    276276help_desc:"Help",
    277 blockquote_desc:"Blockquote (Alt+Shift+Q)",
     277blockquote_desc:"Blockquote (Alt + Shift + Q)",
    278278clipboard_msg:"Copy/Cut/Paste is not available in Mozilla and Firefox.",
    279279path:"Path",
    280280newdocument:"Are you sure you want to clear all contents?",
    281 toolbar_focus:"Jump to tool buttons - Alt+Q, Jump to editor - Alt-Z, Jump to element path - Alt-X",
     281toolbar_focus:"Jump to tool buttons - Alt + Q, Jump to editor - Alt-Z, Jump to element path - Alt-X",
    282282more_colors:"More colors",
    283283shortcuts_desc:"Accessibility Help",
     
    452452
    453453tinyMCE.addI18n("en.wordpress",{
    454 wp_adv_desc:"Show/Hide Kitchen Sink (Alt+Shift+Z)",
    455 wp_more_desc:"Insert More Tag (Alt+Shift+T)",
    456 wp_page_desc:"Insert Page break (Alt+Shift+P)",
    457 wp_help_desc:"Help (Alt+Shift+H)",
     454wp_adv_desc:"Show/Hide Kitchen Sink (Alt + Shift + Z)",
     455wp_more_desc:"Insert More Tag (Alt + Shift + T)",
     456wp_page_desc:"Insert Page break (Alt + Shift + P)",
     457wp_help_desc:"Help (Alt + Shift + H)",
    458458wp_more_alt:"More...",
    459459wp_page_alt:"Next page...",
  • trunk/wp-includes/js/tinymce/langs/wp-langs.php

    r18841 r19263  
    183183},
    184184fullscreen:{
    185 desc:"' . mce_escape( __('Toggle fullscreen mode') ) . ' (Alt+Shift+G)"
     185desc:"' . mce_escape( __('Toggle fullscreen mode (Alt + Shift + G)') ) . '"
    186186},
    187187media:{
     
    199199},
    200200spellchecker:{
    201 desc:"' . mce_escape( __('Toggle spellchecker') ) . ' (Alt+Shift+N)",
     201desc:"' . mce_escape( __('Toggle spellchecker (Alt + Shift + N)') ) . '",
    202202menu:"' . mce_escape( __('Spellchecker settings') ) . '",
    203203ignore_word:"' . mce_escape( __('Ignore word') ) . '",
     
    253253dt:"' . mce_escape( __('Definition term ') ) . '",
    254254dd:"' . mce_escape( __('Definition description') ) . '",
    255 bold_desc:"' . mce_escape( __('Bold') ) . ' (Ctrl / Alt+Shift + B)",
    256 italic_desc:"' . mce_escape( __('Italic') ) . ' (Ctrl / Alt+Shift + I)",
     255bold_desc:"' . mce_escape( __('Bold (Ctrl + B)') ) . '",
     256italic_desc:"' . mce_escape( __('Italic (Ctrl + I)') ) . '",
    257257underline_desc:"' . mce_escape( __('Underline') ) . '",
    258 striketrough_desc:"' . mce_escape( __('Strikethrough') ) . ' (Alt+Shift+D)",
    259 justifyleft_desc:"' . mce_escape( __('Align Left') ) . ' (Alt+Shift+L)",
    260 justifycenter_desc:"' . mce_escape( __('Align Center') ) . ' (Alt+Shift+C)",
    261 justifyright_desc:"' . mce_escape( __('Align Right') ) . ' (Alt+Shift+R)",
    262 justifyfull_desc:"' . mce_escape( __('Align Full') ) . ' (Alt+Shift+J)",
    263 bullist_desc:"' . mce_escape( __('Unordered list') ) . ' (Alt+Shift+U)",
    264 numlist_desc:"' . mce_escape( __('Ordered list') ) . ' (Alt+Shift+O)",
     258striketrough_desc:"' . mce_escape( __('Strikethrough (Alt + Shift + D)') ) . '",
     259justifyleft_desc:"' . mce_escape( __('Align Left (Alt + Shift + L)') ) . '",
     260justifycenter_desc:"' . mce_escape( __('Align Center (Alt + Shift + C)') ) . '",
     261justifyright_desc:"' . mce_escape( __('Align Right (Alt + Shift + R)') ) . '",
     262justifyfull_desc:"' . mce_escape( __('Align Full (Alt + Shift + J)') ) . '",
     263bullist_desc:"' . mce_escape( __('Unordered list (Alt + Shift + U)') ) . '",
     264numlist_desc:"' . mce_escape( __('Ordered list (Alt + Shift + O)') ) . '",
    265265outdent_desc:"' . mce_escape( __('Outdent') ) . '",
    266266indent_desc:"' . mce_escape( __('Indent') ) . '",
    267 undo_desc:"' . mce_escape( __('Undo') ) . ' (Ctrl+Z)",
    268 redo_desc:"' . mce_escape( __('Redo') ) . ' (Ctrl+Y)",
    269 link_desc:"' . mce_escape( __('Insert/edit link') ) . ' (Alt+Shift+A)",
    270 unlink_desc:"' . mce_escape( __('Unlink') ) . ' (Alt+Shift+S)",
    271 image_desc:"' . mce_escape( __('Insert/edit image') ) . ' (Alt+Shift+M)",
     267undo_desc:"' . mce_escape( __('Undo (Ctrl + Z)') ) . '",
     268redo_desc:"' . mce_escape( __('Redo (Ctrl + Y)') ) . '",
     269link_desc:"' . mce_escape( __('Insert/edit link (Alt + Shift + A)') ) . '",
     270unlink_desc:"' . mce_escape( __('Unlink (Alt + Shift + S)') ) . '",
     271image_desc:"' . mce_escape( __('Insert/edit image (Alt + Shift + M)') ) . '",
    272272cleanup_desc:"' . mce_escape( __('Cleanup messy code') ) . '",
    273273code_desc:"' . mce_escape( __('Edit HTML Source') ) . '",
     
    287287newdocument_desc:"' . mce_escape( __('New document') ) . '",
    288288help_desc:"' . mce_escape( __('Help') ) . '",
    289 blockquote_desc:"' . mce_escape( __('Blockquote') ) . ' (Alt+Shift+Q)",
     289blockquote_desc:"' . mce_escape( __('Blockquote (Alt + Shift + Q)') ) . '",
    290290clipboard_msg:"' . mce_escape( __('Copy/Cut/Paste is not available in Mozilla and Firefox.') ) . '",
    291291path:"' . mce_escape( __('Path') ) . '",
     
    464464
    465465tinyMCE.addI18n("' . $this->mce_locale . '.wordpress",{
    466 wp_adv_desc:"' . mce_escape( __('Show/Hide Kitchen Sink') )  . ' (Alt+Shift+Z)",
    467 wp_more_desc:"' . mce_escape( __('Insert More Tag') ) . ' (Alt+Shift+T)",
    468 wp_page_desc:"' . mce_escape( __('Insert Page break') ) . ' (Alt+Shift+P)",
    469 wp_help_desc:"' . mce_escape( __('Help') ) . ' (Alt+Shift+H)",
     466wp_adv_desc:"' . mce_escape( __('Show/Hide Kitchen Sink (Alt + Shift + Z)') )  . '",
     467wp_more_desc:"' . mce_escape( __('Insert More Tag (Alt + Shift + T)') ) . '",
     468wp_page_desc:"' . mce_escape( __('Insert Page break (Alt + Shift + P)') ) . '",
     469wp_help_desc:"' . mce_escape( __('Help (Alt + Shift + H)') ) . '",
    470470wp_more_alt:"' . mce_escape( __('More...') ) . '",
    471471wp_page_alt:"' . mce_escape( __('Next page...') ) . '",
Note: See TracChangeset for help on using the changeset viewer.