SyntaxHighlighter Evolved - Version 3.1.4

Version Description

Download this release

Release Info

Developer Viper007Bond
Plugin Icon wp plugin SyntaxHighlighter Evolved
Version 3.1.4
Comparing to
See all releases

Code changes from version 3.1.2 to 3.1.4

localization/_syntaxhighlighter-template.po CHANGED
@@ -1,147 +1,143 @@
1
- # Translation of the WordPress plugin SyntaxHighlighter Evolved 3.1.0 by Viper007Bond.
2
- # Copyright (C) 2010 Viper007Bond
3
  # This file is distributed under the same license as the SyntaxHighlighter Evolved package.
4
- # FIRST AUTHOR <EMAIL@ADDRESS>, 2010.
5
- #
6
- #, fuzzy
7
  msgid ""
8
  msgstr ""
9
- "Project-Id-Version: SyntaxHighlighter Evolved 3.1.0\n"
10
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/syntaxhighlighter\n"
11
- "POT-Creation-Date: 2010-11-15 23:07+0000\n"
 
 
 
12
  "PO-Revision-Date: 2010-MO-DA HO:MI+ZONE\n"
13
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
15
- "MIME-Version: 1.0\n"
16
- "Content-Type: text/plain; charset=utf-8\n"
17
- "Content-Transfer-Encoding: 8bit\n"
18
 
19
- #: syntaxhighlighter.php:239
20
  msgid "Default"
21
  msgstr ""
22
 
23
- #: syntaxhighlighter.php:240
24
  msgid "Django"
25
  msgstr ""
26
 
27
- #: syntaxhighlighter.php:241
28
  msgid "Eclipse"
29
  msgstr ""
30
 
31
- #: syntaxhighlighter.php:242
32
  msgid "Emacs"
33
  msgstr ""
34
 
35
- #: syntaxhighlighter.php:243
36
  msgid "Fade to Grey"
37
  msgstr ""
38
 
39
- #: syntaxhighlighter.php:244
40
  msgid "Midnight"
41
  msgstr ""
42
 
43
- #: syntaxhighlighter.php:245
44
  msgid "RDark"
45
  msgstr ""
46
 
47
- #: syntaxhighlighter.php:246
48
  msgid "[None]"
49
  msgstr ""
50
 
51
- #: syntaxhighlighter.php:258 syntaxhighlighter.php:944
52
  msgid "SyntaxHighlighter Settings"
53
  msgstr ""
54
 
55
- #: syntaxhighlighter.php:258
56
  msgid "SyntaxHighlighter"
57
  msgstr ""
58
 
59
- #: syntaxhighlighter.php:289
60
  msgid "Settings"
61
  msgstr ""
62
 
63
- #: syntaxhighlighter.php:610
64
  msgid "show source"
65
  msgstr ""
66
 
67
- #: syntaxhighlighter.php:611
68
  msgid "view source"
69
  msgstr ""
70
 
71
- #: syntaxhighlighter.php:612
72
  msgid "copy to clipboard"
73
  msgstr ""
74
 
75
- #: syntaxhighlighter.php:613
76
  msgid "The code is in your clipboard now"
77
  msgstr ""
78
 
79
- #: syntaxhighlighter.php:614
80
  msgid "print"
81
  msgstr ""
82
 
83
- #: syntaxhighlighter.php:615 syntaxhighlighter.php:622
84
  msgid "?"
85
  msgstr ""
86
 
87
- #: syntaxhighlighter.php:616 syntaxhighlighter.php:623
88
  msgid "SyntaxHighlighter\\n\\n"
89
  msgstr ""
90
 
91
- #: syntaxhighlighter.php:617 syntaxhighlighter.php:624
92
  msgid "Can't find brush for: "
93
  msgstr ""
94
 
95
- #: syntaxhighlighter.php:618 syntaxhighlighter.php:625
96
  msgid "Brush wasn't configured for html-script option: "
97
  msgstr ""
98
 
99
- #: syntaxhighlighter.php:621
100
  msgid "+ expand source"
101
  msgstr ""
102
 
103
- #: syntaxhighlighter.php:932
104
  msgid "Are you sure you want to reset your settings to the defaults?"
105
  msgstr ""
106
 
107
- #: syntaxhighlighter.php:936
108
  msgid "Settings reset to defaults."
109
  msgstr ""
110
 
111
- #: syntaxhighlighter.php:953
112
  msgid "Highlighter Version"
113
  msgstr ""
114
 
115
- #: syntaxhighlighter.php:958
116
  msgid "Version 3.x"
117
  msgstr ""
118
 
119
- #: syntaxhighlighter.php:959
120
  msgid "Version 2.x"
121
  msgstr ""
122
 
123
- #: syntaxhighlighter.php:967
124
  msgid ""
125
  "Version 3 allows visitors to easily highlight portions of your code with "
126
  "their mouse (either by dragging or double-clicking) and copy it to their "
127
  "clipboard. No toolbar containing a Flash-based button is required."
128
  msgstr ""
129
 
130
- #: syntaxhighlighter.php:968
131
  msgid ""
132
  "Version 2 allows for line wrapping, something that version 3 does not do at "
133
  "this time."
134
  msgstr ""
135
 
136
- #: syntaxhighlighter.php:972
137
  msgid "Color Theme"
138
  msgstr ""
139
 
140
- #: syntaxhighlighter.php:984 syntaxhighlighter.php:987
141
  msgid "Load All Brushes"
142
  msgstr ""
143
 
144
- #: syntaxhighlighter.php:988
145
  msgid ""
146
  "Always load all language files (for directly using <code>&lt;pre&gt;</code> "
147
  "tags rather than shortcodes)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If left "
@@ -149,143 +145,141 @@ msgid ""
149
  ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If unsure, leave this box unchecked"
150
  msgstr ""
151
 
152
- #: syntaxhighlighter.php:994
153
  msgid "Defaults"
154
  msgstr ""
155
 
156
- #: syntaxhighlighter.php:996
157
  msgid ""
158
  "All of the settings below can be configured on a per-code block basis, but "
159
  "you can control the defaults of all code blocks here."
160
  msgstr ""
161
 
162
- #: syntaxhighlighter.php:1000 syntaxhighlighter.php:1003
163
  msgid "Miscellaneous"
164
  msgstr ""
165
 
166
- #: syntaxhighlighter.php:1005
167
  msgid "Display line numbers"
168
  msgstr ""
169
 
170
- #: syntaxhighlighter.php:1006
171
  msgid "Display the toolbar"
172
  msgstr ""
173
 
174
- #: syntaxhighlighter.php:1007
175
  msgid "Automatically make URLs clickable"
176
  msgstr ""
177
 
178
- #: syntaxhighlighter.php:1008
179
  msgid "Collapse code boxes"
180
  msgstr ""
181
 
182
- #: syntaxhighlighter.php:1009
183
  msgid "Use the light display mode, best for single lines of code"
184
  msgstr ""
185
 
186
- #: syntaxhighlighter.php:1010
187
  msgid "Use smart tabs allowing tabs being used for alignment"
188
  msgstr ""
189
 
190
- #: syntaxhighlighter.php:1011
191
  msgid ""
192
  "Wrap long lines (v2.x only, disabling this will make a scrollbar show "
193
  "instead)"
194
  msgstr ""
195
 
196
- #: syntaxhighlighter.php:1012
197
  msgid ""
198
  "Enable &quot;HTML script&quot; mode by default (see the bottom of this page "
199
  "for details). Checking this box is not recommended as this mode only works "
200
  "with certain languages."
201
  msgstr ""
202
 
203
- #: syntaxhighlighter.php:1017
204
  msgid "Additional CSS Class(es)"
205
  msgstr ""
206
 
207
- #: syntaxhighlighter.php:1021
208
  msgid "Starting Line Number"
209
  msgstr ""
210
 
211
- #: syntaxhighlighter.php:1025
212
  msgid "Line Number Padding"
213
  msgstr ""
214
 
215
- #: syntaxhighlighter.php:1030
216
  msgid "Off"
217
  msgstr ""
218
 
219
- #: syntaxhighlighter.php:1031
220
  msgid "Automatic"
221
  msgstr ""
222
 
223
- #: syntaxhighlighter.php:1047
224
  msgid "Tab Size"
225
  msgstr ""
226
 
227
- #: syntaxhighlighter.php:1051
228
  msgid "Title"
229
  msgstr ""
230
 
231
- #: syntaxhighlighter.php:1054
232
  msgid ""
233
  "Some optional default text to display above each code block or as the "
234
  "clickable text for collapsed code blocks."
235
  msgstr ""
236
 
237
- #: syntaxhighlighter.php:1064 syntaxhighlighter.php:1067
238
  msgid "Reset to Defaults"
239
  msgstr ""
240
 
241
- #: syntaxhighlighter.php:1066
242
  msgid "Save Changes"
243
  msgstr ""
244
 
245
- #: syntaxhighlighter.php:1074
246
  msgid "Preview"
247
  msgstr ""
248
 
249
- #: syntaxhighlighter.php:1076
250
  msgid "Click &quot;Save Changes&quot; to update this preview."
251
  msgstr ""
252
 
253
- #: syntaxhighlighter.php:1095
254
  msgid "PHP Code Example"
255
  msgstr ""
256
 
257
- #: syntaxhighlighter.php:1097
258
  msgid "Hello World!"
259
  msgstr ""
260
 
261
- #: syntaxhighlighter.php:1099
262
  msgid "This line is highlighted."
263
  msgstr ""
264
 
265
- #: syntaxhighlighter.php:1102
266
  msgid ""
267
  "\t\tThis\tis\tan\r\n"
268
  "\t\texample\tof\tsmart\r\n"
269
  "\t\ttabs."
270
  msgstr ""
271
 
272
- #: syntaxhighlighter.php:1107
273
  msgid "WordPress"
274
  msgstr ""
275
 
276
- #: syntaxhighlighter.php:1118
277
  msgid "Shortcode Parameters"
278
  msgstr ""
279
 
280
- #: syntaxhighlighter.php:1120
281
- #, php-format
282
  msgid ""
283
  "These are the parameters you can pass to the shortcode and what they do. For "
284
  "the booleans (i.e. on/off), pass %1$s/%2$s or %3$s/%4$s."
285
  msgstr ""
286
 
287
- #: syntaxhighlighter.php:1123
288
- #, php-format
289
  msgctxt "language parameter"
290
  msgid ""
291
  "%1$s or %2$s &#8212; The language syntax to highlight with. You can "
@@ -294,50 +288,43 @@ msgid ""
294
  "aliases&quot;)."
295
  msgstr ""
296
 
297
- #: syntaxhighlighter.php:1124
298
- #, php-format
299
  msgctxt "autolinks parameter"
300
  msgid "%s &#8212; Toggle automatic URL linking."
301
  msgstr ""
302
 
303
- #: syntaxhighlighter.php:1125
304
- #, php-format
305
  msgctxt "classname parameter"
306
  msgid "%s &#8212; Add an additional CSS class to the code box."
307
  msgstr ""
308
 
309
- #: syntaxhighlighter.php:1126
310
- #, php-format
311
  msgctxt "collapse parameter"
312
  msgid ""
313
  "%s &#8212; Toggle collapsing the code box by default, requiring a click to "
314
  "expand it. Good for large code posts."
315
  msgstr ""
316
 
317
- #: syntaxhighlighter.php:1127
318
- #, php-format
319
  msgctxt "firstline parameter"
320
  msgid ""
321
  "%s &#8212; An interger specifying what number the first line should be (for "
322
  "the line numbering)."
323
  msgstr ""
324
 
325
- #: syntaxhighlighter.php:1128
326
- #, php-format
327
  msgctxt "gutter parameter"
328
  msgid "%s &#8212; Toggle the left-side line numbering."
329
  msgstr ""
330
 
331
- #: syntaxhighlighter.php:1129
332
- #, php-format
333
  msgctxt "highlight parameter"
334
  msgid ""
335
  "%1$s &#8212; A comma-sperated list of line numbers to highlight. You can "
336
  "also specify a range. Example: %2$s"
337
  msgstr ""
338
 
339
- #: syntaxhighlighter.php:1130
340
- #, php-format
341
  msgctxt "htmlscript parameter"
342
  msgid ""
343
  "%s &#8212; Toggle highlighting any extra HTML/XML. Good for when you're "
@@ -346,16 +333,14 @@ msgid ""
346
  "certain languages."
347
  msgstr ""
348
 
349
- #: syntaxhighlighter.php:1131
350
- #, php-format
351
  msgctxt "light parameter"
352
  msgid ""
353
  "%s &#8212; Toggle light mode which disables the gutter and toolbar all at "
354
  "once."
355
  msgstr ""
356
 
357
- #: syntaxhighlighter.php:1132
358
- #, php-format
359
  msgctxt "padlinenumbers parameter"
360
  msgid ""
361
  "%s &#8212; Controls line number padding. Valid values are <code>false</code> "
@@ -363,37 +348,34 @@ msgid ""
363
  "padding)."
364
  msgstr ""
365
 
366
- #: syntaxhighlighter.php:1133
367
- #, php-format
368
  msgctxt "title parameter"
369
  msgid ""
370
  "%1$s (v3 only) &#8212; Sets some text to show up before the code. Very "
371
  "useful when combined with the %2$s parameter."
372
  msgstr ""
373
 
374
- #: syntaxhighlighter.php:1134
375
- #, php-format
376
  msgctxt "toolbar parameter"
377
  msgid ""
378
  "%s &#8212; Toggle the toolbar (buttons in v2, the about question mark in v3)"
379
  msgstr ""
380
 
381
- #: syntaxhighlighter.php:1135
382
- #, php-format
383
  msgctxt "wraplines parameter"
384
  msgid "%s (v2 only) &#8212; Toggle line wrapping."
385
  msgstr ""
386
 
387
- #: syntaxhighlighter.php:1138
388
  msgid "Some example shortcodes:"
389
  msgstr ""
390
 
391
- #: syntaxhighlighter.php:1141 syntaxhighlighter.php:1142
392
- #: syntaxhighlighter.php:1143 syntaxhighlighter.php:1144
393
  msgid "your code here"
394
  msgstr ""
395
 
396
- #: syntaxhighlighter.php:1142
397
  msgid "example-filename.php"
398
  msgstr ""
399
 
1
+ # Copyright (C) 2010 SyntaxHighlighter Evolved
 
2
  # This file is distributed under the same license as the SyntaxHighlighter Evolved package.
 
 
 
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: SyntaxHighlighter Evolved 3.1.3\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/syntaxhighlighter\n"
7
+ "POT-Creation-Date: 2011-06-22 06:44:52+00:00\n"
8
+ "MIME-Version: 1.0\n"
9
+ "Content-Type: text/plain; charset=UTF-8\n"
10
+ "Content-Transfer-Encoding: 8bit\n"
11
  "PO-Revision-Date: 2010-MO-DA HO:MI+ZONE\n"
12
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13
  "Language-Team: LANGUAGE <LL@li.org>\n"
 
 
 
14
 
15
+ #: syntaxhighlighter.php:250
16
  msgid "Default"
17
  msgstr ""
18
 
19
+ #: syntaxhighlighter.php:251
20
  msgid "Django"
21
  msgstr ""
22
 
23
+ #: syntaxhighlighter.php:252
24
  msgid "Eclipse"
25
  msgstr ""
26
 
27
+ #: syntaxhighlighter.php:253
28
  msgid "Emacs"
29
  msgstr ""
30
 
31
+ #: syntaxhighlighter.php:254
32
  msgid "Fade to Grey"
33
  msgstr ""
34
 
35
+ #: syntaxhighlighter.php:255
36
  msgid "Midnight"
37
  msgstr ""
38
 
39
+ #: syntaxhighlighter.php:256
40
  msgid "RDark"
41
  msgstr ""
42
 
43
+ #: syntaxhighlighter.php:257
44
  msgid "[None]"
45
  msgstr ""
46
 
47
+ #: syntaxhighlighter.php:269 syntaxhighlighter.php:996
48
  msgid "SyntaxHighlighter Settings"
49
  msgstr ""
50
 
51
+ #: syntaxhighlighter.php:269
52
  msgid "SyntaxHighlighter"
53
  msgstr ""
54
 
55
+ #: syntaxhighlighter.php:300
56
  msgid "Settings"
57
  msgstr ""
58
 
59
+ #: syntaxhighlighter.php:658
60
  msgid "show source"
61
  msgstr ""
62
 
63
+ #: syntaxhighlighter.php:659
64
  msgid "view source"
65
  msgstr ""
66
 
67
+ #: syntaxhighlighter.php:660
68
  msgid "copy to clipboard"
69
  msgstr ""
70
 
71
+ #: syntaxhighlighter.php:661
72
  msgid "The code is in your clipboard now"
73
  msgstr ""
74
 
75
+ #: syntaxhighlighter.php:662
76
  msgid "print"
77
  msgstr ""
78
 
79
+ #: syntaxhighlighter.php:663 syntaxhighlighter.php:670
80
  msgid "?"
81
  msgstr ""
82
 
83
+ #: syntaxhighlighter.php:664 syntaxhighlighter.php:671
84
  msgid "SyntaxHighlighter\\n\\n"
85
  msgstr ""
86
 
87
+ #: syntaxhighlighter.php:665 syntaxhighlighter.php:672
88
  msgid "Can't find brush for: "
89
  msgstr ""
90
 
91
+ #: syntaxhighlighter.php:666 syntaxhighlighter.php:673
92
  msgid "Brush wasn't configured for html-script option: "
93
  msgstr ""
94
 
95
+ #: syntaxhighlighter.php:669
96
  msgid "+ expand source"
97
  msgstr ""
98
 
99
+ #: syntaxhighlighter.php:984
100
  msgid "Are you sure you want to reset your settings to the defaults?"
101
  msgstr ""
102
 
103
+ #: syntaxhighlighter.php:988
104
  msgid "Settings reset to defaults."
105
  msgstr ""
106
 
107
+ #: syntaxhighlighter.php:1005
108
  msgid "Highlighter Version"
109
  msgstr ""
110
 
111
+ #: syntaxhighlighter.php:1010
112
  msgid "Version 3.x"
113
  msgstr ""
114
 
115
+ #: syntaxhighlighter.php:1011
116
  msgid "Version 2.x"
117
  msgstr ""
118
 
119
+ #: syntaxhighlighter.php:1019
120
  msgid ""
121
  "Version 3 allows visitors to easily highlight portions of your code with "
122
  "their mouse (either by dragging or double-clicking) and copy it to their "
123
  "clipboard. No toolbar containing a Flash-based button is required."
124
  msgstr ""
125
 
126
+ #: syntaxhighlighter.php:1020
127
  msgid ""
128
  "Version 2 allows for line wrapping, something that version 3 does not do at "
129
  "this time."
130
  msgstr ""
131
 
132
+ #: syntaxhighlighter.php:1024
133
  msgid "Color Theme"
134
  msgstr ""
135
 
136
+ #: syntaxhighlighter.php:1036 syntaxhighlighter.php:1039
137
  msgid "Load All Brushes"
138
  msgstr ""
139
 
140
+ #: syntaxhighlighter.php:1040
141
  msgid ""
142
  "Always load all language files (for directly using <code>&lt;pre&gt;</code> "
143
  "tags rather than shortcodes)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If left "
145
  ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If unsure, leave this box unchecked"
146
  msgstr ""
147
 
148
+ #: syntaxhighlighter.php:1046
149
  msgid "Defaults"
150
  msgstr ""
151
 
152
+ #: syntaxhighlighter.php:1048
153
  msgid ""
154
  "All of the settings below can be configured on a per-code block basis, but "
155
  "you can control the defaults of all code blocks here."
156
  msgstr ""
157
 
158
+ #: syntaxhighlighter.php:1052 syntaxhighlighter.php:1055
159
  msgid "Miscellaneous"
160
  msgstr ""
161
 
162
+ #: syntaxhighlighter.php:1057
163
  msgid "Display line numbers"
164
  msgstr ""
165
 
166
+ #: syntaxhighlighter.php:1058
167
  msgid "Display the toolbar"
168
  msgstr ""
169
 
170
+ #: syntaxhighlighter.php:1059
171
  msgid "Automatically make URLs clickable"
172
  msgstr ""
173
 
174
+ #: syntaxhighlighter.php:1060
175
  msgid "Collapse code boxes"
176
  msgstr ""
177
 
178
+ #: syntaxhighlighter.php:1061
179
  msgid "Use the light display mode, best for single lines of code"
180
  msgstr ""
181
 
182
+ #: syntaxhighlighter.php:1062
183
  msgid "Use smart tabs allowing tabs being used for alignment"
184
  msgstr ""
185
 
186
+ #: syntaxhighlighter.php:1063
187
  msgid ""
188
  "Wrap long lines (v2.x only, disabling this will make a scrollbar show "
189
  "instead)"
190
  msgstr ""
191
 
192
+ #: syntaxhighlighter.php:1064
193
  msgid ""
194
  "Enable &quot;HTML script&quot; mode by default (see the bottom of this page "
195
  "for details). Checking this box is not recommended as this mode only works "
196
  "with certain languages."
197
  msgstr ""
198
 
199
+ #: syntaxhighlighter.php:1069
200
  msgid "Additional CSS Class(es)"
201
  msgstr ""
202
 
203
+ #: syntaxhighlighter.php:1073
204
  msgid "Starting Line Number"
205
  msgstr ""
206
 
207
+ #: syntaxhighlighter.php:1077
208
  msgid "Line Number Padding"
209
  msgstr ""
210
 
211
+ #: syntaxhighlighter.php:1082
212
  msgid "Off"
213
  msgstr ""
214
 
215
+ #: syntaxhighlighter.php:1083
216
  msgid "Automatic"
217
  msgstr ""
218
 
219
+ #: syntaxhighlighter.php:1099
220
  msgid "Tab Size"
221
  msgstr ""
222
 
223
+ #: syntaxhighlighter.php:1103
224
  msgid "Title"
225
  msgstr ""
226
 
227
+ #: syntaxhighlighter.php:1106
228
  msgid ""
229
  "Some optional default text to display above each code block or as the "
230
  "clickable text for collapsed code blocks."
231
  msgstr ""
232
 
233
+ #: syntaxhighlighter.php:1116 syntaxhighlighter.php:1119
234
  msgid "Reset to Defaults"
235
  msgstr ""
236
 
237
+ #: syntaxhighlighter.php:1118
238
  msgid "Save Changes"
239
  msgstr ""
240
 
241
+ #: syntaxhighlighter.php:1126
242
  msgid "Preview"
243
  msgstr ""
244
 
245
+ #: syntaxhighlighter.php:1128
246
  msgid "Click &quot;Save Changes&quot; to update this preview."
247
  msgstr ""
248
 
249
+ #: syntaxhighlighter.php:1147
250
  msgid "PHP Code Example"
251
  msgstr ""
252
 
253
+ #: syntaxhighlighter.php:1149
254
  msgid "Hello World!"
255
  msgstr ""
256
 
257
+ #: syntaxhighlighter.php:1151
258
  msgid "This line is highlighted."
259
  msgstr ""
260
 
261
+ #: syntaxhighlighter.php:1154
262
  msgid ""
263
  "\t\tThis\tis\tan\r\n"
264
  "\t\texample\tof\tsmart\r\n"
265
  "\t\ttabs."
266
  msgstr ""
267
 
268
+ #: syntaxhighlighter.php:1159
269
  msgid "WordPress"
270
  msgstr ""
271
 
272
+ #: syntaxhighlighter.php:1170
273
  msgid "Shortcode Parameters"
274
  msgstr ""
275
 
276
+ #: syntaxhighlighter.php:1172
 
277
  msgid ""
278
  "These are the parameters you can pass to the shortcode and what they do. For "
279
  "the booleans (i.e. on/off), pass %1$s/%2$s or %3$s/%4$s."
280
  msgstr ""
281
 
282
+ #: syntaxhighlighter.php:1175
 
283
  msgctxt "language parameter"
284
  msgid ""
285
  "%1$s or %2$s &#8212; The language syntax to highlight with. You can "
288
  "aliases&quot;)."
289
  msgstr ""
290
 
291
+ #: syntaxhighlighter.php:1176
 
292
  msgctxt "autolinks parameter"
293
  msgid "%s &#8212; Toggle automatic URL linking."
294
  msgstr ""
295
 
296
+ #: syntaxhighlighter.php:1177
 
297
  msgctxt "classname parameter"
298
  msgid "%s &#8212; Add an additional CSS class to the code box."
299
  msgstr ""
300
 
301
+ #: syntaxhighlighter.php:1178
 
302
  msgctxt "collapse parameter"
303
  msgid ""
304
  "%s &#8212; Toggle collapsing the code box by default, requiring a click to "
305
  "expand it. Good for large code posts."
306
  msgstr ""
307
 
308
+ #: syntaxhighlighter.php:1179
 
309
  msgctxt "firstline parameter"
310
  msgid ""
311
  "%s &#8212; An interger specifying what number the first line should be (for "
312
  "the line numbering)."
313
  msgstr ""
314
 
315
+ #: syntaxhighlighter.php:1180
 
316
  msgctxt "gutter parameter"
317
  msgid "%s &#8212; Toggle the left-side line numbering."
318
  msgstr ""
319
 
320
+ #: syntaxhighlighter.php:1181
 
321
  msgctxt "highlight parameter"
322
  msgid ""
323
  "%1$s &#8212; A comma-sperated list of line numbers to highlight. You can "
324
  "also specify a range. Example: %2$s"
325
  msgstr ""
326
 
327
+ #: syntaxhighlighter.php:1182
 
328
  msgctxt "htmlscript parameter"
329
  msgid ""
330
  "%s &#8212; Toggle highlighting any extra HTML/XML. Good for when you're "
333
  "certain languages."
334
  msgstr ""
335
 
336
+ #: syntaxhighlighter.php:1183
 
337
  msgctxt "light parameter"
338
  msgid ""
339
  "%s &#8212; Toggle light mode which disables the gutter and toolbar all at "
340
  "once."
341
  msgstr ""
342
 
343
+ #: syntaxhighlighter.php:1184
 
344
  msgctxt "padlinenumbers parameter"
345
  msgid ""
346
  "%s &#8212; Controls line number padding. Valid values are <code>false</code> "
348
  "padding)."
349
  msgstr ""
350
 
351
+ #: syntaxhighlighter.php:1185
 
352
  msgctxt "title parameter"
353
  msgid ""
354
  "%1$s (v3 only) &#8212; Sets some text to show up before the code. Very "
355
  "useful when combined with the %2$s parameter."
356
  msgstr ""
357
 
358
+ #: syntaxhighlighter.php:1186
 
359
  msgctxt "toolbar parameter"
360
  msgid ""
361
  "%s &#8212; Toggle the toolbar (buttons in v2, the about question mark in v3)"
362
  msgstr ""
363
 
364
+ #: syntaxhighlighter.php:1187
 
365
  msgctxt "wraplines parameter"
366
  msgid "%s (v2 only) &#8212; Toggle line wrapping."
367
  msgstr ""
368
 
369
+ #: syntaxhighlighter.php:1190
370
  msgid "Some example shortcodes:"
371
  msgstr ""
372
 
373
+ #: syntaxhighlighter.php:1193 syntaxhighlighter.php:1194
374
+ #: syntaxhighlighter.php:1195 syntaxhighlighter.php:1196
375
  msgid "your code here"
376
  msgstr ""
377
 
378
+ #: syntaxhighlighter.php:1194
379
  msgid "example-filename.php"
380
  msgstr ""
381
 
localization/syntaxhighlighter-it_IT.mo CHANGED
Binary file
localization/syntaxhighlighter-it_IT.po CHANGED
@@ -7,10 +7,10 @@ msgid ""
7
  msgstr ""
8
  "Project-Id-Version: SyntaxHighlighter Evolved in italiano\n"
9
  "Report-Msgid-Bugs-To: \n"
10
- "POT-Creation-Date: 2010-11-12 14:20+0100\n"
11
- "PO-Revision-Date: 2010-11-12 14:32+0100\n"
12
  "Last-Translator: Gianni Diurno (aka gidibao) <gidibao[at]gmail[dot]com>\n"
13
- "Language-Team: Gianni Diurno | gidibao.net <gidibao[at]gmail[dot]com>\n"
14
  "MIME-Version: 1.0\n"
15
  "Content-Type: text/plain; charset=UTF-8\n"
16
  "Content-Transfer-Encoding: 8bit\n"
@@ -21,76 +21,78 @@ msgstr ""
21
  "X-Poedit-SourceCharset: utf-8\n"
22
  "X-Poedit-SearchPath-0: .\n"
23
 
24
- #: syntaxhighlighter.php:227
25
  msgid "Default"
26
  msgstr "Predefinito"
27
 
28
- #: syntaxhighlighter.php:228
29
  msgid "Django"
30
  msgstr "Django"
31
 
32
- #: syntaxhighlighter.php:229
33
  msgid "Eclipse"
34
  msgstr "Eclipse"
35
 
36
- #: syntaxhighlighter.php:230
37
  msgid "Emacs"
38
  msgstr "Emacs"
39
 
40
- #: syntaxhighlighter.php:231
41
  msgid "Fade to Grey"
42
  msgstr "Fade to Grey"
43
 
44
- #: syntaxhighlighter.php:232
45
  msgid "Midnight"
46
  msgstr "Midnight"
47
 
48
- #: syntaxhighlighter.php:233
49
  msgid "RDark"
50
  msgstr "RDark"
51
 
52
- #: syntaxhighlighter.php:234
53
  msgid "[None]"
54
  msgstr "[nessuno]"
55
 
56
- #: syntaxhighlighter.php:246
57
- #: syntaxhighlighter.php:908
58
  msgid "SyntaxHighlighter Settings"
59
  msgstr "Impostazioni SyntaxHighlighter"
60
 
61
- #: syntaxhighlighter.php:246
62
  msgid "SyntaxHighlighter"
63
  msgstr "SyntaxHighlighter"
64
 
65
- #: syntaxhighlighter.php:277
66
  msgid "Settings"
67
  msgstr "Impostazioni"
68
 
69
- #: syntaxhighlighter.php:596
70
  msgid "show source"
71
  msgstr "mostra sorgente"
72
 
73
- #: syntaxhighlighter.php:597
74
  msgid "view source"
75
  msgstr "vedi sorgente"
76
 
77
- #: syntaxhighlighter.php:598
78
  msgid "copy to clipboard"
79
  msgstr "copia negli appunti"
80
 
81
- #: syntaxhighlighter.php:599
82
  msgid "The code is in your clipboard now"
83
  msgstr "Il codice é da ora nei tuoi appunti"
84
 
85
- #: syntaxhighlighter.php:600
86
  msgid "print"
87
  msgstr "stampa"
88
 
89
- #: syntaxhighlighter.php:601
 
90
  msgid "?"
91
  msgstr "info"
92
 
93
- #: syntaxhighlighter.php:602
 
94
  msgid ""
95
  "SyntaxHighlighter\\n"
96
  "\\n"
@@ -98,129 +100,168 @@ msgstr ""
98
  "SyntaxHighlighter\\n"
99
  "\\n"
100
 
101
- #: syntaxhighlighter.php:603
 
102
  msgid "Can't find brush for: "
103
  msgstr "Non é stato possibile trovare il file di sintassi per: "
104
 
105
- #: syntaxhighlighter.php:604
 
106
  msgid "Brush wasn't configured for html-script option: "
107
  msgstr "Il file di sintassi non é stato configurato per l'opzione html-script"
108
 
109
- #: syntaxhighlighter.php:896
 
 
 
 
110
  msgid "Are you sure you want to reset your settings to the defaults?"
111
  msgstr "Sei certo di volere ripristinare le impostazioni alle predefinite?"
112
 
113
- #: syntaxhighlighter.php:900
114
  msgid "Settings reset to defaults."
115
  msgstr "Ripristina le impostazioni alle predefinite"
116
 
117
- #: syntaxhighlighter.php:917
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
118
  msgid "Color Theme"
119
  msgstr "Colore del tema"
120
 
121
- #: syntaxhighlighter.php:931
122
- #: syntaxhighlighter.php:934
123
  msgid "Load All Brushes"
124
  msgstr "Carica tutti i brush"
125
 
126
- #: syntaxhighlighter.php:935
127
- msgid "Always load all language files (for directly using <code>&lt;pre&gt;</code> tags rather than shortcodes)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If left unchecked (default), then language files will only be loaded when needed"
128
- msgstr "Carica sempre tutti i file di linguaggio (per utilizzo diretto dei tag <code>&lt;pre&gt;</code> piuttosto che gli shortcode)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Se non attivo (predefinito), i file saranno caricati secondo necessità"
129
 
130
- #: syntaxhighlighter.php:941
131
  msgid "Defaults"
132
  msgstr "Parametri predefiniti"
133
 
134
- #: syntaxhighlighter.php:943
135
- msgid "All of the settings below can be configured on a per-code box basis, but you can control the defaults of all code boxes here."
136
- msgstr "Tutte le impostazioni qui sotto potranno essere configurate singolarmente comunque, sarà altresì possibile controllare qui tutte le caselle predefinite per i codici."
137
 
138
- #: syntaxhighlighter.php:947
139
- #: syntaxhighlighter.php:950
140
  msgid "Miscellaneous"
141
  msgstr "Varie"
142
 
143
- #: syntaxhighlighter.php:952
144
  msgid "Display line numbers"
145
  msgstr "mostra la numerazione delle linee"
146
 
147
- #: syntaxhighlighter.php:953
148
  msgid "Display the toolbar"
149
  msgstr "mostra la barra degli strumenti"
150
 
151
- #: syntaxhighlighter.php:954
152
  msgid "Automatically make URLs clickable"
153
  msgstr "rendi gli URL cliccabili (in automatico)"
154
 
155
- #: syntaxhighlighter.php:955
156
  msgid "Collapse code boxes"
157
  msgstr "comprimi le caselle del codice"
158
 
159
- #: syntaxhighlighter.php:956
160
  msgid "Use the light display mode, best for single lines of code"
161
  msgstr "utilizza la modalità light del tema, ideale per le singole linee di codice"
162
 
163
- #: syntaxhighlighter.php:957
164
  msgid "Use smart tabs allowing tabs being used for alignment"
165
  msgstr "utilizza le smart tabs in modo che le tag siano utilizzate per l'allineamento"
166
 
167
- #: syntaxhighlighter.php:958
 
 
 
 
168
  msgid "Enable &quot;HTML script&quot; mode by default (see the bottom of this page for details). Checking this box is not recommended as this mode only works with certain languages."
169
  msgstr "Abilita la modalità &quot;HTML script&quot; come predefinita (vedi i dettagli a fondo pagina). La selezione di questa casella non é raccomandabile poiché la funzione lavora solamente con alcuni linguaggi."
170
 
171
- #: syntaxhighlighter.php:963
172
  msgid "Additional CSS Class(es)"
173
  msgstr "classe/i CSS addizionali"
174
 
175
- #: syntaxhighlighter.php:967
176
  msgid "Starting Line Number"
177
  msgstr "Numero di inizio linea"
178
 
179
- #: syntaxhighlighter.php:971
180
  msgid "Line Number Padding"
181
  msgstr "Padding numerazione linea"
182
 
183
- #: syntaxhighlighter.php:976
184
  msgid "Off"
185
  msgstr "Spento"
186
 
187
- #: syntaxhighlighter.php:977
188
  msgid "Automatic"
189
  msgstr "Automatico"
190
 
191
- #: syntaxhighlighter.php:995
192
  msgid "Tab Size"
193
  msgstr "Dimensione tab"
194
 
195
- #: syntaxhighlighter.php:1001
196
- msgid "Save Changes"
197
- msgstr "Salva le modifiche"
 
 
 
 
198
 
199
- #: syntaxhighlighter.php:1002
 
200
  msgid "Reset to Defaults"
201
  msgstr "Ripristina alle predefinite"
202
 
203
- #: syntaxhighlighter.php:1007
 
 
 
 
204
  msgid "Preview"
205
  msgstr "Anteprima della casella"
206
 
207
- #: syntaxhighlighter.php:1009
208
  msgid "Click &quot;Save Changes&quot; to update this preview."
209
  msgstr "Clicca &quot;Salva le modifiche&quot; per visualizzare l'anteprima aggiornata."
210
 
211
- #: syntaxhighlighter.php:1021
212
  msgid "PHP Code Example"
213
  msgstr "Codice PHP di esempio"
214
 
215
- #: syntaxhighlighter.php:1023
216
  msgid "Hello World!"
217
  msgstr "Hello World!"
218
 
219
- #: syntaxhighlighter.php:1025
220
  msgid "This line is highlighted."
221
  msgstr "Questa linea é evidenziata."
222
 
223
- #: syntaxhighlighter.php:1028
224
  msgid ""
225
  "\t\tThis\tis\tan\n"
226
  "\t\texample\tof\tsmart\n"
@@ -230,90 +271,113 @@ msgstr ""
230
  "\t\tesempio\tdi\tsmart\n"
231
  "\t\ttabs."
232
 
233
- #: syntaxhighlighter.php:1043
 
 
 
 
234
  msgid "Shortcode Parameters"
235
  msgstr "Parametri per lo shortcode"
236
 
237
- #: syntaxhighlighter.php:1045
238
  #, php-format
239
  msgid "These are the parameters you can pass to the shortcode and what they do. For the booleans (i.e. on/off), pass %1$s/%2$s or %3$s/%4$s."
240
  msgstr "Lista dei parametri (e loro funzioni) che potrai inserire nello shortcode. Per i booleani (es: on/off), inserisci %1$s/%2$s oppure %3$s/%4$s."
241
 
242
- #: syntaxhighlighter.php:1048
243
- #, php-format
244
- msgid "%1$s or %2$s &#8212; The language syntax to highlight with. You can alternately just use that as the tag, such as <code>[php]code[/php]</code>. <a href=\"%3$s\">Click here</a> for a list of valid tags (under &quot;aliases&quot;)."
245
- msgstr "%1$s oppure %2$s &#8212; Il linguaggio da evidenziare. Potrai in alternativa utilizzarne il solo nome. Ad esempio: <code>[php]code[/php]</code>. <a href=\"%3$s\">Clicca qui</a> per la lista dei tag validi (sotto &quot;aliases&quot;)."
246
-
247
- #: syntaxhighlighter.php:1049
248
- #, php-format
249
- msgid "%s &#8212; Toggle automatic URL linking."
250
- msgstr "%s &#8212; Commutazione automatica collegamento ad un URL."
251
 
252
- #: syntaxhighlighter.php:1050
253
- #, php-format
254
- msgid "%s &#8212; Add an additional CSS class to the code box."
255
- msgstr "%s &#8212; Aggiungi una classe CSS addizionale alla casella per il codice."
 
 
256
 
257
- #: syntaxhighlighter.php:1051
258
- #, php-format
259
- msgid "%s &#8212; Toggle collapsing the code box by default, requiring a click to expand it. Good for large code posts."
260
- msgstr "%s &#8212; Commuta in automatico (predefinita) la compressione della casella. Sarà necessario cliccare sulla casella per espanderla. Ottimo per l'inserimento di codici di grande dimensione."
261
 
262
- #: syntaxhighlighter.php:1052
263
- #, php-format
264
- msgid "%s &#8212; An interger specifying what number the first line should be (for the line numbering)."
265
- msgstr "%s &#8212; Un numero intero per definire con quale numero abbia inizio la prima linea (per la numerazione)."
 
 
 
 
 
 
266
 
267
- #: syntaxhighlighter.php:1053
268
- #, php-format
269
- msgid "%s &#8212; Toggle the left-side line numbering."
270
- msgstr "%s &#8212; Commutazione numerazione della linea nel lato sinistro."
271
 
272
- #: syntaxhighlighter.php:1054
273
- #, php-format
274
- msgid "%1$s &#8212; A comma-sperated list of line numbers to highlight. You can also specify a range. Example: %2$s"
275
- msgstr "%1$s &#8212; Lista delle linee da evidenziare (numeri separati da una virgola). Puoi anche specificare il range. Esempio: %2$s"
276
 
277
- #: syntaxhighlighter.php:1055
278
- #, php-format
279
- msgid "%s &#8212; Toggle highlighting any extra HTML/XML. Good for when you're mixing HTML/XML with another language, such as having PHP inside an HTML web page. The above preview has it enabled for example. This only works with certain languages."
280
- msgstr "%s &#8212; Commuta mettendo in evidenza ogni HTML/XML extra. Ottima soluzione qualora utilizzassi del HTML/XML con un altro linguaggio (ad esempio del codice PHP inserito nel HTML di una pagina web). Vedi l'anteprima qui sopra. Questa funziona solamente per alcuni linguaggi."
 
 
 
281
 
282
- #: syntaxhighlighter.php:1056
283
- #, php-format
284
- msgid "%s &#8212; Toggle light mode which disables the gutter and toolbar all at once."
285
- msgstr "%s &#8212; Commuta alla modalità light del tema disattivando contemporaneamente il gutter e la toolbar."
 
 
286
 
287
- #: syntaxhighlighter.php:1057
288
- #, php-format
289
- msgid "%s &#8212; Controls line number padding. Valid values are <code>false</code> (no padding), <code>true</code> (automatic padding), or an integer (forced padding)."
290
- msgstr "%s &#8212; Controlla il padding per la linea di numerazione. I valori validi sono <code>false</code> (nessun padding), <code>true</code> (padding automatico) oppure un numero intero (padding forzato)."
291
 
292
- #: syntaxhighlighter.php:1058
293
- #, php-format
294
- msgid "%1$s &#8212; Sets some text to show up before the code. Very useful when combined with the %2$s parameter."
295
- msgstr "%1$s &#8212; Imposta il testo da mostrare prima del codice. Molto utile in combinazione con il parametro %2$s."
 
 
296
 
297
- #: syntaxhighlighter.php:1059
298
- #, php-format
299
- msgid "%s &#8212; Toggle the toolbar containing the helpful buttons."
300
- msgstr "%s &#8212; Commutazione toolbar contenente i pulsanti opzione."
 
 
 
 
 
 
301
 
302
- #: syntaxhighlighter.php:1062
303
- msgid "Some example shortcodes:"
304
- msgstr "Alcuni esempi di shortcode:"
 
 
 
305
 
306
- #: syntaxhighlighter.php:1065
307
- #: syntaxhighlighter.php:1066
308
- #: syntaxhighlighter.php:1067
309
- #: syntaxhighlighter.php:1068
310
- msgid "your code here"
311
- msgstr "inserisci qui il tuo codice"
 
 
312
 
313
- #~ msgid "Wrap long lines (disabling this will make a scrollbar show instead)"
 
 
314
  #~ msgstr ""
315
- #~ "Wrap per le righe di grandi dimensioni (disattivando l'opzione si otterrà "
316
- #~ "una barra di scorrimento)"
 
 
 
317
 
318
  #~ msgid "%s &#8212; Toggle line wrapping."
319
  #~ msgstr "%s &#8212; Commuta il wrapping della riga."
@@ -342,9 +406,6 @@ msgstr "inserisci qui il tuo codice"
342
  #~ msgid "http://www.viper007bond.com/"
343
  #~ msgstr "http://www.viper007bond.com/"
344
 
345
- #~ msgid "expand source"
346
- #~ msgstr "espandi sorgente"
347
-
348
  #~ msgid "Show a ruler column along the top of the code box"
349
  #~ msgstr ""
350
  #~ "mostra in alto del box per il codice una riga graduata per le colonne"
7
  msgstr ""
8
  "Project-Id-Version: SyntaxHighlighter Evolved in italiano\n"
9
  "Report-Msgid-Bugs-To: \n"
10
+ "POT-Creation-Date: 2011-06-04 14:07+0100\n"
11
+ "PO-Revision-Date: 2011-06-04 14:15+0100\n"
12
  "Last-Translator: Gianni Diurno (aka gidibao) <gidibao[at]gmail[dot]com>\n"
13
+ "Language-Team: Gianni Diurno | gidibao.net\n"
14
  "MIME-Version: 1.0\n"
15
  "Content-Type: text/plain; charset=UTF-8\n"
16
  "Content-Transfer-Encoding: 8bit\n"
21
  "X-Poedit-SourceCharset: utf-8\n"
22
  "X-Poedit-SearchPath-0: .\n"
23
 
24
+ #: syntaxhighlighter.php:245
25
  msgid "Default"
26
  msgstr "Predefinito"
27
 
28
+ #: syntaxhighlighter.php:246
29
  msgid "Django"
30
  msgstr "Django"
31
 
32
+ #: syntaxhighlighter.php:247
33
  msgid "Eclipse"
34
  msgstr "Eclipse"
35
 
36
+ #: syntaxhighlighter.php:248
37
  msgid "Emacs"
38
  msgstr "Emacs"
39
 
40
+ #: syntaxhighlighter.php:249
41
  msgid "Fade to Grey"
42
  msgstr "Fade to Grey"
43
 
44
+ #: syntaxhighlighter.php:250
45
  msgid "Midnight"
46
  msgstr "Midnight"
47
 
48
+ #: syntaxhighlighter.php:251
49
  msgid "RDark"
50
  msgstr "RDark"
51
 
52
+ #: syntaxhighlighter.php:252
53
  msgid "[None]"
54
  msgstr "[nessuno]"
55
 
56
+ #: syntaxhighlighter.php:264
57
+ #: syntaxhighlighter.php:954
58
  msgid "SyntaxHighlighter Settings"
59
  msgstr "Impostazioni SyntaxHighlighter"
60
 
61
+ #: syntaxhighlighter.php:264
62
  msgid "SyntaxHighlighter"
63
  msgstr "SyntaxHighlighter"
64
 
65
+ #: syntaxhighlighter.php:295
66
  msgid "Settings"
67
  msgstr "Impostazioni"
68
 
69
+ #: syntaxhighlighter.php:616
70
  msgid "show source"
71
  msgstr "mostra sorgente"
72
 
73
+ #: syntaxhighlighter.php:617
74
  msgid "view source"
75
  msgstr "vedi sorgente"
76
 
77
+ #: syntaxhighlighter.php:618
78
  msgid "copy to clipboard"
79
  msgstr "copia negli appunti"
80
 
81
+ #: syntaxhighlighter.php:619
82
  msgid "The code is in your clipboard now"
83
  msgstr "Il codice é da ora nei tuoi appunti"
84
 
85
+ #: syntaxhighlighter.php:620
86
  msgid "print"
87
  msgstr "stampa"
88
 
89
+ #: syntaxhighlighter.php:621
90
+ #: syntaxhighlighter.php:628
91
  msgid "?"
92
  msgstr "info"
93
 
94
+ #: syntaxhighlighter.php:622
95
+ #: syntaxhighlighter.php:629
96
  msgid ""
97
  "SyntaxHighlighter\\n"
98
  "\\n"
100
  "SyntaxHighlighter\\n"
101
  "\\n"
102
 
103
+ #: syntaxhighlighter.php:623
104
+ #: syntaxhighlighter.php:630
105
  msgid "Can't find brush for: "
106
  msgstr "Non é stato possibile trovare il file di sintassi per: "
107
 
108
+ #: syntaxhighlighter.php:624
109
+ #: syntaxhighlighter.php:631
110
  msgid "Brush wasn't configured for html-script option: "
111
  msgstr "Il file di sintassi non é stato configurato per l'opzione html-script"
112
 
113
+ #: syntaxhighlighter.php:627
114
+ msgid "+ expand source"
115
+ msgstr "+ espandi sorgente"
116
+
117
+ #: syntaxhighlighter.php:942
118
  msgid "Are you sure you want to reset your settings to the defaults?"
119
  msgstr "Sei certo di volere ripristinare le impostazioni alle predefinite?"
120
 
121
+ #: syntaxhighlighter.php:946
122
  msgid "Settings reset to defaults."
123
  msgstr "Ripristina le impostazioni alle predefinite"
124
 
125
+ #: syntaxhighlighter.php:963
126
+ msgid "Highlighter Version"
127
+ msgstr "Versione Highlighter"
128
+
129
+ #: syntaxhighlighter.php:968
130
+ msgid "Version 3.x"
131
+ msgstr "Versione 3.x"
132
+
133
+ #: syntaxhighlighter.php:969
134
+ msgid "Version 2.x"
135
+ msgstr "Versione 2.x"
136
+
137
+ #: syntaxhighlighter.php:977
138
+ msgid "Version 3 allows visitors to easily highlight portions of your code with their mouse (either by dragging or double-clicking) and copy it to their clipboard. No toolbar containing a Flash-based button is required."
139
+ msgstr "La versione 3 permette agli utenti di evidenziare facilmente con il mouse delle porzioni del tuo codice (altresì spostare/doppio-click) potendolo copiare nei loro appunti. Non sarà necessaria nessuna toolbar contenente un pulsante a base-Flash."
140
+
141
+ #: syntaxhighlighter.php:978
142
+ msgid "Version 2 allows for line wrapping, something that version 3 does not do at this time."
143
+ msgstr "La versione 2 permette il wrap per la linea, funzione questa non ancora disponibile per la versione 3."
144
+
145
+ #: syntaxhighlighter.php:982
146
  msgid "Color Theme"
147
  msgstr "Colore del tema"
148
 
149
+ #: syntaxhighlighter.php:994
150
+ #: syntaxhighlighter.php:997
151
  msgid "Load All Brushes"
152
  msgstr "Carica tutti i brush"
153
 
154
+ #: syntaxhighlighter.php:998
155
+ msgid "Always load all language files (for directly using <code>&lt;pre&gt;</code> tags rather than shortcodes)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If left unchecked (default), then language files will only be loaded when needed<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If unsure, leave this box unchecked"
156
+ msgstr "Carica sempre tutti i file di linguaggio (per utilizzo diretto dei tag <code>&lt;pre&gt;</code> piuttosto che gli shortcode)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Se non attivo (predefinito), i file di linguaggio saranno caricati secondo necessità<br />&nbsp;&nbsp;"
157
 
158
+ #: syntaxhighlighter.php:1004
159
  msgid "Defaults"
160
  msgstr "Parametri predefiniti"
161
 
162
+ #: syntaxhighlighter.php:1006
163
+ msgid "All of the settings below can be configured on a per-code block basis, but you can control the defaults of all code blocks here."
164
+ msgstr "Tutte le impostazioni qui sotto potranno essere configurate singolarmente comunque, sarà altresì possibile controllare qui le predefinite per tutti i blocchi codice."
165
 
166
+ #: syntaxhighlighter.php:1010
167
+ #: syntaxhighlighter.php:1013
168
  msgid "Miscellaneous"
169
  msgstr "Varie"
170
 
171
+ #: syntaxhighlighter.php:1015
172
  msgid "Display line numbers"
173
  msgstr "mostra la numerazione delle linee"
174
 
175
+ #: syntaxhighlighter.php:1016
176
  msgid "Display the toolbar"
177
  msgstr "mostra la barra degli strumenti"
178
 
179
+ #: syntaxhighlighter.php:1017
180
  msgid "Automatically make URLs clickable"
181
  msgstr "rendi gli URL cliccabili (in automatico)"
182
 
183
+ #: syntaxhighlighter.php:1018
184
  msgid "Collapse code boxes"
185
  msgstr "comprimi le caselle del codice"
186
 
187
+ #: syntaxhighlighter.php:1019
188
  msgid "Use the light display mode, best for single lines of code"
189
  msgstr "utilizza la modalità light del tema, ideale per le singole linee di codice"
190
 
191
+ #: syntaxhighlighter.php:1020
192
  msgid "Use smart tabs allowing tabs being used for alignment"
193
  msgstr "utilizza le smart tabs in modo che le tag siano utilizzate per l'allineamento"
194
 
195
+ #: syntaxhighlighter.php:1021
196
+ msgid "Wrap long lines (v2.x only, disabling this will make a scrollbar show instead)"
197
+ msgstr "Wrap per le righe di grandi dimensioni (solo v2.x, disattivando l'opzione si otterrà una barra di scorrimento)"
198
+
199
+ #: syntaxhighlighter.php:1022
200
  msgid "Enable &quot;HTML script&quot; mode by default (see the bottom of this page for details). Checking this box is not recommended as this mode only works with certain languages."
201
  msgstr "Abilita la modalità &quot;HTML script&quot; come predefinita (vedi i dettagli a fondo pagina). La selezione di questa casella non é raccomandabile poiché la funzione lavora solamente con alcuni linguaggi."
202
 
203
+ #: syntaxhighlighter.php:1027
204
  msgid "Additional CSS Class(es)"
205
  msgstr "classe/i CSS addizionali"
206
 
207
+ #: syntaxhighlighter.php:1031
208
  msgid "Starting Line Number"
209
  msgstr "Numero di inizio linea"
210
 
211
+ #: syntaxhighlighter.php:1035
212
  msgid "Line Number Padding"
213
  msgstr "Padding numerazione linea"
214
 
215
+ #: syntaxhighlighter.php:1040
216
  msgid "Off"
217
  msgstr "Spento"
218
 
219
+ #: syntaxhighlighter.php:1041
220
  msgid "Automatic"
221
  msgstr "Automatico"
222
 
223
+ #: syntaxhighlighter.php:1057
224
  msgid "Tab Size"
225
  msgstr "Dimensione tab"
226
 
227
+ #: syntaxhighlighter.php:1061
228
+ msgid "Title"
229
+ msgstr "Titolo"
230
+
231
+ #: syntaxhighlighter.php:1064
232
+ msgid "Some optional default text to display above each code block or as the clickable text for collapsed code blocks."
233
+ msgstr "Testo predefinito e facoltativo da mostrare al di sopra di ogni blocco codice o come testo cliccabile per i blocchi codice da espandere."
234
 
235
+ #: syntaxhighlighter.php:1074
236
+ #: syntaxhighlighter.php:1077
237
  msgid "Reset to Defaults"
238
  msgstr "Ripristina alle predefinite"
239
 
240
+ #: syntaxhighlighter.php:1076
241
+ msgid "Save Changes"
242
+ msgstr "Salva le modifiche"
243
+
244
+ #: syntaxhighlighter.php:1084
245
  msgid "Preview"
246
  msgstr "Anteprima della casella"
247
 
248
+ #: syntaxhighlighter.php:1086
249
  msgid "Click &quot;Save Changes&quot; to update this preview."
250
  msgstr "Clicca &quot;Salva le modifiche&quot; per visualizzare l'anteprima aggiornata."
251
 
252
+ #: syntaxhighlighter.php:1105
253
  msgid "PHP Code Example"
254
  msgstr "Codice PHP di esempio"
255
 
256
+ #: syntaxhighlighter.php:1107
257
  msgid "Hello World!"
258
  msgstr "Hello World!"
259
 
260
+ #: syntaxhighlighter.php:1109
261
  msgid "This line is highlighted."
262
  msgstr "Questa linea é evidenziata."
263
 
264
+ #: syntaxhighlighter.php:1112
265
  msgid ""
266
  "\t\tThis\tis\tan\n"
267
  "\t\texample\tof\tsmart\n"
271
  "\t\tesempio\tdi\tsmart\n"
272
  "\t\ttabs."
273
 
274
+ #: syntaxhighlighter.php:1117
275
+ msgid "WordPress"
276
+ msgstr "WordPress"
277
+
278
+ #: syntaxhighlighter.php:1128
279
  msgid "Shortcode Parameters"
280
  msgstr "Parametri per lo shortcode"
281
 
282
+ #: syntaxhighlighter.php:1130
283
  #, php-format
284
  msgid "These are the parameters you can pass to the shortcode and what they do. For the booleans (i.e. on/off), pass %1$s/%2$s or %3$s/%4$s."
285
  msgstr "Lista dei parametri (e loro funzioni) che potrai inserire nello shortcode. Per i booleani (es: on/off), inserisci %1$s/%2$s oppure %3$s/%4$s."
286
 
287
+ #: syntaxhighlighter.php:1148
288
+ msgid "Some example shortcodes:"
289
+ msgstr "Alcuni esempi di shortcode:"
 
 
 
 
 
 
290
 
291
+ #: syntaxhighlighter.php:1151
292
+ #: syntaxhighlighter.php:1152
293
+ #: syntaxhighlighter.php:1153
294
+ #: syntaxhighlighter.php:1154
295
+ msgid "your code here"
296
+ msgstr "inserisci qui il tuo codice"
297
 
298
+ #: syntaxhighlighter.php:1152
299
+ msgid "example-filename.php"
300
+ msgstr "example-filename.php"
 
301
 
302
+ #~ msgid ""
303
+ #~ "%1$s or %2$s &#8212; The language syntax to highlight with. You can "
304
+ #~ "alternately just use that as the tag, such as <code>[php]code[/php]</"
305
+ #~ "code>. <a href=\"%3$s\">Click here</a> for a list of valid tags (under "
306
+ #~ "&quot;aliases&quot;)."
307
+ #~ msgstr ""
308
+ #~ "%1$s oppure %2$s &#8212; Il linguaggio da evidenziare. Potrai in "
309
+ #~ "alternativa utilizzarne il solo nome. Ad esempio: <code>[php]code[/php]</"
310
+ #~ "code>. <a href=\"%3$s\">Clicca qui</a> per la lista dei tag validi (sotto "
311
+ #~ "&quot;aliases&quot;)."
312
 
313
+ #~ msgid "%s &#8212; Toggle automatic URL linking."
314
+ #~ msgstr "%s &#8212; Commutazione automatica collegamento ad un URL."
 
 
315
 
316
+ #~ msgid "%s &#8212; Add an additional CSS class to the code box."
317
+ #~ msgstr ""
318
+ #~ "%s &#8212; Aggiungi una classe CSS addizionale alla casella per il codice."
 
319
 
320
+ #~ msgid ""
321
+ #~ "%s &#8212; Toggle collapsing the code box by default, requiring a click "
322
+ #~ "to expand it. Good for large code posts."
323
+ #~ msgstr ""
324
+ #~ "%s &#8212; Commuta in automatico (predefinita) la compressione della "
325
+ #~ "casella. Sarà necessario cliccare sulla casella per espanderla. Ottimo "
326
+ #~ "per l'inserimento di codici di grande dimensione."
327
 
328
+ #~ msgid ""
329
+ #~ "%s &#8212; An interger specifying what number the first line should be "
330
+ #~ "(for the line numbering)."
331
+ #~ msgstr ""
332
+ #~ "%s &#8212; Un numero intero per definire con quale numero abbia inizio la "
333
+ #~ "prima linea (per la numerazione)."
334
 
335
+ #~ msgid "%s &#8212; Toggle the left-side line numbering."
336
+ #~ msgstr "%s &#8212; Commutazione numerazione della linea nel lato sinistro."
 
 
337
 
338
+ #~ msgid ""
339
+ #~ "%1$s &#8212; A comma-sperated list of line numbers to highlight. You can "
340
+ #~ "also specify a range. Example: %2$s"
341
+ #~ msgstr ""
342
+ #~ "%1$s &#8212; Lista delle linee da evidenziare (numeri separati da una "
343
+ #~ "virgola). Puoi anche specificare il range. Esempio: %2$s"
344
 
345
+ #~ msgid ""
346
+ #~ "%s &#8212; Toggle highlighting any extra HTML/XML. Good for when you're "
347
+ #~ "mixing HTML/XML with another language, such as having PHP inside an HTML "
348
+ #~ "web page. The above preview has it enabled for example. This only works "
349
+ #~ "with certain languages."
350
+ #~ msgstr ""
351
+ #~ "%s &#8212; Commuta mettendo in evidenza ogni HTML/XML extra. Ottima "
352
+ #~ "soluzione qualora utilizzassi del HTML/XML con un altro linguaggio (ad "
353
+ #~ "esempio del codice PHP inserito nel HTML di una pagina web). Vedi "
354
+ #~ "l'anteprima qui sopra. Questa funziona solamente per alcuni linguaggi."
355
 
356
+ #~ msgid ""
357
+ #~ "%s &#8212; Toggle light mode which disables the gutter and toolbar all at "
358
+ #~ "once."
359
+ #~ msgstr ""
360
+ #~ "%s &#8212; Commuta alla modalità light del tema disattivando "
361
+ #~ "contemporaneamente il gutter e la toolbar."
362
 
363
+ #~ msgid ""
364
+ #~ "%s &#8212; Controls line number padding. Valid values are <code>false</"
365
+ #~ "code> (no padding), <code>true</code> (automatic padding), or an integer "
366
+ #~ "(forced padding)."
367
+ #~ msgstr ""
368
+ #~ "%s &#8212; Controlla il padding per la linea di numerazione. I valori "
369
+ #~ "validi sono <code>false</code> (nessun padding), <code>true</code> "
370
+ #~ "(padding automatico) oppure un numero intero (padding forzato)."
371
 
372
+ #~ msgid ""
373
+ #~ "%1$s &#8212; Sets some text to show up before the code. Very useful when "
374
+ #~ "combined with the %2$s parameter."
375
  #~ msgstr ""
376
+ #~ "%1$s &#8212; Imposta il testo da mostrare prima del codice. Molto utile "
377
+ #~ "in combinazione con il parametro %2$s."
378
+
379
+ #~ msgid "%s &#8212; Toggle the toolbar containing the helpful buttons."
380
+ #~ msgstr "%s &#8212; Commutazione toolbar contenente i pulsanti opzione."
381
 
382
  #~ msgid "%s &#8212; Toggle line wrapping."
383
  #~ msgstr "%s &#8212; Commuta il wrapping della riga."
406
  #~ msgid "http://www.viper007bond.com/"
407
  #~ msgstr "http://www.viper007bond.com/"
408
 
 
 
 
409
  #~ msgid "Show a ruler column along the top of the code box"
410
  #~ msgstr ""
411
  #~ "mostra in alto del box per il codice una riga graduata per le colonne"
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: Viper007Bond, automattic
3
  Donate link: http://www.viper007bond.com/wordpress-plugins/syntaxhighlighter/donate/
4
  Tags: code, sourcecode, php, xhtml, html, css, WordPress.com
5
  Requires at least: 2.7
6
- Tested up to: 3.1
7
  Stable tag: trunk
8
 
9
  Easily post syntax-highlighted code to your site without having to modify the code at all. As seen on WordPress.com.
@@ -55,6 +55,15 @@ Make sure your theme's `footer.php` file has `<?php wp_footer(); ?>` somewhere i
55
 
56
  == ChangeLog ==
57
 
 
 
 
 
 
 
 
 
 
58
  = Version 3.1.2 =
59
 
60
  * Register some placeholder shortcodes so that `strip_shortcodes()` and such work properly. Previously the shortcodes were only registered during the brief moment that they were processed by one of this plugin's filters.
3
  Donate link: http://www.viper007bond.com/wordpress-plugins/syntaxhighlighter/donate/
4
  Tags: code, sourcecode, php, xhtml, html, css, WordPress.com
5
  Requires at least: 2.7
6
+ Tested up to: 3.6
7
  Stable tag: trunk
8
 
9
  Easily post syntax-highlighted code to your site without having to modify the code at all. As seen on WordPress.com.
55
 
56
  == ChangeLog ==
57
 
58
+ = Version 3.1.4 =
59
+
60
+ * WordPress 3.6 (alpha) compatibility. Content is now being stripped of slashes before being run through filters so this plugin needs to stop trying to strip slashes and then adding them back. See [ticket #21767](http://core.trac.wordpress.org/ticket/21767).
61
+
62
+ = Version 3.1.3 =
63
+
64
+ * Hide vertical overflow so that a vertical scrollbar doesn't show up in Chrome. Props Caio Proiete. Bump SH script version to bust browser caches.
65
+ * Allow the plugin's shortcodes to be escaped using double brackets like so: `[[code]Foobar[/code]]`. This is a core feature, but calling `do_shortcode()` on the content as it went into the database caused the extra brackets to be stripped.
66
+
67
  = Version 3.1.2 =
68
 
69
  * Register some placeholder shortcodes so that `strip_shortcodes()` and such work properly. Previously the shortcodes were only registered during the brief moment that they were processed by one of this plugin's filters.
syntaxhighlighter.php CHANGED
@@ -4,7 +4,7 @@
4
 
5
  Plugin Name: SyntaxHighlighter Evolved
6
  Plugin URI: http://www.viper007bond.com/wordpress-plugins/syntaxhighlighter/
7
- Version: 3.1.2
8
  Description: Easily post syntax-highlighted code to your site without having to modify the code at all. Uses Alex Gorbatchev's <a href="http://alexgorbatchev.com/wiki/SyntaxHighlighter">SyntaxHighlighter</a>. <strong>TIP:</strong> Don't use the Visual editor if you don't want your code mangled. TinyMCE will "clean up" your HTML.
9
  Author: Viper007Bond
10
  Author URI: http://www.viper007bond.com/
@@ -21,7 +21,7 @@ Thanks to:
21
 
22
  class SyntaxHighlighter {
23
  // All of these variables are private. Filters are provided for things that can be modified.
24
- var $pluginver = '3.1.2'; // Plugin version
25
  var $agshver = false; // Alex Gorbatchev's SyntaxHighlighter version (dynamically set below due to v2 vs v3)
26
  var $shfolder = false; // Controls what subfolder to load SyntaxHighlighter from (v2 or v3)
27
  var $settings = array(); // Contains the user's settings
@@ -36,6 +36,8 @@ class SyntaxHighlighter {
36
 
37
  // Initalize the plugin by registering the hooks
38
  function __construct() {
 
 
39
  if ( ! function_exists( 'esc_html' ) )
40
  return;
41
 
@@ -43,43 +45,48 @@ class SyntaxHighlighter {
43
  load_plugin_textdomain( 'syntaxhighlighter', false, '/syntaxhighlighter/localization' );
44
 
45
  // Display hooks
46
- add_filter( 'the_content', array(&$this, 'parse_shortcodes'), 7 ); // Posts
47
- add_filter( 'comment_text', array(&$this, 'parse_shortcodes_comment'), 7 ); // Comments
48
- add_filter( 'bp_get_the_topic_post_content', array(&$this, 'parse_shortcodes'), 7 ); // BuddyPress
49
 
50
  // Into the database
51
- add_filter( 'content_save_pre', array(&$this, 'encode_shortcode_contents_slashed_noquickedit'), 1 ); // Posts
52
- add_filter( 'pre_comment_content', array(&$this, 'encode_shortcode_contents_slashed'), 1 ); // Comments
53
- add_filter( 'group_forum_post_text_before_save', array(&$this, 'encode_shortcode_contents_slashed'), 1 ); // BuddyPress
54
- add_filter( 'group_forum_topic_text_before_save', array(&$this, 'encode_shortcode_contents_slashed'), 1 ); // BuddyPress
 
 
 
 
 
55
 
56
  // Out of the database for editing
57
- add_filter( 'the_editor_content', array(&$this, 'the_editor_content'), 1 ); // Posts
58
- add_filter( 'comment_edit_pre', array(&$this, 'decode_shortcode_contents'), 1 ); // Comments
59
- add_filter( 'bp_get_the_topic_text', array(&$this, 'decode_shortcode_contents'), 1 ); // BuddyPress
60
- add_filter( 'bp_get_the_topic_post_edit_text', array(&$this, 'decode_shortcode_contents'), 1 ); // BuddyPress
61
 
62
  // Outputting SyntaxHighlighter's JS and CSS
63
- add_action( 'wp_head', array(&$this, 'output_header_placeholder'), 15 );
64
- add_action( 'admin_head', array(&$this, 'output_header_placeholder'), 15 ); // For comments
65
- add_action( 'wp_footer', array(&$this, 'maybe_output_scripts'), 15 );
66
- add_action( 'admin_footer', array(&$this, 'maybe_output_scripts'), 15 ); // For comments
67
 
68
  // Admin hooks
69
- add_action( 'admin_init', array(&$this, 'register_setting') );
70
- add_action( 'admin_menu', array(&$this, 'register_settings_page') );
71
- add_action( 'admin_head', array(&$this, 'output_shortcodes_for_tinymce') );
72
- add_filter( 'mce_external_plugins', array(&$this, 'add_tinymce_plugin') );
73
- add_filter( 'tiny_mce_version', array(&$this, 'break_tinymce_cache') );
74
- add_filter( 'save_post', array(&$this, 'mark_as_encoded'), 10, 2 );
75
- add_filter( 'plugin_action_links', array(&$this, 'settings_link'), 10, 2 );
76
 
77
  // Register widget hooks
78
  // Requires change added in WordPress 2.9
79
  if ( class_exists('WP_Embed') ) {
80
- add_filter( 'widget_text', array(&$this, 'widget_text_output'), 7, 2 );
81
- add_filter( 'widget_update_callback', array(&$this, 'widget_text_save'), 1, 4 );
82
- add_filter( 'widget_form_callback', array(&$this, 'widget_text_form'), 1, 2 );
83
  }
84
 
85
 
@@ -108,8 +115,13 @@ class SyntaxHighlighter {
108
  $this->settings = wp_parse_args( $usersettings, $this->defaultsettings );
109
 
110
  // Dynamically set folder and version names for SynaxHighlighter
111
- $this->shfolder = ( 2 == $this->settings['shversion'] ) ? 'syntaxhighlighter2' : 'syntaxhighlighter3';
112
- $this->agshver = ( 2 == $this->settings['shversion'] ) ? '2.1.364' : '3.0.83b';
 
 
 
 
 
113
 
114
  // Register brush scripts
115
  wp_register_script( 'syntaxhighlighter-core', plugins_url('syntaxhighlighter/' . $this->shfolder . '/scripts/shCore.js'), array(), $this->agshver );
@@ -261,13 +273,13 @@ class SyntaxHighlighter {
261
 
262
  // Register the settings page
263
  function register_settings_page() {
264
- add_options_page( __( 'SyntaxHighlighter Settings', 'syntaxhighlighter' ), __( 'SyntaxHighlighter', 'syntaxhighlighter' ), 'manage_options', 'syntaxhighlighter', array(&$this, 'settings_page') );
265
  }
266
 
267
 
268
  // Register the plugin's setting
269
  function register_setting() {
270
- register_setting( 'syntaxhighlighter_settings', 'syntaxhighlighter_settings', array(&$this, 'validate_settings') );
271
  }
272
 
273
 
@@ -330,7 +342,7 @@ class SyntaxHighlighter {
330
  add_shortcode( $shortcode, $callback );
331
 
332
  // Do the shortcodes (only this plugins's are registered)
333
- $content = do_shortcode( $content );
334
 
335
  // Put the original shortcodes back
336
  $shortcode_tags = $orig_shortcode_tags;
@@ -339,15 +351,52 @@ class SyntaxHighlighter {
339
  }
340
 
341
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
342
  // The main filter for the post contents. The regular shortcode filter can't be used as it's post-wpautop().
343
  function parse_shortcodes( $content ) {
344
- return $this->shortcode_hack( $content, array(&$this, 'shortcode_callback') );
345
  }
346
 
347
 
348
  // HTML entity encode the contents of shortcodes
349
  function encode_shortcode_contents( $content ) {
350
- return $this->shortcode_hack( $content, array(&$this, 'encode_shortcode_contents_callback') );
351
  }
352
 
353
 
@@ -357,6 +406,24 @@ class SyntaxHighlighter {
357
  }
358
 
359
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
360
  // HTML entity encode the contents of shortcodes. Expects slashed content. Aborts if AJAX.
361
  function encode_shortcode_contents_slashed_noquickedit( $content ) {
362
 
@@ -368,7 +435,7 @@ class SyntaxHighlighter {
368
  $this->content_save_pre_ran = true;
369
 
370
  // Post quick edits aren't decoded for display, so we don't need to encode them (again)
371
- if ( !empty($_POST) && !empty($_POST['action']) && 'inline-save' == $_POST['action'] )
372
  return $content;
373
 
374
  return $this->encode_shortcode_contents_slashed( $content );
@@ -377,7 +444,7 @@ class SyntaxHighlighter {
377
 
378
  // HTML entity decode the contents of shortcodes
379
  function decode_shortcode_contents( $content ) {
380
- return $this->shortcode_hack( $content, array(&$this, 'decode_shortcode_contents_callback') );
381
  }
382
 
383
 
@@ -438,7 +505,7 @@ class SyntaxHighlighter {
438
  // Run SyntaxHighlighter::decode_shortcode_contents_callback() on the contents of the text widget form
439
  function widget_text_form( $instance, $widgetclass ) {
440
  if ( 'text' == $widgetclass->id_base && !empty($instance['syntaxhighlighter_encoded']) ) {
441
- $instance['text'] = $this->shortcode_hack( $instance['text'], array(&$this, 'decode_shortcode_contents_callback') );
442
  }
443
 
444
  return $instance;
4
 
5
  Plugin Name: SyntaxHighlighter Evolved
6
  Plugin URI: http://www.viper007bond.com/wordpress-plugins/syntaxhighlighter/
7
+ Version: 3.1.4
8
  Description: Easily post syntax-highlighted code to your site without having to modify the code at all. Uses Alex Gorbatchev's <a href="http://alexgorbatchev.com/wiki/SyntaxHighlighter">SyntaxHighlighter</a>. <strong>TIP:</strong> Don't use the Visual editor if you don't want your code mangled. TinyMCE will "clean up" your HTML.
9
  Author: Viper007Bond
10
  Author URI: http://www.viper007bond.com/
21
 
22
  class SyntaxHighlighter {
23
  // All of these variables are private. Filters are provided for things that can be modified.
24
+ var $pluginver = '3.1.4'; // Plugin version
25
  var $agshver = false; // Alex Gorbatchev's SyntaxHighlighter version (dynamically set below due to v2 vs v3)
26
  var $shfolder = false; // Controls what subfolder to load SyntaxHighlighter from (v2 or v3)
27
  var $settings = array(); // Contains the user's settings
36
 
37
  // Initalize the plugin by registering the hooks
38
  function __construct() {
39
+ global $wp_version;
40
+
41
  if ( ! function_exists( 'esc_html' ) )
42
  return;
43
 
45
  load_plugin_textdomain( 'syntaxhighlighter', false, '/syntaxhighlighter/localization' );
46
 
47
  // Display hooks
48
+ add_filter( 'the_content', array( &$this, 'parse_shortcodes' ), 7 ); // Posts
49
+ add_filter( 'comment_text', array( &$this, 'parse_shortcodes_comment' ), 7 ); // Comments
50
+ add_filter( 'bp_get_the_topic_post_content', array( &$this, 'parse_shortcodes' ), 7 ); // BuddyPress
51
 
52
  // Into the database
53
+ if ( version_compare( $wp_version, '3.5.99999', '>' ) ) { // 3.6+ for http://core.trac.wordpress.org/ticket/21767
54
+ add_filter( 'content_save_pre', array( &$this, 'encode_shortcode_contents_noquickedit' ), 1 ); // Posts
55
+ add_filter( 'pre_comment_content', array( &$this, 'encode_shortcode_contents' ), 1 ); // Comments
56
+ } else {
57
+ add_filter( 'content_save_pre', array( &$this, 'encode_shortcode_contents_slashed_noquickedit' ), 1 ); // Posts
58
+ add_filter( 'pre_comment_content', array( &$this, 'encode_shortcode_contents_slashed' ), 1 ); // Comments
59
+ }
60
+ add_filter( 'group_forum_post_text_before_save', array( &$this, 'encode_shortcode_contents_slashed' ), 1 ); // BuddyPress
61
+ add_filter( 'group_forum_topic_text_before_save', array( &$this, 'encode_shortcode_contents_slashed' ), 1 ); // BuddyPress
62
 
63
  // Out of the database for editing
64
+ add_filter( 'the_editor_content', array( &$this, 'the_editor_content' ), 1 ); // Posts
65
+ add_filter( 'comment_edit_pre', array( &$this, 'decode_shortcode_contents' ), 1 ); // Comments
66
+ add_filter( 'bp_get_the_topic_text', array( &$this, 'decode_shortcode_contents' ), 1 ); // BuddyPress
67
+ add_filter( 'bp_get_the_topic_post_edit_text', array( &$this, 'decode_shortcode_contents' ), 1 ); // BuddyPress
68
 
69
  // Outputting SyntaxHighlighter's JS and CSS
70
+ add_action( 'wp_head', array( &$this, 'output_header_placeholder' ), 15 );
71
+ add_action( 'admin_head', array( &$this, 'output_header_placeholder' ), 15 ); // For comments
72
+ add_action( 'wp_footer', array( &$this, 'maybe_output_scripts' ), 15 );
73
+ add_action( 'admin_footer', array( &$this, 'maybe_output_scripts' ), 15 ); // For comments
74
 
75
  // Admin hooks
76
+ add_action( 'admin_init', array( &$this, 'register_setting' ) );
77
+ add_action( 'admin_menu', array( &$this, 'register_settings_page' ) );
78
+ add_action( 'admin_head', array( &$this, 'output_shortcodes_for_tinymce' ) );
79
+ add_filter( 'mce_external_plugins', array( &$this, 'add_tinymce_plugin' ) );
80
+ add_filter( 'tiny_mce_version', array( &$this, 'break_tinymce_cache' ) );
81
+ add_filter( 'save_post', array( &$this, 'mark_as_encoded' ), 10, 2 );
82
+ add_filter( 'plugin_action_links', array( &$this, 'settings_link' ), 10, 2 );
83
 
84
  // Register widget hooks
85
  // Requires change added in WordPress 2.9
86
  if ( class_exists('WP_Embed') ) {
87
+ add_filter( 'widget_text', array( &$this, 'widget_text_output' ), 7, 2 );
88
+ add_filter( 'widget_update_callback', array( &$this, 'widget_text_save' ), 1, 4 );
89
+ add_filter( 'widget_form_callback', array( &$this, 'widget_text_form' ), 1, 2 );
90
  }
91
 
92
 
115
  $this->settings = wp_parse_args( $usersettings, $this->defaultsettings );
116
 
117
  // Dynamically set folder and version names for SynaxHighlighter
118
+ if ( 2 == $this->settings['shversion'] ) {
119
+ $this->shfolder = 'syntaxhighlighter2';
120
+ $this->agshver = '2.1.364';
121
+ } else {
122
+ $this->shfolder = 'syntaxhighlighter3';
123
+ $this->agshver = '3.0.83c';
124
+ }
125
 
126
  // Register brush scripts
127
  wp_register_script( 'syntaxhighlighter-core', plugins_url('syntaxhighlighter/' . $this->shfolder . '/scripts/shCore.js'), array(), $this->agshver );
273
 
274
  // Register the settings page
275
  function register_settings_page() {
276
+ add_options_page( __( 'SyntaxHighlighter Settings', 'syntaxhighlighter' ), __( 'SyntaxHighlighter', 'syntaxhighlighter' ), 'manage_options', 'syntaxhighlighter', array( &$this, 'settings_page' ) );
277
  }
278
 
279
 
280
  // Register the plugin's setting
281
  function register_setting() {
282
+ register_setting( 'syntaxhighlighter_settings', 'syntaxhighlighter_settings', array( &$this, 'validate_settings' ) );
283
  }
284
 
285
 
342
  add_shortcode( $shortcode, $callback );
343
 
344
  // Do the shortcodes (only this plugins's are registered)
345
+ $content = $this->do_shortcode_keep_escaped_tags( $content );
346
 
347
  // Put the original shortcodes back
348
  $shortcode_tags = $orig_shortcode_tags;
351
  }
352
 
353
 
354
+ // This is a clone of do_shortcode() that uses a different callback function
355
+ // The new callback function will keep escaped tags escaped, i.e. [[foo]]
356
+ // Up to date as of r18324 (3.2)
357
+ function do_shortcode_keep_escaped_tags( $content ) {
358
+ global $shortcode_tags;
359
+
360
+ if (empty($shortcode_tags) || !is_array($shortcode_tags))
361
+ return $content;
362
+
363
+ $pattern = get_shortcode_regex();
364
+ return preg_replace_callback('/'.$pattern.'/s', array( &$this, 'do_shortcode_tag_keep_escaped_tags' ), $content);
365
+ }
366
+
367
+
368
+ // Callback for above do_shortcode_keep_escaped_tags() function
369
+ // It's a clone of core's do_shortcode_tag() function with a modification to the escaped shortcode return
370
+ // Up to date as of r18324 (3.2)
371
+ function do_shortcode_tag_keep_escaped_tags( $m ) {
372
+ global $shortcode_tags;
373
+
374
+ // allow [[foo]] syntax for escaping a tag
375
+ if ( $m[1] == '[' && $m[6] == ']' ) {
376
+ return $m[0]; // This line was modified for this plugin (no substr call)
377
+ }
378
+
379
+ $tag = $m[2];
380
+ $attr = shortcode_parse_atts( $m[3] );
381
+
382
+ if ( isset( $m[5] ) ) {
383
+ // enclosing tag - extra parameter
384
+ return $m[1] . call_user_func( $shortcode_tags[$tag], $attr, $m[5], $tag ) . $m[6];
385
+ } else {
386
+ // self-closing tag
387
+ return $m[1] . call_user_func( $shortcode_tags[$tag], $attr, NULL, $tag ) . $m[6];
388
+ }
389
+ }
390
+
391
  // The main filter for the post contents. The regular shortcode filter can't be used as it's post-wpautop().
392
  function parse_shortcodes( $content ) {
393
+ return $this->shortcode_hack( $content, array( &$this, 'shortcode_callback' ) );
394
  }
395
 
396
 
397
  // HTML entity encode the contents of shortcodes
398
  function encode_shortcode_contents( $content ) {
399
+ return $this->shortcode_hack( $content, array( &$this, 'encode_shortcode_contents_callback' ) );
400
  }
401
 
402
 
406
  }
407
 
408
 
409
+ // HTML entity encode the contents of shortcodes. Expects slashed content. Aborts if AJAX.
410
+ function encode_shortcode_contents_noquickedit( $content ) {
411
+
412
+ // In certain weird circumstances, the content gets run through "content_save_pre" twice
413
+ // Keep track and don't allow this filter to be run twice
414
+ // I couldn't easily figure out why this happens and didn't bother looking into it further as this works fine
415
+ if ( true == $this->content_save_pre_ran )
416
+ return $content;
417
+ $this->content_save_pre_ran = true;
418
+
419
+ // Post quick edits aren't decoded for display, so we don't need to encode them (again)
420
+ if ( ! empty( $_POST ) && !empty( $_POST['action'] ) && 'inline-save' == $_POST['action'] )
421
+ return $content;
422
+
423
+ return $this->encode_shortcode_contents( $content );
424
+ }
425
+
426
+
427
  // HTML entity encode the contents of shortcodes. Expects slashed content. Aborts if AJAX.
428
  function encode_shortcode_contents_slashed_noquickedit( $content ) {
429
 
435
  $this->content_save_pre_ran = true;
436
 
437
  // Post quick edits aren't decoded for display, so we don't need to encode them (again)
438
+ if ( ! empty( $_POST ) && !empty( $_POST['action'] ) && 'inline-save' == $_POST['action'] )
439
  return $content;
440
 
441
  return $this->encode_shortcode_contents_slashed( $content );
444
 
445
  // HTML entity decode the contents of shortcodes
446
  function decode_shortcode_contents( $content ) {
447
+ return $this->shortcode_hack( $content, array( &$this, 'decode_shortcode_contents_callback' ) );
448
  }
449
 
450
 
505
  // Run SyntaxHighlighter::decode_shortcode_contents_callback() on the contents of the text widget form
506
  function widget_text_form( $instance, $widgetclass ) {
507
  if ( 'text' == $widgetclass->id_base && !empty($instance['syntaxhighlighter_encoded']) ) {
508
+ $instance['text'] = $this->shortcode_hack( $instance['text'], array( &$this, 'decode_shortcode_contents_callback' ) );
509
  }
510
 
511
  return $instance;
syntaxhighlighter3/styles/shCore.css CHANGED
@@ -58,6 +58,7 @@
58
  margin: 1em 0 1em 0 !important;
59
  position: relative !important;
60
  overflow: auto !important;
 
61
  font-size: 1em !important;
62
  }
63
  .syntaxhighlighter code {
58
  margin: 1em 0 1em 0 !important;
59
  position: relative !important;
60
  overflow: auto !important;
61
+ overflow-y: hidden !important;
62
  font-size: 1em !important;
63
  }
64
  .syntaxhighlighter code {