Ticket #5769: tmce-translation.patch
File tmce-translation.patch, 51.8 KB (added by , 16 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 4 function 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 . ':{ 12 common:{ 13 edit_confirm:"' . mce_escape( __('Do you want to use the WYSIWYG mode for this textarea?') ) . '", 14 apply:"' . mce_escape( __('Apply') ) . '", 15 insert:"' . mce_escape( __('Insert') ) . '", 16 update:"' . mce_escape( __('Update') ) . '", 17 cancel:"' . mce_escape( __('Cancel') ) . '", 18 close:"' . mce_escape( __('Close') ) . '", 19 browse:"' . mce_escape( __('Browse') ) . '", 20 class_name:"' . mce_escape( __('Class') ) . '", 21 not_set:"' . mce_escape( __('-- Not set --') ) . '", 22 clipboard_msg:"' . mce_escape( __('Copy/Cut/Paste is not available in Mozilla and Firefox.') ) . '", 23 clipboard_no_support:"' . mce_escape( __('Currently not supported by your browser, use keyboard shortcuts instead.') ) . '", 24 popup_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.') ) . '", 25 invalid_data:"' . mce_escape( __('Error: Invalid values entered, these are marked in red.') ) . '", 26 more_colors:"' . mce_escape( __('More colors') ) . '" 27 }, 28 contextmenu:{ 29 align:"' . mce_escape( __('Alignment') ) . '", 30 left:"' . mce_escape( __('Left') ) . '", 31 center:"' . mce_escape( __('Center') ) . '", 32 right:"' . mce_escape( __('Right') ) . '", 33 full:"' . mce_escape( __('Full') ) . '" 34 }, 35 insertdatetime:{ 36 date_fmt:"' . mce_escape( __('%Y-%m-%d') ) . '", 37 time_fmt:"' . mce_escape( __('%H:%M:%S') ) . '", 38 insertdate_desc:"' . mce_escape( __('Insert date') ) . '", 39 inserttime_desc:"' . mce_escape( __('Insert time') ) . '", 40 months_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.') ) . '", 41 months_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.') ) . '", 42 day_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.') ) . '", 43 day_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 }, 45 print:{ 46 print_desc:"' . mce_escape( __('Print') ) . '" 47 }, 48 preview:{ 49 preview_desc:"' . mce_escape( __('Preview') ) . '" 50 }, 51 directionality:{ 52 ltr_desc:"' . mce_escape( __('Direction left to right') ) . '", 53 rtl_desc:"' . mce_escape( __('Direction right to left') ) . '" 54 }, 55 layer:{ 56 insertlayer_desc:"' . mce_escape( __('Insert new layer') ) . '", 57 forward_desc:"' . mce_escape( __('Move forward') ) . '", 58 backward_desc:"' . mce_escape( __('Move backward') ) . '", 59 absolute_desc:"' . mce_escape( __('Toggle absolute positioning') ) . '", 60 content:"' . mce_escape( __('New layer...') ) . '" 61 }, 62 save:{ 63 save_desc:"' . mce_escape( __('Save') ) . '", 64 cancel_desc:"' . mce_escape( __('Cancel all changes') ) . '" 65 }, 66 nonbreaking:{ 67 nonbreaking_desc:"' . mce_escape( __('Insert non-breaking space character') ) . '" 68 }, 69 iespell:{ 70 iespell_desc:"' . mce_escape( __('Run spell checking') ) . '", 71 download:"' . mce_escape( __('ieSpell not detected. Do you want to install it now?') ) . '" 72 }, 73 advhr:{ 74 advhr_desc:"' . mce_escape( __('Horizontale rule') ) . '" 75 }, 76 emotions:{ 77 emotions_desc:"' . mce_escape( __('Emotions') ) . '" 78 }, 79 searchreplace:{ 80 search_desc:"' . mce_escape( __('Find') ) . '", 81 replace_desc:"' . mce_escape( __('Find/Replace') ) . '" 82 }, 83 advimage:{ 84 image_desc:"' . mce_escape( __('Insert/edit image') ) . '" 85 }, 86 advlink:{ 87 link_desc:"' . mce_escape( __('Insert/edit link') ) . '" 88 }, 89 xhtmlxtras:{ 90 cite_desc:"' . mce_escape( __('Citation') ) . '", 91 abbr_desc:"' . mce_escape( __('Abbreviation') ) . '", 92 acronym_desc:"' . mce_escape( __('Acronym') ) . '", 93 del_desc:"' . mce_escape( __('Deletion') ) . '", 94 ins_desc:"' . mce_escape( __('Insertion') ) . '", 95 attribs_desc:"' . mce_escape( __('Insert/Edit Attributes') ) . '" 96 }, 97 style:{ 98 desc:"' . mce_escape( __('Edit CSS Style') ) . '" 99 }, 100 paste:{ 101 paste_text_desc:"' . mce_escape( __('Paste as Plain Text') ) . '", 102 paste_word_desc:"' . mce_escape( __('Paste from Word') ) . '", 103 selectall_desc:"' . mce_escape( __('Select All') ) . '" 104 }, 105 paste_dlg:{ 106 text_title:"' . mce_escape( __('Use CTRL+V on your keyboard to paste the text into the window.') ) . '", 107 text_linebreaks:"' . mce_escape( __('Keep linebreaks') ) . '", 108 word_title:"' . mce_escape( __('Use CTRL+V on your keyboard to paste the text into the window.') ) . '" 109 }, 110 table:{ 111 desc:"' . mce_escape( __('Inserts a new table') ) . '", 112 row_before_desc:"' . mce_escape( __('Insert row before') ) . '", 113 row_after_desc:"' . mce_escape( __('Insert row after') ) . '", 114 delete_row_desc:"' . mce_escape( __('Delete row') ) . '", 115 col_before_desc:"' . mce_escape( __('Insert column before') ) . '", 116 col_after_desc:"' . mce_escape( __('Insert column after') ) . '", 117 delete_col_desc:"' . mce_escape( __('Remove column') ) . '", 118 split_cells_desc:"' . mce_escape( __('Split merged table cells') ) . '", 119 merge_cells_desc:"' . mce_escape( __('Merge table cells') ) . '", 120 row_desc:"' . mce_escape( __('Table row properties') ) . '", 121 cell_desc:"' . mce_escape( __('Table cell properties') ) . '", 122 props_desc:"' . mce_escape( __('Table properties') ) . '", 123 paste_row_before_desc:"' . mce_escape( __('Paste table row before') ) . '", 124 paste_row_after_desc:"' . mce_escape( __('Paste table row after') ) . '", 125 cut_row_desc:"' . mce_escape( __('Cut table row') ) . '", 126 copy_row_desc:"' . mce_escape( __('Copy table row') ) . '", 127 del:"' . mce_escape( __('Delete table') ) . '", 128 row:"' . mce_escape( __('Row') ) . '", 129 col:"' . mce_escape( __('Column') ) . '", 130 cell:"' . mce_escape( __('Cell') ) . '" 131 }, 132 autosave:{ 133 unload_msg:"' . mce_escape( __('The changes you made will be lost if you navigate away from this page.') ) . '" 134 }, 135 fullscreen:{ 136 desc:"' . mce_escape( __('Toggle fullscreen mode') ) . '" 137 }, 138 media:{ 139 desc:"' . mce_escape( __('Insert / edit embedded media') ) . '", 140 delta_width:"' . mce_escape( _c('0| Extra width for the media popup in pixels') ) . '", 141 delta_height:"' . mce_escape( _c('0| Extra height for the media popup in pixels') ) . '", 142 edit:"' . mce_escape( __('Edit embedded media') ) . '" 143 }, 144 fullpage:{ 145 desc:"' . mce_escape( __('Document properties') ) . '" 146 }, 147 template:{ 148 desc:"' . mce_escape( __('Insert predefined template content') ) . '" 149 }, 150 visualchars:{ 151 desc:"' . mce_escape( __('Visual control characters on/off.') ) . '" 152 }, 153 spellchecker:{ 154 desc:"' . mce_escape( __('Toggle spellchecker') ) . '", 155 menu:"' . mce_escape( __('Spellchecker settings') ) . '", 156 ignore_word:"' . mce_escape( __('Ignore word') ) . '", 157 ignore_words:"' . mce_escape( __('Ignore all') ) . '", 158 langs:"' . mce_escape( __('Languages') ) . '", 159 wait:"' . mce_escape( __('Please wait...') ) . '", 160 sug:"' . mce_escape( __('Suggestions') ) . '", 161 no_sug:"' . mce_escape( __('No suggestions') ) . '", 162 no_mpell:"' . mce_escape( __('No misspellings found.') ) . '" 163 }, 164 pagebreak:{ 165 desc:"' . mce_escape( __('Insert page break.') ) . '" 166 }}}); 167 168 tinyMCE.addI18n("' . $language . '.advanced",{ 169 style_select:"' . mce_escape( __('Styles') ) . '", 170 font_size:"' . mce_escape( __('Font size') ) . '", 171 fontdefault:"' . mce_escape( __('Font family') ) . '", 172 block:"' . mce_escape( __('Format') ) . '", 173 paragraph:"' . mce_escape( __('Paragraph') ) . '", 174 div:"' . mce_escape( __('Div') ) . '", 175 address:"' . mce_escape( __('Address') ) . '", 176 pre:"' . mce_escape( __('Preformatted') ) . '", 177 h1:"' . mce_escape( __('Heading 1') ) . '", 178 h2:"' . mce_escape( __('Heading 2') ) . '", 179 h3:"' . mce_escape( __('Heading 3') ) . '", 180 h4:"' . mce_escape( __('Heading 4') ) . '", 181 h5:"' . mce_escape( __('Heading 5') ) . '", 182 h6:"' . mce_escape( __('Heading 6') ) . '", 183 blockquote:"' . mce_escape( __('Blockquote') ) . '", 184 code:"' . mce_escape( __('Code') ) . '", 185 samp:"' . mce_escape( __('Code sample') ) . '", 186 dt:"' . mce_escape( __('Definition term ') ) . '", 187 dd:"' . mce_escape( __('Definition description') ) . '", 188 bold_desc:"' . mce_escape( __('Bold (Ctrl+B)') ) . '", 189 italic_desc:"' . mce_escape( __('Italic (Ctrl+I)') ) . '", 190 underline_desc:"' . mce_escape( __('Underline (Ctrl+U)') ) . '", 191 striketrough_desc:"' . mce_escape( __('Strikethrough') ) . '", 192 justifyleft_desc:"' . mce_escape( __('Align left') ) . '", 193 justifycenter_desc:"' . mce_escape( __('Align center') ) . '", 194 justifyright_desc:"' . mce_escape( __('Align right') ) . '", 195 justifyfull_desc:"' . mce_escape( __('Align full') ) . '", 196 bullist_desc:"' . mce_escape( __('Unordered list') ) . '", 197 numlist_desc:"' . mce_escape( __('Ordered list') ) . '", 198 outdent_desc:"' . mce_escape( __('Outdent') ) . '", 199 indent_desc:"' . mce_escape( __('Indent') ) . '", 200 undo_desc:"' . mce_escape( __('Undo (Ctrl+Z)') ) . '", 201 redo_desc:"' . mce_escape( __('Redo (Ctrl+Y)') ) . '", 202 link_desc:"' . mce_escape( __('Insert/edit link') ) . '", 203 link_delta_width:"' . mce_escape( _c('0| Extra width for the link popup in pixels') ) . '", 204 link_delta_height:"' . mce_escape( _c('0| Extra height for the link popup in pixels') ) . '", 205 unlink_desc:"' . mce_escape( __('Unlink') ) . '", 206 image_desc:"' . mce_escape( __('Insert/edit image') ) . '", 207 image_delta_width:"' . mce_escape( _c('0| Extra width for the image popup in pixels') ) . '", 208 image_delta_height:"' . mce_escape( _c('0| Extra height for the image popup in pixels') ) . '", 209 cleanup_desc:"' . mce_escape( __('Cleanup messy code') ) . '", 210 code_desc:"' . mce_escape( __('Edit HTML Source') ) . '", 211 sub_desc:"' . mce_escape( __('Subscript') ) . '", 212 sup_desc:"' . mce_escape( __('Superscript') ) . '", 213 hr_desc:"' . mce_escape( __('Insert horizontal ruler') ) . '", 214 removeformat_desc:"' . mce_escape( __('Remove formatting') ) . '", 215 forecolor_desc:"' . mce_escape( __('Select text color') ) . '", 216 backcolor_desc:"' . mce_escape( __('Select background color') ) . '", 217 charmap_desc:"' . mce_escape( __('Insert custom character') ) . '", 218 visualaid_desc:"' . mce_escape( __('Toggle guidelines/invisible elements') ) . '", 219 anchor_desc:"' . mce_escape( __('Insert/edit anchor') ) . '", 220 cut_desc:"' . mce_escape( __('Cut') ) . '", 221 copy_desc:"' . mce_escape( __('Copy') ) . '", 222 paste_desc:"' . mce_escape( __('Paste') ) . '", 223 image_props_desc:"' . mce_escape( __('Image properties') ) . '", 224 newdocument_desc:"' . mce_escape( __('New document') ) . '", 225 help_desc:"' . mce_escape( __('Help') ) . '", 226 blockquote_desc:"' . mce_escape( __('Blockquote') ) . '", 227 clipboard_msg:"' . mce_escape( __('Copy/Cut/Paste is not available in Mozilla and Firefox.') ) . '", 228 path:"' . mce_escape( __('Path') ) . '", 229 newdocument:"' . mce_escape( __('Are you sure you want to clear all contents?') ) . '", 230 toolbar_focus:"' . mce_escape( __('Jump to tool buttons - Alt+Q, Jump to editor - Alt-Z, Jump to element path - Alt-X') ) . '", 231 more_colors:"' . mce_escape( __('More colors') ) . '", 232 colorpicker_delta_width:"' . mce_escape( _c('0| Extra width for the colorpicker popup in pixels') ) . '", 233 colorpicker_delta_height:"' . mce_escape( _c('0| Extra height for the colorpicker popup in pixels') ) . '" 234 }); 235 236 tinyMCE.addI18n("' . $language . '.advanced_dlg",{ 237 about_title:"' . mce_escape( __('About TinyMCE') ) . '", 238 about_general:"' . mce_escape( __('About') ) . '", 239 about_help:"' . mce_escape( __('Help') ) . '", 240 about_license:"' . mce_escape( __('License') ) . '", 241 about_plugins:"' . mce_escape( __('Plugins') ) . '", 242 about_plugin:"' . mce_escape( __('Plugin') ) . '", 243 about_author:"' . mce_escape( __('Author') ) . '", 244 about_version:"' . mce_escape( __('Version') ) . '", 245 about_loaded:"' . mce_escape( __('Loaded plugins') ) . '", 246 anchor_title:"' . mce_escape( __('Insert/edit anchor') ) . '", 247 anchor_name:"' . mce_escape( __('Anchor name') ) . '", 248 code_title:"' . mce_escape( __('HTML Source Editor') ) . '", 249 code_wordwrap:"' . mce_escape( __('Word wrap') ) . '", 250 colorpicker_title:"' . mce_escape( __('Select a color') ) . '", 251 colorpicker_picker_tab:"' . mce_escape( __('Picker') ) . '", 252 colorpicker_picker_title:"' . mce_escape( __('Color picker') ) . '", 253 colorpicker_palette_tab:"' . mce_escape( __('Palette') ) . '", 254 colorpicker_palette_title:"' . mce_escape( __('Palette colors') ) . '", 255 colorpicker_named_tab:"' . mce_escape( __('Named') ) . '", 256 colorpicker_named_title:"' . mce_escape( __('Named colors') ) . '", 257 colorpicker_color:"' . mce_escape( __('Color:') ) . '", 258 colorpicker_name:"' . mce_escape( __('Name:') ) . '", 259 charmap_title:"' . mce_escape( __('Select custom character') ) . '", 260 image_title:"' . mce_escape( __('Insert/edit image') ) . '", 261 image_src:"' . mce_escape( __('Image URL') ) . '", 262 image_alt:"' . mce_escape( __('Image description') ) . '", 263 image_list:"' . mce_escape( __('Image list') ) . '", 264 image_border:"' . mce_escape( __('Border') ) . '", 265 image_dimensions:"' . mce_escape( __('Dimensions') ) . '", 266 image_vspace:"' . mce_escape( __('Vertical space') ) . '", 267 image_hspace:"' . mce_escape( __('Horizontal space') ) . '", 268 image_align:"' . mce_escape( __('Alignment') ) . '", 269 image_align_baseline:"' . mce_escape( __('Baseline') ) . '", 270 image_align_top:"' . mce_escape( __('Top') ) . '", 271 image_align_middle:"' . mce_escape( __('Middle') ) . '", 272 image_align_bottom:"' . mce_escape( __('Bottom') ) . '", 273 image_align_texttop:"' . mce_escape( __('Text top') ) . '", 274 image_align_textbottom:"' . mce_escape( __('Text bottom') ) . '", 275 image_align_left:"' . mce_escape( __('Left') ) . '", 276 image_align_right:"' . mce_escape( __('Right') ) . '", 277 link_title:"' . mce_escape( __('Insert/edit link') ) . '", 278 link_url:"' . mce_escape( __('Link URL') ) . '", 279 link_target:"' . mce_escape( __('Target') ) . '", 280 link_target_same:"' . mce_escape( __('Open link in the same window') ) . '", 281 link_target_blank:"' . mce_escape( __('Open link in a new window') ) . '", 282 link_titlefield:"' . mce_escape( __('Title') ) . '", 283 link_is_email:"' . mce_escape( __('The URL you entered seems to be an email address, do you want to add the required mailto: prefix?') ) . '", 284 link_is_external:"' . mce_escape( __('The URL you entered seems to external link, do you want to add the required http:// prefix?') ) . '", 285 link_list:"' . mce_escape( __('Link list') ) . '" 286 }); 287 288 tinyMCE.addI18n("' . $language . '.media_dlg",{ 289 title:"' . mce_escape( __('Insert / edit embedded media') ) . '", 290 general:"' . mce_escape( __('General') ) . '", 291 advanced:"' . mce_escape( __('Advanced') ) . '", 292 file:"' . mce_escape( __('File/URL') ) . '", 293 list:"' . mce_escape( __('List') ) . '", 294 size:"' . mce_escape( __('Dimensions') ) . '", 295 preview:"' . mce_escape( __('Preview') ) . '", 296 constrain_proportions:"' . mce_escape( __('Constrain proportions') ) . '", 297 type:"' . mce_escape( __('Type') ) . '", 298 id:"' . mce_escape( __('Id') ) . '", 299 name:"' . mce_escape( __('Name') ) . '", 300 class_name:"' . mce_escape( __('Class') ) . '", 301 vspace:"' . mce_escape( __('V-Space') ) . '", 302 hspace:"' . mce_escape( __('H-Space') ) . '", 303 play:"' . mce_escape( __('Auto play') ) . '", 304 loop:"' . mce_escape( __('Loop') ) . '", 305 menu:"' . mce_escape( __('Show menu') ) . '", 306 quality:"' . mce_escape( __('Quality') ) . '", 307 scale:"' . mce_escape( __('Scale') ) . '", 308 align:"' . mce_escape( __('Align') ) . '", 309 salign:"' . mce_escape( __('SAlign') ) . '", 310 wmode:"' . mce_escape( __('WMode') ) . '", 311 bgcolor:"' . mce_escape( __('Background') ) . '", 312 base:"' . mce_escape( __('Base') ) . '", 313 flashvars:"' . mce_escape( __('Flashvars') ) . '", 314 liveconnect:"' . mce_escape( __('SWLiveConnect') ) . '", 315 autohref:"' . mce_escape( __('AutoHREF') ) . '", 316 cache:"' . mce_escape( __('Cache') ) . '", 317 hidden:"' . mce_escape( __('Hidden') ) . '", 318 controller:"' . mce_escape( __('Controller') ) . '", 319 kioskmode:"' . mce_escape( __('Kiosk mode') ) . '", 320 playeveryframe:"' . mce_escape( __('Play every frame') ) . '", 321 targetcache:"' . mce_escape( __('Target cache') ) . '", 322 correction:"' . mce_escape( __('No correction') ) . '", 323 enablejavascript:"' . mce_escape( __('Enable JavaScript') ) . '", 324 starttime:"' . mce_escape( __('Start time') ) . '", 325 endtime:"' . mce_escape( __('End time') ) . '", 326 href:"' . mce_escape( __('Href') ) . '", 327 qtsrcchokespeed:"' . mce_escape( __('Choke speed') ) . '", 328 target:"' . mce_escape( __('Target') ) . '", 329 volume:"' . mce_escape( __('Volume') ) . '", 330 autostart:"' . mce_escape( __('Auto start') ) . '", 331 enabled:"' . mce_escape( __('Enabled') ) . '", 332 fullscreen:"' . mce_escape( __('Fullscreen') ) . '", 333 invokeurls:"' . mce_escape( __('Invoke URLs') ) . '", 334 mute:"' . mce_escape( __('Mute') ) . '", 335 stretchtofit:"' . mce_escape( __('Stretch to fit') ) . '", 336 windowlessvideo:"' . mce_escape( __('Windowless video') ) . '", 337 balance:"' . mce_escape( __('Balance') ) . '", 338 baseurl:"' . mce_escape( __('Base URL') ) . '", 339 captioningid:"' . mce_escape( __('Captioning id') ) . '", 340 currentmarker:"' . mce_escape( __('Current marker') ) . '", 341 currentposition:"' . mce_escape( __('Current position') ) . '", 342 defaultframe:"' . mce_escape( __('Default frame') ) . '", 343 playcount:"' . mce_escape( __('Play count') ) . '", 344 rate:"' . mce_escape( __('Rate') ) . '", 345 uimode:"' . mce_escape( __('UI Mode') ) . '", 346 flash_options:"' . mce_escape( __('Flash options') ) . '", 347 qt_options:"' . mce_escape( __('Quicktime options') ) . '", 348 wmp_options:"' . mce_escape( __('Windows media player options') ) . '", 349 rmp_options:"' . mce_escape( __('Real media player options') ) . '", 350 shockwave_options:"' . mce_escape( __('Shockwave options') ) . '", 351 autogotourl:"' . mce_escape( __('Auto goto URL') ) . '", 352 center:"' . mce_escape( __('Center') ) . '", 353 imagestatus:"' . mce_escape( __('Image status') ) . '", 354 maintainaspect:"' . mce_escape( __('Maintain aspect') ) . '", 355 nojava:"' . mce_escape( __('No java') ) . '", 356 prefetch:"' . mce_escape( __('Prefetch') ) . '", 357 shuffle:"' . mce_escape( __('Shuffle') ) . '", 358 console:"' . mce_escape( __('Console') ) . '", 359 numloop:"' . mce_escape( __('Num loops') ) . '", 360 controls:"' . mce_escape( __('Controls') ) . '", 361 scriptcallbacks:"' . mce_escape( __('Script callbacks') ) . '", 362 swstretchstyle:"' . mce_escape( __('Stretch style') ) . '", 363 swstretchhalign:"' . mce_escape( __('Stretch H-Align') ) . '", 364 swstretchvalign:"' . mce_escape( __('Stretch V-Align') ) . '", 365 sound:"' . mce_escape( __('Sound') ) . '", 366 progress:"' . mce_escape( __('Progress') ) . '", 367 qtsrc:"' . mce_escape( __('QT Src') ) . '", 368 qt_stream_warn:"' . mce_escape( __('Streamed rtsp resources should be added to the QT Src field under the advanced tab.') ) . '", 369 align_top:"' . mce_escape( __('Top') ) . '", 370 align_right:"' . mce_escape( __('Right') ) . '", 371 align_bottom:"' . mce_escape( __('Bottom') ) . '", 372 align_left:"' . mce_escape( __('Left') ) . '", 373 align_center:"' . mce_escape( __('Center') ) . '", 374 align_top_left:"' . mce_escape( __('Top left') ) . '", 375 align_top_right:"' . mce_escape( __('Top right') ) . '", 376 align_bottom_left:"' . mce_escape( __('Bottom left') ) . '", 377 align_bottom_right:"' . mce_escape( __('Bottom right') ) . '", 378 flv_options:"' . mce_escape( __('Flash video options') ) . '", 379 flv_scalemode:"' . mce_escape( __('Scale mode') ) . '", 380 flv_buffer:"' . mce_escape( __('Buffer') ) . '", 381 flv_startimage:"' . mce_escape( __('Start image') ) . '", 382 flv_starttime:"' . mce_escape( __('Start time') ) . '", 383 flv_defaultvolume:"' . mce_escape( __('Default volumne') ) . '", 384 flv_hiddengui:"' . mce_escape( __('Hidden GUI') ) . '", 385 flv_autostart:"' . mce_escape( __('Auto start') ) . '", 386 flv_loop:"' . mce_escape( __('Loop') ) . '", 387 flv_showscalemodes:"' . mce_escape( __('Show scale modes') ) . '", 388 flv_smoothvideo:"' . mce_escape( __('Smooth video') ) . '", 389 flv_jscallback:"' . mce_escape( __('JS Callback') ) . '" 390 }); 391 392 tinyMCE.addI18n("' . $language . '.wordpress",{ 393 wp_adv_desc:"' . mce_escape( __('Show/Hide Advanced Toolbar') ) . '", 394 wp_more_desc:"' . mce_escape( __('Insert More tag') ) . '", 395 wp_page_desc:"' . mce_escape( __('Insert Page break') ) . '", 396 wp_help_desc:"' . mce_escape( __('Help') ) . '", 397 wp_more_alt:"' . mce_escape( __('More...') ) . '", 398 wp_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
115 115 #colorpicker #namedcolors {width:150px;} 116 116 #colorpicker #namedcolors a {display:block; float:left; width:10px; height:10px; margin:1px 1px 0 0; overflow:hidden;} 117 117 #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
2 2 @ require('../../../wp-config.php'); 3 3 cache_javascript_headers(); 4 4 5 function wp_translate_tinymce_lang($text) { 5 // deprecated 6 function wp_translate_tinymce_lang($text) { 6 7 if ( ! function_exists('__') ) { 7 8 return $text; 8 9 } else { … … 52 53 if ( $_SERVER['HTTPS'] == 'on' ) 53 54 $mce_css = str_replace('http://', 'https://', $mce_css); 54 55 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 56 57 ?> 57 58 58 59 initArray = { … … 76 77 convert_urls : false, 77 78 relative_urls : false, 78 79 remove_script_host : false, 79 force_p_newlines : true,80 force_br_newlines : false,81 convert_newlines_to_brs : false,82 remove_linebreaks : false,83 80 fix_list_elements : true, 84 81 fix_table_elements : true, 85 82 gecko_spellcheck : true, … … 89 86 content_css : "<?php echo $mce_css; ?>", 90 87 <?php if ( $valid_elements ) echo 'valid_elements : "' . $valid_elements . '",' . "\n"; ?> 91 88 <?php if ( $invalid_elements ) echo 'invalid_elements : "' . $invalid_elements . '",' . "\n"; ?> 92 89 save_callback : "switchEditors.saveCallback", 93 90 <?php do_action('mce_options'); ?> 94 91 plugins : "<?php echo $plugins; ?>" 95 92 }; -
wp-includes/js/tinymce/tiny_mce_gzip.php
1 1 <?php 2 /** 2 /** Based on: 3 3 * $Id: tiny_mce_gzip.php 315 2007-10-25 14:03:43Z spocke $ 4 4 * 5 5 * @author Moxiecode … … 10 10 * Notice: This script defaults the button_tile_map option to true for extra performance. 11 11 */ 12 12 13 //error_reporting(E_ALL); 14 @require_once('../../../wp-config.php'); // For get_bloginfo(). 13 @require_once('../../../wp-config.php'); // For get_bloginfo(). 14 cache_javascript_headers(); 15 15 16 // Headers17 $expiresOffset = 3600 * 24 * 10; // Cache for 10 days in browser cache18 header("Content-type: text/javascript");19 header("Vary: Accept-Encoding"); // Handle proxies20 header("Expires: " . gmdate("D, d M Y H:i:s", time() + $expiresOffset) . " GMT");21 22 16 if ( isset($_GET['load']) ) { 23 17 24 18 function getParam( $name, $def = false ) { 25 19 if ( ! isset($_GET[$name]) ) 26 20 return $def; 27 21 … … 31 25 function getFileContents($path) { 32 26 $path = realpath($path); 33 27 34 if ( ! $path || !@is_file($path) )28 if ( ! $path || !@is_file($path) ) 35 29 return ''; 36 30 37 31 if ( function_exists('file_get_contents') ) … … 52 46 53 47 function putFileContents( $path, $content ) { 54 48 if ( function_exists('file_put_contents') ) 55 return @file_put_contents( $path, $content);49 return @file_put_contents( $path, $content ); 56 50 57 51 $fp = @fopen($path, 'wb'); 58 52 if ($fp) { … … 61 55 } 62 56 } 63 57 58 // WP defaults 59 $themes = explode( ',', getParam('themes', 'advanced') ); 64 60 65 // Get input 61 $language = getParam( 'languages', 'en' ); 62 $language = strtolower( substr($language, 0, 2) ); // only ISO 639-1 63 66 64 $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' : '';74 65 $cachePath = realpath('.'); // Cache path, this is where the .gz files will be stored 75 66 76 $content = '';77 67 $encodings = array(); 78 $supportsGzip = false;79 $ enc = '';80 $ cacheKey = '';68 $supportsGzip = $diskCache = false; 69 $compress = $core = true; 70 $suffix = $content = $enc = $cacheKey = ''; 81 71 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 99 72 // Custom extra javascripts to pack 100 73 // WP - add a hook for external plugins to be compressed too? 101 74 $custom = array(/* … … 103 76 'some custom .js file' 104 77 */); 105 78 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 114 80 if ( $diskCache ) { 115 81 if ( ! $cachePath ) 116 82 die('Real path failed.'); … … 129 95 } 130 96 131 97 // 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']) ) ); 134 100 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') ) { 136 102 $enc = in_array( 'x-gzip', $encodings ) ? 'x-gzip' : 'gzip'; 137 103 $supportsGzip = true; 138 104 } … … 142 108 if ( $compress ) 143 109 header('Content-Encoding: ' . $enc); 144 110 145 echo getFileContents( $cacheFile);111 echo getFileContents( $cacheFile ); 146 112 die(); 147 113 } 148 114 149 115 // Add core 150 116 if ( $core == 'true' ) { 151 $content .= getFileContents( 'tiny_mce' . $suffix . '.js');117 $content .= getFileContents( 'tiny_mce' . $suffix . '.js' ); 152 118 153 119 // Patch loading functions 154 120 $content .= 'tinyMCE_GZ.start();'; 155 121 } 156 122 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; 161 126 162 if ( empty($lang_content) && file_exists('langs/en.js') )163 $lang_content .= getFileContents('langs/en.js');164 165 $content .= $lang_content;166 167 127 // 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 181 131 // 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' ); 184 134 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 195 135 // Add custom files 196 136 foreach ( $custom as $file ) 197 137 $content .= getFileContents($file); … … 209 149 $cacheData = $content; 210 150 211 151 // Write gz file 212 if ( $diskCache && $cacheKey != '')152 if ( $diskCache && '' != $cacheKey ) 213 153 putFileContents( $cacheFile, $cacheData ); 214 154 215 155 // Stream to client … … 236 176 suffix : '' 237 177 }, 238 178 239 179 opt : {}, 240 180 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'); 243 183 244 t.opt = arr;184 t.opt = o; 245 185 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; 251 190 191 t.cb = cb || ''; 192 252 193 for (i=0; i<nl.length; i++) { 253 194 n = nl[i]; 254 195 255 196 if (n.src && n.src.indexOf('tiny_mce') != -1) 256 197 t.baseURL = n.src.substring(0, n.src.lastIndexOf('/')); 257 198 } 258 259 199 tinyMCEPreInit.base = t.baseURL; 200 260 201 if (!t.coreLoaded) 261 202 t.loadScripts(1, s.themes, s.plugins, s.languages); 262 203 }, … … 281 222 if (co) 282 223 t.coreLoaded = 1; 283 224 284 // Easier to debug with this...285 225 // document.write('<sc'+'ript language="javascript" type="text/javascript" src="' + t.baseURL + '/' + s.page_name + '?' + q + '"></script>'); 286 226 287 227 // Send request -
wp-includes/js/tinymce/tiny_mce_popup.js
83 83 requireLangPack : function() { 84 84 var u = this.getWindowArg('plugin_url') || this.getWindowArg('theme_url'); 85 85 86 if (u )86 if (u && u.indexOf('wp-includes') == -1 ) 87 87 document.write('<script type="text/javascript" src="' + u + '/langs/' + this.editor.settings.language + '_dlg.js' + '"></script>'); 88 88 }, 89 89