PageRenderTime 42ms CodeModel.GetById 12ms RepoModel.GetById 0ms app.codeStats 0ms

/wp-includes/js/tinymce/langs/wp-langs.php

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