PageRenderTime 50ms CodeModel.GetById 23ms RepoModel.GetById 1ms app.codeStats 0ms

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

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