Version Description
Download this release
Release Info
Developer | Viper007Bond |
Plugin | SyntaxHighlighter Evolved |
Version | 3.1.1 |
Comparing to | |
See all releases |
Code changes from version 3.1.0 to 3.1.1
- localization/_syntaxhighlighter-template.po +147 -82
- readme.txt +5 -0
- syntaxhighlighter.php +4 -4
- syntaxhighlighter3/styles/shCore.css +3 -0
localization/_syntaxhighlighter-template.po
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
# Translation of the WordPress plugin SyntaxHighlighter Evolved 3.
|
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.
|
@@ -6,9 +6,9 @@
|
|
6 |
#, fuzzy
|
7 |
msgid ""
|
8 |
msgstr ""
|
9 |
-
"Project-Id-Version: SyntaxHighlighter Evolved 3.
|
10 |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/syntaxhighlighter\n"
|
11 |
-
"POT-Creation-Date: 2010-11-
|
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"
|
@@ -16,230 +16,277 @@ msgstr ""
|
|
16 |
"Content-Type: text/plain; charset=utf-8\n"
|
17 |
"Content-Transfer-Encoding: 8bit\n"
|
18 |
|
19 |
-
#: syntaxhighlighter.php:
|
20 |
msgid "Default"
|
21 |
msgstr ""
|
22 |
|
23 |
-
#: syntaxhighlighter.php:
|
24 |
msgid "Django"
|
25 |
msgstr ""
|
26 |
|
27 |
-
#: syntaxhighlighter.php:
|
28 |
msgid "Eclipse"
|
29 |
msgstr ""
|
30 |
|
31 |
-
#: syntaxhighlighter.php:
|
32 |
msgid "Emacs"
|
33 |
msgstr ""
|
34 |
|
35 |
-
#: syntaxhighlighter.php:
|
36 |
msgid "Fade to Grey"
|
37 |
msgstr ""
|
38 |
|
39 |
-
#: syntaxhighlighter.php:
|
40 |
msgid "Midnight"
|
41 |
msgstr ""
|
42 |
|
43 |
-
#: syntaxhighlighter.php:
|
44 |
msgid "RDark"
|
45 |
msgstr ""
|
46 |
|
47 |
-
#: syntaxhighlighter.php:
|
48 |
msgid "[None]"
|
49 |
msgstr ""
|
50 |
|
51 |
-
#: syntaxhighlighter.php:
|
52 |
msgid "SyntaxHighlighter Settings"
|
53 |
msgstr ""
|
54 |
|
55 |
-
#: syntaxhighlighter.php:
|
56 |
msgid "SyntaxHighlighter"
|
57 |
msgstr ""
|
58 |
|
59 |
-
#: syntaxhighlighter.php:
|
60 |
msgid "Settings"
|
61 |
msgstr ""
|
62 |
|
63 |
-
#: syntaxhighlighter.php:
|
64 |
msgid "show source"
|
65 |
msgstr ""
|
66 |
|
67 |
-
#: syntaxhighlighter.php:
|
68 |
msgid "view source"
|
69 |
msgstr ""
|
70 |
|
71 |
-
#: syntaxhighlighter.php:
|
72 |
msgid "copy to clipboard"
|
73 |
msgstr ""
|
74 |
|
75 |
-
#: syntaxhighlighter.php:
|
76 |
msgid "The code is in your clipboard now"
|
77 |
msgstr ""
|
78 |
|
79 |
-
#: syntaxhighlighter.php:
|
80 |
msgid "print"
|
81 |
msgstr ""
|
82 |
|
83 |
-
#: syntaxhighlighter.php:
|
84 |
msgid "?"
|
85 |
msgstr ""
|
86 |
|
87 |
-
#: syntaxhighlighter.php:
|
88 |
msgid "SyntaxHighlighter\\n\\n"
|
89 |
msgstr ""
|
90 |
|
91 |
-
#: syntaxhighlighter.php:
|
92 |
msgid "Can't find brush for: "
|
93 |
msgstr ""
|
94 |
|
95 |
-
#: syntaxhighlighter.php:
|
96 |
msgid "Brush wasn't configured for html-script option: "
|
97 |
msgstr ""
|
98 |
|
99 |
-
#: syntaxhighlighter.php:
|
|
|
|
|
|
|
|
|
100 |
msgid "Are you sure you want to reset your settings to the defaults?"
|
101 |
msgstr ""
|
102 |
|
103 |
-
#: syntaxhighlighter.php:
|
104 |
msgid "Settings reset to defaults."
|
105 |
msgstr ""
|
106 |
|
107 |
-
#: syntaxhighlighter.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
108 |
msgid "Color Theme"
|
109 |
msgstr ""
|
110 |
|
111 |
-
#: syntaxhighlighter.php:
|
112 |
msgid "Load All Brushes"
|
113 |
msgstr ""
|
114 |
|
115 |
-
#: syntaxhighlighter.php:
|
116 |
msgid ""
|
117 |
"Always load all language files (for directly using <code><pre></code> "
|
118 |
"tags rather than shortcodes)<br /> If left "
|
119 |
-
"unchecked (default), then language files will only be loaded when needed"
|
|
|
120 |
msgstr ""
|
121 |
|
122 |
-
#: syntaxhighlighter.php:
|
123 |
msgid "Defaults"
|
124 |
msgstr ""
|
125 |
|
126 |
-
#: syntaxhighlighter.php:
|
127 |
msgid ""
|
128 |
-
"All of the settings below can be configured on a per-code
|
129 |
-
"can control the defaults of all code
|
130 |
msgstr ""
|
131 |
|
132 |
-
#: syntaxhighlighter.php:
|
133 |
msgid "Miscellaneous"
|
134 |
msgstr ""
|
135 |
|
136 |
-
#: syntaxhighlighter.php:
|
137 |
msgid "Display line numbers"
|
138 |
msgstr ""
|
139 |
|
140 |
-
#: syntaxhighlighter.php:
|
141 |
msgid "Display the toolbar"
|
142 |
msgstr ""
|
143 |
|
144 |
-
#: syntaxhighlighter.php:
|
145 |
msgid "Automatically make URLs clickable"
|
146 |
msgstr ""
|
147 |
|
148 |
-
#: syntaxhighlighter.php:
|
149 |
msgid "Collapse code boxes"
|
150 |
msgstr ""
|
151 |
|
152 |
-
#: syntaxhighlighter.php:
|
153 |
msgid "Use the light display mode, best for single lines of code"
|
154 |
msgstr ""
|
155 |
|
156 |
-
#: syntaxhighlighter.php:
|
157 |
msgid "Use smart tabs allowing tabs being used for alignment"
|
158 |
msgstr ""
|
159 |
|
160 |
-
#: syntaxhighlighter.php:
|
161 |
-
msgid "
|
|
|
|
|
162 |
msgstr ""
|
163 |
|
164 |
-
#: syntaxhighlighter.php:
|
165 |
msgid ""
|
166 |
"Enable "HTML script" mode by default (see the bottom of this page "
|
167 |
"for details). Checking this box is not recommended as this mode only works "
|
168 |
"with certain languages."
|
169 |
msgstr ""
|
170 |
|
171 |
-
#: syntaxhighlighter.php:
|
172 |
msgid "Additional CSS Class(es)"
|
173 |
msgstr ""
|
174 |
|
175 |
-
#: syntaxhighlighter.php:
|
176 |
msgid "Starting Line Number"
|
177 |
msgstr ""
|
178 |
|
179 |
-
#: syntaxhighlighter.php:
|
180 |
msgid "Line Number Padding"
|
181 |
msgstr ""
|
182 |
|
183 |
-
#: syntaxhighlighter.php:
|
184 |
msgid "Off"
|
185 |
msgstr ""
|
186 |
|
187 |
-
#: syntaxhighlighter.php:
|
188 |
msgid "Automatic"
|
189 |
msgstr ""
|
190 |
|
191 |
-
#: syntaxhighlighter.php:
|
192 |
msgid "Tab Size"
|
193 |
msgstr ""
|
194 |
|
195 |
-
#: syntaxhighlighter.php:
|
196 |
-
msgid "
|
197 |
msgstr ""
|
198 |
|
199 |
-
#: syntaxhighlighter.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
200 |
msgid "Reset to Defaults"
|
201 |
msgstr ""
|
202 |
|
203 |
-
#: syntaxhighlighter.php:
|
|
|
|
|
|
|
|
|
204 |
msgid "Preview"
|
205 |
msgstr ""
|
206 |
|
207 |
-
#: syntaxhighlighter.php:
|
208 |
msgid "Click "Save Changes" to update this preview."
|
209 |
msgstr ""
|
210 |
|
211 |
-
#: syntaxhighlighter.php:
|
212 |
msgid "PHP Code Example"
|
213 |
msgstr ""
|
214 |
|
215 |
-
#: syntaxhighlighter.php:
|
216 |
msgid "Hello World!"
|
217 |
msgstr ""
|
218 |
|
219 |
-
#: syntaxhighlighter.php:
|
220 |
msgid "This line is highlighted."
|
221 |
msgstr ""
|
222 |
|
223 |
-
#: syntaxhighlighter.php:
|
224 |
msgid ""
|
225 |
"\t\tThis\tis\tan\r\n"
|
226 |
"\t\texample\tof\tsmart\r\n"
|
227 |
"\t\ttabs."
|
228 |
msgstr ""
|
229 |
|
230 |
-
#: syntaxhighlighter.php:
|
|
|
|
|
|
|
|
|
231 |
msgid "Shortcode Parameters"
|
232 |
msgstr ""
|
233 |
|
234 |
-
#: syntaxhighlighter.php:
|
235 |
#, php-format
|
236 |
msgid ""
|
237 |
"These are the parameters you can pass to the shortcode and what they do. For "
|
238 |
"the booleans (i.e. on/off), pass %1$s/%2$s or %3$s/%4$s."
|
239 |
msgstr ""
|
240 |
|
241 |
-
#: syntaxhighlighter.php:
|
242 |
#, php-format
|
|
|
243 |
msgid ""
|
244 |
"%1$s or %2$s — The language syntax to highlight with. You can "
|
245 |
"alternately just use that as the tag, such as <code>[php]code[/php]</code>. "
|
@@ -247,44 +294,51 @@ msgid ""
|
|
247 |
"aliases")."
|
248 |
msgstr ""
|
249 |
|
250 |
-
#: syntaxhighlighter.php:
|
251 |
#, php-format
|
|
|
252 |
msgid "%s — Toggle automatic URL linking."
|
253 |
msgstr ""
|
254 |
|
255 |
-
#: syntaxhighlighter.php:
|
256 |
#, php-format
|
|
|
257 |
msgid "%s — Add an additional CSS class to the code box."
|
258 |
msgstr ""
|
259 |
|
260 |
-
#: syntaxhighlighter.php:
|
261 |
#, php-format
|
|
|
262 |
msgid ""
|
263 |
"%s — Toggle collapsing the code box by default, requiring a click to "
|
264 |
"expand it. Good for large code posts."
|
265 |
msgstr ""
|
266 |
|
267 |
-
#: syntaxhighlighter.php:
|
268 |
#, php-format
|
|
|
269 |
msgid ""
|
270 |
"%s — An interger specifying what number the first line should be (for "
|
271 |
"the line numbering)."
|
272 |
msgstr ""
|
273 |
|
274 |
-
#: syntaxhighlighter.php:
|
275 |
#, php-format
|
|
|
276 |
msgid "%s — Toggle the left-side line numbering."
|
277 |
msgstr ""
|
278 |
|
279 |
-
#: syntaxhighlighter.php:
|
280 |
#, php-format
|
|
|
281 |
msgid ""
|
282 |
"%1$s — A comma-sperated list of line numbers to highlight. You can "
|
283 |
"also specify a range. Example: %2$s"
|
284 |
msgstr ""
|
285 |
|
286 |
-
#: syntaxhighlighter.php:
|
287 |
#, php-format
|
|
|
288 |
msgid ""
|
289 |
"%s — Toggle highlighting any extra HTML/XML. Good for when you're "
|
290 |
"mixing HTML/XML with another language, such as having PHP inside an HTML web "
|
@@ -292,47 +346,57 @@ msgid ""
|
|
292 |
"certain languages."
|
293 |
msgstr ""
|
294 |
|
295 |
-
#: syntaxhighlighter.php:
|
296 |
#, php-format
|
|
|
297 |
msgid ""
|
298 |
"%s — Toggle light mode which disables the gutter and toolbar all at "
|
299 |
"once."
|
300 |
msgstr ""
|
301 |
|
302 |
-
#: syntaxhighlighter.php:
|
303 |
#, php-format
|
|
|
304 |
msgid ""
|
305 |
"%s — Controls line number padding. Valid values are <code>false</code> "
|
306 |
"(no padding), <code>true</code> (automatic padding), or an integer (forced "
|
307 |
"padding)."
|
308 |
msgstr ""
|
309 |
|
310 |
-
#: syntaxhighlighter.php:
|
311 |
#, php-format
|
|
|
312 |
msgid ""
|
313 |
-
"%1$s — Sets some text to show up before the code. Very
|
314 |
-
"combined with the %2$s parameter."
|
315 |
msgstr ""
|
316 |
|
317 |
-
#: syntaxhighlighter.php:
|
318 |
#, php-format
|
319 |
-
|
|
|
|
|
320 |
msgstr ""
|
321 |
|
322 |
-
#: syntaxhighlighter.php:
|
323 |
#, php-format
|
324 |
-
|
|
|
325 |
msgstr ""
|
326 |
|
327 |
-
#: syntaxhighlighter.php:
|
328 |
msgid "Some example shortcodes:"
|
329 |
msgstr ""
|
330 |
|
331 |
-
#: syntaxhighlighter.php:
|
332 |
-
#: syntaxhighlighter.php:
|
333 |
msgid "your code here"
|
334 |
msgstr ""
|
335 |
|
|
|
|
|
|
|
|
|
336 |
#. Plugin Name of the plugin/theme
|
337 |
msgid "SyntaxHighlighter Evolved"
|
338 |
msgstr ""
|
@@ -345,8 +409,9 @@ msgstr ""
|
|
345 |
msgid ""
|
346 |
"Easily post syntax-highlighted code to your site without having to modify "
|
347 |
"the code at all. Uses Alex Gorbatchev's <a href=\"http://alexgorbatchev.com/"
|
348 |
-
"wiki/SyntaxHighlighter\">SyntaxHighlighter</a>
|
349 |
-
"
|
|
|
350 |
msgstr ""
|
351 |
|
352 |
#. Author of the plugin/theme
|
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.
|
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"
|
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><pre></code> "
|
147 |
"tags rather than shortcodes)<br /> If left "
|
148 |
+
"unchecked (default), then language files will only be loaded when needed<br /"
|
149 |
+
"> 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 "HTML script" 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 "Save Changes" 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 — The language syntax to highlight with. You can "
|
292 |
"alternately just use that as the tag, such as <code>[php]code[/php]</code>. "
|
294 |
"aliases")."
|
295 |
msgstr ""
|
296 |
|
297 |
+
#: syntaxhighlighter.php:1124
|
298 |
#, php-format
|
299 |
+
msgctxt "autolinks parameter"
|
300 |
msgid "%s — Toggle automatic URL linking."
|
301 |
msgstr ""
|
302 |
|
303 |
+
#: syntaxhighlighter.php:1125
|
304 |
#, php-format
|
305 |
+
msgctxt "classname parameter"
|
306 |
msgid "%s — 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 — 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 — 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 — 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 — 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 — Toggle highlighting any extra HTML/XML. Good for when you're "
|
344 |
"mixing HTML/XML with another language, such as having PHP inside an HTML web "
|
346 |
"certain languages."
|
347 |
msgstr ""
|
348 |
|
349 |
+
#: syntaxhighlighter.php:1131
|
350 |
#, php-format
|
351 |
+
msgctxt "light parameter"
|
352 |
msgid ""
|
353 |
"%s — 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 — Controls line number padding. Valid values are <code>false</code> "
|
362 |
"(no padding), <code>true</code> (automatic padding), or an integer (forced "
|
363 |
"padding)."
|
364 |
msgstr ""
|
365 |
|
366 |
+
#: syntaxhighlighter.php:1133
|
367 |
#, php-format
|
368 |
+
msgctxt "title parameter"
|
369 |
msgid ""
|
370 |
+
"%1$s (v3 only) — 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 — 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) — 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 |
+
|
400 |
#. Plugin Name of the plugin/theme
|
401 |
msgid "SyntaxHighlighter Evolved"
|
402 |
msgstr ""
|
409 |
msgid ""
|
410 |
"Easily post syntax-highlighted code to your site without having to modify "
|
411 |
"the code at all. Uses Alex Gorbatchev's <a href=\"http://alexgorbatchev.com/"
|
412 |
+
"wiki/SyntaxHighlighter\">SyntaxHighlighter</a>. <strong>TIP:</strong> Don't "
|
413 |
+
"use the Visual editor if you don't want your code mangled. TinyMCE will "
|
414 |
+
"\"clean up\" your HTML."
|
415 |
msgstr ""
|
416 |
|
417 |
#. Author of the plugin/theme
|
readme.txt
CHANGED
@@ -55,6 +55,11 @@ Make sure your theme's `footer.php` file has `<?php wp_footer(); ?>` somewhere i
|
|
55 |
|
56 |
== ChangeLog ==
|
57 |
|
|
|
|
|
|
|
|
|
|
|
58 |
= Version 3.1.0 =
|
59 |
|
60 |
* Allow choosing between v2.x and v3.x of the SyntaxHighlighting package. Some people prefer the old one and there's nothing wrong with it really.
|
55 |
|
56 |
== ChangeLog ==
|
57 |
|
58 |
+
= Version 3.1.1 =
|
59 |
+
|
60 |
+
* Fix default title setting not working.
|
61 |
+
* Force `<code>` to be inline. Fixes issues with themes that do `code { display: block; }`.
|
62 |
+
|
63 |
= Version 3.1.0 =
|
64 |
|
65 |
* Allow choosing between v2.x and v3.x of the SyntaxHighlighting package. Some people prefer the old one and there's nothing wrong with it really.
|
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.
|
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.
|
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
|
@@ -109,7 +109,7 @@ class SyntaxHighlighter {
|
|
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.
|
113 |
|
114 |
// Register brush scripts
|
115 |
wp_register_script( 'syntaxhighlighter-core', plugins_url('syntaxhighlighter/' . $this->shfolder . '/scripts/shCore.js'), array(), $this->agshver );
|
@@ -736,7 +736,7 @@ class SyntaxHighlighter {
|
|
736 |
'padlinenumbers' => false,
|
737 |
'smarttabs' => false,
|
738 |
'tabsize' => false,
|
739 |
-
'title' =>
|
740 |
'toolbar' => false,
|
741 |
'wraplines' => false,
|
742 |
), $atts ) );
|
4 |
|
5 |
Plugin Name: SyntaxHighlighter Evolved
|
6 |
Plugin URI: http://www.viper007bond.com/wordpress-plugins/syntaxhighlighter/
|
7 |
+
Version: 3.1.1
|
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.1'; // 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
|
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 );
|
736 |
'padlinenumbers' => false,
|
737 |
'smarttabs' => false,
|
738 |
'tabsize' => false,
|
739 |
+
'title' => $this->settings['title'],
|
740 |
'toolbar' => false,
|
741 |
'wraplines' => false,
|
742 |
), $atts ) );
|
syntaxhighlighter3/styles/shCore.css
CHANGED
@@ -60,6 +60,9 @@
|
|
60 |
overflow: auto !important;
|
61 |
font-size: 1em !important;
|
62 |
}
|
|
|
|
|
|
|
63 |
.syntaxhighlighter.source {
|
64 |
overflow: hidden !important;
|
65 |
}
|
60 |
overflow: auto !important;
|
61 |
font-size: 1em !important;
|
62 |
}
|
63 |
+
.syntaxhighlighter code {
|
64 |
+
display: inline !important;
|
65 |
+
}
|
66 |
.syntaxhighlighter.source {
|
67 |
overflow: hidden !important;
|
68 |
}
|