WordPress.org

Make WordPress Core

Ticket #5769: tmce-translation.patch

File tmce-translation.patch, 51.8 KB (added by azaozz, 6 years ago)
  • wp-includes/js/tinymce/langs/en.js

     
    1 tinyMCE.addI18n({en:{ 
    2 common:{ 
    3 edit_confirm:"Do you want to use the WYSIWYG mode for this textarea?", 
    4 apply:"Apply", 
    5 insert:"Insert", 
    6 update:"Update", 
    7 cancel:"Cancel", 
    8 close:"Close", 
    9 browse:"Browse", 
    10 class_name:"Class", 
    11 not_set:"-- Not set --", 
    12 clipboard_msg:"Copy/Cut/Paste is not available in Mozilla and Firefox.\nDo you want more information about this issue?", 
    13 clipboard_no_support:"Currently not supported by your browser, use keyboard shortcuts instead.", 
    14 popup_blocked:"Sorry, but we have noticed that your popup-blocker has disabled a window that provides application functionality. You will need to disable popup blocking on this site in order to fully utilize this tool.", 
    15 invalid_data:"Error: Invalid values entered, these are marked in red.", 
    16 more_colors:"More colors" 
    17 }, 
    18 contextmenu:{ 
    19 align:"Alignment", 
    20 left:"Left", 
    21 center:"Center", 
    22 right:"Right", 
    23 full:"Full" 
    24 }, 
    25 insertdatetime:{ 
    26 date_fmt:"%Y-%m-%d", 
    27 time_fmt:"%H:%M:%S", 
    28 insertdate_desc:"Insert date", 
    29 inserttime_desc:"Insert time", 
    30 months_long:"January,February,March,April,May,June,July,August,September,October,November,December", 
    31 months_short:"Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec", 
    32 day_long:"Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday,Sunday", 
    33 day_short:"Sun,Mon,Tue,Wed,Thu,Fri,Sat,Sun" 
    34 }, 
    35 print:{ 
    36 print_desc:"Print" 
    37 }, 
    38 preview:{ 
    39 preview_desc:"Preview" 
    40 }, 
    41 directionality:{ 
    42 ltr_desc:"Direction left to right", 
    43 rtl_desc:"Direction right to left" 
    44 }, 
    45 layer:{ 
    46 insertlayer_desc:"Insert new layer", 
    47 forward_desc:"Move forward", 
    48 backward_desc:"Move backward", 
    49 absolute_desc:"Toggle absolute positioning", 
    50 content:"New layer..." 
    51 }, 
    52 save:{ 
    53 save_desc:"Save", 
    54 cancel_desc:"Cancel all changes" 
    55 }, 
    56 nonbreaking:{ 
    57 nonbreaking_desc:"Insert non-breaking space character" 
    58 }, 
    59 iespell:{ 
    60 iespell_desc:"Run spell checking", 
    61 download:"ieSpell not detected. Do you want to install it now?" 
    62 }, 
    63 advhr:{ 
    64 advhr_desc:"Horizontale rule" 
    65 }, 
    66 emotions:{ 
    67 emotions_desc:"Emotions" 
    68 }, 
    69 searchreplace:{ 
    70 search_desc:"Find", 
    71 replace_desc:"Find/Replace" 
    72 }, 
    73 advimage:{ 
    74 image_desc:"Insert/edit image" 
    75 }, 
    76 advlink:{ 
    77 link_desc:"Insert/edit link" 
    78 }, 
    79 xhtmlxtras:{ 
    80 cite_desc:"Citation", 
    81 abbr_desc:"Abbreviation", 
    82 acronym_desc:"Acronym", 
    83 del_desc:"Deletion", 
    84 ins_desc:"Insertion", 
    85 attribs_desc:"Insert/Edit Attributes" 
    86 }, 
    87 style:{ 
    88 desc:"Edit CSS Style" 
    89 }, 
    90 paste:{ 
    91 paste_text_desc:"Paste as Plain Text", 
    92 paste_word_desc:"Paste from Word", 
    93 selectall_desc:"Select All" 
    94 }, 
    95 paste_dlg:{ 
    96 text_title:"Use CTRL+V on your keyboard to paste the text into the window.", 
    97 text_linebreaks:"Keep linebreaks", 
    98 word_title:"Use CTRL+V on your keyboard to paste the text into the window." 
    99 }, 
    100 table:{ 
    101 desc:"Inserts a new table", 
    102 row_before_desc:"Insert row before", 
    103 row_after_desc:"Insert row after", 
    104 delete_row_desc:"Delete row", 
    105 col_before_desc:"Insert column before", 
    106 col_after_desc:"Insert column after", 
    107 delete_col_desc:"Remove column", 
    108 split_cells_desc:"Split merged table cells", 
    109 merge_cells_desc:"Merge table cells", 
    110 row_desc:"Table row properties", 
    111 cell_desc:"Table cell properties", 
    112 props_desc:"Table properties", 
    113 paste_row_before_desc:"Paste table row before", 
    114 paste_row_after_desc:"Paste table row after", 
    115 cut_row_desc:"Cut table row", 
    116 copy_row_desc:"Copy table row", 
    117 del:"Delete table", 
    118 row:"Row", 
    119 col:"Column", 
    120 cell:"Cell" 
    121 }, 
    122 autosave:{ 
    123 unload_msg:"The changes you made will be lost if you navigate away from this page." 
    124 }, 
    125 fullscreen:{ 
    126 desc:"Toggle fullscreen mode" 
    127 }, 
    128 media:{ 
    129 desc:"Insert / edit embedded media", 
    130 edit:"Edit embedded media" 
    131 }, 
    132 fullpage:{ 
    133 desc:"Document properties" 
    134 }, 
    135 template:{ 
    136 desc:"Insert predefined template content" 
    137 }, 
    138 visualchars:{ 
    139 desc:"Visual control characters on/off." 
    140 }, 
    141 spellchecker:{ 
    142 desc:"Toggle spellchecker", 
    143 menu:"Spellchecker settings", 
    144 ignore_word:"Ignore word", 
    145 ignore_words:"Ignore all", 
    146 langs:"Languages", 
    147 wait:"Please wait...", 
    148 sug:"Suggestions", 
    149 no_sug:"No suggestions", 
    150 no_mpell:"No misspellings found." 
    151 }, 
    152 pagebreak:{ 
    153 desc:"Insert page break." 
    154 }}}); 
    155  No newline at end of file 
  • wp-includes/js/tinymce/langs/wp-langs.php

     
     1<?php 
     2 
     3// escape text only if it needs translating 
     4function mce_escape($text) { 
     5        global $language; 
     6         
     7        if ( 'en' == $language ) return $text; 
     8        else return js_escape($text); 
     9} 
     10 
     11$strings = 'tinyMCE.addI18n({' . $language . ':{ 
     12common:{ 
     13edit_confirm:"' . mce_escape( __('Do you want to use the WYSIWYG mode for this textarea?') ) . '", 
     14apply:"' . mce_escape( __('Apply') ) . '", 
     15insert:"' . mce_escape( __('Insert') ) . '", 
     16update:"' . mce_escape( __('Update') ) . '", 
     17cancel:"' . mce_escape( __('Cancel') ) . '", 
     18close:"' . mce_escape( __('Close') ) . '", 
     19browse:"' . mce_escape( __('Browse') ) . '", 
     20class_name:"' . mce_escape( __('Class') ) . '", 
     21not_set:"' . mce_escape( __('-- Not set --') ) . '", 
     22clipboard_msg:"' . mce_escape( __('Copy/Cut/Paste is not available in Mozilla and Firefox.') ) . '", 
     23clipboard_no_support:"' . mce_escape( __('Currently not supported by your browser, use keyboard shortcuts instead.') ) . '", 
     24popup_blocked:"' . mce_escape( __('Sorry, but we have noticed that your popup-blocker has disabled a window that provides application functionality. You will need to disable popup blocking on this site in order to fully utilize this tool.') ) . '", 
     25invalid_data:"' . mce_escape( __('Error: Invalid values entered, these are marked in red.') ) . '", 
     26more_colors:"' . mce_escape( __('More colors') ) . '" 
     27}, 
     28contextmenu:{ 
     29align:"' . mce_escape( __('Alignment') ) . '", 
     30left:"' . mce_escape( __('Left') ) . '", 
     31center:"' . mce_escape( __('Center') ) . '", 
     32right:"' . mce_escape( __('Right') ) . '", 
     33full:"' . mce_escape( __('Full') ) . '" 
     34}, 
     35insertdatetime:{ 
     36date_fmt:"' . mce_escape( __('%Y-%m-%d') ) . '", 
     37time_fmt:"' . mce_escape( __('%H:%M:%S') ) . '", 
     38insertdate_desc:"' . mce_escape( __('Insert date') ) . '", 
     39inserttime_desc:"' . mce_escape( __('Insert time') ) . '", 
     40months_long:"' . mce_escape( _c('January,February,March,April,May,June,July,August,September,October,November,December|Comma separated list of the months. No spaces between them.') ) . '", 
     41months_short:"' . mce_escape( _c('Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec|Comma separated list of the abbreviated names of the months. No spaces between them.') ) . '", 
     42day_long:"' . mce_escape( _c('Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday,Sunday|Comma separated list of the days of the week. No spaces between them.') ) . '", 
     43day_short:"' . mce_escape( _c('Sun,Mon,Tue,Wed,Thu,Fri,Sat,Sun|Comma separated list of the abbreviated names for the days of the week. No spaces between them.') ) . '" 
     44}, 
     45print:{ 
     46print_desc:"' . mce_escape( __('Print') ) . '" 
     47}, 
     48preview:{ 
     49preview_desc:"' . mce_escape( __('Preview') ) . '" 
     50}, 
     51directionality:{ 
     52ltr_desc:"' . mce_escape( __('Direction left to right') ) . '", 
     53rtl_desc:"' . mce_escape( __('Direction right to left') ) . '" 
     54}, 
     55layer:{ 
     56insertlayer_desc:"' . mce_escape( __('Insert new layer') ) . '", 
     57forward_desc:"' . mce_escape( __('Move forward') ) . '", 
     58backward_desc:"' . mce_escape( __('Move backward') ) . '", 
     59absolute_desc:"' . mce_escape( __('Toggle absolute positioning') ) . '", 
     60content:"' . mce_escape( __('New layer...') ) . '" 
     61}, 
     62save:{ 
     63save_desc:"' . mce_escape( __('Save') ) . '", 
     64cancel_desc:"' . mce_escape( __('Cancel all changes') ) . '" 
     65}, 
     66nonbreaking:{ 
     67nonbreaking_desc:"' . mce_escape( __('Insert non-breaking space character') ) . '" 
     68}, 
     69iespell:{ 
     70iespell_desc:"' . mce_escape( __('Run spell checking') ) . '", 
     71download:"' . mce_escape( __('ieSpell not detected. Do you want to install it now?') ) . '" 
     72}, 
     73advhr:{ 
     74advhr_desc:"' . mce_escape( __('Horizontale rule') ) . '" 
     75}, 
     76emotions:{ 
     77emotions_desc:"' . mce_escape( __('Emotions') ) . '" 
     78}, 
     79searchreplace:{ 
     80search_desc:"' . mce_escape( __('Find') ) . '", 
     81replace_desc:"' . mce_escape( __('Find/Replace') ) . '" 
     82}, 
     83advimage:{ 
     84image_desc:"' . mce_escape( __('Insert/edit image') ) . '" 
     85}, 
     86advlink:{ 
     87link_desc:"' . mce_escape( __('Insert/edit link') ) . '" 
     88}, 
     89xhtmlxtras:{ 
     90cite_desc:"' . mce_escape( __('Citation') ) . '", 
     91abbr_desc:"' . mce_escape( __('Abbreviation') ) . '", 
     92acronym_desc:"' . mce_escape( __('Acronym') ) . '", 
     93del_desc:"' . mce_escape( __('Deletion') ) . '", 
     94ins_desc:"' . mce_escape( __('Insertion') ) . '", 
     95attribs_desc:"' . mce_escape( __('Insert/Edit Attributes') ) . '" 
     96}, 
     97style:{ 
     98desc:"' . mce_escape( __('Edit CSS Style') ) . '" 
     99}, 
     100paste:{ 
     101paste_text_desc:"' . mce_escape( __('Paste as Plain Text') ) . '", 
     102paste_word_desc:"' . mce_escape( __('Paste from Word') ) . '", 
     103selectall_desc:"' . mce_escape( __('Select All') ) . '" 
     104}, 
     105paste_dlg:{ 
     106text_title:"' . mce_escape( __('Use CTRL+V on your keyboard to paste the text into the window.') ) . '", 
     107text_linebreaks:"' . mce_escape( __('Keep linebreaks') ) . '", 
     108word_title:"' . mce_escape( __('Use CTRL+V on your keyboard to paste the text into the window.') ) . '" 
     109}, 
     110table:{ 
     111desc:"' . mce_escape( __('Inserts a new table') ) . '", 
     112row_before_desc:"' . mce_escape( __('Insert row before') ) . '", 
     113row_after_desc:"' . mce_escape( __('Insert row after') ) . '", 
     114delete_row_desc:"' . mce_escape( __('Delete row') ) . '", 
     115col_before_desc:"' . mce_escape( __('Insert column before') ) . '", 
     116col_after_desc:"' . mce_escape( __('Insert column after') ) . '", 
     117delete_col_desc:"' . mce_escape( __('Remove column') ) . '", 
     118split_cells_desc:"' . mce_escape( __('Split merged table cells') ) . '", 
     119merge_cells_desc:"' . mce_escape( __('Merge table cells') ) . '", 
     120row_desc:"' . mce_escape( __('Table row properties') ) . '", 
     121cell_desc:"' . mce_escape( __('Table cell properties') ) . '", 
     122props_desc:"' . mce_escape( __('Table properties') ) . '", 
     123paste_row_before_desc:"' . mce_escape( __('Paste table row before') ) . '", 
     124paste_row_after_desc:"' . mce_escape( __('Paste table row after') ) . '", 
     125cut_row_desc:"' . mce_escape( __('Cut table row') ) . '", 
     126copy_row_desc:"' . mce_escape( __('Copy table row') ) . '", 
     127del:"' . mce_escape( __('Delete table') ) . '", 
     128row:"' . mce_escape( __('Row') ) . '", 
     129col:"' . mce_escape( __('Column') ) . '", 
     130cell:"' . mce_escape( __('Cell') ) . '" 
     131}, 
     132autosave:{ 
     133unload_msg:"' . mce_escape( __('The changes you made will be lost if you navigate away from this page.') ) . '" 
     134}, 
     135fullscreen:{ 
     136desc:"' . mce_escape( __('Toggle fullscreen mode') ) . '" 
     137}, 
     138media:{ 
     139desc:"' . mce_escape( __('Insert / edit embedded media') ) . '", 
     140delta_width:"' . mce_escape( _c('0| Extra width for the media popup in pixels') ) . '", 
     141delta_height:"' . mce_escape( _c('0| Extra height for the media popup in pixels') ) . '", 
     142edit:"' . mce_escape( __('Edit embedded media') ) . '" 
     143}, 
     144fullpage:{ 
     145desc:"' . mce_escape( __('Document properties') ) . '" 
     146}, 
     147template:{ 
     148desc:"' . mce_escape( __('Insert predefined template content') ) . '" 
     149}, 
     150visualchars:{ 
     151desc:"' . mce_escape( __('Visual control characters on/off.') ) . '" 
     152}, 
     153spellchecker:{ 
     154desc:"' . mce_escape( __('Toggle spellchecker') ) . '", 
     155menu:"' . mce_escape( __('Spellchecker settings') ) . '", 
     156ignore_word:"' . mce_escape( __('Ignore word') ) . '", 
     157ignore_words:"' . mce_escape( __('Ignore all') ) . '", 
     158langs:"' . mce_escape( __('Languages') ) . '", 
     159wait:"' . mce_escape( __('Please wait...') ) . '", 
     160sug:"' . mce_escape( __('Suggestions') ) . '", 
     161no_sug:"' . mce_escape( __('No suggestions') ) . '", 
     162no_mpell:"' . mce_escape( __('No misspellings found.') ) . '" 
     163}, 
     164pagebreak:{ 
     165desc:"' . mce_escape( __('Insert page break.') ) . '" 
     166}}}); 
     167 
     168tinyMCE.addI18n("' . $language . '.advanced",{ 
     169style_select:"' . mce_escape( __('Styles') ) . '", 
     170font_size:"' . mce_escape( __('Font size') ) . '", 
     171fontdefault:"' . mce_escape( __('Font family') ) . '", 
     172block:"' . mce_escape( __('Format') ) . '", 
     173paragraph:"' . mce_escape( __('Paragraph') ) . '", 
     174div:"' . mce_escape( __('Div') ) . '", 
     175address:"' . mce_escape( __('Address') ) . '", 
     176pre:"' . mce_escape( __('Preformatted') ) . '", 
     177h1:"' . mce_escape( __('Heading 1') ) . '", 
     178h2:"' . mce_escape( __('Heading 2') ) . '", 
     179h3:"' . mce_escape( __('Heading 3') ) . '", 
     180h4:"' . mce_escape( __('Heading 4') ) . '", 
     181h5:"' . mce_escape( __('Heading 5') ) . '", 
     182h6:"' . mce_escape( __('Heading 6') ) . '", 
     183blockquote:"' . mce_escape( __('Blockquote') ) . '", 
     184code:"' . mce_escape( __('Code') ) . '", 
     185samp:"' . mce_escape( __('Code sample') ) . '", 
     186dt:"' . mce_escape( __('Definition term ') ) . '", 
     187dd:"' . mce_escape( __('Definition description') ) . '", 
     188bold_desc:"' . mce_escape( __('Bold (Ctrl+B)') ) . '", 
     189italic_desc:"' . mce_escape( __('Italic (Ctrl+I)') ) . '", 
     190underline_desc:"' . mce_escape( __('Underline (Ctrl+U)') ) . '", 
     191striketrough_desc:"' . mce_escape( __('Strikethrough') ) . '", 
     192justifyleft_desc:"' . mce_escape( __('Align left') ) . '", 
     193justifycenter_desc:"' . mce_escape( __('Align center') ) . '", 
     194justifyright_desc:"' . mce_escape( __('Align right') ) . '", 
     195justifyfull_desc:"' . mce_escape( __('Align full') ) . '", 
     196bullist_desc:"' . mce_escape( __('Unordered list') ) . '", 
     197numlist_desc:"' . mce_escape( __('Ordered list') ) . '", 
     198outdent_desc:"' . mce_escape( __('Outdent') ) . '", 
     199indent_desc:"' . mce_escape( __('Indent') ) . '", 
     200undo_desc:"' . mce_escape( __('Undo (Ctrl+Z)') ) . '", 
     201redo_desc:"' . mce_escape( __('Redo (Ctrl+Y)') ) . '", 
     202link_desc:"' . mce_escape( __('Insert/edit link') ) . '", 
     203link_delta_width:"' . mce_escape( _c('0| Extra width for the link popup in pixels') ) . '", 
     204link_delta_height:"' . mce_escape( _c('0| Extra height for the link popup in pixels') ) . '", 
     205unlink_desc:"' . mce_escape( __('Unlink') ) . '", 
     206image_desc:"' . mce_escape( __('Insert/edit image') ) . '", 
     207image_delta_width:"' . mce_escape( _c('0| Extra width for the image popup in pixels') ) . '", 
     208image_delta_height:"' . mce_escape( _c('0| Extra height for the image popup in pixels') ) . '", 
     209cleanup_desc:"' . mce_escape( __('Cleanup messy code') ) . '", 
     210code_desc:"' . mce_escape( __('Edit HTML Source') ) . '", 
     211sub_desc:"' . mce_escape( __('Subscript') ) . '", 
     212sup_desc:"' . mce_escape( __('Superscript') ) . '", 
     213hr_desc:"' . mce_escape( __('Insert horizontal ruler') ) . '", 
     214removeformat_desc:"' . mce_escape( __('Remove formatting') ) . '", 
     215forecolor_desc:"' . mce_escape( __('Select text color') ) . '", 
     216backcolor_desc:"' . mce_escape( __('Select background color') ) . '", 
     217charmap_desc:"' . mce_escape( __('Insert custom character') ) . '", 
     218visualaid_desc:"' . mce_escape( __('Toggle guidelines/invisible elements') ) . '", 
     219anchor_desc:"' . mce_escape( __('Insert/edit anchor') ) . '", 
     220cut_desc:"' . mce_escape( __('Cut') ) . '", 
     221copy_desc:"' . mce_escape( __('Copy') ) . '", 
     222paste_desc:"' . mce_escape( __('Paste') ) . '", 
     223image_props_desc:"' . mce_escape( __('Image properties') ) . '", 
     224newdocument_desc:"' . mce_escape( __('New document') ) . '", 
     225help_desc:"' . mce_escape( __('Help') ) . '", 
     226blockquote_desc:"' . mce_escape( __('Blockquote') ) . '", 
     227clipboard_msg:"' . mce_escape( __('Copy/Cut/Paste is not available in Mozilla and Firefox.') ) . '", 
     228path:"' . mce_escape( __('Path') ) . '", 
     229newdocument:"' . mce_escape( __('Are you sure you want to clear all contents?') ) . '", 
     230toolbar_focus:"' . mce_escape( __('Jump to tool buttons - Alt+Q, Jump to editor - Alt-Z, Jump to element path - Alt-X') ) . '", 
     231more_colors:"' . mce_escape( __('More colors') ) . '", 
     232colorpicker_delta_width:"' . mce_escape( _c('0| Extra width for the colorpicker popup in pixels') ) . '", 
     233colorpicker_delta_height:"' . mce_escape( _c('0| Extra height for the colorpicker popup in pixels') ) . '" 
     234}); 
     235 
     236tinyMCE.addI18n("' . $language . '.advanced_dlg",{ 
     237about_title:"' . mce_escape( __('About TinyMCE') ) . '", 
     238about_general:"' . mce_escape( __('About') ) . '", 
     239about_help:"' . mce_escape( __('Help') ) . '", 
     240about_license:"' . mce_escape( __('License') ) . '", 
     241about_plugins:"' . mce_escape( __('Plugins') ) . '", 
     242about_plugin:"' . mce_escape( __('Plugin') ) . '", 
     243about_author:"' . mce_escape( __('Author') ) . '", 
     244about_version:"' . mce_escape( __('Version') ) . '", 
     245about_loaded:"' . mce_escape( __('Loaded plugins') ) . '", 
     246anchor_title:"' . mce_escape( __('Insert/edit anchor') ) . '", 
     247anchor_name:"' . mce_escape( __('Anchor name') ) . '", 
     248code_title:"' . mce_escape( __('HTML Source Editor') ) . '", 
     249code_wordwrap:"' . mce_escape( __('Word wrap') ) . '", 
     250colorpicker_title:"' . mce_escape( __('Select a color') ) . '", 
     251colorpicker_picker_tab:"' . mce_escape( __('Picker') ) . '", 
     252colorpicker_picker_title:"' . mce_escape( __('Color picker') ) . '", 
     253colorpicker_palette_tab:"' . mce_escape( __('Palette') ) . '", 
     254colorpicker_palette_title:"' . mce_escape( __('Palette colors') ) . '", 
     255colorpicker_named_tab:"' . mce_escape( __('Named') ) . '", 
     256colorpicker_named_title:"' . mce_escape( __('Named colors') ) . '", 
     257colorpicker_color:"' . mce_escape( __('Color:') ) . '", 
     258colorpicker_name:"' . mce_escape( __('Name:') ) . '", 
     259charmap_title:"' . mce_escape( __('Select custom character') ) . '", 
     260image_title:"' . mce_escape( __('Insert/edit image') ) . '", 
     261image_src:"' . mce_escape( __('Image URL') ) . '", 
     262image_alt:"' . mce_escape( __('Image description') ) . '", 
     263image_list:"' . mce_escape( __('Image list') ) . '", 
     264image_border:"' . mce_escape( __('Border') ) . '", 
     265image_dimensions:"' . mce_escape( __('Dimensions') ) . '", 
     266image_vspace:"' . mce_escape( __('Vertical space') ) . '", 
     267image_hspace:"' . mce_escape( __('Horizontal space') ) . '", 
     268image_align:"' . mce_escape( __('Alignment') ) . '", 
     269image_align_baseline:"' . mce_escape( __('Baseline') ) . '", 
     270image_align_top:"' . mce_escape( __('Top') ) . '", 
     271image_align_middle:"' . mce_escape( __('Middle') ) . '", 
     272image_align_bottom:"' . mce_escape( __('Bottom') ) . '", 
     273image_align_texttop:"' . mce_escape( __('Text top') ) . '", 
     274image_align_textbottom:"' . mce_escape( __('Text bottom') ) . '", 
     275image_align_left:"' . mce_escape( __('Left') ) . '", 
     276image_align_right:"' . mce_escape( __('Right') ) . '", 
     277link_title:"' . mce_escape( __('Insert/edit link') ) . '", 
     278link_url:"' . mce_escape( __('Link URL') ) . '", 
     279link_target:"' . mce_escape( __('Target') ) . '", 
     280link_target_same:"' . mce_escape( __('Open link in the same window') ) . '", 
     281link_target_blank:"' . mce_escape( __('Open link in a new window') ) . '", 
     282link_titlefield:"' . mce_escape( __('Title') ) . '", 
     283link_is_email:"' . mce_escape( __('The URL you entered seems to be an email address, do you want to add the required mailto: prefix?') ) . '", 
     284link_is_external:"' . mce_escape( __('The URL you entered seems to external link, do you want to add the required http:// prefix?') ) . '", 
     285link_list:"' . mce_escape( __('Link list') ) . '" 
     286}); 
     287 
     288tinyMCE.addI18n("' . $language . '.media_dlg",{ 
     289title:"' . mce_escape( __('Insert / edit embedded media') ) . '", 
     290general:"' . mce_escape( __('General') ) . '", 
     291advanced:"' . mce_escape( __('Advanced') ) . '", 
     292file:"' . mce_escape( __('File/URL') ) . '", 
     293list:"' . mce_escape( __('List') ) . '", 
     294size:"' . mce_escape( __('Dimensions') ) . '", 
     295preview:"' . mce_escape( __('Preview') ) . '", 
     296constrain_proportions:"' . mce_escape( __('Constrain proportions') ) . '", 
     297type:"' . mce_escape( __('Type') ) . '", 
     298id:"' . mce_escape( __('Id') ) . '", 
     299name:"' . mce_escape( __('Name') ) . '", 
     300class_name:"' . mce_escape( __('Class') ) . '", 
     301vspace:"' . mce_escape( __('V-Space') ) . '", 
     302hspace:"' . mce_escape( __('H-Space') ) . '", 
     303play:"' . mce_escape( __('Auto play') ) . '", 
     304loop:"' . mce_escape( __('Loop') ) . '", 
     305menu:"' . mce_escape( __('Show menu') ) . '", 
     306quality:"' . mce_escape( __('Quality') ) . '", 
     307scale:"' . mce_escape( __('Scale') ) . '", 
     308align:"' . mce_escape( __('Align') ) . '", 
     309salign:"' . mce_escape( __('SAlign') ) . '", 
     310wmode:"' . mce_escape( __('WMode') ) . '", 
     311bgcolor:"' . mce_escape( __('Background') ) . '", 
     312base:"' . mce_escape( __('Base') ) . '", 
     313flashvars:"' . mce_escape( __('Flashvars') ) . '", 
     314liveconnect:"' . mce_escape( __('SWLiveConnect') ) . '", 
     315autohref:"' . mce_escape( __('AutoHREF') ) . '", 
     316cache:"' . mce_escape( __('Cache') ) . '", 
     317hidden:"' . mce_escape( __('Hidden') ) . '", 
     318controller:"' . mce_escape( __('Controller') ) . '", 
     319kioskmode:"' . mce_escape( __('Kiosk mode') ) . '", 
     320playeveryframe:"' . mce_escape( __('Play every frame') ) . '", 
     321targetcache:"' . mce_escape( __('Target cache') ) . '", 
     322correction:"' . mce_escape( __('No correction') ) . '", 
     323enablejavascript:"' . mce_escape( __('Enable JavaScript') ) . '", 
     324starttime:"' . mce_escape( __('Start time') ) . '", 
     325endtime:"' . mce_escape( __('End time') ) . '", 
     326href:"' . mce_escape( __('Href') ) . '", 
     327qtsrcchokespeed:"' . mce_escape( __('Choke speed') ) . '", 
     328target:"' . mce_escape( __('Target') ) . '", 
     329volume:"' . mce_escape( __('Volume') ) . '", 
     330autostart:"' . mce_escape( __('Auto start') ) . '", 
     331enabled:"' . mce_escape( __('Enabled') ) . '", 
     332fullscreen:"' . mce_escape( __('Fullscreen') ) . '", 
     333invokeurls:"' . mce_escape( __('Invoke URLs') ) . '", 
     334mute:"' . mce_escape( __('Mute') ) . '", 
     335stretchtofit:"' . mce_escape( __('Stretch to fit') ) . '", 
     336windowlessvideo:"' . mce_escape( __('Windowless video') ) . '", 
     337balance:"' . mce_escape( __('Balance') ) . '", 
     338baseurl:"' . mce_escape( __('Base URL') ) . '", 
     339captioningid:"' . mce_escape( __('Captioning id') ) . '", 
     340currentmarker:"' . mce_escape( __('Current marker') ) . '", 
     341currentposition:"' . mce_escape( __('Current position') ) . '", 
     342defaultframe:"' . mce_escape( __('Default frame') ) . '", 
     343playcount:"' . mce_escape( __('Play count') ) . '", 
     344rate:"' . mce_escape( __('Rate') ) . '", 
     345uimode:"' . mce_escape( __('UI Mode') ) . '", 
     346flash_options:"' . mce_escape( __('Flash options') ) . '", 
     347qt_options:"' . mce_escape( __('Quicktime options') ) . '", 
     348wmp_options:"' . mce_escape( __('Windows media player options') ) . '", 
     349rmp_options:"' . mce_escape( __('Real media player options') ) . '", 
     350shockwave_options:"' . mce_escape( __('Shockwave options') ) . '", 
     351autogotourl:"' . mce_escape( __('Auto goto URL') ) . '", 
     352center:"' . mce_escape( __('Center') ) . '", 
     353imagestatus:"' . mce_escape( __('Image status') ) . '", 
     354maintainaspect:"' . mce_escape( __('Maintain aspect') ) . '", 
     355nojava:"' . mce_escape( __('No java') ) . '", 
     356prefetch:"' . mce_escape( __('Prefetch') ) . '", 
     357shuffle:"' . mce_escape( __('Shuffle') ) . '", 
     358console:"' . mce_escape( __('Console') ) . '", 
     359numloop:"' . mce_escape( __('Num loops') ) . '", 
     360controls:"' . mce_escape( __('Controls') ) . '", 
     361scriptcallbacks:"' . mce_escape( __('Script callbacks') ) . '", 
     362swstretchstyle:"' . mce_escape( __('Stretch style') ) . '", 
     363swstretchhalign:"' . mce_escape( __('Stretch H-Align') ) . '", 
     364swstretchvalign:"' . mce_escape( __('Stretch V-Align') ) . '", 
     365sound:"' . mce_escape( __('Sound') ) . '", 
     366progress:"' . mce_escape( __('Progress') ) . '", 
     367qtsrc:"' . mce_escape( __('QT Src') ) . '", 
     368qt_stream_warn:"' . mce_escape( __('Streamed rtsp resources should be added to the QT Src field under the advanced tab.') ) . '", 
     369align_top:"' . mce_escape( __('Top') ) . '", 
     370align_right:"' . mce_escape( __('Right') ) . '", 
     371align_bottom:"' . mce_escape( __('Bottom') ) . '", 
     372align_left:"' . mce_escape( __('Left') ) . '", 
     373align_center:"' . mce_escape( __('Center') ) . '", 
     374align_top_left:"' . mce_escape( __('Top left') ) . '", 
     375align_top_right:"' . mce_escape( __('Top right') ) . '", 
     376align_bottom_left:"' . mce_escape( __('Bottom left') ) . '", 
     377align_bottom_right:"' . mce_escape( __('Bottom right') ) . '", 
     378flv_options:"' . mce_escape( __('Flash video options') ) . '", 
     379flv_scalemode:"' . mce_escape( __('Scale mode') ) . '", 
     380flv_buffer:"' . mce_escape( __('Buffer') ) . '", 
     381flv_startimage:"' . mce_escape( __('Start image') ) . '", 
     382flv_starttime:"' . mce_escape( __('Start time') ) . '", 
     383flv_defaultvolume:"' . mce_escape( __('Default volumne') ) . '", 
     384flv_hiddengui:"' . mce_escape( __('Hidden GUI') ) . '", 
     385flv_autostart:"' . mce_escape( __('Auto start') ) . '", 
     386flv_loop:"' . mce_escape( __('Loop') ) . '", 
     387flv_showscalemodes:"' . mce_escape( __('Show scale modes') ) . '", 
     388flv_smoothvideo:"' . mce_escape( __('Smooth video') ) . '", 
     389flv_jscallback:"' . mce_escape( __('JS Callback') ) . '" 
     390}); 
     391 
     392tinyMCE.addI18n("' . $language . '.wordpress",{ 
     393wp_adv_desc:"' . mce_escape( __('Show/Hide Advanced Toolbar') ) . '", 
     394wp_more_desc:"' . mce_escape( __('Insert More tag') ) . '", 
     395wp_page_desc:"' . mce_escape( __('Insert Page break') ) . '", 
     396wp_help_desc:"' . mce_escape( __('Help') ) . '", 
     397wp_more_alt:"' . mce_escape( __('More...') ) . '", 
     398wp_page_alt:"' . mce_escape( __('Next page...') ) . '" 
     399}); 
     400'; ?> 
     401 No newline at end of file 
  • wp-includes/js/tinymce/plugins/media/langs/en_dlg.js

     
    1 tinyMCE.addI18n('en.media_dlg',{ 
    2 title:"Insert / edit embedded media", 
    3 general:"General", 
    4 advanced:"Advanced", 
    5 file:"File/URL", 
    6 list:"List", 
    7 size:"Dimensions", 
    8 preview:"Preview", 
    9 constrain_proportions:"Constrain proportions", 
    10 type:"Type", 
    11 id:"Id", 
    12 name:"Name", 
    13 class_name:"Class", 
    14 vspace:"V-Space", 
    15 hspace:"H-Space", 
    16 play:"Auto play", 
    17 loop:"Loop", 
    18 menu:"Show menu", 
    19 quality:"Quality", 
    20 scale:"Scale", 
    21 align:"Align", 
    22 salign:"SAlign", 
    23 wmode:"WMode", 
    24 bgcolor:"Background", 
    25 base:"Base", 
    26 flashvars:"Flashvars", 
    27 liveconnect:"SWLiveConnect", 
    28 autohref:"AutoHREF", 
    29 cache:"Cache", 
    30 hidden:"Hidden", 
    31 controller:"Controller", 
    32 kioskmode:"Kiosk mode", 
    33 playeveryframe:"Play every frame", 
    34 targetcache:"Target cache", 
    35 correction:"No correction", 
    36 enablejavascript:"Enable JavaScript", 
    37 starttime:"Start time", 
    38 endtime:"End time", 
    39 href:"Href", 
    40 qtsrcchokespeed:"Choke speed", 
    41 target:"Target", 
    42 volume:"Volume", 
    43 autostart:"Auto start", 
    44 enabled:"Enabled", 
    45 fullscreen:"Fullscreen", 
    46 invokeurls:"Invoke URLs", 
    47 mute:"Mute", 
    48 stretchtofit:"Stretch to fit", 
    49 windowlessvideo:"Windowless video", 
    50 balance:"Balance", 
    51 baseurl:"Base URL", 
    52 captioningid:"Captioning id", 
    53 currentmarker:"Current marker", 
    54 currentposition:"Current position", 
    55 defaultframe:"Default frame", 
    56 playcount:"Play count", 
    57 rate:"Rate", 
    58 uimode:"UI Mode", 
    59 flash_options:"Flash options", 
    60 qt_options:"Quicktime options", 
    61 wmp_options:"Windows media player options", 
    62 rmp_options:"Real media player options", 
    63 shockwave_options:"Shockwave options", 
    64 autogotourl:"Auto goto URL", 
    65 center:"Center", 
    66 imagestatus:"Image status", 
    67 maintainaspect:"Maintain aspect", 
    68 nojava:"No java", 
    69 prefetch:"Prefetch", 
    70 shuffle:"Shuffle", 
    71 console:"Console", 
    72 numloop:"Num loops", 
    73 controls:"Controls", 
    74 scriptcallbacks:"Script callbacks", 
    75 swstretchstyle:"Stretch style", 
    76 swstretchhalign:"Stretch H-Align", 
    77 swstretchvalign:"Stretch V-Align", 
    78 sound:"Sound", 
    79 progress:"Progress", 
    80 qtsrc:"QT Src", 
    81 qt_stream_warn:"Streamed rtsp resources should be added to the QT Src field under the advanced tab.\nYou should also add a non streamed version to the Src field..", 
    82 align_top:"Top", 
    83 align_right:"Right", 
    84 align_bottom:"Bottom", 
    85 align_left:"Left", 
    86 align_center:"Center", 
    87 align_top_left:"Top left", 
    88 align_top_right:"Top right", 
    89 align_bottom_left:"Bottom left", 
    90 align_bottom_right:"Bottom right", 
    91 flv_options:"Flash video options", 
    92 flv_scalemode:"Scale mode", 
    93 flv_buffer:"Buffer", 
    94 flv_startimage:"Start image", 
    95 flv_starttime:"Start time", 
    96 flv_defaultvolume:"Default volumne", 
    97 flv_hiddengui:"Hidden GUI", 
    98 flv_autostart:"Auto start", 
    99 flv_loop:"Loop", 
    100 flv_showscalemodes:"Show scale modes", 
    101 flv_smoothvideo:"Smooth video", 
    102 flv_jscallback:"JS Callback" 
    103 }); 
    104  No newline at end of file 
  • wp-includes/js/tinymce/plugins/media/langs/en_dlg.js

     
    1 tinyMCE.addI18n('en.media_dlg',{ 
    2 title:"Insert / edit embedded media", 
    3 general:"General", 
    4 advanced:"Advanced", 
    5 file:"File/URL", 
    6 list:"List", 
    7 size:"Dimensions", 
    8 preview:"Preview", 
    9 constrain_proportions:"Constrain proportions", 
    10 type:"Type", 
    11 id:"Id", 
    12 name:"Name", 
    13 class_name:"Class", 
    14 vspace:"V-Space", 
    15 hspace:"H-Space", 
    16 play:"Auto play", 
    17 loop:"Loop", 
    18 menu:"Show menu", 
    19 quality:"Quality", 
    20 scale:"Scale", 
    21 align:"Align", 
    22 salign:"SAlign", 
    23 wmode:"WMode", 
    24 bgcolor:"Background", 
    25 base:"Base", 
    26 flashvars:"Flashvars", 
    27 liveconnect:"SWLiveConnect", 
    28 autohref:"AutoHREF", 
    29 cache:"Cache", 
    30 hidden:"Hidden", 
    31 controller:"Controller", 
    32 kioskmode:"Kiosk mode", 
    33 playeveryframe:"Play every frame", 
    34 targetcache:"Target cache", 
    35 correction:"No correction", 
    36 enablejavascript:"Enable JavaScript", 
    37 starttime:"Start time", 
    38 endtime:"End time", 
    39 href:"Href", 
    40 qtsrcchokespeed:"Choke speed", 
    41 target:"Target", 
    42 volume:"Volume", 
    43 autostart:"Auto start", 
    44 enabled:"Enabled", 
    45 fullscreen:"Fullscreen", 
    46 invokeurls:"Invoke URLs", 
    47 mute:"Mute", 
    48 stretchtofit:"Stretch to fit", 
    49 windowlessvideo:"Windowless video", 
    50 balance:"Balance", 
    51 baseurl:"Base URL", 
    52 captioningid:"Captioning id", 
    53 currentmarker:"Current marker", 
    54 currentposition:"Current position", 
    55 defaultframe:"Default frame", 
    56 playcount:"Play count", 
    57 rate:"Rate", 
    58 uimode:"UI Mode", 
    59 flash_options:"Flash options", 
    60 qt_options:"Quicktime options", 
    61 wmp_options:"Windows media player options", 
    62 rmp_options:"Real media player options", 
    63 shockwave_options:"Shockwave options", 
    64 autogotourl:"Auto goto URL", 
    65 center:"Center", 
    66 imagestatus:"Image status", 
    67 maintainaspect:"Maintain aspect", 
    68 nojava:"No java", 
    69 prefetch:"Prefetch", 
    70 shuffle:"Shuffle", 
    71 console:"Console", 
    72 numloop:"Num loops", 
    73 controls:"Controls", 
    74 scriptcallbacks:"Script callbacks", 
    75 swstretchstyle:"Stretch style", 
    76 swstretchhalign:"Stretch H-Align", 
    77 swstretchvalign:"Stretch V-Align", 
    78 sound:"Sound", 
    79 progress:"Progress", 
    80 qtsrc:"QT Src", 
    81 qt_stream_warn:"Streamed rtsp resources should be added to the QT Src field under the advanced tab.\nYou should also add a non streamed version to the Src field..", 
    82 align_top:"Top", 
    83 align_right:"Right", 
    84 align_bottom:"Bottom", 
    85 align_left:"Left", 
    86 align_center:"Center", 
    87 align_top_left:"Top left", 
    88 align_top_right:"Top right", 
    89 align_bottom_left:"Bottom left", 
    90 align_bottom_right:"Bottom right", 
    91 flv_options:"Flash video options", 
    92 flv_scalemode:"Scale mode", 
    93 flv_buffer:"Buffer", 
    94 flv_startimage:"Start image", 
    95 flv_starttime:"Start time", 
    96 flv_defaultvolume:"Default volumne", 
    97 flv_hiddengui:"Hidden GUI", 
    98 flv_autostart:"Auto start", 
    99 flv_loop:"Loop", 
    100 flv_showscalemodes:"Show scale modes", 
    101 flv_smoothvideo:"Smooth video", 
    102 flv_jscallback:"JS Callback" 
    103 }); 
    104  No newline at end of file 
  • wp-includes/js/tinymce/plugins/paste/langs/en_dlg.js

     
    1 tinyMCE.addI18n('en.paste_dlg',{ 
    2 text_title:"Use CTRL+V on your keyboard to paste the text into the window.", 
    3 text_linebreaks:"Keep linebreaks", 
    4 word_title:"Use CTRL+V on your keyboard to paste the text into the window." 
    5 }); 
    6  No newline at end of file 
  • wp-includes/js/tinymce/plugins/paste/langs/en_dlg.js

     
    1 tinyMCE.addI18n('en.paste_dlg',{ 
    2 text_title:"Use CTRL+V on your keyboard to paste the text into the window.", 
    3 text_linebreaks:"Keep linebreaks", 
    4 word_title:"Use CTRL+V on your keyboard to paste the text into the window." 
    5 }); 
    6  No newline at end of file 
  • wp-includes/js/tinymce/plugins/wordpress/langs/en.js

     
    1 tinyMCE.addI18n('en.wordpress',{ 
    2 wp_adv_desc : 'Show/Hide Advanced Toolbar', 
    3 wp_more_desc : 'Split post with More tag', 
    4 wp_page_desc : 'Split post with Page tag', 
    5 wp_help_desc : 'Help', 
    6 wp_more_alt : 'More...', 
    7 wp_page_alt : 'Next page...' 
    8 }); 
    9  No newline at end of file 
  • wp-includes/js/tinymce/plugins/wordpress/langs/en.js

     
    1 tinyMCE.addI18n('en.wordpress',{ 
    2 wp_adv_desc : 'Show/Hide Advanced Toolbar', 
    3 wp_more_desc : 'Split post with More tag', 
    4 wp_page_desc : 'Split post with Page tag', 
    5 wp_help_desc : 'Help', 
    6 wp_more_alt : 'More...', 
    7 wp_page_alt : 'Next page...' 
    8 }); 
    9  No newline at end of file 
  • wp-includes/js/tinymce/themes/advanced/langs/en_dlg.js

     
    1 tinyMCE.addI18n('en.advanced_dlg',{ 
    2 about_title:"About TinyMCE", 
    3 about_general:"About", 
    4 about_help:"Help", 
    5 about_license:"License", 
    6 about_plugins:"Plugins", 
    7 about_plugin:"Plugin", 
    8 about_author:"Author", 
    9 about_version:"Version", 
    10 about_loaded:"Loaded plugins", 
    11 anchor_title:"Insert/edit anchor", 
    12 anchor_name:"Anchor name", 
    13 code_title:"HTML Source Editor", 
    14 code_wordwrap:"Word wrap", 
    15 colorpicker_title:"Select a color", 
    16 colorpicker_picker_tab:"Picker", 
    17 colorpicker_picker_title:"Color picker", 
    18 colorpicker_palette_tab:"Palette", 
    19 colorpicker_palette_title:"Palette colors", 
    20 colorpicker_named_tab:"Named", 
    21 colorpicker_named_title:"Named colors", 
    22 colorpicker_color:"Color:", 
    23 colorpicker_name:"Name:", 
    24 charmap_title:"Select custom character", 
    25 image_title:"Insert/edit image", 
    26 image_src:"Image URL", 
    27 image_alt:"Image description", 
    28 image_list:"Image list", 
    29 image_border:"Border", 
    30 image_dimensions:"Dimensions", 
    31 image_vspace:"Vertical space", 
    32 image_hspace:"Horizontal space", 
    33 image_align:"Alignment", 
    34 image_align_baseline:"Baseline", 
    35 image_align_top:"Top", 
    36 image_align_middle:"Middle", 
    37 image_align_bottom:"Bottom", 
    38 image_align_texttop:"Text top", 
    39 image_align_textbottom:"Text bottom", 
    40 image_align_left:"Left", 
    41 image_align_right:"Right", 
    42 link_title:"Insert/edit link", 
    43 link_url:"Link URL", 
    44 link_target:"Target", 
    45 link_target_same:"Open link in the same window", 
    46 link_target_blank:"Open link in a new window", 
    47 link_titlefield:"Title", 
    48 link_is_email:"The URL you entered seems to be an email address, do you want to add the required mailto: prefix?", 
    49 link_is_external:"The URL you entered seems to external link, do you want to add the required http:// prefix?", 
    50 link_list:"Link list" 
    51 }); 
    52  No newline at end of file 
  • wp-includes/js/tinymce/themes/advanced/langs/en.js

     
    1 tinyMCE.addI18n('en.advanced',{ 
    2 style_select:"Styles", 
    3 font_size:"Font size", 
    4 fontdefault:"Font family", 
    5 block:"Format", 
    6 paragraph:"Paragraph", 
    7 div:"Div", 
    8 address:"Address", 
    9 pre:"Preformatted", 
    10 h1:"Heading 1", 
    11 h2:"Heading 2", 
    12 h3:"Heading 3", 
    13 h4:"Heading 4", 
    14 h5:"Heading 5", 
    15 h6:"Heading 6", 
    16 blockquote:"Blockquote", 
    17 code:"Code", 
    18 samp:"Code sample", 
    19 dt:"Definition term ", 
    20 dd:"Definition description", 
    21 bold_desc:"Bold (Ctrl+B)", 
    22 italic_desc:"Italic (Ctrl+I)", 
    23 underline_desc:"Underline (Ctrl+U)", 
    24 striketrough_desc:"Strikethrough", 
    25 justifyleft_desc:"Align left", 
    26 justifycenter_desc:"Align center", 
    27 justifyright_desc:"Align right", 
    28 justifyfull_desc:"Align full", 
    29 bullist_desc:"Unordered list", 
    30 numlist_desc:"Ordered list", 
    31 outdent_desc:"Outdent", 
    32 indent_desc:"Indent", 
    33 undo_desc:"Undo (Ctrl+Z)", 
    34 redo_desc:"Redo (Ctrl+Y)", 
    35 link_desc:"Insert/edit link", 
    36 unlink_desc:"Unlink", 
    37 image_desc:"Insert/edit image", 
    38 cleanup_desc:"Cleanup messy code", 
    39 code_desc:"Edit HTML Source", 
    40 sub_desc:"Subscript", 
    41 sup_desc:"Superscript", 
    42 hr_desc:"Insert horizontal ruler", 
    43 removeformat_desc:"Remove formatting", 
    44 custom1_desc:"Your custom description here", 
    45 forecolor_desc:"Select text color", 
    46 backcolor_desc:"Select background color", 
    47 charmap_desc:"Insert custom character", 
    48 visualaid_desc:"Toggle guidelines/invisible elements", 
    49 anchor_desc:"Insert/edit anchor", 
    50 cut_desc:"Cut", 
    51 copy_desc:"Copy", 
    52 paste_desc:"Paste", 
    53 image_props_desc:"Image properties", 
    54 newdocument_desc:"New document", 
    55 help_desc:"Help", 
    56 blockquote_desc:"Blockquote", 
    57 clipboard_msg:"Copy/Cut/Paste is not available in Mozilla and Firefox.\r\nDo you want more information about this issue?", 
    58 path:"Path", 
    59 newdocument:"Are you sure you want clear all contents?", 
    60 toolbar_focus:"Jump to tool buttons - Alt+Q, Jump to editor - Alt-Z, Jump to element path - Alt-X", 
    61 more_colors:"More colors" 
    62 }); 
    63  No newline at end of file 
  • wp-includes/js/tinymce/themes/advanced/langs/en.js

     
    1 tinyMCE.addI18n('en.advanced',{ 
    2 style_select:"Styles", 
    3 font_size:"Font size", 
    4 fontdefault:"Font family", 
    5 block:"Format", 
    6 paragraph:"Paragraph", 
    7 div:"Div", 
    8 address:"Address", 
    9 pre:"Preformatted", 
    10 h1:"Heading 1", 
    11 h2:"Heading 2", 
    12 h3:"Heading 3", 
    13 h4:"Heading 4", 
    14 h5:"Heading 5", 
    15 h6:"Heading 6", 
    16 blockquote:"Blockquote", 
    17 code:"Code", 
    18 samp:"Code sample", 
    19 dt:"Definition term ", 
    20 dd:"Definition description", 
    21 bold_desc:"Bold (Ctrl+B)", 
    22 italic_desc:"Italic (Ctrl+I)", 
    23 underline_desc:"Underline (Ctrl+U)", 
    24 striketrough_desc:"Strikethrough", 
    25 justifyleft_desc:"Align left", 
    26 justifycenter_desc:"Align center", 
    27 justifyright_desc:"Align right", 
    28 justifyfull_desc:"Align full", 
    29 bullist_desc:"Unordered list", 
    30 numlist_desc:"Ordered list", 
    31 outdent_desc:"Outdent", 
    32 indent_desc:"Indent", 
    33 undo_desc:"Undo (Ctrl+Z)", 
    34 redo_desc:"Redo (Ctrl+Y)", 
    35 link_desc:"Insert/edit link", 
    36 unlink_desc:"Unlink", 
    37 image_desc:"Insert/edit image", 
    38 cleanup_desc:"Cleanup messy code", 
    39 code_desc:"Edit HTML Source", 
    40 sub_desc:"Subscript", 
    41 sup_desc:"Superscript", 
    42 hr_desc:"Insert horizontal ruler", 
    43 removeformat_desc:"Remove formatting", 
    44 custom1_desc:"Your custom description here", 
    45 forecolor_desc:"Select text color", 
    46 backcolor_desc:"Select background color", 
    47 charmap_desc:"Insert custom character", 
    48 visualaid_desc:"Toggle guidelines/invisible elements", 
    49 anchor_desc:"Insert/edit anchor", 
    50 cut_desc:"Cut", 
    51 copy_desc:"Copy", 
    52 paste_desc:"Paste", 
    53 image_props_desc:"Image properties", 
    54 newdocument_desc:"New document", 
    55 help_desc:"Help", 
    56 blockquote_desc:"Blockquote", 
    57 clipboard_msg:"Copy/Cut/Paste is not available in Mozilla and Firefox.\r\nDo you want more information about this issue?", 
    58 path:"Path", 
    59 newdocument:"Are you sure you want clear all contents?", 
    60 toolbar_focus:"Jump to tool buttons - Alt+Q, Jump to editor - Alt-Z, Jump to element path - Alt-X", 
    61 more_colors:"More colors" 
    62 }); 
    63  No newline at end of file 
  • wp-includes/js/tinymce/themes/advanced/langs/en_dlg.js

     
    1 tinyMCE.addI18n('en.advanced_dlg',{ 
    2 about_title:"About TinyMCE", 
    3 about_general:"About", 
    4 about_help:"Help", 
    5 about_license:"License", 
    6 about_plugins:"Plugins", 
    7 about_plugin:"Plugin", 
    8 about_author:"Author", 
    9 about_version:"Version", 
    10 about_loaded:"Loaded plugins", 
    11 anchor_title:"Insert/edit anchor", 
    12 anchor_name:"Anchor name", 
    13 code_title:"HTML Source Editor", 
    14 code_wordwrap:"Word wrap", 
    15 colorpicker_title:"Select a color", 
    16 colorpicker_picker_tab:"Picker", 
    17 colorpicker_picker_title:"Color picker", 
    18 colorpicker_palette_tab:"Palette", 
    19 colorpicker_palette_title:"Palette colors", 
    20 colorpicker_named_tab:"Named", 
    21 colorpicker_named_title:"Named colors", 
    22 colorpicker_color:"Color:", 
    23 colorpicker_name:"Name:", 
    24 charmap_title:"Select custom character", 
    25 image_title:"Insert/edit image", 
    26 image_src:"Image URL", 
    27 image_alt:"Image description", 
    28 image_list:"Image list", 
    29 image_border:"Border", 
    30 image_dimensions:"Dimensions", 
    31 image_vspace:"Vertical space", 
    32 image_hspace:"Horizontal space", 
    33 image_align:"Alignment", 
    34 image_align_baseline:"Baseline", 
    35 image_align_top:"Top", 
    36 image_align_middle:"Middle", 
    37 image_align_bottom:"Bottom", 
    38 image_align_texttop:"Text top", 
    39 image_align_textbottom:"Text bottom", 
    40 image_align_left:"Left", 
    41 image_align_right:"Right", 
    42 link_title:"Insert/edit link", 
    43 link_url:"Link URL", 
    44 link_target:"Target", 
    45 link_target_same:"Open link in the same window", 
    46 link_target_blank:"Open link in a new window", 
    47 link_titlefield:"Title", 
    48 link_is_email:"The URL you entered seems to be an email address, do you want to add the required mailto: prefix?", 
    49 link_is_external:"The URL you entered seems to external link, do you want to add the required http:// prefix?", 
    50 link_list:"Link list" 
    51 }); 
    52  No newline at end of file 
  • wp-includes/js/tinymce/themes/advanced/skins/wp_theme/dialog.css

     
    115115#colorpicker #namedcolors {width:150px;} 
    116116#colorpicker #namedcolors a {display:block; float:left; width:10px; height:10px; margin:1px 1px 0 0; overflow:hidden;} 
    117117#colorpicker #colornamecontainer {margin-top:5px;} 
     118#colorpicker #picker_panel fieldset {margin:auto;width:325px;} 
     119 No newline at end of file 
  • wp-includes/js/tinymce/tiny_mce_config.php

     
    22        @ require('../../../wp-config.php'); 
    33        cache_javascript_headers(); 
    44 
    5         function wp_translate_tinymce_lang($text) { 
     5        // deprecated 
     6    function wp_translate_tinymce_lang($text) { 
    67                if ( ! function_exists('__') ) { 
    78                        return $text; 
    89                } else { 
     
    5253        if ( $_SERVER['HTTPS'] == 'on' ) 
    5354                $mce_css = str_replace('http://', 'https://', $mce_css); 
    5455 
    55         $mce_locale = ( '' == get_locale() ) ? 'en' : strtolower(get_locale()); 
     56        $mce_locale = ( '' == get_locale() ) ? 'en' : strtolower( substr(get_locale(), 0, 2) ); // only ISO 639-1 
    5657?> 
    5758 
    5859initArray = { 
     
    7677        convert_urls : false, 
    7778        relative_urls : false, 
    7879        remove_script_host : false, 
    79         force_p_newlines : true, 
    80         force_br_newlines : false, 
    81         convert_newlines_to_brs : false, 
    82         remove_linebreaks : false, 
    8380        fix_list_elements : true, 
    8481        fix_table_elements : true, 
    8582        gecko_spellcheck : true, 
     
    8986        content_css : "<?php echo $mce_css; ?>", 
    9087        <?php if ( $valid_elements ) echo 'valid_elements : "' . $valid_elements . '",' . "\n"; ?> 
    9188        <?php if ( $invalid_elements ) echo 'invalid_elements : "' . $invalid_elements . '",' . "\n"; ?> 
    92     save_callback : "switchEditors.saveCallback", 
     89        save_callback : "switchEditors.saveCallback", 
    9390<?php do_action('mce_options'); ?> 
    9491        plugins : "<?php echo $plugins; ?>" 
    9592}; 
  • wp-includes/js/tinymce/tiny_mce_gzip.php

     
    11<?php 
    2 /** 
     2/** Based on: 
    33 * $Id: tiny_mce_gzip.php 315 2007-10-25 14:03:43Z spocke $ 
    44 * 
    55 * @author Moxiecode 
     
    1010 * Notice: This script defaults the button_tile_map option to true for extra performance. 
    1111 */ 
    1212 
    13 //error_reporting(E_ALL); 
    14     @require_once('../../../wp-config.php');  // For get_bloginfo(). 
     13@require_once('../../../wp-config.php');  // For get_bloginfo(). 
     14cache_javascript_headers(); 
    1515 
    16     // Headers 
    17     $expiresOffset = 3600 * 24 * 10; // Cache for 10 days in browser cache 
    18         header("Content-type: text/javascript"); 
    19         header("Vary: Accept-Encoding");  // Handle proxies 
    20         header("Expires: " . gmdate("D, d M Y H:i:s", time() + $expiresOffset) . " GMT"); 
    21  
    2216if ( isset($_GET['load']) ) { 
    2317 
    24     function getParam( $name, $def = false ) { 
     18        function getParam( $name, $def = false ) { 
    2519                if ( ! isset($_GET[$name]) ) 
    2620                        return $def; 
    2721 
     
    3125        function getFileContents($path) { 
    3226                $path = realpath($path); 
    3327 
    34                 if ( !$path || !@is_file($path) ) 
     28                if ( ! $path || !@is_file($path) ) 
    3529                        return ''; 
    3630 
    3731                if ( function_exists('file_get_contents') ) 
     
    5246 
    5347        function putFileContents( $path, $content ) { 
    5448                if ( function_exists('file_put_contents') ) 
    55                         return @file_put_contents($path, $content); 
     49                        return @file_put_contents( $path, $content ); 
    5650 
    5751                $fp = @fopen($path, 'wb'); 
    5852                if ($fp) { 
     
    6155                } 
    6256        } 
    6357 
     58        // WP defaults 
     59        $themes = explode( ',', getParam('themes', 'advanced') ); 
    6460 
    65         // Get input 
     61        $language = getParam( 'languages', 'en' ); 
     62        $language = strtolower( substr($language, 0, 2) ); // only ISO 639-1 
     63 
    6664        $plugins = explode( ',', getParam('plugins', '') ); 
    67         $languages = explode( ',', getParam('languages', '') ); 
    68         $themes = explode( ',', getParam('themes', '') ); 
    69         $diskCache = getParam( 'diskcache', '' ) == 'true'; 
    70         $isJS = getParam( 'js', '' ) == 'true'; 
    71         $compress = getParam( 'compress', 'true' ) == 'true'; 
    72         $core = getParam( 'core', 'true' ) == 'true'; 
    73         $suffix = getParam( 'suffix', '_src' ) == '_src' ? '_src' : ''; 
    7465        $cachePath = realpath('.'); // Cache path, this is where the .gz files will be stored 
    7566 
    76         $content = ''; 
    7767        $encodings = array(); 
    78         $supportsGzip = false; 
    79         $enc = ''; 
    80         $cacheKey = ''; 
     68        $supportsGzip = $diskCache = false; 
     69        $compress = $core = true; 
     70        $suffix = $content = $enc = $cacheKey = ''; 
    8171 
    82         // WP. Language handling could be improved... Concat all translated langs files and store in /wp-content/languages as .mo? 
    83         $theme = getParam( 'theme', 'advanced' ); 
    84         $themes = array($theme); 
    85  
    86     $language = getParam( 'language', 'en' ); 
    87     $languages = array($language); 
    88  
    89     if ( $language != strtolower($language) ) 
    90                 $languages[] = strtolower($language); 
    91  
    92     if ( $language != substr($language, 0, 2) ) 
    93                 $languages[] = substr($language, 0, 2); 
    94  
    95     $diskCache = false; 
    96         $isJS = true; 
    97         $suffix = ''; 
    98  
    9972        // Custom extra javascripts to pack 
    10073        // WP - add a hook for external plugins to be compressed too? 
    10174        $custom = array(/* 
     
    10376                'some custom .js file' 
    10477        */); 
    10578 
    106         // Is called directly then auto init with default settings 
    107         if ( ! $isJS ) { 
    108                 echo getFileContents('tiny_mce_gzip.js'); 
    109                 echo 'tinyMCE_GZ.init({});'; 
    110                 die(); 
    111         } 
    112  
    113     // Setup cache info 
     79        // Setup cache info 
    11480        if ( $diskCache ) { 
    11581                if ( ! $cachePath ) 
    11682                        die('Real path failed.'); 
     
    12995        } 
    13096 
    13197        // Check if it supports gzip 
    132         if ( isset($_SERVER['HTTP_ACCEPT_ENCODING']) ) 
    133                 $encodings = explode( ',', strtolower( preg_replace('/\s+/', '', $_SERVER['HTTP_ACCEPT_ENCODING']) ) ); 
     98        if ( isset( $_SERVER['HTTP_ACCEPT_ENCODING'] ) ) 
     99                $encodings = explode(',', strtolower(preg_replace( '/\s+/', '', $_SERVER['HTTP_ACCEPT_ENCODING']) ) ); 
    134100 
    135         if ( ( in_array('gzip', $encodings) || in_array('x-gzip', $encodings) || isset($_SERVER['---------------']) ) && function_exists('ob_gzhandler') && !ini_get('zlib.output_compression') ) { 
     101        if ( ( in_array('gzip', $encodings ) || in_array( 'x-gzip', $encodings ) || isset($_SERVER['---------------']) ) && function_exists( 'ob_gzhandler' ) && ! ini_get('zlib.output_compression') ) { 
    136102                $enc = in_array( 'x-gzip', $encodings ) ? 'x-gzip' : 'gzip'; 
    137103                $supportsGzip = true; 
    138104        } 
     
    142108                if ( $compress ) 
    143109                        header('Content-Encoding: ' . $enc); 
    144110 
    145                 echo getFileContents($cacheFile); 
     111                echo getFileContents( $cacheFile ); 
    146112                die(); 
    147113        } 
    148114 
    149115        // Add core 
    150116        if ( $core == 'true' ) { 
    151                 $content .= getFileContents('tiny_mce' . $suffix . '.js'); 
     117                $content .= getFileContents( 'tiny_mce' . $suffix . '.js' ); 
    152118 
    153119                // Patch loading functions 
    154120                $content .= 'tinyMCE_GZ.start();'; 
    155121        } 
    156122 
    157         // Add core languages 
    158         $lang_content = ''; 
    159         foreach ( $languages as $lang ) 
    160                 $lang_content .= getFileContents('langs/' . $lang . '.js'); 
     123        // Add all languages (WP) 
     124        include_once( dirname(__file__).'/langs/wp-langs.php' ); 
     125        $content .= $strings; 
    161126 
    162     if ( empty($lang_content) && file_exists('langs/en.js') ) 
    163                 $lang_content .= getFileContents('langs/en.js'); 
    164  
    165     $content .= $lang_content; 
    166  
    167127        // Add themes 
    168         foreach ( $themes as $theme ) { 
    169                 $content .= getFileContents( 'themes/' . $theme . '/editor_template' . $suffix . '.js'); 
    170  
    171                 $lang_content = ''; 
    172                 foreach ( $languages as $lang ) 
    173                         $lang_content .= getFileContents( 'themes/' . $theme . '/langs/' . $lang . '.js' ); 
    174  
    175         if ( empty($lang_content) && file_exists( 'themes/' . $theme . '/langs/en.js' ) ) 
    176                         $lang_content .= getFileContents( 'themes/' . $theme . '/langs/en.js' ); 
    177  
    178         $content .= $lang_content; 
    179         } 
    180  
     128        foreach ( $themes as $theme )  
     129                $content .= getFileContents( 'themes/' . $theme . '/editor_template' . $suffix . '.js' ); 
     130         
    181131        // Add plugins 
    182         foreach ( $plugins as $plugin ) { 
    183                 $content .= getFileContents('plugins/' . $plugin . '/editor_plugin' . $suffix . '.js'); 
     132        foreach ( $plugins as $plugin )  
     133                $content .= getFileContents( 'plugins/' . $plugin . '/editor_plugin' . $suffix . '.js' ); 
    184134 
    185                 $lang_content = ''; 
    186                 foreach ( $languages as $lang ) 
    187                         $lang_content .= getFileContents( 'plugins/' . $plugin . '/langs/' . $lang . '.js' ); 
    188  
    189         if ( empty($lang_content) && file_exists( 'plugins/' . $plugin . '/langs/en.js' ) ) 
    190                         $lang_content .= getFileContents( 'plugins/' . $plugin . '/langs/en.js' ); 
    191  
    192         $content .= $lang_content; 
    193         } 
    194  
    195135        // Add custom files 
    196136        foreach ( $custom as $file ) 
    197137                $content .= getFileContents($file); 
     
    209149                        $cacheData = $content; 
    210150 
    211151                // Write gz file 
    212                 if ( $diskCache && $cacheKey != '' ) 
     152                if ( $diskCache && '' != $cacheKey ) 
    213153                        putFileContents( $cacheFile, $cacheData ); 
    214154 
    215155                // Stream to client 
     
    236176                suffix : '' 
    237177        }, 
    238178 
    239     opt : {}, 
     179        opt : {}, 
    240180 
    241         init : function(arr, cb) { 
    242                 var t = this, n, s, nl = document.getElementsByTagName('script'); 
     181        init : function(o, cb) { 
     182                var t = this, n, s = t.settings, nl = document.getElementsByTagName('script'); 
    243183 
    244         t.opt = arr; 
     184                t.opt = o; 
    245185 
    246                 t.settings.themes = arr.theme; 
    247         t.settings.plugins = arr.plugins; 
    248         t.settings.languages = arr.language; 
    249         s = t.settings; 
    250         t.cb = cb || ''; 
     186                s.themes = o.theme; 
     187                s.plugins = o.plugins;  
     188                s.languages = o.language; 
     189                t.settings = s; 
    251190 
     191                t.cb = cb || ''; 
     192 
    252193                for (i=0; i<nl.length; i++) { 
    253194                        n = nl[i]; 
    254195 
    255196                        if (n.src && n.src.indexOf('tiny_mce') != -1) 
    256197                                t.baseURL = n.src.substring(0, n.src.lastIndexOf('/')); 
    257198                } 
    258         tinyMCEPreInit.base = t.baseURL; 
    259  
     199                tinyMCEPreInit.base = t.baseURL; 
     200                 
    260201                if (!t.coreLoaded) 
    261202                        t.loadScripts(1, s.themes, s.plugins, s.languages); 
    262203        }, 
     
    281222                if (co) 
    282223                        t.coreLoaded = 1; 
    283224 
    284     // Easier to debug with this... 
    285225        //      document.write('<sc'+'ript language="javascript" type="text/javascript" src="' + t.baseURL + '/' + s.page_name + '?' + q + '"></script>'); 
    286226 
    287227                // Send request 
  • wp-includes/js/tinymce/tiny_mce_popup.js

     
    8383        requireLangPack : function() { 
    8484                var u = this.getWindowArg('plugin_url') || this.getWindowArg('theme_url'); 
    8585 
    86                 if (u) 
     86                if (u && u.indexOf('wp-includes') == -1 ) 
    8787                        document.write('<script type="text/javascript" src="' + u + '/langs/' + this.editor.settings.language + '_dlg.js' + '"></script>'); 
    8888        }, 
    8989