|
1 <?php |
|
2 |
|
3 function mce_put_file( $path, $content ) { |
|
4 if ( function_exists('file_put_contents') ) |
|
5 return @file_put_contents( $path, $content ); |
|
6 |
|
7 $newfile = false; |
|
8 $fp = @fopen( $path, 'wb' ); |
|
9 if ($fp) { |
|
10 $newfile = fwrite( $fp, $content ); |
|
11 fclose($fp); |
|
12 } |
|
13 return $newfile; |
|
14 } |
|
15 |
|
16 // escape text only if it needs translating |
|
17 function mce_escape($text) { |
|
18 global $language; |
|
19 |
|
20 if ( 'en' == $language ) return $text; |
|
21 else return esc_js($text); |
|
22 } |
|
23 |
|
24 $lang = 'tinyMCE.addI18n({' . $language . ':{ |
|
25 common:{ |
|
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 '; |