Crayon Syntax Highlighter - Version 1.8.2

Version Description

  • Added AutoIt and PowerShell
  • Fixed a bug causing single line comments on the last line without carriage return to be ignored.
  • Fixed bug causing crayon.js to fail when show-plain-default was enabled thanks to http://www.stuarticus.com/
Download this release

Release Info

Developer akarmenia
Plugin Icon wp plugin Crayon Syntax Highlighter
Version 1.8.2
Comparing to
See all releases

Code changes from version 1.8.0 to 1.8.2

crayon_highlighter.class.php CHANGED
@@ -151,7 +151,10 @@ class CrayonHighlighter {
151
  if ($this->needs_format) {
152
  $tmr->start();
153
  try {
154
- if (!$this->setting_val(CrayonSettings::MIXED)) {
 
 
 
155
  // Format the code with the generated regex and elements
156
  $this->formatted_code = CrayonFormatter::format_code($this->code, $this->language, $highlight, $this);
157
  } else {
151
  if ($this->needs_format) {
152
  $tmr->start();
153
  try {
154
+ // Parse before hand to read modes
155
+ CrayonParser::parse($this->language->id());
156
+ // Allow mixed if langauge supports it and setting is set
157
+ if (!$this->setting_val(CrayonSettings::MIXED) || !$this->language->mode(CrayonParser::ALLOW_MIXED)) {
158
  // Format the code with the generated regex and elements
159
  $this->formatted_code = CrayonFormatter::format_code($this->code, $this->language, $highlight, $this);
160
  } else {
crayon_langs.class.php CHANGED
@@ -12,7 +12,7 @@ class CrayonLangsResourceType {
12
  class CrayonLangs extends CrayonResourceCollection {
13
  // Properties and Constants ===============================================
14
  // CSS classes for known elements
15
- private static $known_elements = array('COMMENT' => 'c', 'STRING' => 's', 'KEYWORD' => 'k',
16
  'STATEMENT' => 'st', 'RESERVED' => 'r', 'TYPE' => 't', 'TAG' => 'ta', 'MODIFIER' => 'm', 'IDENTIFIER' => 'i',
17
  'ENTITY' => 'e', 'VARIABLE' => 'v', 'CONSTANT' => 'cn', 'OPERATOR' => 'o', 'SYMBOL' => 'sy',
18
  'NOTATION' => 'n', 'FADED' => 'f', CrayonParser::HTML_CHAR => 'h', CrayonParser::CRAYON_ELEMENT => 'crayon-internal-element');
@@ -279,6 +279,7 @@ class CrayonLang extends CrayonVersionResource {
279
  //private $regex = '';
280
  private $state = self::UNPARSED;
281
  private $modes = array();
 
282
  const PARSED_ERRORS = -1;
283
  const UNPARSED = 0;
284
  const PARSED_SUCCESS = 1;
12
  class CrayonLangs extends CrayonResourceCollection {
13
  // Properties and Constants ===============================================
14
  // CSS classes for known elements
15
+ private static $known_elements = array('COMMENT' => 'c', 'PREPROCESSOR' => 'p', 'STRING' => 's', 'KEYWORD' => 'k',
16
  'STATEMENT' => 'st', 'RESERVED' => 'r', 'TYPE' => 't', 'TAG' => 'ta', 'MODIFIER' => 'm', 'IDENTIFIER' => 'i',
17
  'ENTITY' => 'e', 'VARIABLE' => 'v', 'CONSTANT' => 'cn', 'OPERATOR' => 'o', 'SYMBOL' => 'sy',
18
  'NOTATION' => 'n', 'FADED' => 'f', CrayonParser::HTML_CHAR => 'h', CrayonParser::CRAYON_ELEMENT => 'crayon-internal-element');
279
  //private $regex = '';
280
  private $state = self::UNPARSED;
281
  private $modes = array();
282
+ // Whether this language allows Multiple Highlighting from other languages
283
  const PARSED_ERRORS = -1;
284
  const UNPARSED = 0;
285
  const PARSED_SUCCESS = 1;
crayon_parser.class.php CHANGED
@@ -9,6 +9,7 @@ class CrayonParser {
9
  const CASE_INSENSITIVE = 'CASE_INSENSITIVE';
10
  const MULTI_LINE = 'MULTI_LINE';
11
  const SINGLE_LINE = 'SINGLE_LINE';
 
12
  //const NO_END_TAG = '(?![^<]*>)'; // No longer used
13
  const HTML_CHAR = 'HTML_CHAR';
14
  const HTML_CHAR_REGEX = '<|>|(&([\w-]+);?)|[ \t]+';
@@ -16,7 +17,7 @@ class CrayonParser {
16
  const CRAYON_ELEMENT_REGEX = '\{\{crayon-internal:[^\}]*\}\}';
17
  const CRAYON_ELEMENT_REGEX_CAPTURE = '\{\{crayon-internal:([^\}]*)\}\}';
18
 
19
- private static $modes = array(self::CASE_INSENSITIVE => TRUE, self::MULTI_LINE => TRUE, self::SINGLE_LINE => TRUE);
20
 
21
  // Methods ================================================================
22
  private function __construct() {}
9
  const CASE_INSENSITIVE = 'CASE_INSENSITIVE';
10
  const MULTI_LINE = 'MULTI_LINE';
11
  const SINGLE_LINE = 'SINGLE_LINE';
12
+ const ALLOW_MIXED = 'ALLOW_MIXED';
13
  //const NO_END_TAG = '(?![^<]*>)'; // No longer used
14
  const HTML_CHAR = 'HTML_CHAR';
15
  const HTML_CHAR_REGEX = '<|>|(&([\w-]+);?)|[ \t]+';
17
  const CRAYON_ELEMENT_REGEX = '\{\{crayon-internal:[^\}]*\}\}';
18
  const CRAYON_ELEMENT_REGEX_CAPTURE = '\{\{crayon-internal:([^\}]*)\}\}';
19
 
20
+ private static $modes = array(self::CASE_INSENSITIVE => TRUE, self::MULTI_LINE => TRUE, self::SINGLE_LINE => TRUE, self::ALLOW_MIXED => TRUE);
21
 
22
  // Methods ================================================================
23
  private function __construct() {}
crayon_settings_wp.class.php CHANGED
@@ -669,19 +669,9 @@ class CrayonSettingsWP {
669
  'Chinese (<a href="http://smerpup.com/" target="_blank">Dezhi Liu</a>),
670
  German (<a href="http://www.technologyblog.de/" target="_blank">Stephan Knau&#223;</a>),
671
  Japanese (<a href="https://twitter.com/#!/west_323" target="_blank">@west_323</a>),
672
- Russian (<a href="http://simplelib.com/" target="_blank">Minimus</a>),
673
  Turkish (<a href="http://kazancexpert.com" target="_blank">Hakan</a>)';
674
 
675
- /*$paypal = '<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
676
- <input type="hidden" name="cmd" value="_s-xclick">
677
- <input type="hidden" name="encrypted" value="-----BEGIN PKCS7-----MIIHXwYJKoZIhvcNAQcEoIIHUDCCB0wCAQExggEwMIIBLAIBADCBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb20CAQAwDQYJKoZIhvcNAQEBBQAEgYBzx2k2FfhgWOnPLgktcZq9vUt1J6sK3heoLAeCqacjL65PW0wv2LwPxPjZCcEe9J8OgNvO1HINX1rrFW6M56tA/qP8d6y57tIeJlp8hU2G7q6zyMiEGS28tc+L+BHKupOvNBfGIosprr/98/dAXALza9Fp3aqsWsnBPBGso/vi+zELMAkGBSsOAwIaBQAwgdwGCSqGSIb3DQEHATAUBggqhkiG9w0DBwQILCwCkW/HPnKAgbiDiTfvLk2wi2cETsFcSPccmQ9Nb/2hmrER3fGshoIaSjW6W+luUbKy03WGHmeRPJM/3XsX1vqYTvY/Ox/8ICHXBvwOU+w2B5PYRetmelbd0jhZD3mlAxOWVwSyp3gN024Z0BMkW6mzfMvwRWaQij19OoM/zZvo66wMwyaoAqBmAlfDFMozIHC5vqY+WEHQJBMyWXfUDy2Woiu41FBzPSPaKRDJWL5yQ1aUD/LNx5GeSFUAuErQDHvHoIIDhzCCA4MwggLsoAMCAQICAQAwDQYJKoZIhvcNAQEFBQAwgY4xCzAJBgNVBAYTAlVTMQswCQYDVQQIEwJDQTEWMBQGA1UEBxMNTW91bnRhaW4gVmlldzEUMBIGA1UEChMLUGF5UGFsIEluYy4xEzARBgNVBAsUCmxpdmVfY2VydHMxETAPBgNVBAMUCGxpdmVfYXBpMRwwGgYJKoZIhvcNAQkBFg1yZUBwYXlwYWwuY29tMB4XDTA0MDIxMzEwMTMxNVoXDTM1MDIxMzEwMTMxNVowgY4xCzAJBgNVBAYTAlVTMQswCQYDVQQIEwJDQTEWMBQGA1UEBxMNTW91bnRhaW4gVmlldzEUMBIGA1UEChMLUGF5UGFsIEluYy4xEzARBgNVBAsUCmxpdmVfY2VydHMxETAPBgNVBAMUCGxpdmVfYXBpMRwwGgYJKoZIhvcNAQkBFg1yZUBwYXlwYWwuY29tMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDBR07d/ETMS1ycjtkpkvjXZe9k+6CieLuLsPumsJ7QC1odNz3sJiCbs2wC0nLE0uLGaEtXynIgRqIddYCHx88pb5HTXv4SZeuv0Rqq4+axW9PLAAATU8w04qqjaSXgbGLP3NmohqM6bV9kZZwZLR/klDaQGo1u9uDb9lr4Yn+rBQIDAQABo4HuMIHrMB0GA1UdDgQWBBSWn3y7xm8XvVk/UtcKG+wQ1mSUazCBuwYDVR0jBIGzMIGwgBSWn3y7xm8XvVk/UtcKG+wQ1mSUa6GBlKSBkTCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb22CAQAwDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOBgQCBXzpWmoBa5e9fo6ujionW1hUhPkOBakTr3YCDjbYfvJEiv/2P+IobhOGJr85+XHhN0v4gUkEDI8r2/rNk1m0GA8HKddvTjyGw/XqXa+LSTlDYkqI8OwR8GEYj4efEtcRpRYBxV8KxAW93YDWzFGvruKnnLbDAF6VR5w/cCMn5hzGCAZowggGWAgEBMIGUMIGOMQswCQYDVQQGEwJVUzELMAkGA1UECBMCQ0ExFjAUBgNVBAcTDU1vdW50YWluIFZpZXcxFDASBgNVBAoTC1BheVBhbCBJbmMuMRMwEQYDVQQLFApsaXZlX2NlcnRzMREwDwYDVQQDFAhsaXZlX2FwaTEcMBoGCSqGSIb3DQEJARYNcmVAcGF5cGFsLmNvbQIBADAJBgUrDgMCGgUAoF0wGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMTExMDI5MDYwMzMxWjAjBgkqhkiG9w0BCQQxFgQUDxRJGCn0/vBsWOG93mMXOqNDjigwDQYJKoZIhvcNAQEBBQAEgYCtuTjETQyWJK+nteR6FvEyb9rJSyOV5QHsg0S1my/0ZSDKwlebBDVksrPOtL4TiUCfvW5dzDANWuArIrNYe894NHA7Uj0nJDH2Rlw3e8Tyzb+beKu4Dgyv6GXR2UyJJV2doJzGp5WVQdOMxEfAKg6QUs4DzTr+DRF7f2BHwS1Dfw==-----END PKCS7-----
678
- ">
679
- <input type="image" src="https://www.paypalobjects.com/en_AU/i/btn/btn_donate_SM.gif" border="0" name="submit" alt="PayPal � The safer, easier way to pay online.">
680
- <img alt="" border="0" src="https://www.paypalobjects.com/en_AU/i/scr/pixel.gif" width="1" height="1">
681
- </form>
682
- ';*/
683
- //$paypal = '<a href="https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=AW99EMEPQ4CFE&lc=AU&item_name=Crayon%20Syntax%20Highlighter%20Donation&item_number=crayon%2ddonate&currency_code=AUD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted" target="_blank"><img src="'.plugins_url(CRAYON_DONATE_BUTTON, __FILE__).'"></a>';
684
-
685
  $links = '<a id="twitter-icon" href="' . $CRAYON_TWITTER . '" target="_blank"></a>
686
  <a id="gmail-icon" href="mailto:' . $CRAYON_EMAIL . '" target="_blank"></a><div id="crayon-donate"><a href="' . $CRAYON_DONATE . '" target="_blank"><img src="'.plugins_url(CRAYON_DONATE_BUTTON, __FILE__).'"></a></div>';
687
 
669
  'Chinese (<a href="http://smerpup.com/" target="_blank">Dezhi Liu</a>),
670
  German (<a href="http://www.technologyblog.de/" target="_blank">Stephan Knau&#223;</a>),
671
  Japanese (<a href="https://twitter.com/#!/west_323" target="_blank">@west_323</a>),
672
+ Russian (<a href="http://simplelib.com/" target="_blank">Minimus</a>, <a href="http://atlocal.net/" target="_blank">Di_Skyer</a>),
673
  Turkish (<a href="http://kazancexpert.com" target="_blank">Hakan</a>)';
674
 
 
 
 
 
 
 
 
 
 
 
675
  $links = '<a id="twitter-icon" href="' . $CRAYON_TWITTER . '" target="_blank"></a>
676
  <a id="gmail-icon" href="mailto:' . $CRAYON_EMAIL . '" target="_blank"></a><div id="crayon-donate"><a href="' . $CRAYON_DONATE . '" target="_blank"><img src="'.plugins_url(CRAYON_DONATE_BUTTON, __FILE__).'"></a></div>';
677
 
crayon_wp.class.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Crayon Syntax Highlighter
4
  Plugin URI: http://ak.net84.net/projects/crayon-syntax-highlighter
5
  Description: Supports multiple languages, themes, highlighting from a URL, local file or post text.
6
- Version: 1.8.0
7
  Author: Aram Kocharyan
8
  Author URI: http://ak.net84.net/
9
  Text Domain: crayon-syntax-highlighter
@@ -92,7 +92,7 @@ class CrayonWP {
92
  * $mode can be: 0 = return crayon content, 1 = return only code, 2 = return only plain code
93
  */
94
  private static function shortcode($atts, $content = NULL, $id = NULL, $mode = self::MODE_NORMAL) {
95
- // CrayonLog::log('shortcode');
96
 
97
  // Load attributes from shortcode
98
  $allowed_atts = array('url' => NULL, 'lang' => NULL, 'title' => NULL, 'mark' => NULL);
@@ -143,7 +143,7 @@ class CrayonWP {
143
 
144
  /* Returns Crayon instance */
145
  public static function instance($extra_attr = array(), $id = NULL) {
146
- // CrayonLog::log('instance');
147
 
148
  // Create Crayon
149
  $crayon = new CrayonHighlighter();
@@ -169,7 +169,7 @@ class CrayonWP {
169
 
170
  /* Search for Crayons in posts and queue them for creation */
171
  public static function the_posts($posts) {
172
- // CrayonLog::log('the_posts');
173
 
174
  // Whether to enqueue syles/scripts
175
  $enqueue = FALSE;
@@ -315,7 +315,7 @@ class CrayonWP {
315
  }
316
 
317
  private static function enqueue_resources() {
318
- // CrayonLog::log('enqueue');
319
 
320
  global $CRAYON_VERSION;
321
  wp_enqueue_style('crayon-style', plugins_url(CRAYON_STYLE, __FILE__), array(), $CRAYON_VERSION);
@@ -344,7 +344,7 @@ class CrayonWP {
344
 
345
  // Add Crayon into the_content
346
  public static function the_content($the_content) {
347
- // CrayonLog::log('the_content');
348
 
349
  global $post;
350
  // Go through queued posts and find crayons
@@ -410,7 +410,7 @@ class CrayonWP {
410
 
411
  // Remove Crayons from the_excerpt
412
  public static function the_excerpt($the_excerpt) {
413
- // CrayonLog::log('excerpt');
414
 
415
  self::$is_excerpt = TRUE;
416
  global $post;
@@ -443,7 +443,7 @@ class CrayonWP {
443
  }
444
 
445
  public static function wp_head() {
446
- // CrayonLog::log('head');
447
 
448
  self::$wp_head = TRUE;
449
  if (!self::$enqueued) {
@@ -483,7 +483,7 @@ class CrayonWP {
483
  }
484
 
485
  public static function init($request) {
486
- // CrayonLog::log('init');
487
  crayon_load_plugin_textdomain();
488
  }
489
 
3
  Plugin Name: Crayon Syntax Highlighter
4
  Plugin URI: http://ak.net84.net/projects/crayon-syntax-highlighter
5
  Description: Supports multiple languages, themes, highlighting from a URL, local file or post text.
6
+ Version: 1.8.2
7
  Author: Aram Kocharyan
8
  Author URI: http://ak.net84.net/
9
  Text Domain: crayon-syntax-highlighter
92
  * $mode can be: 0 = return crayon content, 1 = return only code, 2 = return only plain code
93
  */
94
  private static function shortcode($atts, $content = NULL, $id = NULL, $mode = self::MODE_NORMAL) {
95
+ CrayonLog::debug('shortcode');
96
 
97
  // Load attributes from shortcode
98
  $allowed_atts = array('url' => NULL, 'lang' => NULL, 'title' => NULL, 'mark' => NULL);
143
 
144
  /* Returns Crayon instance */
145
  public static function instance($extra_attr = array(), $id = NULL) {
146
+ CrayonLog::debug('instance');
147
 
148
  // Create Crayon
149
  $crayon = new CrayonHighlighter();
169
 
170
  /* Search for Crayons in posts and queue them for creation */
171
  public static function the_posts($posts) {
172
+ CrayonLog::debug('the_posts');
173
 
174
  // Whether to enqueue syles/scripts
175
  $enqueue = FALSE;
315
  }
316
 
317
  private static function enqueue_resources() {
318
+ CrayonLog::debug('enqueue');
319
 
320
  global $CRAYON_VERSION;
321
  wp_enqueue_style('crayon-style', plugins_url(CRAYON_STYLE, __FILE__), array(), $CRAYON_VERSION);
344
 
345
  // Add Crayon into the_content
346
  public static function the_content($the_content) {
347
+ CrayonLog::debug('the_content');
348
 
349
  global $post;
350
  // Go through queued posts and find crayons
410
 
411
  // Remove Crayons from the_excerpt
412
  public static function the_excerpt($the_excerpt) {
413
+ CrayonLog::debug('excerpt');
414
 
415
  self::$is_excerpt = TRUE;
416
  global $post;
443
  }
444
 
445
  public static function wp_head() {
446
+ CrayonLog::debug('head');
447
 
448
  self::$wp_head = TRUE;
449
  if (!self::$enqueued) {
483
  }
484
 
485
  public static function init($request) {
486
+ CrayonLog::debug('init');
487
  crayon_load_plugin_textdomain();
488
  }
489
 
global.php CHANGED
@@ -2,7 +2,6 @@
2
 
3
  // Switches
4
 
5
- // Enable to show exceptions on screen
6
  define('CRAYON_DEBUG', FALSE);
7
 
8
  // TODO remove once done
2
 
3
  // Switches
4
 
 
5
  define('CRAYON_DEBUG', FALSE);
6
 
7
  // TODO remove once done
js/crayon.js CHANGED
@@ -284,7 +284,7 @@ var CrayonSyntax = new function() {
284
  nums_button.hide();
285
  }
286
  if (plain.filter('[settings~="show-plain-default"]').length != 0) {
287
- this.toggle_plain(uid, true);
288
  }
289
  }
290
  // Scrollbar show events
284
  nums_button.hide();
285
  }
286
  if (plain.filter('[settings~="show-plain-default"]').length != 0) {
287
+ CrayonSyntax.toggle_plain(uid, true);
288
  }
289
  }
290
  // Scrollbar show events
langs/aliases.txt CHANGED
@@ -13,3 +13,4 @@ ruby rb
13
  ilogic logic inventor inv ilog
14
  pgsql sql mysql
15
  as flash swf fla
 
13
  ilogic logic inventor inv ilog
14
  pgsql sql mysql
15
  as flash swf fla
16
+ ps powershell
langs/autoit/autoit.txt ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ### AUTOIT LANGUAGE ###
2
+
3
+ # ELEMENT_NAME [optional-css-class] REGULAR_EXPRESSION
4
+
5
+ NAME AutoIt
6
+ VERSION 1.8.2
7
+
8
+ COMMENT (#(comments-start|cs).*?#(comments-end|ce))|(;.*?$)
9
+ PREPROCESSOR (#.*?$)
10
+ STRING (?default)
11
+
12
+ STATEMENT \b(?alt:statement.txt)\b
13
+ RESERVED \b(?alt:reserved.txt)\b
14
+
15
+ ENTITY (?default)
16
+ VARIABLE \$[A-Za-z_]\w*\b
17
+ IDENTIFIER (?default)
18
+ CONSTANT (?default)
19
+ OPERATOR (?default)
20
+ SYMBOL (?default)
langs/autoit/reserved.txt ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ FuncGlobal
2
+ Default
3
+ Switch
4
+ ByRef
5
+ Const
6
+ False
7
+ Local
8
+ ReDim
9
+ Enum
10
+ True
11
+ Dim
langs/autoit/statement.txt ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ContinueLoopDefault
2
+ EndSelectEndSwitch
3
+ ContinueCase
4
+ ReturnSelect
5
+ WhileWith
6
+ ExitLoop
7
+ EndFunc
8
+ EndWith
9
+ ElseIf
10
+ Switch
11
+ EndIf
12
+ Until
13
+ Case
14
+ Else
15
+ Exit
16
+ Next
17
+ Step
18
+ Then
19
+ WEnd
20
+ And
21
+ For
22
+ Not
23
+ Do
24
+ If
25
+ In
26
+ Or
27
+ To
langs/c#/c#.txt CHANGED
@@ -3,9 +3,10 @@
3
  # ELEMENT_NAME [optional-css-class] REGULAR_EXPRESSION
4
 
5
  NAME C#
6
- VERSION 1.0
7
 
8
- COMMENT (?default)|(#.*?$)
 
9
  STRING (?default)
10
 
11
  STATEMENT \b(?alt:statement.txt)\b
3
  # ELEMENT_NAME [optional-css-class] REGULAR_EXPRESSION
4
 
5
  NAME C#
6
+ VERSION 1.8.1
7
 
8
+ COMMENT (?default)
9
+ PREPROCESSOR (?default)
10
  STRING (?default)
11
 
12
  STATEMENT \b(?alt:statement.txt)\b
langs/c++/c++.txt CHANGED
@@ -3,9 +3,10 @@
3
  # ELEMENT_NAME [optional-css-class] REGULAR_EXPRESSION
4
 
5
  NAME C++
6
- VERSION 1.6.4
7
 
8
- COMMENT (?default)|(#.*?$)
 
9
  STRING (?default)
10
 
11
  STATEMENT (?default)|\b(?alt:statement.txt)\b
3
  # ELEMENT_NAME [optional-css-class] REGULAR_EXPRESSION
4
 
5
  NAME C++
6
+ VERSION 1.8.1
7
 
8
+ COMMENT (?default)
9
+ PREPROCESSOR (?default)
10
  STRING (?default)
11
 
12
  STATEMENT (?default)|\b(?alt:statement.txt)\b
langs/c/c.txt CHANGED
@@ -3,9 +3,10 @@
3
  # ELEMENT_NAME [optional-css-class] REGULAR_EXPRESSION
4
 
5
  NAME C
6
- VERSION 1.0
7
 
8
- COMMENT (?default)|(#.*?$)
 
9
  STRING (?default)
10
 
11
  STATEMENT (?default)
3
  # ELEMENT_NAME [optional-css-class] REGULAR_EXPRESSION
4
 
5
  NAME C
6
+ VERSION 1.8.1
7
 
8
+ COMMENT (?default)
9
+ PREPROCESSOR (?default)
10
  STRING (?default)
11
 
12
  STATEMENT (?default)
langs/default/default.txt CHANGED
@@ -3,9 +3,10 @@
3
  # ELEMENT_NAME [optional-css-class] REGULAR_EXPRESSION
4
 
5
  NAME Default
6
- VERSION 1.8.0
7
 
8
  COMMENT (/\*.*?\*/)|(//.*?$)
 
9
  STRING ((?<!\\)".*?(?<!\\)")|((?<!\\)'.*?(?<!\\)')
10
 
11
  STATEMENT \b(?alt:statement.txt)\b
3
  # ELEMENT_NAME [optional-css-class] REGULAR_EXPRESSION
4
 
5
  NAME Default
6
+ VERSION 1.8.1
7
 
8
  COMMENT (/\*.*?\*/)|(//.*?$)
9
+ PREPROCESSOR (#.*?$)
10
  STRING ((?<!\\)".*?(?<!\\)")|((?<!\\)'.*?(?<!\\)')
11
 
12
  STATEMENT \b(?alt:statement.txt)\b
langs/ilogic/ilogic.txt CHANGED
@@ -5,7 +5,7 @@
5
  NAME Inventor iLogic
6
  VERSION 1.7.30
7
 
8
- COMMENT (?default)|('[^\r\n]*)
9
  STRING (?default)
10
 
11
  KEYWORD (\b\w+\b)\.(?=[a-z])|((?<![^\s])\b\w+\b(?=\s*\())
5
  NAME Inventor iLogic
6
  VERSION 1.7.30
7
 
8
+ COMMENT (?default)|('.*?$)
9
  STRING (?default)
10
 
11
  KEYWORD (\b\w+\b)\.(?=[a-z])|((?<![^\s])\b\w+\b(?=\s*\())
langs/lua/lua.txt ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ### LUA LANGUAGE ###
2
+
3
+ # ELEMENT_NAME [optional-css-class] REGULAR_EXPRESSION
4
+
5
+ NAME Lua
6
+ VERSION 1.8.1
7
+
8
+ COMMENT (--\[\[.*?\]\])|(--.*?$)
9
+ STRING (?default)|(\[(==)?\[[^\]]*\](==)?\])
10
+
11
+ STATEMENT (?default)|\b(?alt:statement.txt)\b
12
+ RESERVED (?default)|\b(?alt:reserved.txt)\b
13
+
14
+ ENTITY (?default)
15
+ VARIABLE (?default)
16
+ IDENTIFIER (?default)
17
+ CONSTANT (?default)
18
+ OPERATOR (?default)
19
+ SYMBOL (?default)
langs/lua/reserved.txt ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ collectgarbage
2
+ _ERRORMESSAGE
3
+ loadstring
4
+ function
5
+ _VERSION
6
+ loadfile
7
+ tonumber
8
+ tostring
9
+ dostring
10
+ foreachi
11
+ _PROMPT
12
+ _OUTPUT
13
+ _STDERR
14
+ _STDOUT
15
+ foreach
16
+ globals
17
+ newtype
18
+ require
19
+ tinsert
20
+ tremove
21
+ assert
22
+ dofile
23
+ gcinfo
24
+ unpack
25
+ _ALERT
26
+ _INPUT
27
+ _STDIN
28
+ rawget
29
+ rawset
30
+ FALSE
31
+ local
32
+ error
33
+ print
34
+ atan2
35
+ TRUE
36
+ type
37
+ call
38
+ getn
39
+ sort
40
+ acos
41
+ asin
42
+ atan
43
+ ceil
44
+ nil
45
+ abs
46
+ cos
47
+ deg
48
+ exp
langs/lua/statement.txt ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ elseif
2
+ repeat
3
+ return
4
+ until
5
+ break
6
+ while
7
+ then
8
+ else
9
+ end
10
+ for
11
+ and
12
+ if
13
+ in
14
+ not
15
+ do
16
+ or
langs/objc/objc.txt CHANGED
@@ -3,9 +3,10 @@
3
  # ELEMENT_NAME [optional-css-class] REGULAR_EXPRESSION
4
 
5
  NAME Objective-C
6
- VERSION 1.8.0
7
 
8
- COMMENT (?default)|(#.*?$)
 
9
  STRING (@?(?<!\\)".*?(?<!\\)")|((?<!\\)'.*?(?<!\\)')
10
  NOTATION \<.+\>
11
 
3
  # ELEMENT_NAME [optional-css-class] REGULAR_EXPRESSION
4
 
5
  NAME Objective-C
6
+ VERSION 1.8.1
7
 
8
+ COMMENT (?default)
9
+ PREPROCESSOR (?default)
10
  STRING (@?(?<!\\)".*?(?<!\\)")|((?<!\\)'.*?(?<!\\)')
11
  NOTATION \<.+\>
12
 
langs/ps/ps.txt ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ### POWERSHELL LANGUAGE ###
2
+
3
+ # ELEMENT_NAME [optional-css-class] REGULAR_EXPRESSION
4
+
5
+ NAME PowerShell
6
+ VERSION 1.8.2
7
+
8
+ COMMENT (#.*?$)|(<#.*#>)
9
+ STRING (?default)
10
+
11
+ FUNCTIONS:RESERVED \b(?alt:reserved.txt)\b
12
+ STATEMENT \b(?alt:statement.txt)\b
13
+ TYPE \b(?alt:type.txt)\b
14
+
15
+ ENTITY (?default)
16
+ VARIABLE \$[A-Za-z_]\w*\b
17
+ OPTION:VARIABLE -\w+\b
18
+ IDENTIFIER (?default)
19
+ CONSTANT (?default)
20
+ OPERATOR (?default)
21
+ SYMBOL (?default)
langs/ps/reserved.txt ADDED
@@ -0,0 +1,226 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Get-AuthenticodeSignature
2
+ Set-AuthenticodeSignature
3
+ ConvertFrom-SecureString
4
+ ConvertTo-SecureString
5
+ Get-ExecutionPolicy
6
+ Remove-ItemProperty
7
+ Rename-ItemProperty
8
+ Set-ExecutionPolicy
9
+ Clear-ItemProperty
10
+ Get-PfxCertificate
11
+ Copy-ItemProperty
12
+ Invoke-Expression
13
+ Move-ItemProperty
14
+ Update-FormatData
15
+ Get-ItemProperty
16
+ New-ItemProperty
17
+ Set-ItemProperty
18
+ Start-Transcript
19
+ Get-TraceSource
20
+ Measure-Command
21
+ Remove-PSSnapin
22
+ Remove-Variable
23
+ Restart-Service
24
+ Set-TraceSource
25
+ Stop-Transcript
26
+ Suspend-Service
27
+ Update-TypeData
28
+ Clear-Variable
29
+ Compare-Object
30
+ ConvertTo-Html
31
+ Export-Console
32
+ ForEach-Object
33
+ Get-Credential
34
+ Get-PSProvider
35
+ Invoke-History
36
+ Measure-Object
37
+ Remove-PSDrive
38
+ Resume-Service
39
+ Write-Progress
40
+ Clear-Content
41
+ Export-Clixml
42
+ Format-Custom
43
+ Get-ChildItem
44
+ Get-UICulture
45
+ Get-WmiObject
46
+ Import-Clixml
47
+ Push-Location
48
+ Select-Object
49
+ Select-String
50
+ Start-Service
51
+ Trace-Command
52
+ Write-Verbose
53
+ Write-Warning
54
+ Add-PSSnapin
55
+ Convert-Path
56
+ Export-Alias
57
+ Format-Table
58
+ Get-EventLog
59
+ Get-Location
60
+ Get-PSSnapin
61
+ Get-Variable
62
+ Group-Object
63
+ Import-Alias
64
+ New-TimeSpan
65
+ New-Variable
66
+ Pop-Location
67
+ Resolve-Path
68
+ Set-Location
69
+ Set-Variable
70
+ Stop-Process
71
+ Stop-Service
72
+ Where-Object
73
+ Write-Output
74
+ Add-Content
75
+ Add-History
76
+ Format-List
77
+ Format-Wide
78
+ Get-Command
79
+ Get-Content
80
+ Get-Culture
81
+ Get-History
82
+ Get-Process
83
+ Get-PSDrive
84
+ Get-Service
85
+ Invoke-Item
86
+ New-PSDrive
87
+ New-Service
88
+ Out-Default
89
+ Out-Printer
90
+ Remove-Item
91
+ Rename-Item
92
+ Set-Content
93
+ Set-PSDebug
94
+ Set-Service
95
+ Sort-Object
96
+ Start-Sleep
97
+ Write-Debug
98
+ Write-Error
99
+ Add-Member
100
+ Clear-Item
101
+ Export-Csv
102
+ Get-Member
103
+ Get-Unique
104
+ Import-Csv
105
+ New-Object
106
+ Out-String
107
+ Split-Path
108
+ Tee-Object
109
+ Write-Host
110
+ Copy-Item
111
+ Get-Alias
112
+ Join-Path
113
+ Move-Item
114
+ New-Alias
115
+ Read-Host
116
+ Set-Alias
117
+ Test-Path
118
+ Get-Date
119
+ Get-Help
120
+ Get-Host
121
+ Get-Item
122
+ New-Item
123
+ Out-File
124
+ Out-Host
125
+ Out-Null
126
+ Set-Date
127
+ Set-Item
128
+ Get-Acl
129
+ Set-Acl
130
+ history
131
+ select
132
+ epcsv
133
+ group
134
+ ipcsv
135
+ sleep
136
+ write
137
+ clear
138
+ mount
139
+ pushd
140
+ rmdir
141
+ chdir
142
+ erase
143
+ asnp
144
+ cvpa
145
+ diff
146
+ epal
147
+ gsnp
148
+ gwmi
149
+ ipal
150
+ rsnp
151
+ rvpa
152
+ sasv
153
+ sort
154
+ spps
155
+ spsv
156
+ kill
157
+ popd
158
+ echo
159
+ copy
160
+ move
161
+ type
162
+ clc
163
+ cli
164
+ clp
165
+ clv
166
+ cpi
167
+ cpp
168
+ gal
169
+ gci
170
+ gcm
171
+ gdr
172
+ ghy
173
+ gps
174
+ gsv
175
+ iex
176
+ ihy
177
+ nal
178
+ ndr
179
+ rdr
180
+ rni
181
+ rnp
182
+ sal
183
+ tee
184
+ cat
185
+ pwd
186
+ cls
187
+ del
188
+ dir
189
+ ren
190
+ set
191
+ ac
192
+ fc
193
+ fl
194
+ ft
195
+ fw
196
+ gc
197
+ gi
198
+ gl
199
+ gm
200
+ gp
201
+ gu
202
+ gv
203
+ ii
204
+ mi
205
+ mp
206
+ ni
207
+ nv
208
+ oh
209
+ ri
210
+ rp
211
+ rv
212
+ sc
213
+ si
214
+ sl
215
+ sp
216
+ sv
217
+ cd
218
+ cp
219
+ lp
220
+ ls
221
+ mv
222
+ ps
223
+ rm
224
+ rd
225
+ h
226
+ r
langs/ps/statement.txt ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ continue
2
+ function
3
+ foreach
4
+ switch
5
+ filter
6
+ elseif
7
+ return
8
+ break
9
+ while
10
+ until
11
+ where
12
+ param
13
+ throw
14
+ else
15
+ trap
16
+ for
17
+ do
18
+ if
19
+ in
langs/ps/type.txt ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ scriptblock
2
+ wmisearcher
3
+ hashtable
4
+ psobject
5
+ wmiclass
6
+ decimal
7
+ string
8
+ double
9
+ single
10
+ switch
11
+ object
12
+ float
13
+ regex
14
+ array
15
+ long
16
+ char
17
+ bool
18
+ byte
19
+ type
20
+ int
21
+ xml
22
+ ref
23
+ wmi
langs/python/python.txt CHANGED
@@ -7,7 +7,7 @@
7
  NAME Python
8
  VERSION 1.1
9
 
10
- COMMENT (#[^\r\n]*)
11
  STRING (?:(?<!\\)""".*?(?<!\\)""")|(?:(?<!\\)'''.*?(?<!\\)''')|((?<!\\)".*?(?<!\\)")|((?<!\\)'.*?(?<!\\)')
12
 
13
  FUNCTION:KEYWORD \b(?alt:function.txt)\b
7
  NAME Python
8
  VERSION 1.1
9
 
10
+ COMMENT (#.*?$)
11
  STRING (?:(?<!\\)""".*?(?<!\\)""")|(?:(?<!\\)'''.*?(?<!\\)''')|((?<!\\)".*?(?<!\\)")|((?<!\\)'.*?(?<!\\)')
12
 
13
  FUNCTION:KEYWORD \b(?alt:function.txt)\b
langs/sh/sh.txt CHANGED
@@ -3,9 +3,10 @@
3
  # ELEMENT_NAME [optional-css-class] REGULAR_EXPRESSION
4
 
5
  NAME Shell
6
- VERSION 1.2
7
 
8
- COMMENT (?default)|(#.*?$)
 
9
  STRING ((?<!\\)"[^\r\n]*?(?<!\\)")|((?<!\\)'[^\r\n]*?(?<!\\)')
10
 
11
  STATEMENT (?default)|\b(?alt:statement.txt)\b
3
  # ELEMENT_NAME [optional-css-class] REGULAR_EXPRESSION
4
 
5
  NAME Shell
6
+ VERSION 1.8.1
7
 
8
+ COMMENT (?default)
9
+ PREPROCESSOR (?default)
10
  STRING ((?<!\\)"[^\r\n]*?(?<!\\)")|((?<!\\)'[^\r\n]*?(?<!\\)')
11
 
12
  STATEMENT (?default)|\b(?alt:statement.txt)\b
langs/vb/vb.txt CHANGED
@@ -5,7 +5,7 @@
5
  NAME Visual Basic
6
  VERSION 1.0
7
 
8
- COMMENT ((?<=[\n\s])REM[\t ][^\r\n]*)|('[^\r\n]*)
9
  STRING ((?<!\\)".*?(?<!\\)")
10
 
11
  STATEMENT (?default)|\b(?alt:statement.txt)\b
5
  NAME Visual Basic
6
  VERSION 1.0
7
 
8
+ COMMENT ((?<=[\n\s])REM[\t ][^\r\n]*)|('.*?$)
9
  STRING ((?<!\\)".*?(?<!\\)")
10
 
11
  STATEMENT (?default)|\b(?alt:statement.txt)\b
langs/yaml/operator.txt ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ }
3
+ [
4
+ ]
5
+ ,
6
+ ---
7
+ :
8
+ >
9
+ |
10
+ .
11
+ &
langs/yaml/yaml.txt ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ### YAML LANGUAGE ###
2
+
3
+ # ELEMENT_NAME [optional-css-class] REGULAR_EXPRESSION
4
+
5
+ NAME YAML
6
+ VERSION 1.8.1
7
+ ALLOW_MIXED NO
8
+
9
+ COMMENT #.*?$
10
+ QUOTED:IDENTIFIER ("[^"]*")|('[^']*')
11
+ VALUES:IDENTIFIER \[[^\]]*\]
12
+
13
+ LIST_KEY:STRING ((\-\s*)?[\w-]+(?=\s*:))|(\-\s*(?=\{))
14
+ TAG %(\w+)
15
+ ANCHOR:CONSTANT &\w+
16
+ REF:ENTITY \*\w+
17
+ OPERATOR (?alt:operator.txt)
18
+ SYMBOL (?default)
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://bit.ly/crayondonate
4
  Tags: syntax highlighter, syntax, highlighter, highlighting, crayon, code highlighter
5
  Requires at least: 3.0
6
  Tested up to: 3.3.1
7
- Stable tag: trunk
8
 
9
  Syntax Highlighter supporting multiple languages, themes, fonts, highlighting from a URL, local file or post text.
10
 
@@ -45,21 +45,26 @@ See http://ak.net84.net/projects/crayon-language-file-specification/ to learn ho
45
 
46
  * Default Langauge (one size fits all, highlights generic code)
47
  * ActionScript
 
48
  * C
49
  * C#
50
  * C++
51
  * CSS
52
  * HTML (XML/XHTML)
53
- * Monkey
 
54
  * Java
55
  * JavaScript
56
  * Objective-C
57
  * PHP
58
  * PostgreSQL (thanks to <a href="http://bitorchestra.com/" target="_blank">http://bitorchestra.com/</a>)
 
59
  * Python
60
  * Ruby
61
  * Shell (Unix)
62
  * Visual Basic
 
 
63
 
64
  Live Demo: <a href="http://bit.ly/poKNqs" target="_blank">http://bit.ly/poKNqs</a>
65
 
@@ -75,7 +80,7 @@ Please Thank Me With <a href="http://ak.net84.net/files/donate.php" target="_bla
75
  * Italian
76
  * Spanish
77
  * Japanese (thanks to <a href="https://twitter.com/#!/west_323" target="_blank">@west_323</a>)
78
- * Russian (thanks to <a href="http://simplelib.com" target="_blank">Minimus</a>)
79
  * Turkish (thanks to <a href="http://kazancexpert.com" target="_blank">Hakan</a>)
80
  * Help from translators at improving/adding to this list greatly appreciated!
81
 
@@ -89,8 +94,6 @@ These are helpful for discovering new features.
89
 
90
  **Planned Features**
91
 
92
- * AutoIt support
93
- * PowerShell support
94
  * Highlighting in sentences
95
  * Highlighting in comments
96
  * Visual Editor Support
@@ -131,6 +134,20 @@ Contact me at http://twitter.com/crayonsyntax or crayon.syntax@gmail.com.
131
 
132
  == Changelog ==
133
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
134
  = 1.8.0 =
135
  * Added PostgreSQL thanks to Emiliano Leporati and Alessandro Venezia from http://bitorchestra.com/
136
  * Added ActionScript
@@ -453,3 +470,4 @@ Thanks to all those who donate to my project!
453
  * Perry Bonewell (http://pointatthemoon.co.uk/), United Kingdom
454
  * Andrew McDonnell (http://blog.oldcomputerjunk.net/), Australia
455
  * Waimanu Solutions (http://daveblog.waimanu.web44.net/), USA
 
4
  Tags: syntax highlighter, syntax, highlighter, highlighting, crayon, code highlighter
5
  Requires at least: 3.0
6
  Tested up to: 3.3.1
7
+ Stable tag: 1.8.2
8
 
9
  Syntax Highlighter supporting multiple languages, themes, fonts, highlighting from a URL, local file or post text.
10
 
45
 
46
  * Default Langauge (one size fits all, highlights generic code)
47
  * ActionScript
48
+ * AutoIt
49
  * C
50
  * C#
51
  * C++
52
  * CSS
53
  * HTML (XML/XHTML)
54
+ * Lua
55
+ * Monkey (thanks to <a href="https://github.com/devolonter" target="_blank">https://github.com/devolonter</a>)
56
  * Java
57
  * JavaScript
58
  * Objective-C
59
  * PHP
60
  * PostgreSQL (thanks to <a href="http://bitorchestra.com/" target="_blank">http://bitorchestra.com/</a>)
61
+ * PowerShell
62
  * Python
63
  * Ruby
64
  * Shell (Unix)
65
  * Visual Basic
66
+ * YAML
67
+ * Others will be added when requested
68
 
69
  Live Demo: <a href="http://bit.ly/poKNqs" target="_blank">http://bit.ly/poKNqs</a>
70
 
80
  * Italian
81
  * Spanish
82
  * Japanese (thanks to <a href="https://twitter.com/#!/west_323" target="_blank">@west_323</a>)
83
+ * Russian (thanks to <a href="http://simplelib.com" target="_blank">Minimus</a> & <a href="http://atlocal.net/" target="_blank">Di_Skyer</a>)
84
  * Turkish (thanks to <a href="http://kazancexpert.com" target="_blank">Hakan</a>)
85
  * Help from translators at improving/adding to this list greatly appreciated!
86
 
94
 
95
  **Planned Features**
96
 
 
 
97
  * Highlighting in sentences
98
  * Highlighting in comments
99
  * Visual Editor Support
134
 
135
  == Changelog ==
136
 
137
+ = 1.8.2 =
138
+ * Added AutoIt and PowerShell
139
+ * Fixed a bug causing single line comments on the last line without carriage return to be ignored.
140
+ * Fixed bug causing crayon.js to fail when show-plain-default was enabled thanks to http://www.stuarticus.com/
141
+
142
+ = 1.8.1 =
143
+ * Added Lua
144
+ * Added YAML
145
+ * Added different highlighting for preprocessor in C, C++, C# and Obj-C. Any other lang can use it as well.
146
+ * Improved Russian translation thanks to Di_Skyer (http://atlocal.net/)
147
+ * Added new "Neon" theme thanks to Di_Skyer (http://atlocal.net/)
148
+ * Added ability to log debug messages if CRAYON_DEBUG is TRUE in global.php
149
+ * Added ALLOW_MIXED = YES/NO option in language files to disable ability to have mixed language highlighting
150
+
151
  = 1.8.0 =
152
  * Added PostgreSQL thanks to Emiliano Leporati and Alessandro Venezia from http://bitorchestra.com/
153
  * Added ActionScript
470
  * Perry Bonewell (http://pointatthemoon.co.uk/), United Kingdom
471
  * Andrew McDonnell (http://blog.oldcomputerjunk.net/), Australia
472
  * Waimanu Solutions (http://daveblog.waimanu.web44.net/), USA
473
+ * Greg Pettit (http://blog.monkey-house.ca/), Canada
themes/classic/classic.css CHANGED
@@ -121,6 +121,9 @@ Author URI: http://ak.net84.net/
121
  .crayon-theme-classic .crayon-pre .c {
122
  color: #ff8000 !important;
123
  }
 
 
 
124
  .crayon-theme-classic .crayon-pre .s {
125
  color: #008000 !important;
126
  }
121
  .crayon-theme-classic .crayon-pre .c {
122
  color: #ff8000 !important;
123
  }
124
+ .crayon-theme-classic .crayon-pre .p {
125
+ color: #b85c00 !important;
126
+ }
127
  .crayon-theme-classic .crayon-pre .s {
128
  color: #008000 !important;
129
  }
themes/epicgeeks/epicgeeks.css CHANGED
@@ -180,6 +180,9 @@ Author URI: http://epicgeeks.net/
180
  .crayon-theme-epicgeeks .crayon-pre .c {
181
  color: #787878 !important;
182
  }
 
 
 
183
  .crayon-theme-epicgeeks .crayon-pre .s {
184
  color: #90c300 !important;
185
  }
180
  .crayon-theme-epicgeeks .crayon-pre .c {
181
  color: #787878 !important;
182
  }
183
+ .crayon-theme-epicgeeks .crayon-pre .p {
184
+ color: #a3a3a3 !important;
185
+ }
186
  .crayon-theme-epicgeeks .crayon-pre .s {
187
  color: #90c300 !important;
188
  }
themes/neon/neon.css ADDED
@@ -0,0 +1,177 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ Theme Name: neon
3
+ Description: Dark and elegant.
4
+ Version: 1.3
5
+ Author: Aram Kocharyan
6
+ Author URI: http://ak.net84.net/
7
+ */
8
+
9
+ /* Code Style ====================== */
10
+ .crayon-theme-neon {
11
+ border: 1px #333 solid !important;
12
+ text-shadow: none !important;
13
+ background: #2d2d2d !important;
14
+ color: #fff;
15
+ }
16
+
17
+ .crayon-theme-neon span {
18
+ color: #999 !important;
19
+ }
20
+
21
+ /* Line Numbers */
22
+ .crayon-theme-neon .crayon-nums {
23
+ border-right: 1px solid #333 !important;
24
+ color: #333 !important;
25
+ background: #777777 !important;
26
+ }
27
+
28
+ /* Selection */
29
+ .crayon-theme-neon .crayon-code::selection,
30
+ .crayon-theme-neon .crayon-code *::selection {
31
+ background: #ddeeff !important;
32
+ color: #316ba5 !important;
33
+ }
34
+ .crayon-theme-neon::selection,
35
+ .crayon-theme-neon .crayon-toolbar::selection,
36
+ .crayon-theme-neon .crayon-toolbar *::selection,
37
+ .crayon-theme-neon .crayon-info::selection,
38
+ .crayon-theme-neon .crayon-info *::selection,
39
+ .crayon-theme-neon .crayon-nums::selection,
40
+ .crayon-theme-neon .crayon-nums *::selection {
41
+ background: #777 !important;
42
+ }
43
+
44
+ /* Striped Lines */
45
+ .crayon-theme-neon .crayon-line {
46
+ background: #050505 !important;
47
+ }
48
+
49
+ .crayon-theme-neon .crayon-striped-line {
50
+ background: #000 !important;
51
+ border: 1px #171717 !important;
52
+ }
53
+ .crayon-theme-neon .crayon-striped-num {
54
+ background: #aaa !important;
55
+ border: 1px #CCC !important;
56
+ color: #555 !important;
57
+ }
58
+
59
+ /* Marked Lines */
60
+ .crayon-theme-neon .crayon-marked-line {
61
+ background: #484844 !important;
62
+ border: 1px #222 !important;
63
+ }
64
+ .crayon-theme-neon .crayon-marked-num {
65
+ color: #555 !important;
66
+ background: #bbb !important;
67
+ border: 1px #777 !important;
68
+ }
69
+ .crayon-theme-neon .crayon-marked-line.crayon-striped-line {
70
+ background: #51514d !important;
71
+ }
72
+ .crayon-theme-neon .crayon-marked-num.crayon-striped-num {
73
+ background: #ccc !important;
74
+ color: #888 !important;
75
+ }
76
+ .crayon-theme-neon .crayon-marked-line.crayon-top,
77
+ .crayon-theme-neon .crayon-marked-num.crayon-top {
78
+ border-top-style: solid !important;
79
+ }
80
+ .crayon-theme-neon .crayon-marked-line.crayon-bottom,
81
+ .crayon-theme-neon .crayon-marked-num.crayon-bottom {
82
+ border-bottom-style: solid !important;
83
+ }
84
+
85
+ /* Info */
86
+ .crayon-theme-neon .crayon-info {
87
+ background: #faf9d7 !important;
88
+ border-bottom: 1px #b1af5e solid !important;
89
+ color: #7e7d34;
90
+ }
91
+
92
+ /* Toolbar */
93
+ .crayon-theme-neon .crayon-toolbar {
94
+ background: #b2b2b2 !important;
95
+ border-bottom: 1px #666 solid !important;
96
+ }
97
+ .crayon-theme-neon .crayon-toolbar > div {
98
+ float: left !important;
99
+ }
100
+ .crayon-theme-neon .crayon-toolbar .crayon-tools {
101
+ float: right !important;
102
+ }
103
+ .crayon-theme-neon .crayon-title {
104
+ color: #333 !important;
105
+ }
106
+ .crayon-theme-neon .crayon-language {
107
+ color: #666 !important;
108
+ }
109
+ .crayon-theme-neon .crayon-toolbar .crayon-mixed-highlight {
110
+ background-image: url('../../css/images/toolbar/plus_dark.png');
111
+ }
112
+
113
+ /* Buttons */
114
+ .crayon-theme-neon a.crayon-button {
115
+ background-color: transparent;
116
+ }
117
+ .crayon-theme-neon a.crayon-button:hover,
118
+ .crayon-theme-neon a.crayon-button.crayon-pressed:hover {
119
+ background-color: #ddd;
120
+ color: #666;
121
+ }
122
+ /* :active MUST come after :hover */
123
+ .crayon-theme-neon a.crayon-button.crayon-pressed,
124
+ .crayon-theme-neon a.crayon-button.crayon-pressed:active,
125
+ .crayon-theme-neon a.crayon-button:active {
126
+ background-color: #777;
127
+ color: #ccc;
128
+ }
129
+ /* End Code Style ================== */
130
+
131
+ /* Syntax Highlighting ============= */
132
+ .crayon-theme-neon .crayon-pre .c {
133
+ color: #888 !important;
134
+ }
135
+ .crayon-theme-neon .crayon-pre .s {
136
+ color: #99CC18 !important;
137
+ }
138
+ .crayon-theme-neon .crayon-pre .k,
139
+ .crayon-theme-neon .crayon-pre .st,
140
+ .crayon-theme-neon .crayon-pre .r,
141
+ .crayon-theme-neon .crayon-pre .t,
142
+ .crayon-theme-neon .crayon-pre .m {
143
+ color: #EEEE33 !important;
144
+ font-weight: bold;
145
+ }
146
+ .crayon-theme-neon .crayon-pre .ta {
147
+ color: #AAA !important;
148
+ }
149
+ .crayon-theme-neon .crayon-pre .i {
150
+ color: #fbefb1 !important;
151
+ }
152
+ .crayon-theme-neon .crayon-pre .v {
153
+ color: #879ab2 !important;
154
+ }
155
+ .crayon-theme-neon .crayon-pre .e {
156
+ color: #ED7218 !important;
157
+ }
158
+ .crayon-theme-neon .crayon-pre .cn {
159
+ color: #FF2020 !important;
160
+ }
161
+ .crayon-theme-neon .crayon-pre .o,
162
+ .crayon-theme-neon .crayon-pre .h {
163
+ color: #ac99ab !important;
164
+ }
165
+ .crayon-theme-neon .crayon-pre .sy {
166
+ color: #A069F8 !important;
167
+ }
168
+ .crayon-theme-neon .crayon-pre .n {
169
+ color: #726e73 !important;
170
+ font-style: italic;
171
+ }
172
+ .crayon-theme-neon .crayon-pre .f {
173
+ color: #595959 !important;
174
+ }
175
+ /* End Syntax Highlighting ========= */
176
+
177
+ /* End Classic Scheme ============================================ */
themes/twilight/twilight.css CHANGED
@@ -128,6 +128,9 @@ Author URI: http://ak.net84.net/
128
  .crayon-theme-twilight .crayon-pre .c {
129
  color: #7f7b80 !important;
130
  }
 
 
 
131
  .crayon-theme-twilight .crayon-pre .s {
132
  color: #a0ab83 !important;
133
  }
128
  .crayon-theme-twilight .crayon-pre .c {
129
  color: #7f7b80 !important;
130
  }
131
+ .crayon-theme-twilight .crayon-pre .p {
132
+ color: #a19ba2 !important;
133
+ }
134
  .crayon-theme-twilight .crayon-pre .s {
135
  color: #a0ab83 !important;
136
  }
trans/crayon-syntax-highlighter-ru_RU.mo CHANGED
Binary file
trans/crayon-syntax-highlighter-ru_RU.po CHANGED
@@ -1,381 +1,378 @@
1
  msgid ""
2
  msgstr ""
3
- "Project-Id-Version: Crayon Syntax Highlighter\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2012-01-07 12:58+0300\n"
6
  "PO-Revision-Date: \n"
7
- "Last-Translator: minimus <minimus@blogcoding.ru>\n"
8
- "Language-Team: minimus <minimus@simplelib.com>\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
- "Plural-Forms: nplurals=2; plural=n != 1;\n"
13
- "X-Poedit-Language: Russian\n"
14
- "X-Poedit-Country: BELARUS\n"
15
  "X-Poedit-SourceCharset: utf-8\n"
16
- "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;\n"
17
- "X-Poedit-Basepath: .\n"
18
- "X-Poedit-Bookmarks: \n"
19
  "X-Poedit-SearchPath-0: .\n"
20
- "X-Textdomain-Support: yes"
21
 
22
- #: crayon_settings.class.php:101
23
  #@ crayon-syntax-highlighter
 
24
  msgid "Hourly"
25
  msgstr "Каждый час"
26
 
27
- #: crayon_settings.class.php:101
28
  #@ crayon-syntax-highlighter
 
29
  msgid "Daily"
30
  msgstr "Ежедневно"
31
 
32
- #: crayon_settings.class.php:102
33
  #@ crayon-syntax-highlighter
 
34
  msgid "Weekly"
35
  msgstr "Еженедельно"
36
 
37
- #: crayon_settings.class.php:102
38
  #@ crayon-syntax-highlighter
 
39
  msgid "Monthly"
40
  msgstr "Ежемесячно"
41
 
42
- #: crayon_settings.class.php:103
43
  #@ crayon-syntax-highlighter
 
44
  msgid "Immediately"
45
  msgstr "Немедленно"
46
 
 
47
  #: crayon_settings.class.php:130
48
  #: crayon_settings.class.php:134
49
- #@ crayon-syntax-highlighter
50
  msgid "Max"
51
  msgstr "Максимум"
52
 
 
53
  #: crayon_settings.class.php:130
54
  #: crayon_settings.class.php:134
55
- #@ crayon-syntax-highlighter
56
  msgid "Min"
57
  msgstr "Минимум"
58
 
 
59
  #: crayon_settings.class.php:130
60
  #: crayon_settings.class.php:134
61
- #@ crayon-syntax-highlighter
62
  msgid "Static"
63
  msgstr "Фиксировано"
64
 
 
65
  #: crayon_settings.class.php:132
66
  #: crayon_settings.class.php:136
67
- #@ crayon-syntax-highlighter
68
  msgid "Pixels"
69
- msgstr "Пиксел"
70
 
 
71
  #: crayon_settings.class.php:132
72
  #: crayon_settings.class.php:136
73
- #@ crayon-syntax-highlighter
74
  msgid "Percent"
75
  msgstr "Процентов"
76
 
77
- #: crayon_settings.class.php:145
78
  #@ crayon-syntax-highlighter
 
79
  msgid "None"
80
  msgstr "Нет"
81
 
82
- #: crayon_settings.class.php:145
83
  #@ crayon-syntax-highlighter
 
84
  msgid "Left"
85
  msgstr "Влево"
86
 
87
- #: crayon_settings.class.php:145
88
  #@ crayon-syntax-highlighter
 
89
  msgid "Center"
90
  msgstr "По центру"
91
 
92
- #: crayon_settings.class.php:145
93
  #@ crayon-syntax-highlighter
 
94
  msgid "Right"
95
  msgstr "Вправо"
96
 
 
97
  #: crayon_settings.class.php:147
98
  #: crayon_settings.class.php:169
99
- #@ crayon-syntax-highlighter
100
  msgid "On MouseOver"
101
  msgstr "При наведении мыши"
102
 
 
103
  #: crayon_settings.class.php:147
104
  #: crayon_settings.class.php:153
105
- #@ crayon-syntax-highlighter
106
  msgid "Always"
107
  msgstr "Всегда"
108
 
 
109
  #: crayon_settings.class.php:147
110
  #: crayon_settings.class.php:153
111
- #@ crayon-syntax-highlighter
112
  msgid "Never"
113
  msgstr "Никогда"
114
 
115
- #: crayon_settings.class.php:153
116
  #@ crayon-syntax-highlighter
 
117
  msgid "When Found"
118
  msgstr "Если определён"
119
 
120
- #: crayon_settings.class.php:169
121
  #@ crayon-syntax-highlighter
 
122
  msgid "On Double Click"
123
  msgstr "При двойном клике"
124
 
125
- #: crayon_settings.class.php:169
126
  #@ crayon-syntax-highlighter
 
127
  msgid "On Single Click"
128
  msgstr "При клике"
129
 
130
- #: crayon_settings.class.php:169
131
  #@ crayon-syntax-highlighter
 
132
  msgid "Disable Mouse Events"
133
  msgstr "Запретить отслеживание событий мыши"
134
 
135
- #: crayon_settings.class.php:177
136
  #@ crayon-syntax-highlighter
 
137
  msgid "An error has occurred. Please try again later."
138
  msgstr "Произошла ошибка. Попробуйте ещё раз позднее."
139
 
 
140
  #: crayon_settings_wp.class.php:39
141
  #: crayon_settings_wp.class.php:82
142
  #: crayon_settings_wp.class.php:710
143
- #@ crayon-syntax-highlighter
144
  msgid "Settings"
145
  msgstr "Параметры"
146
 
147
- #: crayon_settings_wp.class.php:73
148
  #@ crayon-syntax-highlighter
 
149
  msgid "You do not have sufficient permissions to access this page."
150
  msgstr "У вас недостаточно прав для доступа к этой странице."
151
 
152
- #: crayon_settings_wp.class.php:94
153
  #@ crayon-syntax-highlighter
 
154
  msgid "Save Changes"
155
  msgstr "Сохранить параметры"
156
 
157
- #: crayon_settings_wp.class.php:100
158
  #@ crayon-syntax-highlighter
 
159
  msgid "Reset Settings"
160
  msgstr "Параметры по умолчанию"
161
 
162
- #: crayon_settings_wp.class.php:219
163
  #@ crayon-syntax-highlighter
 
164
  msgid "General"
165
  msgstr "Основные"
166
 
167
- #: crayon_settings_wp.class.php:220
168
  #@ crayon-syntax-highlighter
 
169
  msgid "Theme"
170
  msgstr "Тема"
171
 
172
- #: crayon_settings_wp.class.php:221
173
  #@ crayon-syntax-highlighter
 
174
  msgid "Font"
175
  msgstr "Шрифт"
176
 
177
- #: crayon_settings_wp.class.php:222
178
  #@ crayon-syntax-highlighter
 
179
  msgid "Metrics"
180
  msgstr "Метрики"
181
 
182
- #: crayon_settings_wp.class.php:223
183
  #@ crayon-syntax-highlighter
 
184
  msgid "Toolbar"
185
  msgstr "Панель инструментов"
186
 
187
- #: crayon_settings_wp.class.php:224
188
  #@ crayon-syntax-highlighter
 
189
  msgid "Lines"
190
  msgstr "Строки"
191
 
192
- #: crayon_settings_wp.class.php:225
193
  #@ crayon-syntax-highlighter
 
194
  msgid "Code"
195
  msgstr "Код"
196
 
197
- #: crayon_settings_wp.class.php:226
198
  #@ crayon-syntax-highlighter
 
199
  msgid "Languages"
200
  msgstr "Языки"
201
 
202
- #: crayon_settings_wp.class.php:227
203
  #@ crayon-syntax-highlighter
 
204
  msgid "Files"
205
  msgstr "Файлы"
206
 
207
- #: crayon_settings_wp.class.php:228
208
  #@ crayon-syntax-highlighter
 
209
  msgid "Misc"
210
  msgstr "Разное"
211
 
212
- #: crayon_settings_wp.class.php:231
213
  #@ crayon-syntax-highlighter
 
214
  msgid "Debug"
215
  msgstr "Отладка"
216
 
217
- #: crayon_settings_wp.class.php:232
218
  #@ crayon-syntax-highlighter
 
219
  msgid "Errors"
220
  msgstr "Ошибки"
221
 
222
- #: crayon_settings_wp.class.php:233
223
  #@ crayon-syntax-highlighter
 
224
  msgid "Log"
225
  msgstr "Журнал ошибок"
226
 
227
- #: crayon_settings_wp.class.php:236
228
  #@ crayon-syntax-highlighter
 
229
  msgid "About"
230
  msgstr "О плагине"
231
 
232
- #: crayon_settings_wp.class.php:423
233
  #@ crayon-syntax-highlighter
 
234
  msgid "Crayon Help"
235
  msgstr "Справка Crayon"
236
 
237
- #: crayon_settings_wp.class.php:437
238
  #@ crayon-syntax-highlighter
 
239
  msgid "Height"
240
  msgstr "Высота"
241
 
242
- #: crayon_settings_wp.class.php:443
243
  #@ crayon-syntax-highlighter
 
244
  msgid "Width"
245
  msgstr "Ширина"
246
 
247
- #: crayon_settings_wp.class.php:449
248
  #@ crayon-syntax-highlighter
 
249
  msgid "Top Margin"
250
  msgstr "Верхний отступ"
251
 
252
- #: crayon_settings_wp.class.php:450
253
  #@ crayon-syntax-highlighter
 
254
  msgid "Bottom Margin"
255
  msgstr "Нижний отступ"
256
 
 
257
  #: crayon_settings_wp.class.php:451
258
  #: crayon_settings_wp.class.php:456
259
- #@ crayon-syntax-highlighter
260
  msgid "Left Margin"
261
  msgstr "Левый отступ"
262
 
 
263
  #: crayon_settings_wp.class.php:452
264
  #: crayon_settings_wp.class.php:456
265
- #@ crayon-syntax-highlighter
266
  msgid "Right Margin"
267
  msgstr "Правый отступ"
268
 
269
- #: crayon_settings_wp.class.php:462
270
  #@ crayon-syntax-highlighter
 
271
  msgid "Horizontal Alignment"
272
  msgstr "Выравнивание по горизонтали"
273
 
274
- #: crayon_settings_wp.class.php:465
275
  #@ crayon-syntax-highlighter
 
276
  msgid "Allow floating elements to surround Crayon"
277
  msgstr "Разрешить плавающий режим"
278
 
279
- #: crayon_settings_wp.class.php:470
280
  #@ crayon-syntax-highlighter
 
281
  msgid "Display the Toolbar"
282
  msgstr "Показывать панель инструментов"
283
 
284
- #: crayon_settings_wp.class.php:473
285
  #@ crayon-syntax-highlighter
 
286
  msgid "Overlay the toolbar on code rather than push it down when possible"
287
  msgstr "Использовать, если возможно, наложение панели инструментов на панель кодов без смещения кодов вниз"
288
 
289
- #: crayon_settings_wp.class.php:474
290
  #@ crayon-syntax-highlighter
 
291
  msgid "Toggle the toolbar on single click when it is overlayed"
292
  msgstr "Показывать панель инструментов по клику, если она скрыта"
293
 
294
- #: crayon_settings_wp.class.php:475
295
  #@ crayon-syntax-highlighter
 
296
  msgid "Delay hiding the toolbar on MouseOut"
297
  msgstr "Задержка исчезания панели инструментов при уходе курсора мыши за пределы панели"
298
 
299
- #: crayon_settings_wp.class.php:477
300
  #@ crayon-syntax-highlighter
 
301
  msgid "Display the title when provided"
302
  msgstr "Показывать заголовок, если он задан"
303
 
304
- #: crayon_settings_wp.class.php:478
305
  #@ crayon-syntax-highlighter
 
306
  msgid "Display the language"
307
  msgstr "Показывать язык кода"
308
 
309
- #: crayon_settings_wp.class.php:483
310
  #@ crayon-syntax-highlighter
 
311
  msgid "Display striped code lines"
312
  msgstr "Использовать чередование цвета строк кода"
313
 
314
- #: crayon_settings_wp.class.php:484
315
  #@ crayon-syntax-highlighter
 
316
  msgid "Enable line marking for important lines"
317
  msgstr "Разрешить маркировку важных строк кода"
318
 
319
- #: crayon_settings_wp.class.php:485
320
  #@ crayon-syntax-highlighter
 
321
  msgid "Display line numbers by default"
322
  msgstr "Показывать нумерацию строк по умолчанию"
323
 
324
- #: crayon_settings_wp.class.php:486
325
  #@ crayon-syntax-highlighter
 
326
  msgid "Enable line number toggling"
327
  msgstr "Разрешить переключение нумерации строк"
328
 
329
- #: crayon_settings_wp.class.php:487
330
  #@ crayon-syntax-highlighter
 
331
  msgid "Start line numbers from"
332
  msgstr "Начинать нумерацию строк с"
333
 
334
- #: crayon_settings_wp.class.php:497
335
  #@ crayon-syntax-highlighter
 
336
  msgid "When no language is provided, use the fallback"
337
  msgstr "Если язык не поддерживается, использовать"
338
 
 
339
  #: crayon_settings_wp.class.php:504
340
  #, php-format
341
- #@ crayon-syntax-highlighter
342
  msgid "%d language has been detected."
343
- msgid_plural "%d languages have been detected."
344
  msgstr[0] "Обнаружен %d язык."
345
- msgstr[1] "Обнаружено %d языка."
346
  msgstr[2] "Обнаружено %d языков."
347
 
348
- #: crayon_settings_wp.class.php:505
349
  #@ crayon-syntax-highlighter
 
350
  msgid "Parsing was successful"
351
  msgstr "Разбор произведён успешно"
352
 
353
- #: crayon_settings_wp.class.php:505
354
  #@ crayon-syntax-highlighter
 
355
  msgid "Parsing was unsuccessful"
356
  msgstr "Разбор закончился неудачей"
357
 
 
358
  #: crayon_settings_wp.class.php:511
359
  #, php-format
360
- #@ crayon-syntax-highlighter
361
  msgid "The selected language with id %s could not be loaded"
362
  msgstr "Выбранный язык (ID %s) не загружен."
363
 
364
- #: crayon_settings_wp.class.php:515
365
  #@ crayon-syntax-highlighter
 
366
  msgid "Show Languages"
367
  msgstr "Показать языки"
368
 
369
- #: crayon_settings_wp.class.php:552
370
  #@ crayon-syntax-highlighter
 
371
  msgid "Enable Live Preview"
372
  msgstr "Разрешить показ примера"
373
 
374
- #: crayon_settings_wp.class.php:554
375
  #@ crayon-syntax-highlighter
 
376
  msgid "Enqueue themes in the header (more efficient)."
377
  msgstr "Загружать темы в заголовке страницы (более эффективно)."
378
 
 
379
  #: crayon_settings_wp.class.php:554
380
  #: crayon_settings_wp.class.php:583
381
  #: crayon_settings_wp.class.php:600
@@ -383,319 +380,318 @@ msgstr "Загружать темы в заголовке страницы (бо
383
  #: crayon_settings_wp.class.php:602
384
  #: crayon_settings_wp.class.php:618
385
  #: crayon_settings_wp.class.php:619
386
- #@ crayon-syntax-highlighter
387
  msgid "Learn More"
388
  msgstr "Подробнее"
389
 
 
390
  #: crayon_settings_wp.class.php:557
391
  #, php-format
392
- #@ crayon-syntax-highlighter
393
  msgid "The selected theme with id %s could not be loaded"
394
  msgstr "Выбранная тема (ID %s) не загружена."
395
 
396
- #: crayon_settings_wp.class.php:575
397
  #@ crayon-syntax-highlighter
 
398
  msgid "Custom Font Size"
399
  msgstr "Пользовательский размер шрифта"
400
 
 
401
  #: crayon_settings_wp.class.php:580
402
  #, php-format
403
- #@ crayon-syntax-highlighter
404
  msgid "The selected font with id %s could not be loaded"
405
  msgstr "Выбранный шрифт (ID %s) не может быть загружен."
406
 
407
- #: crayon_settings_wp.class.php:583
408
  #@ crayon-syntax-highlighter
 
409
  msgid "Enqueue fonts in the header (more efficient)."
410
  msgstr "Загружать шрифты в заголовке страницы (более эффективно)."
411
 
412
- #: crayon_settings_wp.class.php:587
413
  #@ crayon-syntax-highlighter
 
414
  msgid "Enable plain code view and display"
415
  msgstr "Разрешить показ кода как обычного текста"
416
 
417
- #: crayon_settings_wp.class.php:590
418
  #@ crayon-syntax-highlighter
 
419
  msgid "Enable plain code toggling"
420
  msgstr "Разрешить переключение показа кода как простого текста"
421
 
422
- #: crayon_settings_wp.class.php:591
423
  #@ crayon-syntax-highlighter
 
424
  msgid "Show the plain code by default"
425
  msgstr "Показывать код как простой текст по умолчанию"
426
 
427
- #: crayon_settings_wp.class.php:592
428
  #@ crayon-syntax-highlighter
 
429
  msgid "Enable code copy/paste"
430
  msgstr "Разрешить копирование/вставку кода"
431
 
432
- #: crayon_settings_wp.class.php:594
433
  #@ crayon-syntax-highlighter
 
434
  msgid "Enable opening code in a window"
435
  msgstr "Разрешить показ кода в отдельном окне"
436
 
437
- #: crayon_settings_wp.class.php:596
438
  #@ crayon-syntax-highlighter
 
439
  msgid "Tab size in spaces"
440
  msgstr "Размер табуляций в пробелах"
441
 
442
- #: crayon_settings_wp.class.php:598
443
  #@ crayon-syntax-highlighter
 
444
  msgid "Remove whitespace surrounding the shortcode content"
445
  msgstr "Удалять пробелы окружающие контент короткого кода"
446
 
447
- #: crayon_settings_wp.class.php:599
448
  #@ crayon-syntax-highlighter
 
449
  msgid "Capture &lt;pre&gt; tags as Crayons"
450
  msgstr "Определять тег &lt;pre&gt; как код Crayon"
451
 
452
- #: crayon_settings_wp.class.php:600
453
  #@ crayon-syntax-highlighter
 
454
  msgid "Capture Mini Tags like [php][/php] as Crayons."
455
  msgstr "Обрабатывать мини-теги, например [php][/php], как теги Crayon."
456
 
457
- #: crayon_settings_wp.class.php:601
458
  #@ crayon-syntax-highlighter
 
459
  msgid "Enable [plain][/plain] tag."
460
  msgstr "Разрешить теги [plain][/plain]."
461
 
462
- #: crayon_settings_wp.class.php:602
463
  #@ crayon-syntax-highlighter
 
464
  msgid "Allow Mixed Language Highlighting with delimiters and tags."
465
  msgstr "Разрешить подсветку смешанных языков."
466
 
467
- #: crayon_settings_wp.class.php:603
468
  #@ crayon-syntax-highlighter
 
469
  msgid "Show Mixed Language Icon (+)"
470
  msgstr "Показывать иконку смешанных языков (+)"
471
 
472
- #: crayon_settings_wp.class.php:608
473
  #@ crayon-syntax-highlighter
 
474
  msgid "When loading local files and a relative path is given for the URL, use the absolute path"
475
  msgstr "При загрузке локальных файлов, относительный путь к файлу вычислять относительно этого URL"
476
 
477
- #: crayon_settings_wp.class.php:611
478
  #@ crayon-syntax-highlighter
 
479
  msgid "Followed by your relative URL."
480
  msgstr "Путь будет определён относительно заданного URL."
481
 
482
- #: crayon_settings_wp.class.php:615
483
  #@ crayon-syntax-highlighter
 
484
  msgid "Clear the cache used to store remote code requests"
485
  msgstr "Очищать кэш используемый для хранения кодов из внешних файлов"
486
 
487
- #: crayon_settings_wp.class.php:617
488
  #@ crayon-syntax-highlighter
 
489
  msgid "Clear Now"
490
  msgstr "Очистить сейчас"
491
 
492
- #: crayon_settings_wp.class.php:618
493
  #@ crayon-syntax-highlighter
 
494
  msgid "Attempt to load Crayon's CSS and JavaScript only when needed"
495
  msgstr "Пытаться загружать таблицы стилей (CSS) и скрипты (Javascript) плагина только тогда, когда это нужно"
496
 
497
- #: crayon_settings_wp.class.php:621
498
  #@ crayon-syntax-highlighter
 
499
  msgid "Disable mouse gestures for touchscreen devices (eg. MouseOver)"
500
  msgstr "Отключить распознавание жестов мышью для сенсорных экранов (например Наведение Мыши)"
501
 
502
- #: crayon_settings_wp.class.php:622
503
  #@ crayon-syntax-highlighter
 
504
  msgid "Disable animations"
505
  msgstr "Запретить анимацию"
506
 
507
- #: crayon_settings_wp.class.php:623
508
  #@ crayon-syntax-highlighter
 
509
  msgid "Disable runtime stats"
510
  msgstr "Запретить статистику выполнения"
511
 
512
- #: crayon_settings_wp.class.php:630
513
  #@ crayon-syntax-highlighter
 
514
  msgid "Log errors for individual Crayons"
515
  msgstr "Журнал ошибок для каждого кода Crayon"
516
 
517
- #: crayon_settings_wp.class.php:631
518
  #@ crayon-syntax-highlighter
 
519
  msgid "Log system-wide errors"
520
  msgstr "Журнал ошибок для системно-независимых ошибок"
521
 
522
- #: crayon_settings_wp.class.php:632
523
  #@ crayon-syntax-highlighter
 
524
  msgid "Display custom message for errors"
525
  msgstr "Показывать свое сообщение об ошибках"
526
 
527
- #: crayon_settings_wp.class.php:644
528
  #@ crayon-syntax-highlighter
 
529
  msgid "Show Log"
530
  msgstr "Показать журнал ошибок"
531
 
532
- #: crayon_settings_wp.class.php:646
533
  #@ crayon-syntax-highlighter
 
534
  msgid "Clear Log"
535
  msgstr "Очистить журнал ошибок"
536
 
537
- #: crayon_settings_wp.class.php:647
538
  #@ crayon-syntax-highlighter
 
539
  msgid "Email Admin"
540
  msgstr "Сообщить администратору (e-mail)"
541
 
542
- #: crayon_settings_wp.class.php:649
543
  #@ crayon-syntax-highlighter
 
544
  msgid "Email Developer"
545
  msgstr "Сообщить разработчику (e-mail)"
546
 
547
- #: crayon_settings_wp.class.php:651
548
  #@ crayon-syntax-highlighter
 
549
  msgid "The log is currently empty."
550
  msgstr "Журнал ошибок пуст."
551
 
552
- #: crayon_settings_wp.class.php:653
553
  #@ crayon-syntax-highlighter
 
554
  msgid "The log file exists and is writable."
555
  msgstr "Файл журнала ошибок существует и в него могут заноситься записи."
556
 
557
- #: crayon_settings_wp.class.php:653
558
  #@ crayon-syntax-highlighter
 
559
  msgid "The log file exists and is not writable."
560
  msgstr "Файл журнала ошибок существует, но в него не могут заноситься записи."
561
 
562
- #: crayon_settings_wp.class.php:655
563
  #@ crayon-syntax-highlighter
 
564
  msgid "The log file does not exist and is not writable."
565
  msgstr "Файл журнала ошибок не существует и в него не могут заноситься записи."
566
 
567
- #: crayon_settings_wp.class.php:665
568
  #@ crayon-syntax-highlighter
 
569
  msgid "Version"
570
  msgstr "Версия"
571
 
572
- #: crayon_settings_wp.class.php:667
573
  #@ crayon-syntax-highlighter
 
574
  msgid "Developer"
575
  msgstr "Разработчик"
576
 
577
- #: crayon_settings_wp.class.php:698
578
  #@ crayon-syntax-highlighter
 
579
  msgid "The result of innumerable hours of hard work over many months. It's an ongoing project, keep me motivated!"
580
  msgstr "Результат бесчисленных часов тяжелой работы за многие месяцы. Это - текущий проект, поддержите мою мотивацию!"
581
 
582
- #: crayon_settings_wp.class.php:714
583
  #@ crayon-syntax-highlighter
 
584
  msgid "Donate"
585
- msgstr "Пожертвовать"
586
 
 
587
  #: crayon_settings_wp.class.php:549
588
  #, php-format
589
- #@ crayon-syntax-highlighter
590
  msgid "Change the %1$sfallback language%2$s to change the sample code. Lines 5-7 are marked."
591
  msgstr "Измените %1$sязык подсветки%2$s, чтобы изменить пример кода. Строки 5-7 отмечены."
592
 
 
593
  #. translators: plugin header field 'Name'
594
  #: crayon_wp.class.php:0
595
- #@ crayon-syntax-highlighter
596
  msgid "Crayon Syntax Highlighter"
597
  msgstr ""
598
 
 
599
  #. translators: plugin header field 'PluginURI'
600
  #: crayon_wp.class.php:0
601
- #@ crayon-syntax-highlighter
602
  msgid "http://ak.net84.net/projects/crayon-syntax-highlighter"
603
  msgstr ""
604
 
 
605
  #. translators: plugin header field 'Description'
606
  #: crayon_wp.class.php:0
607
- #@ crayon-syntax-highlighter
608
  msgid "Supports multiple languages, themes, highlighting from a URL, local file or post text."
609
- msgstr "Supports multiple languages, themes, highlighting from a URL, local file or post text."
610
 
 
611
  #. translators: plugin header field 'Author'
612
  #: crayon_wp.class.php:0
613
- #@ crayon-syntax-highlighter
614
  msgid "Aram Kocharyan"
615
  msgstr ""
616
 
 
617
  #. translators: plugin header field 'AuthorURI'
618
  #: crayon_wp.class.php:0
619
- #@ crayon-syntax-highlighter
620
  msgid "http://ak.net84.net/"
621
  msgstr ""
622
 
623
- #: crayon_settings_wp.class.php:545
624
  #@ crayon-syntax-highlighter
 
625
  msgid "Loading..."
626
- msgstr "погрузка"
627
 
 
628
  #: crayon_settings_wp.class.php:545
629
  #: crayon_settings_wp.class.php:712
630
  #: util/theme-editor/editor.php:14
631
- #@ crayon-syntax-highlighter
632
  msgid "Theme Editor"
633
- msgstr "Тема редактор"
634
 
635
- #: crayon_settings_wp.class.php:595
636
  #@ crayon-syntax-highlighter
 
637
  msgid "Always display scrollbars"
638
  msgstr "Всегда отображать полосы прокрутки"
639
 
640
- #: crayon_settings_wp.class.php:619
641
  #@ crayon-syntax-highlighter
 
642
  msgid "Disable enqueuing for page templates that may contain The Loop."
643
- msgstr "Отключить постановки для шаблонов страниц, которые могут содержать Loop."
644
 
645
- #: crayon_settings_wp.class.php:620
646
  #@ crayon-syntax-highlighter
 
647
  msgid "Load Crayons only from the main Wordpress query"
648
- msgstr "Нагрузка Мелки только из основного запроса Wordpress"
649
 
650
- #: crayon_settings_wp.class.php:668
651
  #@ crayon-syntax-highlighter
 
652
  msgid "Translators"
653
  msgstr "Переводчики"
654
 
655
- #: util/theme-editor/editor.php:16
656
  #@ crayon-syntax-highlighter
 
657
  msgid "Back To Settings"
658
  msgstr "Вернуться к настройкам"
659
 
660
- #: crayon_formatter.class.php:203
661
  #@ crayon-syntax-highlighter
 
662
  msgid "Toggle Plain Code"
663
- msgstr "Переключить Обычная кодекса"
664
 
665
- #: crayon_formatter.class.php:205
666
  #@ crayon-syntax-highlighter
 
667
  msgid "Copy Plain Code"
668
- msgstr "Скопируйте Обычная кодекса"
669
 
670
- #: crayon_formatter.class.php:211
671
  #@ crayon-syntax-highlighter
 
672
  msgid "Open Code In New Window"
673
- msgstr "Открытый код откроется в новом окне"
674
 
675
- #: crayon_formatter.class.php:214
676
  #@ crayon-syntax-highlighter
 
677
  msgid "Toggle Line Numbers"
678
- msgstr "Переключение нумерации строк"
679
 
680
- #: crayon_formatter.class.php:221
681
  #@ crayon-syntax-highlighter
 
682
  msgid "Contains Mixed Languages"
683
  msgstr "Содержит Смешанные Языки"
684
 
685
- #: crayon_settings_wp.class.php:644
686
  #@ crayon-syntax-highlighter
 
687
  msgid "Hide Log"
688
  msgstr "Скрыть Вход"
689
 
 
690
  #. translators: plugin header field 'Version'
691
  #: crayon_wp.class.php:0
692
- #@ crayon-syntax-highlighter
693
  msgid "1.7.26"
694
  msgstr ""
695
 
 
696
  #: crayon_formatter.class.php:205
697
  #, php-format
698
- #@ crayon-syntax-highlighter
699
  msgid "Press %s to Copy, %s to Paste"
700
- msgstr "Пресс %s до Копировать, Вставить, чтобы %s"
701
 
1
  msgid ""
2
  msgstr ""
3
+ "Project-Id-Version: \n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: \n"
6
  "PO-Revision-Date: \n"
7
+ "Last-Translator: Di_Skyer <diskyer@atlocal.net>\n"
8
+ "Language-Team: \n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
+ "Plural-Forms: nplurals=3; plural=n != 1;\n"
 
 
13
  "X-Poedit-SourceCharset: utf-8\n"
14
+ "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2\n"
15
+ "X-Textdomain-Support: yes\n"
 
16
  "X-Poedit-SearchPath-0: .\n"
 
17
 
 
18
  #@ crayon-syntax-highlighter
19
+ #: crayon_settings.class.php:101
20
  msgid "Hourly"
21
  msgstr "Каждый час"
22
 
 
23
  #@ crayon-syntax-highlighter
24
+ #: crayon_settings.class.php:101
25
  msgid "Daily"
26
  msgstr "Ежедневно"
27
 
 
28
  #@ crayon-syntax-highlighter
29
+ #: crayon_settings.class.php:102
30
  msgid "Weekly"
31
  msgstr "Еженедельно"
32
 
 
33
  #@ crayon-syntax-highlighter
34
+ #: crayon_settings.class.php:102
35
  msgid "Monthly"
36
  msgstr "Ежемесячно"
37
 
 
38
  #@ crayon-syntax-highlighter
39
+ #: crayon_settings.class.php:103
40
  msgid "Immediately"
41
  msgstr "Немедленно"
42
 
43
+ #@ crayon-syntax-highlighter
44
  #: crayon_settings.class.php:130
45
  #: crayon_settings.class.php:134
 
46
  msgid "Max"
47
  msgstr "Максимум"
48
 
49
+ #@ crayon-syntax-highlighter
50
  #: crayon_settings.class.php:130
51
  #: crayon_settings.class.php:134
 
52
  msgid "Min"
53
  msgstr "Минимум"
54
 
55
+ #@ crayon-syntax-highlighter
56
  #: crayon_settings.class.php:130
57
  #: crayon_settings.class.php:134
 
58
  msgid "Static"
59
  msgstr "Фиксировано"
60
 
61
+ #@ crayon-syntax-highlighter
62
  #: crayon_settings.class.php:132
63
  #: crayon_settings.class.php:136
 
64
  msgid "Pixels"
65
+ msgstr "Пикселей"
66
 
67
+ #@ crayon-syntax-highlighter
68
  #: crayon_settings.class.php:132
69
  #: crayon_settings.class.php:136
 
70
  msgid "Percent"
71
  msgstr "Процентов"
72
 
 
73
  #@ crayon-syntax-highlighter
74
+ #: crayon_settings.class.php:145
75
  msgid "None"
76
  msgstr "Нет"
77
 
 
78
  #@ crayon-syntax-highlighter
79
+ #: crayon_settings.class.php:145
80
  msgid "Left"
81
  msgstr "Влево"
82
 
 
83
  #@ crayon-syntax-highlighter
84
+ #: crayon_settings.class.php:145
85
  msgid "Center"
86
  msgstr "По центру"
87
 
 
88
  #@ crayon-syntax-highlighter
89
+ #: crayon_settings.class.php:145
90
  msgid "Right"
91
  msgstr "Вправо"
92
 
93
+ #@ crayon-syntax-highlighter
94
  #: crayon_settings.class.php:147
95
  #: crayon_settings.class.php:169
 
96
  msgid "On MouseOver"
97
  msgstr "При наведении мыши"
98
 
99
+ #@ crayon-syntax-highlighter
100
  #: crayon_settings.class.php:147
101
  #: crayon_settings.class.php:153
 
102
  msgid "Always"
103
  msgstr "Всегда"
104
 
105
+ #@ crayon-syntax-highlighter
106
  #: crayon_settings.class.php:147
107
  #: crayon_settings.class.php:153
 
108
  msgid "Never"
109
  msgstr "Никогда"
110
 
 
111
  #@ crayon-syntax-highlighter
112
+ #: crayon_settings.class.php:153
113
  msgid "When Found"
114
  msgstr "Если определён"
115
 
 
116
  #@ crayon-syntax-highlighter
117
+ #: crayon_settings.class.php:169
118
  msgid "On Double Click"
119
  msgstr "При двойном клике"
120
 
 
121
  #@ crayon-syntax-highlighter
122
+ #: crayon_settings.class.php:169
123
  msgid "On Single Click"
124
  msgstr "При клике"
125
 
 
126
  #@ crayon-syntax-highlighter
127
+ #: crayon_settings.class.php:169
128
  msgid "Disable Mouse Events"
129
  msgstr "Запретить отслеживание событий мыши"
130
 
 
131
  #@ crayon-syntax-highlighter
132
+ #: crayon_settings.class.php:177
133
  msgid "An error has occurred. Please try again later."
134
  msgstr "Произошла ошибка. Попробуйте ещё раз позднее."
135
 
136
+ #@ crayon-syntax-highlighter
137
  #: crayon_settings_wp.class.php:39
138
  #: crayon_settings_wp.class.php:82
139
  #: crayon_settings_wp.class.php:710
 
140
  msgid "Settings"
141
  msgstr "Параметры"
142
 
 
143
  #@ crayon-syntax-highlighter
144
+ #: crayon_settings_wp.class.php:73
145
  msgid "You do not have sufficient permissions to access this page."
146
  msgstr "У вас недостаточно прав для доступа к этой странице."
147
 
 
148
  #@ crayon-syntax-highlighter
149
+ #: crayon_settings_wp.class.php:94
150
  msgid "Save Changes"
151
  msgstr "Сохранить параметры"
152
 
 
153
  #@ crayon-syntax-highlighter
154
+ #: crayon_settings_wp.class.php:100
155
  msgid "Reset Settings"
156
  msgstr "Параметры по умолчанию"
157
 
 
158
  #@ crayon-syntax-highlighter
159
+ #: crayon_settings_wp.class.php:219
160
  msgid "General"
161
  msgstr "Основные"
162
 
 
163
  #@ crayon-syntax-highlighter
164
+ #: crayon_settings_wp.class.php:220
165
  msgid "Theme"
166
  msgstr "Тема"
167
 
 
168
  #@ crayon-syntax-highlighter
169
+ #: crayon_settings_wp.class.php:221
170
  msgid "Font"
171
  msgstr "Шрифт"
172
 
 
173
  #@ crayon-syntax-highlighter
174
+ #: crayon_settings_wp.class.php:222
175
  msgid "Metrics"
176
  msgstr "Метрики"
177
 
 
178
  #@ crayon-syntax-highlighter
179
+ #: crayon_settings_wp.class.php:223
180
  msgid "Toolbar"
181
  msgstr "Панель инструментов"
182
 
 
183
  #@ crayon-syntax-highlighter
184
+ #: crayon_settings_wp.class.php:224
185
  msgid "Lines"
186
  msgstr "Строки"
187
 
 
188
  #@ crayon-syntax-highlighter
189
+ #: crayon_settings_wp.class.php:225
190
  msgid "Code"
191
  msgstr "Код"
192
 
 
193
  #@ crayon-syntax-highlighter
194
+ #: crayon_settings_wp.class.php:226
195
  msgid "Languages"
196
  msgstr "Языки"
197
 
 
198
  #@ crayon-syntax-highlighter
199
+ #: crayon_settings_wp.class.php:227
200
  msgid "Files"
201
  msgstr "Файлы"
202
 
 
203
  #@ crayon-syntax-highlighter
204
+ #: crayon_settings_wp.class.php:228
205
  msgid "Misc"
206
  msgstr "Разное"
207
 
 
208
  #@ crayon-syntax-highlighter
209
+ #: crayon_settings_wp.class.php:231
210
  msgid "Debug"
211
  msgstr "Отладка"
212
 
 
213
  #@ crayon-syntax-highlighter
214
+ #: crayon_settings_wp.class.php:232
215
  msgid "Errors"
216
  msgstr "Ошибки"
217
 
 
218
  #@ crayon-syntax-highlighter
219
+ #: crayon_settings_wp.class.php:233
220
  msgid "Log"
221
  msgstr "Журнал ошибок"
222
 
 
223
  #@ crayon-syntax-highlighter
224
+ #: crayon_settings_wp.class.php:236
225
  msgid "About"
226
  msgstr "О плагине"
227
 
 
228
  #@ crayon-syntax-highlighter
229
+ #: crayon_settings_wp.class.php:423
230
  msgid "Crayon Help"
231
  msgstr "Справка Crayon"
232
 
 
233
  #@ crayon-syntax-highlighter
234
+ #: crayon_settings_wp.class.php:437
235
  msgid "Height"
236
  msgstr "Высота"
237
 
 
238
  #@ crayon-syntax-highlighter
239
+ #: crayon_settings_wp.class.php:443
240
  msgid "Width"
241
  msgstr "Ширина"
242
 
 
243
  #@ crayon-syntax-highlighter
244
+ #: crayon_settings_wp.class.php:449
245
  msgid "Top Margin"
246
  msgstr "Верхний отступ"
247
 
 
248
  #@ crayon-syntax-highlighter
249
+ #: crayon_settings_wp.class.php:450
250
  msgid "Bottom Margin"
251
  msgstr "Нижний отступ"
252
 
253
+ #@ crayon-syntax-highlighter
254
  #: crayon_settings_wp.class.php:451
255
  #: crayon_settings_wp.class.php:456
 
256
  msgid "Left Margin"
257
  msgstr "Левый отступ"
258
 
259
+ #@ crayon-syntax-highlighter
260
  #: crayon_settings_wp.class.php:452
261
  #: crayon_settings_wp.class.php:456
 
262
  msgid "Right Margin"
263
  msgstr "Правый отступ"
264
 
 
265
  #@ crayon-syntax-highlighter
266
+ #: crayon_settings_wp.class.php:462
267
  msgid "Horizontal Alignment"
268
  msgstr "Выравнивание по горизонтали"
269
 
 
270
  #@ crayon-syntax-highlighter
271
+ #: crayon_settings_wp.class.php:465
272
  msgid "Allow floating elements to surround Crayon"
273
  msgstr "Разрешить плавающий режим"
274
 
 
275
  #@ crayon-syntax-highlighter
276
+ #: crayon_settings_wp.class.php:470
277
  msgid "Display the Toolbar"
278
  msgstr "Показывать панель инструментов"
279
 
 
280
  #@ crayon-syntax-highlighter
281
+ #: crayon_settings_wp.class.php:473
282
  msgid "Overlay the toolbar on code rather than push it down when possible"
283
  msgstr "Использовать, если возможно, наложение панели инструментов на панель кодов без смещения кодов вниз"
284
 
 
285
  #@ crayon-syntax-highlighter
286
+ #: crayon_settings_wp.class.php:474
287
  msgid "Toggle the toolbar on single click when it is overlayed"
288
  msgstr "Показывать панель инструментов по клику, если она скрыта"
289
 
 
290
  #@ crayon-syntax-highlighter
291
+ #: crayon_settings_wp.class.php:475
292
  msgid "Delay hiding the toolbar on MouseOut"
293
  msgstr "Задержка исчезания панели инструментов при уходе курсора мыши за пределы панели"
294
 
 
295
  #@ crayon-syntax-highlighter
296
+ #: crayon_settings_wp.class.php:477
297
  msgid "Display the title when provided"
298
  msgstr "Показывать заголовок, если он задан"
299
 
 
300
  #@ crayon-syntax-highlighter
301
+ #: crayon_settings_wp.class.php:478
302
  msgid "Display the language"
303
  msgstr "Показывать язык кода"
304
 
 
305
  #@ crayon-syntax-highlighter
306
+ #: crayon_settings_wp.class.php:483
307
  msgid "Display striped code lines"
308
  msgstr "Использовать чередование цвета строк кода"
309
 
 
310
  #@ crayon-syntax-highlighter
311
+ #: crayon_settings_wp.class.php:484
312
  msgid "Enable line marking for important lines"
313
  msgstr "Разрешить маркировку важных строк кода"
314
 
 
315
  #@ crayon-syntax-highlighter
316
+ #: crayon_settings_wp.class.php:485
317
  msgid "Display line numbers by default"
318
  msgstr "Показывать нумерацию строк по умолчанию"
319
 
 
320
  #@ crayon-syntax-highlighter
321
+ #: crayon_settings_wp.class.php:486
322
  msgid "Enable line number toggling"
323
  msgstr "Разрешить переключение нумерации строк"
324
 
 
325
  #@ crayon-syntax-highlighter
326
+ #: crayon_settings_wp.class.php:487
327
  msgid "Start line numbers from"
328
  msgstr "Начинать нумерацию строк с"
329
 
 
330
  #@ crayon-syntax-highlighter
331
+ #: crayon_settings_wp.class.php:497
332
  msgid "When no language is provided, use the fallback"
333
  msgstr "Если язык не поддерживается, использовать"
334
 
335
+ #@ crayon-syntax-highlighter
336
  #: crayon_settings_wp.class.php:504
337
  #, php-format
 
338
  msgid "%d language has been detected."
339
+ msgid_plural "%d languages has been detected."
340
  msgstr[0] "Обнаружен %d язык."
341
+ msgstr[1] "Обнаружен %d языка."
342
  msgstr[2] "Обнаружено %d языков."
343
 
 
344
  #@ crayon-syntax-highlighter
345
+ #: crayon_settings_wp.class.php:505
346
  msgid "Parsing was successful"
347
  msgstr "Разбор произведён успешно"
348
 
 
349
  #@ crayon-syntax-highlighter
350
+ #: crayon_settings_wp.class.php:505
351
  msgid "Parsing was unsuccessful"
352
  msgstr "Разбор закончился неудачей"
353
 
354
+ #@ crayon-syntax-highlighter
355
  #: crayon_settings_wp.class.php:511
356
  #, php-format
 
357
  msgid "The selected language with id %s could not be loaded"
358
  msgstr "Выбранный язык (ID %s) не загружен."
359
 
 
360
  #@ crayon-syntax-highlighter
361
+ #: crayon_settings_wp.class.php:515
362
  msgid "Show Languages"
363
  msgstr "Показать языки"
364
 
 
365
  #@ crayon-syntax-highlighter
366
+ #: crayon_settings_wp.class.php:552
367
  msgid "Enable Live Preview"
368
  msgstr "Разрешить показ примера"
369
 
 
370
  #@ crayon-syntax-highlighter
371
+ #: crayon_settings_wp.class.php:554
372
  msgid "Enqueue themes in the header (more efficient)."
373
  msgstr "Загружать темы в заголовке страницы (более эффективно)."
374
 
375
+ #@ crayon-syntax-highlighter
376
  #: crayon_settings_wp.class.php:554
377
  #: crayon_settings_wp.class.php:583
378
  #: crayon_settings_wp.class.php:600
380
  #: crayon_settings_wp.class.php:602
381
  #: crayon_settings_wp.class.php:618
382
  #: crayon_settings_wp.class.php:619
 
383
  msgid "Learn More"
384
  msgstr "Подробнее"
385
 
386
+ #@ crayon-syntax-highlighter
387
  #: crayon_settings_wp.class.php:557
388
  #, php-format
 
389
  msgid "The selected theme with id %s could not be loaded"
390
  msgstr "Выбранная тема (ID %s) не загружена."
391
 
 
392
  #@ crayon-syntax-highlighter
393
+ #: crayon_settings_wp.class.php:575
394
  msgid "Custom Font Size"
395
  msgstr "Пользовательский размер шрифта"
396
 
397
+ #@ crayon-syntax-highlighter
398
  #: crayon_settings_wp.class.php:580
399
  #, php-format
 
400
  msgid "The selected font with id %s could not be loaded"
401
  msgstr "Выбранный шрифт (ID %s) не может быть загружен."
402
 
 
403
  #@ crayon-syntax-highlighter
404
+ #: crayon_settings_wp.class.php:583
405
  msgid "Enqueue fonts in the header (more efficient)."
406
  msgstr "Загружать шрифты в заголовке страницы (более эффективно)."
407
 
 
408
  #@ crayon-syntax-highlighter
409
+ #: crayon_settings_wp.class.php:587
410
  msgid "Enable plain code view and display"
411
  msgstr "Разрешить показ кода как обычного текста"
412
 
 
413
  #@ crayon-syntax-highlighter
414
+ #: crayon_settings_wp.class.php:590
415
  msgid "Enable plain code toggling"
416
  msgstr "Разрешить переключение показа кода как простого текста"
417
 
 
418
  #@ crayon-syntax-highlighter
419
+ #: crayon_settings_wp.class.php:591
420
  msgid "Show the plain code by default"
421
  msgstr "Показывать код как простой текст по умолчанию"
422
 
 
423
  #@ crayon-syntax-highlighter
424
+ #: crayon_settings_wp.class.php:592
425
  msgid "Enable code copy/paste"
426
  msgstr "Разрешить копирование/вставку кода"
427
 
 
428
  #@ crayon-syntax-highlighter
429
+ #: crayon_settings_wp.class.php:594
430
  msgid "Enable opening code in a window"
431
  msgstr "Разрешить показ кода в отдельном окне"
432
 
 
433
  #@ crayon-syntax-highlighter
434
+ #: crayon_settings_wp.class.php:596
435
  msgid "Tab size in spaces"
436
  msgstr "Размер табуляций в пробелах"
437
 
 
438
  #@ crayon-syntax-highlighter
439
+ #: crayon_settings_wp.class.php:598
440
  msgid "Remove whitespace surrounding the shortcode content"
441
  msgstr "Удалять пробелы окружающие контент короткого кода"
442
 
 
443
  #@ crayon-syntax-highlighter
444
+ #: crayon_settings_wp.class.php:599
445
  msgid "Capture &lt;pre&gt; tags as Crayons"
446
  msgstr "Определять тег &lt;pre&gt; как код Crayon"
447
 
 
448
  #@ crayon-syntax-highlighter
449
+ #: crayon_settings_wp.class.php:600
450
  msgid "Capture Mini Tags like [php][/php] as Crayons."
451
  msgstr "Обрабатывать мини-теги, например [php][/php], как теги Crayon."
452
 
 
453
  #@ crayon-syntax-highlighter
454
+ #: crayon_settings_wp.class.php:601
455
  msgid "Enable [plain][/plain] tag."
456
  msgstr "Разрешить теги [plain][/plain]."
457
 
 
458
  #@ crayon-syntax-highlighter
459
+ #: crayon_settings_wp.class.php:602
460
  msgid "Allow Mixed Language Highlighting with delimiters and tags."
461
  msgstr "Разрешить подсветку смешанных языков."
462
 
 
463
  #@ crayon-syntax-highlighter
464
+ #: crayon_settings_wp.class.php:603
465
  msgid "Show Mixed Language Icon (+)"
466
  msgstr "Показывать иконку смешанных языков (+)"
467
 
 
468
  #@ crayon-syntax-highlighter
469
+ #: crayon_settings_wp.class.php:608
470
  msgid "When loading local files and a relative path is given for the URL, use the absolute path"
471
  msgstr "При загрузке локальных файлов, относительный путь к файлу вычислять относительно этого URL"
472
 
 
473
  #@ crayon-syntax-highlighter
474
+ #: crayon_settings_wp.class.php:611
475
  msgid "Followed by your relative URL."
476
  msgstr "Путь будет определён относительно заданного URL."
477
 
 
478
  #@ crayon-syntax-highlighter
479
+ #: crayon_settings_wp.class.php:615
480
  msgid "Clear the cache used to store remote code requests"
481
  msgstr "Очищать кэш используемый для хранения кодов из внешних файлов"
482
 
 
483
  #@ crayon-syntax-highlighter
484
+ #: crayon_settings_wp.class.php:617
485
  msgid "Clear Now"
486
  msgstr "Очистить сейчас"
487
 
 
488
  #@ crayon-syntax-highlighter
489
+ #: crayon_settings_wp.class.php:618
490
  msgid "Attempt to load Crayon's CSS and JavaScript only when needed"
491
  msgstr "Пытаться загружать таблицы стилей (CSS) и скрипты (Javascript) плагина только тогда, когда это нужно"
492
 
 
493
  #@ crayon-syntax-highlighter
494
+ #: crayon_settings_wp.class.php:621
495
  msgid "Disable mouse gestures for touchscreen devices (eg. MouseOver)"
496
  msgstr "Отключить распознавание жестов мышью для сенсорных экранов (например Наведение Мыши)"
497
 
 
498
  #@ crayon-syntax-highlighter
499
+ #: crayon_settings_wp.class.php:622
500
  msgid "Disable animations"
501
  msgstr "Запретить анимацию"
502
 
 
503
  #@ crayon-syntax-highlighter
504
+ #: crayon_settings_wp.class.php:623
505
  msgid "Disable runtime stats"
506
  msgstr "Запретить статистику выполнения"
507
 
 
508
  #@ crayon-syntax-highlighter
509
+ #: crayon_settings_wp.class.php:630
510
  msgid "Log errors for individual Crayons"
511
  msgstr "Журнал ошибок для каждого кода Crayon"
512
 
 
513
  #@ crayon-syntax-highlighter
514
+ #: crayon_settings_wp.class.php:631
515
  msgid "Log system-wide errors"
516
  msgstr "Журнал ошибок для системно-независимых ошибок"
517
 
 
518
  #@ crayon-syntax-highlighter
519
+ #: crayon_settings_wp.class.php:632
520
  msgid "Display custom message for errors"
521
  msgstr "Показывать свое сообщение об ошибках"
522
 
 
523
  #@ crayon-syntax-highlighter
524
+ #: crayon_settings_wp.class.php:644
525
  msgid "Show Log"
526
  msgstr "Показать журнал ошибок"
527
 
 
528
  #@ crayon-syntax-highlighter
529
+ #: crayon_settings_wp.class.php:646
530
  msgid "Clear Log"
531
  msgstr "Очистить журнал ошибок"
532
 
 
533
  #@ crayon-syntax-highlighter
534
+ #: crayon_settings_wp.class.php:647
535
  msgid "Email Admin"
536
  msgstr "Сообщить администратору (e-mail)"
537
 
 
538
  #@ crayon-syntax-highlighter
539
+ #: crayon_settings_wp.class.php:649
540
  msgid "Email Developer"
541
  msgstr "Сообщить разработчику (e-mail)"
542
 
 
543
  #@ crayon-syntax-highlighter
544
+ #: crayon_settings_wp.class.php:651
545
  msgid "The log is currently empty."
546
  msgstr "Журнал ошибок пуст."
547
 
 
548
  #@ crayon-syntax-highlighter
549
+ #: crayon_settings_wp.class.php:653
550
  msgid "The log file exists and is writable."
551
  msgstr "Файл журнала ошибок существует и в него могут заноситься записи."
552
 
 
553
  #@ crayon-syntax-highlighter
554
+ #: crayon_settings_wp.class.php:653
555
  msgid "The log file exists and is not writable."
556
  msgstr "Файл журнала ошибок существует, но в него не могут заноситься записи."
557
 
 
558
  #@ crayon-syntax-highlighter
559
+ #: crayon_settings_wp.class.php:655
560
  msgid "The log file does not exist and is not writable."
561
  msgstr "Файл журнала ошибок не существует и в него не могут заноситься записи."
562
 
 
563
  #@ crayon-syntax-highlighter
564
+ #: crayon_settings_wp.class.php:665
565
  msgid "Version"
566
  msgstr "Версия"
567
 
 
568
  #@ crayon-syntax-highlighter
569
+ #: crayon_settings_wp.class.php:667
570
  msgid "Developer"
571
  msgstr "Разработчик"
572
 
 
573
  #@ crayon-syntax-highlighter
574
+ #: crayon_settings_wp.class.php:698
575
  msgid "The result of innumerable hours of hard work over many months. It's an ongoing project, keep me motivated!"
576
  msgstr "Результат бесчисленных часов тяжелой работы за многие месяцы. Это - текущий проект, поддержите мою мотивацию!"
577
 
 
578
  #@ crayon-syntax-highlighter
579
+ #: crayon_settings_wp.class.php:714
580
  msgid "Donate"
581
+ msgstr "Помощь автору"
582
 
583
+ #@ crayon-syntax-highlighter
584
  #: crayon_settings_wp.class.php:549
585
  #, php-format
 
586
  msgid "Change the %1$sfallback language%2$s to change the sample code. Lines 5-7 are marked."
587
  msgstr "Измените %1$sязык подсветки%2$s, чтобы изменить пример кода. Строки 5-7 отмечены."
588
 
589
+ #@ crayon-syntax-highlighter
590
  #. translators: plugin header field 'Name'
591
  #: crayon_wp.class.php:0
 
592
  msgid "Crayon Syntax Highlighter"
593
  msgstr ""
594
 
595
+ #@ crayon-syntax-highlighter
596
  #. translators: plugin header field 'PluginURI'
597
  #: crayon_wp.class.php:0
 
598
  msgid "http://ak.net84.net/projects/crayon-syntax-highlighter"
599
  msgstr ""
600
 
601
+ #@ crayon-syntax-highlighter
602
  #. translators: plugin header field 'Description'
603
  #: crayon_wp.class.php:0
 
604
  msgid "Supports multiple languages, themes, highlighting from a URL, local file or post text."
605
+ msgstr "Поддерживает различные языки, темы оформления, подсветку текста из URL, локального файла или текста поста."
606
 
607
+ #@ crayon-syntax-highlighter
608
  #. translators: plugin header field 'Author'
609
  #: crayon_wp.class.php:0
 
610
  msgid "Aram Kocharyan"
611
  msgstr ""
612
 
613
+ #@ crayon-syntax-highlighter
614
  #. translators: plugin header field 'AuthorURI'
615
  #: crayon_wp.class.php:0
 
616
  msgid "http://ak.net84.net/"
617
  msgstr ""
618
 
 
619
  #@ crayon-syntax-highlighter
620
+ #: crayon_settings_wp.class.php:545
621
  msgid "Loading..."
622
+ msgstr "Загрузка..."
623
 
624
+ #@ crayon-syntax-highlighter
625
  #: crayon_settings_wp.class.php:545
626
  #: crayon_settings_wp.class.php:712
627
  #: util/theme-editor/editor.php:14
 
628
  msgid "Theme Editor"
629
+ msgstr "Редактор тем"
630
 
 
631
  #@ crayon-syntax-highlighter
632
+ #: crayon_settings_wp.class.php:595
633
  msgid "Always display scrollbars"
634
  msgstr "Всегда отображать полосы прокрутки"
635
 
 
636
  #@ crayon-syntax-highlighter
637
+ #: crayon_settings_wp.class.php:619
638
  msgid "Disable enqueuing for page templates that may contain The Loop."
639
+ msgstr "Отключить работу плагина для шаблонов страниц, которые могут содержать Loop."
640
 
 
641
  #@ crayon-syntax-highlighter
642
+ #: crayon_settings_wp.class.php:620
643
  msgid "Load Crayons only from the main Wordpress query"
644
+ msgstr "Загрузка Crayons только из основного запроса Wordpress"
645
 
 
646
  #@ crayon-syntax-highlighter
647
+ #: crayon_settings_wp.class.php:668
648
  msgid "Translators"
649
  msgstr "Переводчики"
650
 
 
651
  #@ crayon-syntax-highlighter
652
+ #: util/theme-editor/editor.php:16
653
  msgid "Back To Settings"
654
  msgstr "Вернуться к настройкам"
655
 
 
656
  #@ crayon-syntax-highlighter
657
+ #: crayon_formatter.class.php:203
658
  msgid "Toggle Plain Code"
659
+ msgstr "Включить либо Выключить подсветку синтаксиса текста"
660
 
 
661
  #@ crayon-syntax-highlighter
662
+ #: crayon_formatter.class.php:205
663
  msgid "Copy Plain Code"
664
+ msgstr "Скопировать текст"
665
 
 
666
  #@ crayon-syntax-highlighter
667
+ #: crayon_formatter.class.php:211
668
  msgid "Open Code In New Window"
669
+ msgstr "Открыть код в новом окне"
670
 
 
671
  #@ crayon-syntax-highlighter
672
+ #: crayon_formatter.class.php:214
673
  msgid "Toggle Line Numbers"
674
+ msgstr "Нумерация строк"
675
 
 
676
  #@ crayon-syntax-highlighter
677
+ #: crayon_formatter.class.php:221
678
  msgid "Contains Mixed Languages"
679
  msgstr "Содержит Смешанные Языки"
680
 
 
681
  #@ crayon-syntax-highlighter
682
+ #: crayon_settings_wp.class.php:644
683
  msgid "Hide Log"
684
  msgstr "Скрыть Вход"
685
 
686
+ #@ crayon-syntax-highlighter
687
  #. translators: plugin header field 'Version'
688
  #: crayon_wp.class.php:0
 
689
  msgid "1.7.26"
690
  msgstr ""
691
 
692
+ #@ crayon-syntax-highlighter
693
  #: crayon_formatter.class.php:205
694
  #, php-format
 
695
  msgid "Press %s to Copy, %s to Paste"
696
+ msgstr "Нажмите %s что бы Копировать текст, Что бы вставить %s"
697
 
util/crayon_log.class.php CHANGED
@@ -67,6 +67,13 @@ class CrayonLog {
67
  self::log($var, $title, $trim_url);
68
  }
69
  }
 
 
 
 
 
 
 
70
 
71
  public static function clear() {
72
  if (!@unlink(CRAYON_LOG_FILE)) {
67
  self::log($var, $title, $trim_url);
68
  }
69
  }
70
+
71
+ public static function debug($var = NULL, $title = '', $trim_url = TRUE) {
72
+ if (CRAYON_DEBUG) {
73
+ $title = (empty($title)) ? 'DEBUG' : $title;
74
+ self::log($var, $title, $trim_url);
75
+ }
76
+ }
77
 
78
  public static function clear() {
79
  if (!@unlink(CRAYON_LOG_FILE)) {
util/sample/autoit.txt ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ ;Finds the average of numbers specified by a user.
2
+ ;The numbers must be delimited by commas.
3
+ #NoTrayIcon
4
+ #include <GUIConstantsEx.au3>
5
+ #include <Array.au3>
6
+ ;region---------------GUI-----------------------
7
+ $form = GUICreate("Average Finder", 300, 100)
8
+ $label = GUICtrlCreateLabel("Enter the numbers to be averaged separated by commas", 19, 0)
9
+ $textbox = GUICtrlCreateInput("", 20, 20, 220)
10
+ GUISetState()
11
+ ;endregion---------------END GUI-----------------------
util/sample/ps.txt ADDED
@@ -0,0 +1,2 @@
 
 
1
+ # Find the processes that use more than 1000 MB of memory and kill them
2
+ Get-Process | Where-Object { $_.WS -gt 1000MB } | Stop-Process