PageRenderTime 52ms CodeModel.GetById 20ms RepoModel.GetById 0ms app.codeStats 1ms

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

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