Make WordPress Core


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/js/tinymce/langs/wp-langs.php

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