PageRenderTime 63ms CodeModel.GetById 15ms RepoModel.GetById 1ms app.codeStats 0ms

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

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