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