Autoptimize - Version 1.9.0

Version Description

  • "Inline and defer CSS" allows one to specify which "above the fold CSS" should be inlined, while the normal optimized CSS is deferred.
  • Inlined Base64-encoded background Images will now be cached as well and the threshold for inlining these images has been bumped up to 4096 bytes (from 2560).
  • Separate cache-directories for CSS and JS in /wp-content/cache/autoptimize, which should result in faster cache pruning (and in some cases possibly faster serving of individual aggregated files).
  • CSS is now added before the -tag, JS before
Download this release

Release Info

Developer futtta
Plugin Icon 128x128 Autoptimize
Version 1.9.0
Comparing to
See all releases

Code changes from version 1.8.5 to 1.9.0

autoptimize.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Autoptimize
4
  Plugin URI: http://blog.futtta.be/autoptimize
5
  Description: Optimizes your website, concatenating the CSS and JavaScript code, and compressing it.
6
- Version: 1.8.5
7
  Author: Frank Goossens (futtta)
8
  Author URI: http://blog.futtta.be/
9
  Domain Path: localization/
@@ -39,7 +39,7 @@ $conf = autoptimizeConfig::instance();
39
  /* Check if we're updating, in which case we might need to do stuff and flush the cache
40
  to avoid old versions of aggregated files lingering around */
41
 
42
- $autoptimize_version="1.8.5";
43
  $autoptimize_db_version=get_option('autoptimize_version','none');
44
 
45
  if ($autoptimize_db_version !== $autoptimize_version) {
@@ -102,7 +102,7 @@ load_plugin_textdomain('autoptimize','wp-content/plugins/'.$plugin_dir.'/localiz
102
  function autoptimize_uninstall(){
103
  autoptimizeCache::clearall();
104
 
105
- $delete_options=array("autoptimize_cache_clean", "autoptimize_cache_nogzip", "autoptimize_css", "autoptimize_css_datauris", "autoptimize_css_justhead", "autoptimize_css_defer", "autoptimize_css_inline", "autoptimize_css_exclude", "autoptimize_html", "autoptimize_html_keepcomments", "autoptimize_js", "autoptimize_js_exclude", "autoptimize_js_forcehead", "autoptimize_js_justhead", "autoptimize_js_trycatch", "autoptimize_version", "autoptimize_show_adv", "autoptimize_cdn_url");
106
 
107
  if ( !is_multisite() ) {
108
  foreach ($delete_options as $del_opt) { delete_option( $del_opt ); }
@@ -241,6 +241,7 @@ function autoptimize_end_buffering($content) {
241
  'justhead' => $conf->get('autoptimize_css_justhead'),
242
  'datauris' => $conf->get('autoptimize_css_datauris'),
243
  'defer' => $conf->get('autoptimize_css_defer'),
 
244
  'inline' => $conf->get('autoptimize_css_inline'),
245
  'css_exclude' => $conf->get('autoptimize_css_exclude'),
246
  'cdn_url' => $conf->get('autoptimize_cdn_url')
@@ -250,7 +251,6 @@ function autoptimize_end_buffering($content) {
250
  )
251
  );
252
 
253
-
254
  // Run the classes
255
  foreach($classes as $name) {
256
  $instance = new $name($content);
@@ -265,11 +265,47 @@ function autoptimize_end_buffering($content) {
265
  return $content;
266
  }
267
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
268
  if(autoptimizeCache::cacheavail()) {
269
  $conf = autoptimizeConfig::instance();
270
- if( $conf->get('autoptimize_html') || $conf->get('autoptimize_js') || $conf->get('autoptimize_css') || $conf->get('autoptimize_cdn_js') || $conf->get('autoptimize_cdn_css')) {
271
  // Hook to wordpress
272
- add_action('template_redirect','autoptimize_start_buffering',2);
273
  }
274
  }
275
 
3
  Plugin Name: Autoptimize
4
  Plugin URI: http://blog.futtta.be/autoptimize
5
  Description: Optimizes your website, concatenating the CSS and JavaScript code, and compressing it.
6
+ Version: 1.9.0
7
  Author: Frank Goossens (futtta)
8
  Author URI: http://blog.futtta.be/
9
  Domain Path: localization/
39
  /* Check if we're updating, in which case we might need to do stuff and flush the cache
40
  to avoid old versions of aggregated files lingering around */
41
 
42
+ $autoptimize_version="1.9.0";
43
  $autoptimize_db_version=get_option('autoptimize_version','none');
44
 
45
  if ($autoptimize_db_version !== $autoptimize_version) {
102
  function autoptimize_uninstall(){
103
  autoptimizeCache::clearall();
104
 
105
+ $delete_options=array("autoptimize_cache_clean", "autoptimize_cache_nogzip", "autoptimize_css", "autoptimize_css_datauris", "autoptimize_css_justhead", "autoptimize_css_defer", "autoptimize_css_defer_inline", "autoptimize_css_inline", "autoptimize_css_exclude", "autoptimize_html", "autoptimize_html_keepcomments", "autoptimize_js", "autoptimize_js_exclude", "autoptimize_js_forcehead", "autoptimize_js_justhead", "autoptimize_js_trycatch", "autoptimize_version", "autoptimize_show_adv", "autoptimize_cdn_url");
106
 
107
  if ( !is_multisite() ) {
108
  foreach ($delete_options as $del_opt) { delete_option( $del_opt ); }
241
  'justhead' => $conf->get('autoptimize_css_justhead'),
242
  'datauris' => $conf->get('autoptimize_css_datauris'),
243
  'defer' => $conf->get('autoptimize_css_defer'),
244
+ 'defer_inline' => $conf->get('autoptimize_css_defer_inline'),
245
  'inline' => $conf->get('autoptimize_css_inline'),
246
  'css_exclude' => $conf->get('autoptimize_css_exclude'),
247
  'cdn_url' => $conf->get('autoptimize_cdn_url')
251
  )
252
  );
253
 
 
254
  // Run the classes
255
  foreach($classes as $name) {
256
  $instance = new $name($content);
265
  return $content;
266
  }
267
 
268
+ function autoptimize_flush_pagecache($nothing) {
269
+ if(function_exists('wp_cache_clear_cache')) {
270
+ if (is_multisite()) {
271
+ $blog_id = get_current_blog_id();
272
+ wp_cache_clear_cache($blog_id);
273
+ } else {
274
+ wp_cache_clear_cache();
275
+ }
276
+ } else if ( has_action('cachify_flush_cache') ) {
277
+ do_action('cachify_flush_cache');
278
+ } else if ( function_exists('w3tc_pgcache_flush') ) {
279
+ w3tc_pgcache_flush(); // w3 total cache
280
+ } else if ( function_exists('hyper_cache_invalidate') ) {
281
+ hyper_cache_invalidate(); // hypercache
282
+ } else if ( function_exists('wp_fast_cache_bulk_delete_all') ) {
283
+ wp_fast_cache_bulk_delete_all(); // wp fast cache
284
+ } else if (class_exists("WpFastestCache")) {
285
+ $wpfc = new WpFastestCache(); // wp fastest cache
286
+ $wpfc -> deleteCache();
287
+ } else if ( class_exists("c_ws_plugin__qcache_purging_routines") ) {
288
+ c_ws_plugin__qcache_purging_routines::purge_cache_dir(); // quick cache
289
+ } else if(file_exists(WP_CONTENT_DIR.'/wp-cache-config.php') && function_exists('prune_super_cache')){
290
+ // fallback for WP-Super-Cache
291
+ global $cache_path;
292
+ if (is_multisite()) {
293
+ $blog_id = get_current_blog_id();
294
+ prune_super_cache( get_supercache_dir( $blog_id ), true );
295
+ prune_super_cache( $cache_path . 'blogs/', true );
296
+ } else {
297
+ prune_super_cache($cache_path.'supercache/',true);
298
+ prune_super_cache($cache_path,true);
299
+ }
300
+ }
301
+ }
302
+ add_action('ao_flush_pagecache','autoptimize_flush_pagecache',10,1);
303
+
304
  if(autoptimizeCache::cacheavail()) {
305
  $conf = autoptimizeConfig::instance();
306
+ if( $conf->get('autoptimize_html') || $conf->get('autoptimize_js') || $conf->get('autoptimize_css') || $conf->get('autoptimize_cdn_js') || $conf->get('autoptimize_cdn_css')) {
307
  // Hook to wordpress
308
+ add_action('template_redirect','autoptimize_start_buffering',11);
309
  }
310
  }
311
 
autoptimize_helper.php_example CHANGED
@@ -4,20 +4,40 @@ Plugin Name: Autoptimize Helper
4
  Plugin URI: http://blog.futtta.be/autoptimize
5
  Description: Autoptimize Helper contains some helper functions to make Autoptimize even more flexible
6
  Author: Frank Goossens (futtta)
7
- Version: 0.1
8
  Author URI: http://blog.futtta.be/
9
  */
10
 
 
 
 
 
11
  // add_filter('autoptimize_filter_css_datauri_maxsize','my_ao_override_dataursize',10,1);
12
  function my_ao_override_dataursize($urisizeIn) {
13
- return 10000;
14
  }
15
 
 
 
 
 
 
 
 
 
 
 
 
 
 
16
  // add_filter('autoptimize_filter_js_defer','my_ao_override_defer',10,1);
17
  function my_ao_override_defer($defer) {
18
  return $defer."async ";
19
- }
20
 
 
 
 
21
  // add_filter('autoptimize_filter_noptimize','my_ao_noptimize',10,0);
22
  function my_ao_noptimize() {
23
  if (strpos($_SERVER['REQUEST_URI'],'no-autoptimize-now')!==false) {
@@ -27,18 +47,89 @@ function my_ao_noptimize() {
27
  }
28
  }
29
 
 
 
 
 
30
  // add_filter('autoptimize_filter_js_exclude','my_ao_override_jsexclude',10,1);
31
  function my_ao_override_jsexclude($exclude) {
32
  return $exclude.", customize-support";
33
  }
34
 
 
 
 
 
35
  // add_filter('autoptimize_filter_css_exclude','my_ao_override_cssexclude',10,1);
36
  function my_ao_override_cssexclude($exclude) {
37
  return $exclude.", recentcomments";
38
  }
39
 
 
 
 
 
40
  // add_filter('autoptimize_filter_js_movelast','my_ao_override_movelast',10,1);
41
  function my_ao_override_movelast($movelast) {
42
  $movelast[]="console.log";
43
  return $movelast;
44
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4
  Plugin URI: http://blog.futtta.be/autoptimize
5
  Description: Autoptimize Helper contains some helper functions to make Autoptimize even more flexible
6
  Author: Frank Goossens (futtta)
7
+ Version: 0.2
8
  Author URI: http://blog.futtta.be/
9
  */
10
 
11
+ /* autoptimize_filter_css_datauri_maxsize: change the threshold at which background images are turned into data uri's;
12
+
13
+ @param $urisize: default size
14
+ @return: your own preferred size */
15
  // add_filter('autoptimize_filter_css_datauri_maxsize','my_ao_override_dataursize',10,1);
16
  function my_ao_override_dataursize($urisizeIn) {
17
+ return 100000;
18
  }
19
 
20
+ /* autoptimize_filter_css_datauri_exclude: exclude background images from being turned into data uri's;
21
+
22
+ @param $imageexcl: default images excluded (empty)
23
+ @return: comma-seperated list of images to exclude */
24
+ // add_filter('autoptimize_filter_css_datauri_exclude','my_ao_exclude_image',10,1);
25
+ function my_ao_exclude_image($imageexcl) {
26
+ return "adfreebutton.jpg, otherimage.png";
27
+ }
28
+
29
+ /* autoptimize_filter_js_defer: change flag added to javascript
30
+
31
+ @param $defer: default value, "" when forced in head, "defer " when not forced in head
32
+ @return: new value */
33
  // add_filter('autoptimize_filter_js_defer','my_ao_override_defer',10,1);
34
  function my_ao_override_defer($defer) {
35
  return $defer."async ";
36
+ }
37
 
38
+ /* autoptimize_filter_noptimize: stop autoptimize from optimizing, e.g. based on URL as in example
39
+
40
+ @return: boolean, true or false */
41
  // add_filter('autoptimize_filter_noptimize','my_ao_noptimize',10,0);
42
  function my_ao_noptimize() {
43
  if (strpos($_SERVER['REQUEST_URI'],'no-autoptimize-now')!==false) {
47
  }
48
  }
49
 
50
+ /* autoptimize_filter_js_exclude; JS optimization exclude strings, as configured in admin page
51
+
52
+ @param $exclude: comma-seperated list of exclude strings
53
+ @return: comma-seperated list of exclude strings */
54
  // add_filter('autoptimize_filter_js_exclude','my_ao_override_jsexclude',10,1);
55
  function my_ao_override_jsexclude($exclude) {
56
  return $exclude.", customize-support";
57
  }
58
 
59
+ /* autoptimize_filter_css_exclude: CSS optimization exclude strings, as configured in admin page
60
+
61
+ @param $exclude: comma-seperated list of exclude strings
62
+ @return: comma-seperated list of exclude strings */
63
  // add_filter('autoptimize_filter_css_exclude','my_ao_override_cssexclude',10,1);
64
  function my_ao_override_cssexclude($exclude) {
65
  return $exclude.", recentcomments";
66
  }
67
 
68
+ /* autoptimize_filter_js_movelast: internal array of what script can be moved to the bottom of the HTML
69
+
70
+ @param array $movelast
71
+ @return: updated array */
72
  // add_filter('autoptimize_filter_js_movelast','my_ao_override_movelast',10,1);
73
  function my_ao_override_movelast($movelast) {
74
  $movelast[]="console.log";
75
  return $movelast;
76
  }
77
+
78
+ /* autoptimize_filter_css_replacetag: where in the HTML is optimized CSS injected
79
+
80
+ @param array $replacetag, containing the html-tag and the method (inject "before", "after" or "replace")
81
+ @return array with updated values */
82
+ // add_filter('autoptimize_filter_css_replacetag','my_ao_override_css_replacetag',10,1);
83
+ function my_ao_override_css_replacetag($replacetag) {
84
+ return array("<head>","after");
85
+ }
86
+
87
+ /* autoptimize_filter_js_replacetag: where in the HTML is optimized JS injected
88
+
89
+ @param array $replacetag, containing the html-tag and the method (inject "before", "after" or "replace")
90
+ @return array with updated values */
91
+ // add_filter('autoptimize_filter_js_replacetag','my_ao_override_js_replacetag',10,1);
92
+ function my_ao_override_js_replacetag($replacetag) {
93
+ return array("<injectjs />","replace");
94
+ }
95
+
96
+ /* autoptimize_js_do_minify: do we want to minify? if set to false autoptimize effectively only aggregates, but does not minify
97
+
98
+ @return: boolean true or false */
99
+ // add_filter('autoptimize_js_do_minify','my_ao_js_minify',10,1);
100
+ function my_ao_js_minify() {
101
+ return false;
102
+ }
103
+
104
+ /* autoptimize_css_do_minify: do we want to minify? if set to false autoptimize effectively only aggregates, but does not minify
105
+
106
+ @return: boolean true or false */
107
+ // add_filter('autoptimize_css_do_minify','my_ao_css_minify',10,1);
108
+ function my_ao_css_minify() {
109
+ return false;
110
+ }
111
+
112
+ /* autoptimize_js_include_inline: do we want AO to also aggregate inline JS?
113
+
114
+ @return: boolean true or false */
115
+ // add_filter('autoptimize_js_include_inline','my_ao_js_include_inline',10,1);
116
+ function my_ao_js_include_inline() {
117
+ return false;
118
+ }
119
+
120
+ /* autoptimize_css_include_inline: do we want AO to also aggregate inline CSS?
121
+
122
+ @return: boolean true or false */
123
+ // add_filter('autoptimize_css_include_inline','my_ao_css_include_inline',10,1);
124
+ function my_ao_css_include_inline() {
125
+ return false;
126
+ }
127
+
128
+ /* autoptimize_filter_css_defer_inline: what CSS to inline when "defer and inline" is activated
129
+
130
+ @param $inlined: string with above the fold CSS as configured in admin
131
+ @return: updated string with above the fold CSS */
132
+ // add_filter('autoptimize_filter_css_defer_inline','my_ao_css_defer_inline',10,1);
133
+ function my_ao_css_defer_inline($inlined) {
134
+ return $inlined."h2,h1{color:red !important;}";
135
+ }
classes/autoptimizeBase.php CHANGED
@@ -25,25 +25,51 @@ abstract class autoptimizeBase
25
 
26
  //Converts an URL to a full path
27
  protected function getpath($url) {
28
- if (strpos($url,'//')===0) {
29
- $url = "http:".$url;
30
- } else if ((strpos($url,'//')===false) && (strpos($url,parse_url(AUTOPTIMIZE_WP_SITE_URL,PHP_URL_HOST))===false)) {
 
 
 
 
 
 
 
 
 
31
  $url = AUTOPTIMIZE_WP_SITE_URL.$url;
32
  }
33
- $path = str_replace(AUTOPTIMIZE_WP_ROOT_URL,'',$url);
34
- if(preg_match('#^((https?|ftp):)?//#i',$path)) {
35
- /** External script/css (adsense, etc) */
36
- return false;
37
- }
38
- $path = str_replace('//','/',WP_ROOT_DIR.$path);
39
- return $path;
 
 
 
 
 
 
 
 
 
 
 
 
40
  }
41
-
42
  // logger
43
- protected function ao_logger($logmsg) {
44
- $logfile=WP_CONTENT_DIR.'/ao_log.txt';
45
- $logmsg.="\n";
46
- file_put_contents($logfile,$logmsg,FILE_APPEND);
 
 
 
 
 
47
  }
48
 
49
  // hide everything between noptimize-comment tags
@@ -151,7 +177,22 @@ abstract class autoptimizeBase
151
  return $url;
152
  }
153
 
154
- protected function warn_html() {
155
- $this->content .= "<!--noptimize--><!-- Autoptimize found a problem with the HTML in your Theme, check if the title or body-tags are missing --><!--/noptimize-->";
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
156
  }
157
  }
25
 
26
  //Converts an URL to a full path
27
  protected function getpath($url) {
28
+ if (strpos($url,'%')!==false) {
29
+ $url=urldecode($url);
30
+ }
31
+
32
+ // normalize
33
+ if (strpos($url,'//')===0) {
34
+ if (is_ssl()) {
35
+ $url = "https:".$url;
36
+ } else {
37
+ $url = "http:".$url;
38
+ }
39
+ } else if ((strpos($url,'//')===false) && (strpos($url,parse_url(AUTOPTIMIZE_WP_SITE_URL,PHP_URL_HOST))===false)) {
40
  $url = AUTOPTIMIZE_WP_SITE_URL.$url;
41
  }
42
+
43
+ // first check; hostname wp site should be hostname of url
44
+ if (parse_url($url,PHP_URL_HOST)!==parse_url(AUTOPTIMIZE_WP_SITE_URL,PHP_URL_HOST)) {
45
+ return false;
46
+ }
47
+
48
+ // try to remove "wp root url" from url while not minding http<>https
49
+ $tmp_ao_root = preg_replace('/https?/','',AUTOPTIMIZE_WP_ROOT_URL);
50
+ $tmp_url = preg_replace('/https?/','',$url);
51
+ $path = str_replace($tmp_ao_root,'',$tmp_url);
52
+
53
+ // final check; if path starts with :// or //, this is not a URL in the WP context and we have to assume we can't aggregate
54
+ if (preg_match('#^:?//#',$path)) {
55
+ /** External script/css (adsense, etc) */
56
+ return false;
57
+ }
58
+
59
+ $path = str_replace('//','/',WP_ROOT_DIR.$path);
60
+ return $path;
61
  }
62
+
63
  // logger
64
+ protected function ao_logger($logmsg,$appendHTML=true) {
65
+ if ($appendHTML) {
66
+ $logmsg="<!--noptimize--><!-- ".$logmsg." --><!--/noptimize-->";
67
+ $this->content.=$logmsg;
68
+ } else {
69
+ $logfile=WP_CONTENT_DIR.'/ao_log.txt';
70
+ $logmsg.="\n--\n";
71
+ file_put_contents($logfile,$logmsg,FILE_APPEND);
72
+ }
73
  }
74
 
75
  // hide everything between noptimize-comment tags
177
  return $url;
178
  }
179
 
180
+ protected function inject_in_html($payload,$replaceTag) {
181
+ if (strpos($this->content,$replaceTag[0])!== false) {
182
+ if ($replaceTag[1]==="after") {
183
+ $replaceBlock=$replaceTag[0].$payload;
184
+ } else if ($replaceTag[1]==="replace"){
185
+ $replaceBlock=$payload;
186
+ } else {
187
+ $replaceBlock=$payload.$replaceTag[0];
188
+ }
189
+ $this->content = str_replace($replaceTag[0],$replaceBlock,$this->content);
190
+ } else {
191
+ $this->content .= $payload;
192
+ if (!$tagWarning) {
193
+ $this->content .= "<!--noptimize--><!-- Autoptimize found a problem with the HTML in your Theme, tag ".$replaceTag[0]." missing --><!--/noptimize-->";
194
+ $tagWarning=true;
195
+ }
196
+ }
197
  }
198
  }
classes/autoptimizeCache.php CHANGED
@@ -1,96 +1,101 @@
1
  <?php
2
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
3
 
4
- class autoptimizeCache
5
- {
6
  private $filename;
7
  private $mime;
8
  private $cachedir;
9
  private $delayed;
10
 
11
- public function __construct($md5,$ext='php')
12
- {
13
  $this->cachedir = AUTOPTIMIZE_CACHE_DIR;
14
  $this->delayed = AUTOPTIMIZE_CACHE_DELAY;
15
  $this->nogzip = AUTOPTIMIZE_CACHE_NOGZIP;
16
- if($this->nogzip == false)
17
  $this->filename = 'autoptimize_'.$md5.'.php';
18
- else
19
- $this->filename = 'autoptimize_'.$md5.'.'.$ext;
 
 
 
 
 
20
  }
21
 
22
- public function check()
23
- {
24
- if(!file_exists($this->cachedir.$this->filename))
25
- {
26
- //No cached file, sorry
27
  return false;
28
  }
29
- //Cache exists!
30
  return true;
31
  }
32
 
33
- public function retrieve()
34
- {
35
- if($this->check())
36
- {
37
- if($this->nogzip == false)
38
  return file_get_contents($this->cachedir.$this->filename.'.none');
39
- else
40
  return file_get_contents($this->cachedir.$this->filename);
 
41
  }
42
  return false;
43
  }
44
 
45
- public function cache($code,$mime)
46
- {
47
- if($this->nogzip == false)
48
- {
49
  $file = ($this->delayed ? 'delayed.php' : 'default.php');
50
  $phpcode = file_get_contents(WP_PLUGIN_DIR.'/autoptimize/config/'.$file);
51
  $phpcode = str_replace(array('%%CONTENT%%','exit;'),array($mime,''),$phpcode);
52
  file_put_contents($this->cachedir.$this->filename,$phpcode);
53
  file_put_contents($this->cachedir.$this->filename.'.none',$code);
54
- if(!$this->delayed)
55
- {
56
- //Compress now!
57
  file_put_contents($this->cachedir.$this->filename.'.deflate',gzencode($code,9,FORCE_DEFLATE));
58
  file_put_contents($this->cachedir.$this->filename.'.gzip',gzencode($code,9,FORCE_GZIP));
59
  }
60
- }else{
61
- //Write code to cache without doing anything else
62
  file_put_contents($this->cachedir.$this->filename,$code);
63
  }
64
  }
65
 
66
- public function getname()
67
- {
68
  return $this->filename;
69
  }
70
 
71
- static function clearall()
72
- {
73
- //Cache not available :(
74
- if(!autoptimizeCache::cacheavail())
75
  return false;
 
 
 
 
 
 
76
 
77
- //Clean the cachedir
78
- $scan = scandir(AUTOPTIMIZE_CACHE_DIR);
79
- foreach($scan as $file)
80
- {
81
- if(!in_array($file,array('.','..')) && strpos($file,'autoptimize') !== false && is_file(AUTOPTIMIZE_CACHE_DIR.$file))
82
- {
83
- @unlink(AUTOPTIMIZE_CACHE_DIR.$file);
84
  }
85
  }
86
 
87
  @unlink(AUTOPTIMIZE_CACHE_DIR."/.htaccess");
88
 
89
  // Do we need to clean any caching plugins cache-files?
90
- if(function_exists('wp_cache_clear_cache')) {
91
- wp_cache_clear_cache(); // wp super cache
 
 
 
 
 
92
  } else if ( function_exists('w3tc_pgcache_flush') ) {
93
- w3tc_pgcache_flush(); //w3 total cache
94
  } else if ( function_exists('hyper_cache_invalidate') ) {
95
  hyper_cache_invalidate(); // hypercache
96
  } else if ( function_exists('wp_fast_cache_bulk_delete_all') ) {
@@ -103,81 +108,77 @@ class autoptimizeCache
103
  } else if(file_exists(WP_CONTENT_DIR.'/wp-cache-config.php') && function_exists('prune_super_cache')){
104
  // fallback for WP-Super-Cache
105
  global $cache_path;
106
- prune_super_cache($cache_path.'supercache/',true);
107
- prune_super_cache($cache_path,true);
 
 
 
 
 
 
 
 
 
108
  }
109
-
110
  return true;
111
  }
112
 
113
- static function stats()
114
- {
115
- //Cache not available :(
116
- if(!autoptimizeCache::cacheavail())
117
  return 0;
118
-
119
- //Count cached info
 
120
  $count = 0;
121
- $scan = scandir(AUTOPTIMIZE_CACHE_DIR);
122
- foreach($scan as $file)
123
- {
124
- if(!in_array($file,array('.','..')) && strpos($file,'autoptimize') !== false)
125
- {
126
- if(is_file(AUTOPTIMIZE_CACHE_DIR.$file))
127
- {
128
- if(AUTOPTIMIZE_CACHE_NOGZIP && (strpos($file,'.js') !== false || strpos($file,'.css') !== false))
129
- {
130
- $count++;
131
- }elseif(!AUTOPTIMIZE_CACHE_NOGZIP && strpos($file,'.none') !== false){
132
- $count++;
133
- }/*else{
134
- //Tricky one... it was a dir or a gzip/deflate file
135
- }*/
 
 
136
  }
137
  }
138
  }
139
 
140
- //Tell the number of instances
141
  return $count;
142
  }
143
 
144
- static function cacheavail()
145
- {
146
- if(!defined('AUTOPTIMIZE_CACHE_DIR'))
147
- {
148
- //We didn't set a cache
149
  return false;
150
  }
151
 
152
- //Check for existence
153
- if(!file_exists(AUTOPTIMIZE_CACHE_DIR))
154
- {
155
- @mkdir(AUTOPTIMIZE_CACHE_DIR,0775,true);
156
- if(!file_exists(AUTOPTIMIZE_CACHE_DIR))
157
- {
158
- //Where should we cache?
159
  return false;
160
  }
161
  }
162
 
163
- if(!is_writable(AUTOPTIMIZE_CACHE_DIR))
164
- {
165
- //How are we supposed to write?
166
- return false;
167
- }
168
-
169
  /** write index.html here to avoid prying eyes */
170
  $indexFile=AUTOPTIMIZE_CACHE_DIR.'/index.html';
171
  if(!is_file($indexFile)) {
172
  @file_put_contents($indexFile,'<html><body>Generated by <a href="http://wordpress.org/extend/plugins/autoptimize/">Autoptimize</a></body></html>');
173
  }
174
-
175
- /** write .htaccess here to overrule wp_super_cache */
176
- $htAccess=AUTOPTIMIZE_CACHE_DIR.'/.htaccess';
177
- if(!is_file($htAccess)) {
178
- if (is_multisite() || AUTOPTIMIZE_CACHE_NOGZIP == false) {
179
 
180
- @file_put_contents($htAccess,'<IfModule mod_headers.c>
181
  Header set Vary "Accept-Encoding"
182
  Header set Cache-Control "max-age=10672000, must-revalidate"
183
  </IfModule>
@@ -188,51 +189,75 @@ class autoptimizeCache
188
  ExpiresByType application/javascript A30672000
189
  </IfModule>
190
  <IfModule mod_deflate.c>
191
- <FilesMatch "\.(js|css)$">
192
  SetOutputFilter DEFLATE
193
  </FilesMatch>
194
  </IfModule>
195
  <IfModule mod_authz_core.c>
196
  <Files *.php>
197
- Require all granted
198
  </Files>
199
  </IfModule>
200
  <IfModule !mod_authz_core.c>
201
  <Files *.php>
202
- Order allow,deny
203
  Allow from all
204
  </Files>
205
  </IfModule>');
206
  } else {
207
- @file_put_contents($htAccess,'<IfModule mod_headers.c>
208
- Header set Vary "Accept-Encoding"
209
- Header set Cache-Control "max-age=10672000, must-revalidate"
210
  </IfModule>
211
  <IfModule mod_expires.c>
212
- ExpiresActive On
213
- ExpiresByType text/css A30672000
214
- ExpiresByType text/javascript A30672000
215
- ExpiresByType application/javascript A30672000
216
  </IfModule>
217
  <IfModule mod_deflate.c>
218
- <FilesMatch "\.(js|css)$">
219
  SetOutputFilter DEFLATE
220
  </FilesMatch>
221
  </IfModule>
222
  <IfModule mod_authz_core.c>
223
  <Files *.php>
224
- Require all denied
225
  </Files>
226
  </IfModule>
227
  <IfModule !mod_authz_core.c>
228
  <Files *.php>
229
- Order deny,allow
230
  Deny from all
231
  </Files>
232
  </IfModule>');
 
 
 
 
 
 
 
 
 
 
 
 
233
  }
234
  }
235
- //All OK
 
 
 
 
 
 
 
 
 
 
 
236
  return true;
237
  }
238
  }
 
1
  <?php
2
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
3
 
4
+ class autoptimizeCache {
 
5
  private $filename;
6
  private $mime;
7
  private $cachedir;
8
  private $delayed;
9
 
10
+ public function __construct($md5,$ext='php') {
 
11
  $this->cachedir = AUTOPTIMIZE_CACHE_DIR;
12
  $this->delayed = AUTOPTIMIZE_CACHE_DELAY;
13
  $this->nogzip = AUTOPTIMIZE_CACHE_NOGZIP;
14
+ if($this->nogzip == false) {
15
  $this->filename = 'autoptimize_'.$md5.'.php';
16
+ } else {
17
+ if (in_array($ext, array("js","css"))) {
18
+ $this->filename = $ext.'/autoptimize_'.$md5.'.'.$ext;
19
+ } else {
20
+ $this->filename = '/autoptimize_'.$md5.'.'.$ext;
21
+ }
22
+ }
23
  }
24
 
25
+ public function check() {
26
+ if(!file_exists($this->cachedir.$this->filename)) {
27
+ // No cached file, sorry
 
 
28
  return false;
29
  }
30
+ // Cache exists!
31
  return true;
32
  }
33
 
34
+ public function retrieve() {
35
+ if($this->check()) {
36
+ if($this->nogzip == false) {
 
 
37
  return file_get_contents($this->cachedir.$this->filename.'.none');
38
+ } else {
39
  return file_get_contents($this->cachedir.$this->filename);
40
+ }
41
  }
42
  return false;
43
  }
44
 
45
+ public function cache($code,$mime) {
46
+ if($this->nogzip == false) {
 
 
47
  $file = ($this->delayed ? 'delayed.php' : 'default.php');
48
  $phpcode = file_get_contents(WP_PLUGIN_DIR.'/autoptimize/config/'.$file);
49
  $phpcode = str_replace(array('%%CONTENT%%','exit;'),array($mime,''),$phpcode);
50
  file_put_contents($this->cachedir.$this->filename,$phpcode);
51
  file_put_contents($this->cachedir.$this->filename.'.none',$code);
52
+ if(!$this->delayed) {
53
+ // Compress now!
 
54
  file_put_contents($this->cachedir.$this->filename.'.deflate',gzencode($code,9,FORCE_DEFLATE));
55
  file_put_contents($this->cachedir.$this->filename.'.gzip',gzencode($code,9,FORCE_GZIP));
56
  }
57
+ } else {
58
+ // Write code to cache without doing anything else
59
  file_put_contents($this->cachedir.$this->filename,$code);
60
  }
61
  }
62
 
63
+ public function getname() {
 
64
  return $this->filename;
65
  }
66
 
67
+ static function clearall() {
68
+ if(!autoptimizeCache::cacheavail()) {
 
 
69
  return false;
70
+ }
71
+
72
+ // scan the cachedirs
73
+ foreach (array("","js","css") as $scandirName) {
74
+ $scan[$scandirName] = scandir(AUTOPTIMIZE_CACHE_DIR.$scandirName);
75
+ }
76
 
77
+ // clear the cachedirs
78
+ foreach ($scan as $scandirName=>$scanneddir) {
79
+ $thisAoCacheDir=rtrim(AUTOPTIMIZE_CACHE_DIR.$scandirName,"/")."/";
80
+ foreach($scanneddir as $file) {
81
+ if(!in_array($file,array('.','..')) && strpos($file,'autoptimize') !== false && is_file($thisAoCacheDir.$file)) {
82
+ @unlink($thisAoCacheDir.$file);
83
+ }
84
  }
85
  }
86
 
87
  @unlink(AUTOPTIMIZE_CACHE_DIR."/.htaccess");
88
 
89
  // Do we need to clean any caching plugins cache-files?
90
+ if(function_exists('wp_cache_clear_cache')) {
91
+ if (is_multisite()) {
92
+ $blog_id = get_current_blog_id();
93
+ wp_cache_clear_cache($blog_id);
94
+ } else {
95
+ wp_cache_clear_cache();
96
+ }
97
  } else if ( function_exists('w3tc_pgcache_flush') ) {
98
+ w3tc_pgcache_flush(); // w3 total cache
99
  } else if ( function_exists('hyper_cache_invalidate') ) {
100
  hyper_cache_invalidate(); // hypercache
101
  } else if ( function_exists('wp_fast_cache_bulk_delete_all') ) {
108
  } else if(file_exists(WP_CONTENT_DIR.'/wp-cache-config.php') && function_exists('prune_super_cache')){
109
  // fallback for WP-Super-Cache
110
  global $cache_path;
111
+ if (is_multisite()) {
112
+ $blog_id = get_current_blog_id();
113
+ prune_super_cache( get_supercache_dir( $blog_id ), true );
114
+ prune_super_cache( $cache_path . 'blogs/', true );
115
+ } else {
116
+ prune_super_cache($cache_path.'supercache/',true);
117
+ prune_super_cache($cache_path,true);
118
+ }
119
+ } else {
120
+ // fallback; schedule event and try to clear there
121
+ wp_schedule_single_event( time() + 1, 'ao_flush_pagecache' , array(time()));
122
  }
 
123
  return true;
124
  }
125
 
126
+ static function stats() {
127
+ // Cache not available :(
128
+ if(!autoptimizeCache::cacheavail()) {
 
129
  return 0;
130
+ }
131
+
132
+ // Count cached info
133
  $count = 0;
134
+
135
+ // scan the cachedirs
136
+ foreach (array("","js","css") as $scandirName) {
137
+ $scan[$scandirName] = scandir(AUTOPTIMIZE_CACHE_DIR.$scandirName);
138
+ }
139
+
140
+ foreach ($scan as $scandirName=>$scanneddir) {
141
+ $thisAoCacheDir=rtrim(AUTOPTIMIZE_CACHE_DIR.$scandirName,"/")."/";
142
+ foreach($scanneddir as $file) {
143
+ if(!in_array($file,array('.','..')) && strpos($file,'autoptimize') !== false) {
144
+ if(is_file($thisAoCacheDir.$file)) {
145
+ if(AUTOPTIMIZE_CACHE_NOGZIP && (strpos($file,'.js') !== false || strpos($file,'.css') !== false)) {
146
+ $count++;
147
+ } elseif(!AUTOPTIMIZE_CACHE_NOGZIP && strpos($file,'.none') !== false) {
148
+ $count++;
149
+ }
150
+ }
151
  }
152
  }
153
  }
154
 
155
+ // print the number of instances
156
  return $count;
157
  }
158
 
159
+ static function cacheavail() {
160
+ if(!defined('AUTOPTIMIZE_CACHE_DIR')) {
161
+ // We didn't set a cache
 
 
162
  return false;
163
  }
164
 
165
+ foreach (array("","js","css") as $checkDir) {
166
+ if(!autoptimizeCache::checkCacheDir(AUTOPTIMIZE_CACHE_DIR.$checkDir)) {
 
 
 
 
 
167
  return false;
168
  }
169
  }
170
 
 
 
 
 
 
 
171
  /** write index.html here to avoid prying eyes */
172
  $indexFile=AUTOPTIMIZE_CACHE_DIR.'/index.html';
173
  if(!is_file($indexFile)) {
174
  @file_put_contents($indexFile,'<html><body>Generated by <a href="http://wordpress.org/extend/plugins/autoptimize/">Autoptimize</a></body></html>');
175
  }
176
+ /** write .htaccess here to overrule wp_super_cache */
177
+ $htAccess=AUTOPTIMIZE_CACHE_DIR.'/.htaccess';
178
+ if(!is_file($htAccess)) {
179
+ if (is_multisite() || AUTOPTIMIZE_CACHE_NOGZIP == false) {
 
180
 
181
+ @file_put_contents($htAccess,'<IfModule mod_headers.c>
182
  Header set Vary "Accept-Encoding"
183
  Header set Cache-Control "max-age=10672000, must-revalidate"
184
  </IfModule>
189
  ExpiresByType application/javascript A30672000
190
  </IfModule>
191
  <IfModule mod_deflate.c>
192
+ <FilesMatch "\.(js|css)$">
193
  SetOutputFilter DEFLATE
194
  </FilesMatch>
195
  </IfModule>
196
  <IfModule mod_authz_core.c>
197
  <Files *.php>
198
+ Require all granted
199
  </Files>
200
  </IfModule>
201
  <IfModule !mod_authz_core.c>
202
  <Files *.php>
203
+ Order allow,deny
204
  Allow from all
205
  </Files>
206
  </IfModule>');
207
  } else {
208
+ @file_put_contents($htAccess,'<IfModule mod_headers.c>
209
+ Header set Vary "Accept-Encoding"
210
+ Header set Cache-Control "max-age=10672000, must-revalidate"
211
  </IfModule>
212
  <IfModule mod_expires.c>
213
+ ExpiresActive On
214
+ ExpiresByType text/css A30672000
215
+ ExpiresByType text/javascript A30672000
216
+ ExpiresByType application/javascript A30672000
217
  </IfModule>
218
  <IfModule mod_deflate.c>
219
+ <FilesMatch "\.(js|css)$">
220
  SetOutputFilter DEFLATE
221
  </FilesMatch>
222
  </IfModule>
223
  <IfModule mod_authz_core.c>
224
  <Files *.php>
225
+ Require all denied
226
  </Files>
227
  </IfModule>
228
  <IfModule !mod_authz_core.c>
229
  <Files *.php>
230
+ Order deny,allow
231
  Deny from all
232
  </Files>
233
  </IfModule>');
234
+ }
235
+ }
236
+ // All OK
237
+ return true;
238
+ }
239
+
240
+ static function checkCacheDir($dir) {
241
+ // Check and create if not exists
242
+ if(!file_exists($dir)) {
243
+ @mkdir($dir,0775,true);
244
+ if(!file_exists($dir)) {
245
+ return false;
246
  }
247
  }
248
+
249
+ // check if we can now write
250
+ if(!is_writable($dir)) {
251
+ return false;
252
+ }
253
+
254
+ // and write index.html here to avoid prying eyes
255
+ $indexFile=$dir.'/index.html';
256
+ if(!is_file($indexFile)) {
257
+ @file_put_contents($indexFile,'<html><body>Generated by <a href="http://wordpress.org/extend/plugins/autoptimize/">Autoptimize</a></body></html>');
258
+ }
259
+
260
  return true;
261
  }
262
  }
263
+
classes/autoptimizeConfig.php CHANGED
@@ -1,23 +1,19 @@
1
  <?php
2
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
3
 
4
- class autoptimizeConfig
5
- {
6
  private $config = null;
7
  static private $instance = null;
8
 
9
  //Singleton: private construct
10
- private function __construct()
11
- {
12
- if( is_admin() )
13
- {
14
  //Add the admin page and settings
15
  add_action('admin_menu',array($this,'addmenu'));
16
  add_action('admin_init',array($this,'registersettings'));
17
 
18
  //Set meta info
19
- if(function_exists('plugin_row_meta'))
20
- {
21
  //2.8+
22
  add_filter('plugin_row_meta',array($this,'setmeta'),10,2);
23
  } elseif(function_exists('post_class')) {
@@ -27,27 +23,23 @@ class autoptimizeConfig
27
  }
28
 
29
  //Clean cache?
30
- if(get_option('autoptimize_cache_clean'))
31
- {
32
  autoptimizeCache::clearall();
33
  update_option('autoptimize_cache_clean',0);
34
  }
35
  }
36
  }
37
 
38
- static public function instance()
39
- {
40
  //Only one instance
41
- if (self::$instance == null)
42
- {
43
  self::$instance = new autoptimizeConfig();
44
  }
45
 
46
  return self::$instance;
47
- }
48
 
49
- public function show()
50
- {
51
  ?>
52
  <style>input[type=url]:invalid {color: red; border-color:red;} .form-table th{font-weight:100;}</style>
53
 
@@ -78,9 +70,9 @@ if (get_option('autoptimize_show_adv','0')=='1') {
78
  <table class="form-table">
79
  <tr valign="top">
80
  <th scope="row"><?php _e('Optimize HTML Code?','autoptimize'); ?></th>
81
- <td><input type="checkbox" name="autoptimize_html" <?php echo get_option('autoptimize_html')?'checked="checked" ':''; ?>/></td>
82
  </tr>
83
- <tr valign="top">
84
  <th scope="row"><?php _e('Keep HTML comments?','autoptimize'); ?></th>
85
  <td><label for="autoptimize_html_keepcomments"><input type="checkbox" name="autoptimize_html_keepcomments" <?php echo get_option('autoptimize_html_keepcomments')?'checked="checked" ':''; ?>/>
86
  <?php _e('Enable this if you want HTML comments to remain in the page, needed for e.g. AdSense to function properly.','autoptimize'); ?></label></td>
@@ -91,24 +83,24 @@ if (get_option('autoptimize_show_adv','0')=='1') {
91
  <table class="form-table">
92
  <tr valign="top">
93
  <th scope="row"><?php _e('Optimize JavaScript Code?','autoptimize'); ?></th>
94
- <td><input type="checkbox" name="autoptimize_js" <?php echo get_option('autoptimize_js')?'checked="checked" ':''; ?>/></td>
95
  </tr>
96
- <tr valign="top" class="hidden ao_adv">
97
  <th scope="row"><?php _e('Force JavaScript in &lt;head&gt;?','autoptimize'); ?></th>
98
  <td><label for="autoptimize_js_forcehead"><input type="checkbox" name="autoptimize_js_forcehead" <?php echo get_option('autoptimize_js_forcehead')?'checked="checked" ':''; ?>/>
99
  <?php _e('For performance reasons it is better to include JavaScript at the bottom of HTML, but this sometimes breaks things. Especially useful for jQuery-based themes.','autoptimize'); ?></label></td>
100
  </tr>
101
- <tr valign="top" class="hidden ao_adv">
102
  <th scope="row"><?php _e('Look for scripts only in &lt;head&gt;?','autoptimize'); ?></th>
103
  <td><label for="autoptimize_js_justhead"><input type="checkbox" name="autoptimize_js_justhead" <?php echo get_option('autoptimize_js_justhead')?'checked="checked" ':''; ?>/>
104
  <?php _e('Mostly usefull in combination with previous option when using jQuery-based templates, but might help keeping cache size under control.','autoptimize'); ?></label></td>
105
  </tr>
106
- <tr valign="top" class="hidden ao_adv">
107
  <th scope="row"><?php _e('Exclude scripts from Autoptimize:','autoptimize'); ?></th>
108
  <td><label for="autoptimize_js_exclude"><input type="text" style="width:100%;" name="autoptimize_js_exclude" value="<?php echo get_option('autoptimize_js_exclude',"s_sid,smowtion_size,sc_project,WAU_,wau_add,comment-form-quicktags,edToolbar,ch_client,nonce,post_id"); ?>"/><br />
109
  <?php _e('A comma-seperated list of scripts you want to exclude from being optimized, for example \'whatever.js, another.js\' (without the quotes) to exclude those scripts from being aggregated and minimized by Autoptimize.','autoptimize'); ?></label></td>
110
  </tr>
111
- <tr valign="top" class="hidden ao_adv">
112
  <th scope="row"><?php _e('Add try-catch wrapping?','autoptimize'); ?></th>
113
  <td><label for="autoptimize_js_trycatch"><input type="checkbox" name="autoptimize_js_trycatch" <?php echo get_option('autoptimize_js_trycatch')?'checked="checked" ':''; ?>/>
114
  <?php _e('If your scripts break because of an script error, you might want to try this.','autoptimize'); ?></label></td>
@@ -119,29 +111,33 @@ if (get_option('autoptimize_show_adv','0')=='1') {
119
  <table class="form-table">
120
  <tr valign="top">
121
  <th scope="row"><?php _e('Optimize CSS Code?','autoptimize'); ?></th>
122
- <td><input type="checkbox" name="autoptimize_css" <?php echo get_option('autoptimize_css')?'checked="checked" ':''; ?>/></td>
123
  </tr>
124
- <tr valign="top">
125
  <th scope="row"><?php _e('Generate data: URIs for images?','autoptimize'); ?></th>
126
  <td><label for="autoptimize_css_datauris"><input type="checkbox" name="autoptimize_css_datauris" <?php echo get_option('autoptimize_css_datauris')?'checked="checked" ':''; ?>/>
127
  <?php _e('Enable this to include small background-images in the CSS itself instead of as seperate downloads.','autoptimize'); ?></label></td>
128
  </tr>
129
- <tr valign="top" class="hidden ao_adv">
130
  <th scope="row"><?php _e('Look for styles only in &lt;head&gt;?','autoptimize'); ?></th>
131
  <td><label for="autoptimize_css_justhead"><input type="checkbox" name="autoptimize_css_justhead" <?php echo get_option('autoptimize_css_justhead')?'checked="checked" ':''; ?>/>
132
  <?php _e('Don\'t autoptimize CSS outside the head-section. If the cache gets big, you might want to enable this.','autoptimize'); ?></label></td>
133
  </tr>
134
- <tr valign="top" class="hidden ao_adv">
135
- <th scope="row"><?php _e('Defer CSS loading?','autoptimize'); ?></th>
136
  <td><label for="autoptimize_css_defer"><input type="checkbox" name="autoptimize_css_defer" id="autoptimize_css_defer" <?php echo get_option('autoptimize_css_defer')?'checked="checked" ':''; ?>/>
137
- <?php _e('Load optimized CSS only after page load (disables CSS inlining). <strong>Warning</strong>: <a href="http://wordpress.org/plugins/autoptimize/faq/" target="_blank">check the FAQ</a> before activating this option!','autoptimize'); ?></label></td>
138
  </tr>
139
- <tr valign="top" class="hidden ao_adv">
 
 
 
 
140
  <th scope="row"><?php _e('Inline all CSS?','autoptimize'); ?></th>
141
  <td><label for="autoptimize_css_inline"><input type="checkbox" id="autoptimize_css_inline" name="autoptimize_css_inline" <?php echo get_option('autoptimize_css_inline')?'checked="checked" ':''; ?>/>
142
- <?php _e('Inlining all CSS can improve performance for sites with a low pageviews/ visitor-rate, but may slow down performance otherwise. CSS inlining disables CSS deferring.','autoptimize'); ?></label></td>
143
  </tr>
144
- <tr valign="top" class="hidden ao_adv">
145
  <th scope="row"><?php _e('Exclude CSS from Autoptimize:','autoptimize'); ?></th>
146
  <td><label for="autoptimize_css_exclude"><input type="text" style="width:100%;" name="autoptimize_css_exclude" value="<?php echo get_option('autoptimize_css_exclude','admin-bar.min.css, dashicons.min.css'); ?>"/><br />
147
  <?php _e('A comma-seperated list of CSS you want to exclude from being optimized.','autoptimize'); ?></label></td>
@@ -209,10 +205,20 @@ if (get_option('autoptimize_show_adv','0')=='1') {
209
  cookiename="autoptimize_feed";
210
 
211
  jQuery(document).ready(function() {
 
212
  jQuery( "#ao_show_adv" ).click(function() {
213
  jQuery( "#ao_show_adv" ).hide();
214
  jQuery( "#ao_hide_adv" ).show();
215
  jQuery( ".ao_adv" ).show("slow");
 
 
 
 
 
 
 
 
 
216
  jQuery( "input#autoptimize_show_adv" ).val("1");
217
  });
218
 
@@ -220,18 +226,52 @@ if (get_option('autoptimize_show_adv','0')=='1') {
220
  jQuery( "#ao_hide_adv" ).hide();
221
  jQuery( "#ao_show_adv" ).show();
222
  jQuery( ".ao_adv" ).hide("slow");
 
 
 
 
 
 
223
  jQuery( "input#autoptimize_show_adv" ).val("0");
224
  });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
225
 
226
  jQuery( "#autoptimize_css_inline" ).change(function() {
227
  if (this.checked) {
228
  jQuery("#autoptimize_css_defer").prop("checked",false);
 
229
  }
230
  });
231
 
232
  jQuery( "#autoptimize_css_defer" ).change(function() {
233
  if (this.checked) {
234
  jQuery("#autoptimize_css_inline").prop("checked",false);
 
 
 
235
  }
236
  });
237
 
@@ -241,6 +281,21 @@ if (get_option('autoptimize_show_adv','0')=='1') {
241
  show_feed(feedid);
242
  })
243
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
244
  function show_feed(id) {
245
  jQuery('#futtta_feed').rssfeed(feed[id], {
246
  <?php if ( is_ssl() ) echo "ssl: true,"; ?>
@@ -257,8 +312,7 @@ if (get_option('autoptimize_show_adv','0')=='1') {
257
  <?php
258
  }
259
 
260
- public function addmenu()
261
- {
262
  $hook=add_options_page(__('Autoptimize Options','autoptimize'),'Autoptimize','manage_options','autoptimize',array($this,'show'));
263
  add_action( 'admin_print_scripts-'.$hook,array($this,'autoptimize_admin_scripts'));
264
  add_action( 'admin_print_styles-'.$hook,array($this,'autoptimize_admin_styles'));
@@ -274,8 +328,7 @@ if (get_option('autoptimize_show_adv','0')=='1') {
274
  }
275
 
276
 
277
- public function registersettings()
278
- {
279
  register_setting('autoptimize','autoptimize_html');
280
  register_setting('autoptimize','autoptimize_html_keepcomments');
281
  register_setting('autoptimize','autoptimize_js');
@@ -288,6 +341,7 @@ if (get_option('autoptimize_show_adv','0')=='1') {
288
  register_setting('autoptimize','autoptimize_css_justhead');
289
  register_setting('autoptimize','autoptimize_css_datauris');
290
  register_setting('autoptimize','autoptimize_css_defer');
 
291
  register_setting('autoptimize','autoptimize_css_inline');
292
  register_setting('autoptimize','autoptimize_cdn_url');
293
  register_setting('autoptimize','autoptimize_cache_clean');
@@ -295,24 +349,21 @@ if (get_option('autoptimize_show_adv','0')=='1') {
295
  register_setting('autoptimize','autoptimize_show_adv');
296
  }
297
 
298
- public function setmeta($links,$file=null)
299
- {
300
  //Inspired on http://wpengineer.com/meta-links-for-wordpress-plugins/
301
  //Do it only once - saves time
302
  static $plugin;
303
  if(empty($plugin))
304
  $plugin = plugin_basename(WP_PLUGIN_DIR.'/autoptimize/autoptimize.php');
305
 
306
- if($file===null)
307
- {
308
  //2.7
309
  $settings_link = sprintf('<a href="options-general.php?page=autoptimize">%s</a>', __('Settings'));
310
  array_unshift($links,$settings_link);
311
- }else{
312
  //2.8
313
  //If it's us, add the link
314
- if($file === $plugin)
315
- {
316
  $newlink = array(sprintf('<a href="options-general.php?page=autoptimize">%s</a>',__('Settings')));
317
  $links = array_merge($links,$newlink);
318
  }
@@ -321,10 +372,8 @@ if (get_option('autoptimize_show_adv','0')=='1') {
321
  return $links;
322
  }
323
 
324
- public function get($key)
325
- {
326
- if(!is_array($this->config))
327
- {
328
  //Default config
329
  $config = array('autoptimize_html' => 0,
330
  'autoptimize_html_keepcomments' => 0,
@@ -337,6 +386,7 @@ if (get_option('autoptimize_show_adv','0')=='1') {
337
  'autoptimize_css_exclude' => "admin-bar.min.css, dashicons.min.css",
338
  'autoptimize_css_justhead' => 0,
339
  'autoptimize_css_defer' => 0,
 
340
  'autoptimize_css_inline' => 0,
341
  'autoptimize_css_datauris' => 0,
342
  'autoptimize_cdn_url' => "",
@@ -345,11 +395,9 @@ if (get_option('autoptimize_show_adv','0')=='1') {
345
  );
346
 
347
  //Override with user settings
348
- foreach(array_keys($config) as $name)
349
- {
350
  $conf = get_option($name);
351
- if($conf!==false)
352
- {
353
  //It was set before!
354
  $config[$name] = $conf;
355
  }
1
  <?php
2
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
3
 
4
+ class autoptimizeConfig {
 
5
  private $config = null;
6
  static private $instance = null;
7
 
8
  //Singleton: private construct
9
+ private function __construct() {
10
+ if( is_admin() ) {
 
 
11
  //Add the admin page and settings
12
  add_action('admin_menu',array($this,'addmenu'));
13
  add_action('admin_init',array($this,'registersettings'));
14
 
15
  //Set meta info
16
+ if(function_exists('plugin_row_meta')) {
 
17
  //2.8+
18
  add_filter('plugin_row_meta',array($this,'setmeta'),10,2);
19
  } elseif(function_exists('post_class')) {
23
  }
24
 
25
  //Clean cache?
26
+ if(get_option('autoptimize_cache_clean')) {
 
27
  autoptimizeCache::clearall();
28
  update_option('autoptimize_cache_clean',0);
29
  }
30
  }
31
  }
32
 
33
+ static public function instance() {
 
34
  //Only one instance
35
+ if (self::$instance == null) {
 
36
  self::$instance = new autoptimizeConfig();
37
  }
38
 
39
  return self::$instance;
40
+ }
41
 
42
+ public function show() {
 
43
  ?>
44
  <style>input[type=url]:invalid {color: red; border-color:red;} .form-table th{font-weight:100;}</style>
45
 
70
  <table class="form-table">
71
  <tr valign="top">
72
  <th scope="row"><?php _e('Optimize HTML Code?','autoptimize'); ?></th>
73
+ <td><input type="checkbox" id="autoptimize_html" name="autoptimize_html" <?php echo get_option('autoptimize_html')?'checked="checked" ':''; ?>/></td>
74
  </tr>
75
+ <tr class="html_sub" valign="top">
76
  <th scope="row"><?php _e('Keep HTML comments?','autoptimize'); ?></th>
77
  <td><label for="autoptimize_html_keepcomments"><input type="checkbox" name="autoptimize_html_keepcomments" <?php echo get_option('autoptimize_html_keepcomments')?'checked="checked" ':''; ?>/>
78
  <?php _e('Enable this if you want HTML comments to remain in the page, needed for e.g. AdSense to function properly.','autoptimize'); ?></label></td>
83
  <table class="form-table">
84
  <tr valign="top">
85
  <th scope="row"><?php _e('Optimize JavaScript Code?','autoptimize'); ?></th>
86
+ <td><input type="checkbox" id="autoptimize_js" name="autoptimize_js" <?php echo get_option('autoptimize_js')?'checked="checked" ':''; ?>/></td>
87
  </tr>
88
+ <tr valign="top" class="hidden js_sub ao_adv">
89
  <th scope="row"><?php _e('Force JavaScript in &lt;head&gt;?','autoptimize'); ?></th>
90
  <td><label for="autoptimize_js_forcehead"><input type="checkbox" name="autoptimize_js_forcehead" <?php echo get_option('autoptimize_js_forcehead')?'checked="checked" ':''; ?>/>
91
  <?php _e('For performance reasons it is better to include JavaScript at the bottom of HTML, but this sometimes breaks things. Especially useful for jQuery-based themes.','autoptimize'); ?></label></td>
92
  </tr>
93
+ <tr valign="top" class="hidden js_sub ao_adv">
94
  <th scope="row"><?php _e('Look for scripts only in &lt;head&gt;?','autoptimize'); ?></th>
95
  <td><label for="autoptimize_js_justhead"><input type="checkbox" name="autoptimize_js_justhead" <?php echo get_option('autoptimize_js_justhead')?'checked="checked" ':''; ?>/>
96
  <?php _e('Mostly usefull in combination with previous option when using jQuery-based templates, but might help keeping cache size under control.','autoptimize'); ?></label></td>
97
  </tr>
98
+ <tr valign="top" class="hidden js_sub ao_adv">
99
  <th scope="row"><?php _e('Exclude scripts from Autoptimize:','autoptimize'); ?></th>
100
  <td><label for="autoptimize_js_exclude"><input type="text" style="width:100%;" name="autoptimize_js_exclude" value="<?php echo get_option('autoptimize_js_exclude',"s_sid,smowtion_size,sc_project,WAU_,wau_add,comment-form-quicktags,edToolbar,ch_client,nonce,post_id"); ?>"/><br />
101
  <?php _e('A comma-seperated list of scripts you want to exclude from being optimized, for example \'whatever.js, another.js\' (without the quotes) to exclude those scripts from being aggregated and minimized by Autoptimize.','autoptimize'); ?></label></td>
102
  </tr>
103
+ <tr valign="top" class="hidden js_sub ao_adv">
104
  <th scope="row"><?php _e('Add try-catch wrapping?','autoptimize'); ?></th>
105
  <td><label for="autoptimize_js_trycatch"><input type="checkbox" name="autoptimize_js_trycatch" <?php echo get_option('autoptimize_js_trycatch')?'checked="checked" ':''; ?>/>
106
  <?php _e('If your scripts break because of an script error, you might want to try this.','autoptimize'); ?></label></td>
111
  <table class="form-table">
112
  <tr valign="top">
113
  <th scope="row"><?php _e('Optimize CSS Code?','autoptimize'); ?></th>
114
+ <td><input type="checkbox" id="autoptimize_css" name="autoptimize_css" <?php echo get_option('autoptimize_css')?'checked="checked" ':''; ?>/></td>
115
  </tr>
116
+ <tr class="css_sub" valign="top">
117
  <th scope="row"><?php _e('Generate data: URIs for images?','autoptimize'); ?></th>
118
  <td><label for="autoptimize_css_datauris"><input type="checkbox" name="autoptimize_css_datauris" <?php echo get_option('autoptimize_css_datauris')?'checked="checked" ':''; ?>/>
119
  <?php _e('Enable this to include small background-images in the CSS itself instead of as seperate downloads.','autoptimize'); ?></label></td>
120
  </tr>
121
+ <tr valign="top" class="hidden css_sub ao_adv">
122
  <th scope="row"><?php _e('Look for styles only in &lt;head&gt;?','autoptimize'); ?></th>
123
  <td><label for="autoptimize_css_justhead"><input type="checkbox" name="autoptimize_css_justhead" <?php echo get_option('autoptimize_css_justhead')?'checked="checked" ':''; ?>/>
124
  <?php _e('Don\'t autoptimize CSS outside the head-section. If the cache gets big, you might want to enable this.','autoptimize'); ?></label></td>
125
  </tr>
126
+ <tr valign="top" class="hidden css_sub ao_adv">
127
+ <th scope="row"><?php _e('Inline and Defer CSS?','autoptimize'); ?></th>
128
  <td><label for="autoptimize_css_defer"><input type="checkbox" name="autoptimize_css_defer" id="autoptimize_css_defer" <?php echo get_option('autoptimize_css_defer')?'checked="checked" ':''; ?>/>
129
+ <?php _e('Inline "above the fold CSS" while loading the main autoptimized CSS only after page load. <a href="http://wordpress.org/plugins/autoptimize/faq/" target="_blank">Check the FAQ</a> before activating this option!','autoptimize'); ?></label></td>
130
  </tr>
131
+ <tr valign="top" class="hidden css_sub ao_adv" id="autoptimize_css_defer_inline">
132
+ <th scope="row"></th>
133
+ <td><label for="autoptimize_css_defer_inline"><textarea rows="10" cols="10" style="width:100%;" placeholder="<?php _e('Paste the above the fold CSS here.','autoptimize'); ?>" name="autoptimize_css_defer_inline"><?php echo get_option('autoptimize_css_defer_inline'); ?></textarea></label></td>
134
+ </tr>
135
+ <tr valign="top" class="hidden ao_adv css_sub">
136
  <th scope="row"><?php _e('Inline all CSS?','autoptimize'); ?></th>
137
  <td><label for="autoptimize_css_inline"><input type="checkbox" id="autoptimize_css_inline" name="autoptimize_css_inline" <?php echo get_option('autoptimize_css_inline')?'checked="checked" ':''; ?>/>
138
+ <?php _e('Inlining all CSS can improve performance for sites with a low pageviews/ visitor-rate, but may slow down performance otherwise.','autoptimize'); ?></label></td>
139
  </tr>
140
+ <tr valign="top" class="hidden ao_adv css_sub">
141
  <th scope="row"><?php _e('Exclude CSS from Autoptimize:','autoptimize'); ?></th>
142
  <td><label for="autoptimize_css_exclude"><input type="text" style="width:100%;" name="autoptimize_css_exclude" value="<?php echo get_option('autoptimize_css_exclude','admin-bar.min.css, dashicons.min.css'); ?>"/><br />
143
  <?php _e('A comma-seperated list of CSS you want to exclude from being optimized.','autoptimize'); ?></label></td>
205
  cookiename="autoptimize_feed";
206
 
207
  jQuery(document).ready(function() {
208
+ check_ini_state();
209
  jQuery( "#ao_show_adv" ).click(function() {
210
  jQuery( "#ao_show_adv" ).hide();
211
  jQuery( "#ao_hide_adv" ).show();
212
  jQuery( ".ao_adv" ).show("slow");
213
+ if (jQuery("#autoptimize_css").attr('checked')) {
214
+ jQuery(".css_sub:visible").fadeTo("fast",1);
215
+ if (!jQuery("#autoptimize_css_defer").attr('checked')) {
216
+ jQuery("#autoptimize_css_defer_inline").hide();
217
+ }
218
+ }
219
+ if (jQuery("#autoptimize_js").attr('checked')) {
220
+ jQuery(".js_sub:visible").fadeTo("fast",1);
221
+ }
222
  jQuery( "input#autoptimize_show_adv" ).val("1");
223
  });
224
 
226
  jQuery( "#ao_hide_adv" ).hide();
227
  jQuery( "#ao_show_adv" ).show();
228
  jQuery( ".ao_adv" ).hide("slow");
229
+ if (!jQuery("#autoptimize_css").attr('checked')) {
230
+ jQuery(".css_sub:visible").fadeTo("fast",.33);
231
+ }
232
+ if (!jQuery("#autoptimize_js").attr('checked')) {
233
+ jQuery(".js_sub:visible").fadeTo("fast",.33);
234
+ }
235
  jQuery( "input#autoptimize_show_adv" ).val("0");
236
  });
237
+
238
+ jQuery( "#autoptimize_html" ).change(function() {
239
+ if (this.checked) {
240
+ jQuery(".html_sub:visible").fadeTo("fast",1);
241
+ } else {
242
+ jQuery(".html_sub:visible").fadeTo("fast",.33);
243
+ }
244
+ });
245
+
246
+ jQuery( "#autoptimize_js" ).change(function() {
247
+ if (this.checked) {
248
+ jQuery(".js_sub:visible").fadeTo("fast",1);
249
+ } else {
250
+ jQuery(".js_sub:visible").fadeTo("fast",.33);
251
+ }
252
+ });
253
+
254
+ jQuery( "#autoptimize_css" ).change(function() {
255
+ if (this.checked) {
256
+ jQuery(".css_sub:visible").fadeTo("fast",1);
257
+ } else {
258
+ jQuery(".css_sub:visible").fadeTo("fast",.33);
259
+ }
260
+ });
261
 
262
  jQuery( "#autoptimize_css_inline" ).change(function() {
263
  if (this.checked) {
264
  jQuery("#autoptimize_css_defer").prop("checked",false);
265
+ jQuery("#autoptimize_css_defer_inline").hide("slow");
266
  }
267
  });
268
 
269
  jQuery( "#autoptimize_css_defer" ).change(function() {
270
  if (this.checked) {
271
  jQuery("#autoptimize_css_inline").prop("checked",false);
272
+ jQuery("#autoptimize_css_defer_inline").show("slow");
273
+ } else {
274
+ jQuery("#autoptimize_css_defer_inline").hide("slow");
275
  }
276
  });
277
 
281
  show_feed(feedid);
282
  })
283
 
284
+ function check_ini_state() {
285
+ if (!jQuery("#autoptimize_css_defer").attr('checked')) {
286
+ jQuery("#autoptimize_css_defer_inline").hide();
287
+ }
288
+ if (!jQuery("#autoptimize_html").attr('checked')) {
289
+ jQuery(".html_sub:visible").fadeTo('fast',.33);
290
+ }
291
+ if (!jQuery("#autoptimize_css").attr('checked')) {
292
+ jQuery(".css_sub:visible").fadeTo('fast',.33);
293
+ }
294
+ if (!jQuery("#autoptimize_js").attr('checked')) {
295
+ jQuery(".js_sub:visible").fadeTo('fast',.33);
296
+ }
297
+ }
298
+
299
  function show_feed(id) {
300
  jQuery('#futtta_feed').rssfeed(feed[id], {
301
  <?php if ( is_ssl() ) echo "ssl: true,"; ?>
312
  <?php
313
  }
314
 
315
+ public function addmenu() {
 
316
  $hook=add_options_page(__('Autoptimize Options','autoptimize'),'Autoptimize','manage_options','autoptimize',array($this,'show'));
317
  add_action( 'admin_print_scripts-'.$hook,array($this,'autoptimize_admin_scripts'));
318
  add_action( 'admin_print_styles-'.$hook,array($this,'autoptimize_admin_styles'));
328
  }
329
 
330
 
331
+ public function registersettings() {
 
332
  register_setting('autoptimize','autoptimize_html');
333
  register_setting('autoptimize','autoptimize_html_keepcomments');
334
  register_setting('autoptimize','autoptimize_js');
341
  register_setting('autoptimize','autoptimize_css_justhead');
342
  register_setting('autoptimize','autoptimize_css_datauris');
343
  register_setting('autoptimize','autoptimize_css_defer');
344
+ register_setting('autoptimize','autoptimize_css_defer_inline');
345
  register_setting('autoptimize','autoptimize_css_inline');
346
  register_setting('autoptimize','autoptimize_cdn_url');
347
  register_setting('autoptimize','autoptimize_cache_clean');
349
  register_setting('autoptimize','autoptimize_show_adv');
350
  }
351
 
352
+ public function setmeta($links,$file=null) {
 
353
  //Inspired on http://wpengineer.com/meta-links-for-wordpress-plugins/
354
  //Do it only once - saves time
355
  static $plugin;
356
  if(empty($plugin))
357
  $plugin = plugin_basename(WP_PLUGIN_DIR.'/autoptimize/autoptimize.php');
358
 
359
+ if($file===null) {
 
360
  //2.7
361
  $settings_link = sprintf('<a href="options-general.php?page=autoptimize">%s</a>', __('Settings'));
362
  array_unshift($links,$settings_link);
363
+ } else {
364
  //2.8
365
  //If it's us, add the link
366
+ if($file === $plugin) {
 
367
  $newlink = array(sprintf('<a href="options-general.php?page=autoptimize">%s</a>',__('Settings')));
368
  $links = array_merge($links,$newlink);
369
  }
372
  return $links;
373
  }
374
 
375
+ public function get($key) {
376
+ if(!is_array($this->config)) {
 
 
377
  //Default config
378
  $config = array('autoptimize_html' => 0,
379
  'autoptimize_html_keepcomments' => 0,
386
  'autoptimize_css_exclude' => "admin-bar.min.css, dashicons.min.css",
387
  'autoptimize_css_justhead' => 0,
388
  'autoptimize_css_defer' => 0,
389
+ 'autoptimize_css_defer_inline' => "",
390
  'autoptimize_css_inline' => 0,
391
  'autoptimize_css_datauris' => 0,
392
  'autoptimize_cdn_url' => "",
395
  );
396
 
397
  //Override with user settings
398
+ foreach(array_keys($config) as $name) {
 
399
  $conf = get_option($name);
400
+ if($conf!==false) {
 
401
  //It was set before!
402
  $config[$name] = $conf;
403
  }
classes/autoptimizeScripts.php CHANGED
@@ -4,7 +4,7 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
4
  class autoptimizeScripts extends autoptimizeBase
5
  {
6
  private $scripts = array();
7
- private $dontmove = array('document.write','html5.js','show_ads.js','google_ad','blogcatalog.com/w','tweetmeme.com/i','mybloglog.com/','histats.com/js','ads.smowtion.com/ad.js','statcounter.com/counter/counter.js','widgets.amung.us','ws.amazon.com/widgets','media.fastclick.net','/ads/','comment-form-quicktags/quicktags.php','edToolbar','intensedebate.com','scripts.chitika.net/','_gaq.push','jotform.com/','admin-bar.min.js','GoogleAnalyticsObject','plupload.full.min.js','syntaxhighlighter3/scripts','adsbygoogle');
8
  private $domove = array('gaJsHost','load_cmc','jd.gallery.transitions.js','swfobject.embedSWF(','tiny_mce.js','tinyMCEPreInit.go');
9
  private $domovelast = array('addthis.com','/afsonline/show_afs_search.js','disqus.js','networkedblogs.com/getnetworkwidget','infolinks.com/js/','jd.gallery.js.php','jd.gallery.transitions.js','swfobject.embedSWF(','linkwithin.com/widget.js','tiny_mce.js','tinyMCEPreInit.go');
10
  private $trycatch = false;
@@ -100,7 +100,7 @@ class autoptimizeScripts extends autoptimizeBase
100
  // Inline script
101
  // unhide comments, as javascript may be wrapped in comment-tags for old times' sake
102
  $tag = $this->restore_comments($tag);
103
- if($this->ismergeable($tag)) {
104
  preg_match('#<script.*>(.*)</script>#Usmi',$tag,$code);
105
  $code = preg_replace('#.*<!\[CDATA\[(?:\s*\*/)?(.*)(?://|/\*)\s*?\]\]>.*#sm','$1',$code[1]);
106
  $code = preg_replace('/(?:^\\s*<!--\\s*|\\s*(?:\\/\\/)?\\s*-->\\s*$)/','',$code);
@@ -143,12 +143,13 @@ class autoptimizeScripts extends autoptimizeBase
143
  if($this->trycatch) {
144
  $script = 'try{'.$script.'}catch(e){}';
145
  }
146
- $this->jscode .= "\n".$script;
147
  } else {
148
  //External script
149
  if($script !== false && file_exists($script) && is_readable($script)) {
150
  $script = file_get_contents($script);
151
  $script = preg_replace('/\x{EF}\x{BB}\x{BF}/','',$script);
 
152
  //Add try-catch?
153
  if($this->trycatch) {
154
  $script = 'try{'.$script.'}catch(e){}';
@@ -170,7 +171,7 @@ class autoptimizeScripts extends autoptimizeBase
170
  unset($ccheck);
171
 
172
  //$this->jscode has all the uncompressed code now.
173
- if(class_exists('JSMin')) {
174
  if (@is_callable(array(new JSMin,"minify"))) {
175
  $tmp_jscode = trim(JSMin::minify($this->jscode));
176
  if (!empty($tmp_jscode)) {
@@ -208,25 +209,21 @@ class autoptimizeScripts extends autoptimizeBase
208
 
209
  // Add the scripts taking forcehead/ deferred (default) into account
210
  if($this->forcehead == true) {
211
- $replaceTag="</head>";
212
  $defer="";
213
  } else {
214
- $replaceTag="</body>";
215
  $defer="defer ";
216
  }
217
 
218
  $defer = apply_filters( 'autoptimize_filter_js_defer', $defer );
 
219
 
220
  $bodyreplacement = implode('',$this->move['first']);
221
  $bodyreplacement .= '<script type="text/javascript" '.$defer.'src="'.$this->url.'"></script>';
222
  $bodyreplacement .= implode('',$this->move['last']);
223
 
224
- if (strpos($this->content,$replaceTag)!== false) {
225
- $this->content = str_replace($replaceTag,$bodyreplacement.$replaceTag,$this->content);
226
- } else {
227
- $this->content .= $bodyreplacement;
228
- $this->warn_html();
229
- }
230
 
231
  // restore comments
232
  $this->content = $this->restore_comments($this->content);
4
  class autoptimizeScripts extends autoptimizeBase
5
  {
6
  private $scripts = array();
7
+ private $dontmove = array('document.write','html5.js','show_ads.js','google_ad','blogcatalog.com/w','tweetmeme.com/i','mybloglog.com/','histats.com/js','ads.smowtion.com/ad.js','statcounter.com/counter/counter.js','widgets.amung.us','ws.amazon.com/widgets','media.fastclick.net','/ads/','comment-form-quicktags/quicktags.php','edToolbar','intensedebate.com','scripts.chitika.net/','_gaq.push','jotform.com/','admin-bar.min.js','GoogleAnalyticsObject','plupload.full.min.js','syntaxhighlighter','adsbygoogle');
8
  private $domove = array('gaJsHost','load_cmc','jd.gallery.transitions.js','swfobject.embedSWF(','tiny_mce.js','tinyMCEPreInit.go');
9
  private $domovelast = array('addthis.com','/afsonline/show_afs_search.js','disqus.js','networkedblogs.com/getnetworkwidget','infolinks.com/js/','jd.gallery.js.php','jd.gallery.transitions.js','swfobject.embedSWF(','linkwithin.com/widget.js','tiny_mce.js','tinyMCEPreInit.go');
10
  private $trycatch = false;
100
  // Inline script
101
  // unhide comments, as javascript may be wrapped in comment-tags for old times' sake
102
  $tag = $this->restore_comments($tag);
103
+ if($this->ismergeable($tag) && ( apply_filters('autoptimize_js_include_inline',true) )) {
104
  preg_match('#<script.*>(.*)</script>#Usmi',$tag,$code);
105
  $code = preg_replace('#.*<!\[CDATA\[(?:\s*\*/)?(.*)(?://|/\*)\s*?\]\]>.*#sm','$1',$code[1]);
106
  $code = preg_replace('/(?:^\\s*<!--\\s*|\\s*(?:\\/\\/)?\\s*-->\\s*$)/','',$code);
143
  if($this->trycatch) {
144
  $script = 'try{'.$script.'}catch(e){}';
145
  }
146
+ $this->jscode .= "\n" . rtrim( $script, ";\n\t\r" ) . ';';
147
  } else {
148
  //External script
149
  if($script !== false && file_exists($script) && is_readable($script)) {
150
  $script = file_get_contents($script);
151
  $script = preg_replace('/\x{EF}\x{BB}\x{BF}/','',$script);
152
+ $script = rtrim($script,";\n\t\r").';';
153
  //Add try-catch?
154
  if($this->trycatch) {
155
  $script = 'try{'.$script.'}catch(e){}';
171
  unset($ccheck);
172
 
173
  //$this->jscode has all the uncompressed code now.
174
+ if(class_exists('JSMin') && apply_filters( 'autoptimize_js_do_minify' , true)) {
175
  if (@is_callable(array(new JSMin,"minify"))) {
176
  $tmp_jscode = trim(JSMin::minify($this->jscode));
177
  if (!empty($tmp_jscode)) {
209
 
210
  // Add the scripts taking forcehead/ deferred (default) into account
211
  if($this->forcehead == true) {
212
+ $replaceTag=array("</title>","after");
213
  $defer="";
214
  } else {
215
+ $replaceTag=array("</body>","before");
216
  $defer="defer ";
217
  }
218
 
219
  $defer = apply_filters( 'autoptimize_filter_js_defer', $defer );
220
+ $replaceTag = apply_filters( 'autoptimize_filter_js_replacetag', $replaceTag );
221
 
222
  $bodyreplacement = implode('',$this->move['first']);
223
  $bodyreplacement .= '<script type="text/javascript" '.$defer.'src="'.$this->url.'"></script>';
224
  $bodyreplacement .= implode('',$this->move['last']);
225
 
226
+ $this->inject_in_html($bodyreplacement,$replaceTag);
 
 
 
 
 
227
 
228
  // restore comments
229
  $this->content = $this->restore_comments($this->content);
classes/autoptimizeStyles.php CHANGED
@@ -12,8 +12,8 @@ class autoptimizeStyles extends autoptimizeBase {
12
 
13
  //Reads the page and collects style tags
14
  public function read($options) {
15
- //Remove everything that's not the header
16
- if($options['justhead'] == true) {
17
  $content = explode('</head>',$this->content,2);
18
  $this->content = $content[0].'</head>';
19
  $this->restofcontent = $content[1];
@@ -28,7 +28,10 @@ class autoptimizeStyles extends autoptimizeBase {
28
 
29
  // should we defer css?
30
  $this->defer = $options['defer'];
31
-
 
 
 
32
  // should we inline?
33
  $this->inline = $options['inline'];
34
 
@@ -97,8 +100,12 @@ class autoptimizeStyles extends autoptimizeBase {
97
  // and re-hide them to be able to to the removal based on tag
98
  $tag = $this->hide_comments($tag);
99
 
100
- $code = preg_replace('#^.*<!\[CDATA\[(?:\s*\*/)?(.*)(?://|/\*)\s*?\]\]>.*$#sm','$1',$code[1]);
101
- $this->css[] = array($media,'INLINE;'.$code);
 
 
 
 
102
  }
103
 
104
  //Remove the original style tag
@@ -159,14 +166,14 @@ class autoptimizeStyles extends autoptimizeBase {
159
  unset($tmpcss);
160
 
161
  //Manage @imports, while is for recursive import management
162
- foreach($this->csscode as &$thiscss) {
163
  // Flag to trigger import reconstitution and var to hold external imports
164
  $fiximports = false;
165
  $external_imports = "";
166
 
167
- while(preg_match_all('#^(/*\s?)@import.*(?:;|$)#Um',$thiscss,$matches)) {
168
  foreach($matches[0] as $import) {
169
- $url = trim(preg_replace('#^.*((?:https?|ftp)://.*\.css).*$#','$1',trim($import))," \t\n\r\0\x0B\"'");
170
  $path = $this->getpath($url);
171
  $import_ok = false;
172
  if (file_exists($path) && is_readable($path)) {
@@ -213,50 +220,75 @@ class autoptimizeStyles extends autoptimizeBase {
213
  continue;
214
  }
215
  unset($ccheck);
216
- //Do the imaging!
 
217
  $imgreplace = array();
218
  preg_match_all('#(background[^;}]*url\((?!data)(.*)\)[^;}]*)(?:;|$|})#Usm',$code,$matches);
219
 
220
  if(($this->datauris == true) && (function_exists('base64_encode')) && (is_array($matches))) {
221
  foreach($matches[2] as $count => $quotedurl) {
222
- $url = trim($quotedurl," \t\n\r\0\x0B\"'");
223
 
224
  // if querystring, remove it from url
225
- if (strpos($url,'?') !== false) { $url = reset(explode('?',$url)); }
226
 
227
- $path = $this->getpath($url);
228
 
229
- $datauri_max_size = 2560;
230
  $datauri_max_size = (int) apply_filters( 'autoptimize_filter_css_datauri_maxsize', $datauri_max_size );
231
-
232
- if($path != false && preg_match('#\.(jpe?g|png|gif|bmp)$#',$path) && file_exists($path) && is_readable($path) && filesize($path) <= $datauri_max_size) {
233
- //It's an image, get the type
234
- $type=end(explode('.',$path));
235
- switch($type) {
236
- case 'jpeg':
237
- $dataurihead = 'data:image/jpeg;base64,';
238
- break;
239
- case 'jpg':
240
- $dataurihead = 'data:image/jpeg;base64,';
241
- break;
242
- case 'gif':
243
- $dataurihead = 'data:image/gif;base64,';
244
- break;
245
- case 'png':
246
- $dataurihead = 'data:image/png;base64,';
247
- break;
248
- case 'bmp':
249
- $dataurihead = 'data:image/bmp;base64,';
250
  break;
251
- default:
252
- $dataurihead = 'data:application/octet-stream;base64,';
253
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
254
 
255
- //Encode the data
256
- $base64data = base64_encode(file_get_contents($path));
257
-
 
 
 
 
 
 
258
  //Add it to the list for replacement
259
- $imgreplace[$matches[1][$count]] = str_replace($quotedurl,$dataurihead.$base64data,$matches[1][$count]).';\n*'.str_replace($quotedurl,'mhtml:%%MHTML%%!'.$mhtmlcount,$matches[1][$count]).";\n_".$matches[1][$count].';';
260
 
261
  //Store image on the mhtml document
262
  $this->mhtml .= "--_\r\nContent-Location:{$mhtmlcount}\r\nContent-Transfer-Encoding:base64\r\n\r\n{$base64data}\r\n";
@@ -277,20 +309,22 @@ class autoptimizeStyles extends autoptimizeBase {
277
  }
278
 
279
  //Minify
280
- if (class_exists('Minify_CSS_Compressor')) {
281
- $tmp_code = trim(Minify_CSS_Compressor::process($code));
282
- } else if(class_exists('CSSmin')) {
283
- $cssmin = new CSSmin();
284
- if (method_exists($cssmin,"run")) {
285
- $tmp_code = trim($cssmin->run($code));
286
- } elseif (@is_callable(array($cssmin,"minify"))) {
287
- $tmp_code = trim(CssMin::minify($code));
 
 
288
  }
289
- }
290
 
291
- if (!empty($tmp_code)) {
292
- $code = $tmp_code;
293
- unset($tmp_code);
 
294
  }
295
 
296
  $this->hashmap[md5($code)] = $hash;
@@ -360,22 +394,44 @@ class autoptimizeStyles extends autoptimizeBase {
360
  $this->restofcontent = '';
361
  }
362
 
363
- $warn_html_template=false;
 
 
364
 
365
- //Add the new stylesheets
366
  if ($this->inline == true) {
367
  foreach($this->csscode as $media => $code) {
368
- if (strpos($this->content,"<title")!==false) {
369
- $this->content = str_replace('<title','<style type="text/css" media="'.$media.'">'.$code.'</style><title',$this->content);
370
- } else {
371
- $warn_html_template=true;
372
- $this->content .= '<style type="text/css" media="'.$media.'">'.$code.'</style>';
373
- }
374
  }
375
  } else {
376
- if($this->defer == true) {
377
  $deferredCssBlock = "<script>function lCss(url,media) {var d=document;var l=d.createElement('link');l.rel='stylesheet';l.type='text/css';l.href=url;l.media=media; d.getElementsByTagName('head')[0].appendChild(l);}function deferredCSS() {";
378
  $noScriptCssBlock = "<noscript>";
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
379
  }
380
 
381
  foreach($this->url as $media => $url) {
@@ -386,73 +442,60 @@ class autoptimizeStyles extends autoptimizeBase {
386
  $deferredCssBlock .= "lCss('".$url."','".$media."');";
387
  $noScriptCssBlock .= '<link type="text/css" media="'.$media.'" href="'.$url.'" rel="stylesheet" />';
388
  } else {
389
- if (strpos($this->content,"<title")!==false) {
390
- $this->content = str_replace('<title','<link type="text/css" media="'.$media.'" href="'.$url.'" rel="stylesheet" /><title',$this->content);
391
- } else {
392
- $warn_html_template=true;
393
- $this->content .= '<link type="text/css" media="'.$media.'" href="'.$url.'" rel="stylesheet" />';
394
- }
395
  }
396
  }
397
 
398
  if($this->defer == true) {
399
  $deferredCssBlock .= "}if(window.addEventListener){window.addEventListener('DOMContentLoaded',deferredCSS,false);}else{window.onload = deferredCSS;}</script>";
400
  $noScriptCssBlock .= "</noscript>";
401
- if (strpos($this->content,"<title")!==false) {
402
- $this->content = str_replace('<title',$noScriptCssBlock.'<title',$this->content);
403
- } else {
404
- $warn_html_template=true;
405
- $this->content .= $noScriptCssBlock;
406
- }
407
- if (strpos($this->content,"</body>")!==false) {
408
- $this->content = str_replace('</body>',$deferredCssBlock.'</body>',$this->content);
409
- } else {
410
- $warn_html_template=true;
411
- $this->content .= $deferredCssBlock;
412
- }
413
  }
414
  }
415
 
416
- if ($warn_html_template) {
417
- $this->warn_html();
418
- }
419
-
420
  //Return the modified stylesheet
421
  return $this->content;
422
  }
423
 
424
  private function fixurls($file,$code) {
425
- // $file = str_replace(ABSPATH,'/',$file); //Sth like /wp-content/file.css
426
  $file = str_replace(WP_ROOT_DIR,'/',$file);
427
  $dir = dirname($file); //Like /wp-content
428
 
429
  // quick fix for import-troubles in e.g. arras theme
430
  $code=preg_replace('#@import ("|\')(.+?)\.css("|\')#','@import url("${2}.css")',$code);
431
 
432
- if(preg_match_all('#url\((?!data)(.*)\)#Usi',$code,$matches))
433
- {
434
  $replace = array();
435
- foreach($matches[1] as $k => $url)
436
- {
437
- //Remove quotes
438
  $url = trim($url," \t\n\r\0\x0B\"'");
439
- if(substr($url,0,1)=='/' || preg_match('#^(https?://|ftp://|data:)#i',$url))
440
- {
 
 
 
 
 
 
441
  //URL is absolute
442
  continue;
443
- }else{
444
  // relative URL
445
- $newurl = AUTOPTIMIZE_WP_ROOT_URL.str_replace('//','/',$dir.'/'.$url);
446
  $hash = md5($url);
447
  $code = str_replace($matches[0][$k],$hash,$code);
448
- $replace[$hash] = 'url('.$newurl.')';
 
 
 
 
 
449
  }
450
- }
451
-
452
  //Do the replacing here to avoid breaking URLs
453
  $code = str_replace(array_keys($replace),array_values($replace),$code);
454
- }
455
-
456
  return $code;
457
  }
458
 
12
 
13
  //Reads the page and collects style tags
14
  public function read($options) {
15
+ // Remove everything that's not the header
16
+ if ($options['justhead'] == true) {
17
  $content = explode('</head>',$this->content,2);
18
  $this->content = $content[0].'</head>';
19
  $this->restofcontent = $content[1];
28
 
29
  // should we defer css?
30
  $this->defer = $options['defer'];
31
+
32
+ // should we inline while deferring?
33
+ $this->defer_inline = $options['defer_inline'];
34
+
35
  // should we inline?
36
  $this->inline = $options['inline'];
37
 
100
  // and re-hide them to be able to to the removal based on tag
101
  $tag = $this->hide_comments($tag);
102
 
103
+ if (apply_filters('autoptimize_css_include_inline',true)) {
104
+ $code = preg_replace('#^.*<!\[CDATA\[(?:\s*\*/)?(.*)(?://|/\*)\s*?\]\]>.*$#sm','$1',$code[1]);
105
+ $this->css[] = array($media,'INLINE;'.$code);
106
+ } else {
107
+ $tag = '';
108
+ }
109
  }
110
 
111
  //Remove the original style tag
166
  unset($tmpcss);
167
 
168
  //Manage @imports, while is for recursive import management
169
+ foreach ($this->csscode as &$thiscss) {
170
  // Flag to trigger import reconstitution and var to hold external imports
171
  $fiximports = false;
172
  $external_imports = "";
173
 
174
+ while(preg_match_all('#^(/*\s?)@import.*(?:;|$)#Um',$thiscss,$matches)) {
175
  foreach($matches[0] as $import) {
176
+ $url = trim(preg_replace('#^.*((?:https?:|ftp:)?//.*\.css).*$#','$1',trim($import))," \t\n\r\0\x0B\"'");
177
  $path = $this->getpath($url);
178
  $import_ok = false;
179
  if (file_exists($path) && is_readable($path)) {
220
  continue;
221
  }
222
  unset($ccheck);
223
+
224
+ // Do the imaging!
225
  $imgreplace = array();
226
  preg_match_all('#(background[^;}]*url\((?!data)(.*)\)[^;}]*)(?:;|$|})#Usm',$code,$matches);
227
 
228
  if(($this->datauris == true) && (function_exists('base64_encode')) && (is_array($matches))) {
229
  foreach($matches[2] as $count => $quotedurl) {
230
+ $iurl = trim($quotedurl," \t\n\r\0\x0B\"'");
231
 
232
  // if querystring, remove it from url
233
+ if (strpos($iurl,'?') !== false) { $iurl = reset(explode('?',$iurl)); }
234
 
235
+ $ipath = $this->getpath($iurl);
236
 
237
+ $datauri_max_size = 4096;
238
  $datauri_max_size = (int) apply_filters( 'autoptimize_filter_css_datauri_maxsize', $datauri_max_size );
239
+ $datauri_exclude = apply_filters( 'autoptimize_filter_css_datauri_exclude', "");
240
+ if (!empty($datauri_exclude)) {
241
+ $no_datauris=array_filter(array_map('trim',explode(",",$datauri_exclude)));
242
+ foreach ($no_datauris as $no_datauri) {
243
+ if (strpos($iurl,$no_datauri)!==false) {
244
+ $ipath=false;
 
 
 
 
 
 
 
 
 
 
 
 
 
245
  break;
246
+ }
 
247
  }
248
+ }
249
+
250
+ if($ipath != false && preg_match('#\.(jpe?g|png|gif|bmp)$#',$ipath) && file_exists($ipath) && is_readable($ipath) && filesize($ipath) <= $datauri_max_size) {
251
+ $ihash=md5($ipath);
252
+ $icheck = new autoptimizeCache($ihash,'img');
253
+ if($icheck->check()) {
254
+ // we have the base64 image in cache
255
+ $headAndData=$icheck->retrieve();
256
+ } else {
257
+ // It's an image and we don't have it in cache, get the type
258
+ $explA=explode('.',$ipath);
259
+ $type=end($explA);
260
+
261
+ switch($type) {
262
+ case 'jpeg':
263
+ $dataurihead = 'data:image/jpeg;base64,';
264
+ break;
265
+ case 'jpg':
266
+ $dataurihead = 'data:image/jpeg;base64,';
267
+ break;
268
+ case 'gif':
269
+ $dataurihead = 'data:image/gif;base64,';
270
+ break;
271
+ case 'png':
272
+ $dataurihead = 'data:image/png;base64,';
273
+ break;
274
+ case 'bmp':
275
+ $dataurihead = 'data:image/bmp;base64,';
276
+ break;
277
+ default:
278
+ $dataurihead = 'data:application/octet-stream;base64,';
279
+ }
280
 
281
+ // Encode the data
282
+ $base64data = base64_encode(file_get_contents($ipath));
283
+ $headAndData=$dataurihead.$base64data;
284
+
285
+ // Save in cache
286
+ $icheck->cache($headAndData,"text/plain");
287
+ }
288
+ unset($icheck);
289
+
290
  //Add it to the list for replacement
291
+ $imgreplace[$matches[1][$count]] = str_replace($quotedurl,$headAndData,$matches[1][$count]).";\n*".str_replace($quotedurl,'mhtml:%%MHTML%%!'.$mhtmlcount,$matches[1][$count]).";\n_".$matches[1][$count].';';
292
 
293
  //Store image on the mhtml document
294
  $this->mhtml .= "--_\r\nContent-Location:{$mhtmlcount}\r\nContent-Transfer-Encoding:base64\r\n\r\n{$base64data}\r\n";
309
  }
310
 
311
  //Minify
312
+ if (apply_filters( "autoptimize_css_do_minify", true)) {
313
+ if (class_exists('Minify_CSS_Compressor')) {
314
+ $tmp_code = trim(Minify_CSS_Compressor::process($code));
315
+ } else if(class_exists('CSSmin')) {
316
+ $cssmin = new CSSmin();
317
+ if (method_exists($cssmin,"run")) {
318
+ $tmp_code = trim($cssmin->run($code));
319
+ } elseif (@is_callable(array($cssmin,"minify"))) {
320
+ $tmp_code = trim(CssMin::minify($code));
321
+ }
322
  }
 
323
 
324
+ if (!empty($tmp_code)) {
325
+ $code = $tmp_code;
326
+ unset($tmp_code);
327
+ }
328
  }
329
 
330
  $this->hashmap[md5($code)] = $hash;
394
  $this->restofcontent = '';
395
  }
396
 
397
+ // Inject the new stylesheets
398
+ $replaceTag = array("<title","before");
399
+ $replaceTag = apply_filters( 'autoptimize_filter_css_replacetag', $replaceTag );
400
 
 
401
  if ($this->inline == true) {
402
  foreach($this->csscode as $media => $code) {
403
+ $this->inject_in_html('<style type="text/css" media="'.$media.'">'.$code.'</style>',$replaceTag);
 
 
 
 
 
404
  }
405
  } else {
406
+ if ($this->defer == true) {
407
  $deferredCssBlock = "<script>function lCss(url,media) {var d=document;var l=d.createElement('link');l.rel='stylesheet';l.type='text/css';l.href=url;l.media=media; d.getElementsByTagName('head')[0].appendChild(l);}function deferredCSS() {";
408
  $noScriptCssBlock = "<noscript>";
409
+ $defer_inline_code=$this->defer_inline;
410
+ $defer_inline_code=apply_filters( 'autoptimize_filter_css_defer_inline', $defer_inline_code );
411
+ if(!empty($defer_inline_code)){
412
+
413
+ $iCssHash=md5($defer_inline_code);
414
+ $iCssCache = new autoptimizeCache($iCssHash,'css');
415
+ if($iCssCache->check()) {
416
+ // we have the optimized inline CSS in cache
417
+ $defer_inline_code=$iCssCache->retrieve();
418
+ } else {
419
+ if (class_exists('Minify_CSS_Compressor')) {
420
+ $tmp_code = trim(Minify_CSS_Compressor::process($this->defer_inline));
421
+ } else if(class_exists('CSSmin')) {
422
+ $cssmin = new CSSmin();
423
+ $tmp_code = trim($cssmin->run($defer_inline_code));
424
+ }
425
+
426
+ if (!empty($tmp_code)) {
427
+ $defer_inline_code = $tmp_code;
428
+ $iCssCache->cache($defer_inline_code,"text/css");
429
+ unset($tmp_code);
430
+ }
431
+ }
432
+ $code_out='<style type="text/css" media="all">'.$defer_inline_code.'</style>';
433
+ $this->inject_in_html($code_out,$replaceTag);
434
+ }
435
  }
436
 
437
  foreach($this->url as $media => $url) {
442
  $deferredCssBlock .= "lCss('".$url."','".$media."');";
443
  $noScriptCssBlock .= '<link type="text/css" media="'.$media.'" href="'.$url.'" rel="stylesheet" />';
444
  } else {
445
+ $this->inject_in_html('<link type="text/css" media="'.$media.'" href="'.$url.'" rel="stylesheet" />',$replaceTag);
 
 
 
 
 
446
  }
447
  }
448
 
449
  if($this->defer == true) {
450
  $deferredCssBlock .= "}if(window.addEventListener){window.addEventListener('DOMContentLoaded',deferredCSS,false);}else{window.onload = deferredCSS;}</script>";
451
  $noScriptCssBlock .= "</noscript>";
452
+ $this->inject_in_html($noScriptCssBlock,array('<title>','before'));
453
+ $this->inject_in_html($deferredCssBlock,array('</body>','before'));
 
 
 
 
 
 
 
 
 
 
454
  }
455
  }
456
 
 
 
 
 
457
  //Return the modified stylesheet
458
  return $this->content;
459
  }
460
 
461
  private function fixurls($file,$code) {
 
462
  $file = str_replace(WP_ROOT_DIR,'/',$file);
463
  $dir = dirname($file); //Like /wp-content
464
 
465
  // quick fix for import-troubles in e.g. arras theme
466
  $code=preg_replace('#@import ("|\')(.+?)\.css("|\')#','@import url("${2}.css")',$code);
467
 
468
+ if(preg_match_all('#url\((?!data)(.*)\)#Usi',$code,$matches)) {
 
469
  $replace = array();
470
+ foreach($matches[1] as $k => $url) {
471
+ // Remove quotes
 
472
  $url = trim($url," \t\n\r\0\x0B\"'");
473
+ $noQurl = trim($url,"\"'");
474
+ if ($url!==$noQurl) {
475
+ $removedQuotes=true;
476
+ } else {
477
+ $removedQuotes=false;
478
+ }
479
+ $url=$noQurl;
480
+ if(substr($url,0,1)=='/' || preg_match('#^(https?://|ftp://|data:)#i',$url)) {
481
  //URL is absolute
482
  continue;
483
+ } else {
484
  // relative URL
485
+ $newurl = preg_replace('/https?:/','',AUTOPTIMIZE_WP_ROOT_URL.str_replace('//','/',$dir.'/'.$url));
486
  $hash = md5($url);
487
  $code = str_replace($matches[0][$k],$hash,$code);
488
+
489
+ if (!empty($removedQuotes)) {
490
+ $replace[$hash] = 'url(\''.$newurl.'\')';
491
+ } else {
492
+ $replace[$hash] = 'url('.$newurl.')';
493
+ }
494
  }
495
+ }
 
496
  //Do the replacing here to avoid breaking URLs
497
  $code = str_replace(array_keys($replace),array_values($replace),$code);
498
+ }
 
499
  return $code;
500
  }
501
 
localization/autoptimize-de_DE.mo CHANGED
Binary file
localization/autoptimize-de_DE.po CHANGED
@@ -2,18 +2,19 @@
2
  # This file is distributed under the same license as the Autoptimize package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Autoptimize 1.8.0\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/autoptimize\n"
7
- "POT-Creation-Date: 2014-01-17 18:16:35+00:00\n"
 
 
 
 
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
11
- "PO-Revision-Date: 2014-01-25 10:20+0100\n"
12
- "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13
- "Language-Team: LANGUAGE <LL@li.org>\n"
14
- "X-Generator: Poedit 1.5.7\n"
15
 
16
- #: autoptimize.php:117
17
  msgid ""
18
  "Thank you for installing and activating Autoptimize. Please configure it "
19
  "under \"Settings\" -> \"Autoptimize\" to start improving your site's "
@@ -23,7 +24,7 @@ msgstr ""
23
  "konfiguriere das Plugin unter \"Einstellungen\" -> \"Autoptimize\" um die "
24
  "Performance deiner Webseite zu verbessern."
25
 
26
- #: autoptimize.php:123
27
  msgid ""
28
  "Autoptimize has just been updated. Please <strong>test your site now</"
29
  "strong> and adapt Autoptimize config if needed."
@@ -31,214 +32,221 @@ msgstr ""
31
  "Autoptimize wurde aktualisiert. Bitte <strong>teste nun deine Seite</strong> "
32
  "und passe gegebenenfalls die Einstellungen von Autoptimize an."
33
 
34
- #: classes/autoptimizeConfig.php:56
35
  msgid "Autoptimize Settings"
36
  msgstr "Autoptimize Einstellungen"
37
 
38
- #: classes/autoptimizeConfig.php:62 classes/autoptimizeConfig.php:68
39
  msgid "Show advanced settings"
40
  msgstr "Erweiterte Einstellungen einblenden"
41
 
42
- #: classes/autoptimizeConfig.php:63 classes/autoptimizeConfig.php:69
43
  msgid "Hide advanced settings"
44
  msgstr "Erweiterte Einstellungen ausblenden"
45
 
46
- #: classes/autoptimizeConfig.php:77
47
  msgid "HTML Options"
48
  msgstr "HTML Optionen"
49
 
50
- #: classes/autoptimizeConfig.php:80
51
  msgid "Optimize HTML Code?"
52
  msgstr "HTML Code optimieren?"
53
 
54
- #: classes/autoptimizeConfig.php:84
55
  msgid "Keep HTML comments?"
56
  msgstr "HTML Kommentare beibehalten?"
57
 
58
- #: classes/autoptimizeConfig.php:86
59
  msgid ""
60
  "Enable this if you want HTML comments to remain in the page, needed for e.g. "
61
  "AdSense to function properly."
62
  msgstr ""
63
- "Aktiviere diese Option, wenn HTML Kommentare erhalten bleiben sollen, "
64
- "beispielsweise um AdSense einwandfrei zu kennzeichnen."
 
 
65
 
66
- #: classes/autoptimizeConfig.php:90
67
  msgid "JavaScript Options"
68
  msgstr "JavaScript Optionen"
69
 
70
- #: classes/autoptimizeConfig.php:93
71
  msgid "Optimize JavaScript Code?"
72
  msgstr "JavaScript Code optimieren?"
73
 
74
- #: classes/autoptimizeConfig.php:97
75
  msgid "Force JavaScript in &lt;head&gt;?"
76
  msgstr "Erzwinge JavaScript in &lt;head&gt;?"
77
 
78
- #: classes/autoptimizeConfig.php:99
79
  msgid ""
80
  "For performance reasons it is better to include JavaScript at the bottom of "
81
  "HTML, but this sometimes breaks things. Especially useful for jQuery-based "
82
  "themes."
83
  msgstr ""
84
- "Aus Performance-Gründen ist es besser, JavaScript am Ende des HTML-Codes "
85
- "einzufügen. Dies kann in manchen Fällen allerdings zu Problemen führen, "
86
- "beispielsweise wenn Themes auf jQuery basieren."
87
 
88
- #: classes/autoptimizeConfig.php:102
89
  msgid "Look for scripts only in &lt;head&gt;?"
90
  msgstr "Nach Skripten nur in &lt;head&gt; suchen?"
91
 
92
- #: classes/autoptimizeConfig.php:104
93
  msgid ""
94
  "Mostly usefull in combination with previous option when using jQuery-based "
95
  "templates, but might help keeping cache size under control."
96
  msgstr ""
97
- "Oft in Kombination mit den vorhergehenden Optionen nützlich, wenn "
98
- "beispielsweise jQuery basierte Themes benutzt werden. Kann aber auch helfen "
99
- "die Größe des Caches unter Kontrolle zu halten."
100
 
101
- #: classes/autoptimizeConfig.php:107
102
  msgid "Exclude scripts from Autoptimize:"
103
  msgstr "Folgende Skripte von Autoptimize ausschließen:"
104
 
105
- #: classes/autoptimizeConfig.php:109
106
  msgid ""
107
  "A comma-seperated list of scripts you want to exclude from being optimized, "
108
  "for example 'whatever.js, another.js' (without the quotes) to exclude those "
109
  "scripts from being aggregated and minimized by Autoptimize."
110
  msgstr ""
111
  "Eine Komma getrennte Liste mit Skripten die von der Optimierung durch "
112
- "Autoptimized ausgeschlossen werden sollen. Beispiel: 'whatever.js, another."
113
  "js' (ohne Anführungszeichen)"
114
 
115
- #: classes/autoptimizeConfig.php:112
116
  msgid "Add try-catch wrapping?"
117
  msgstr "Try-Catch Block hinzufügen?"
118
 
119
- #: classes/autoptimizeConfig.php:114
120
  msgid ""
121
  "If your scripts break because of an script error, you might want to try this."
122
  msgstr ""
123
  "Wenn das Laden der Skripte aufgrund eines Skriptfehlers unterbrochen wird, "
124
  "kannst du diese Option ausprobieren."
125
 
126
- #: classes/autoptimizeConfig.php:118
127
  msgid "CSS Options"
128
  msgstr "CSS Optionen"
129
 
130
- #: classes/autoptimizeConfig.php:121
131
  msgid "Optimize CSS Code?"
132
  msgstr "CSS Code optimieren?"
133
 
134
- #: classes/autoptimizeConfig.php:125
135
  msgid "Generate data: URIs for images?"
136
- msgstr "data: URIs für Bilder generieren?"
137
 
138
- #: classes/autoptimizeConfig.php:127
139
  msgid ""
140
  "Enable this to include small background-images in the CSS itself instead of "
141
  "as seperate downloads."
142
  msgstr ""
143
- "Aktiviere diese Option um kleine Bilder als Hintergrundbilder direkt in CSS "
144
- "einzufügen. Dadurch werden Anfragen an den Webserver reduziert."
 
145
 
146
- #: classes/autoptimizeConfig.php:130
147
  msgid "Look for styles only in &lt;head&gt;?"
148
  msgstr "Nach CSS nur in &lt;head&gt; suchen?"
149
 
150
- #: classes/autoptimizeConfig.php:132
151
  msgid ""
152
  "Don't autoptimize CSS outside the head-section. If the cache gets big, you "
153
  "might want to enable this."
154
  msgstr ""
155
- "Optimiere CSS nicht außerhalb des head-Bereichs. Die Aktivierung dieser "
156
  "Option kann sinnvoll sein, wenn der Cache sehr groß wird."
157
 
158
- #: classes/autoptimizeConfig.php:135
159
- msgid "Defer CSS loading?"
160
- msgstr "Laden von CSS verzögern?"
161
 
162
- #: classes/autoptimizeConfig.php:137
163
  msgid ""
164
- "Load optimized CSS only after page load (disables CSS inlining). "
165
- "<strong>Warning</strong>: <a href=\"http://wordpress.org/plugins/autoptimize/"
166
- "faq/\" target=\"_blank\">check the FAQ</a> before activating this option!"
167
  msgstr ""
168
- "Lade optimiertes CSS erst nach dem Seitenaufbau (deaktiviert CSS Inlining). "
169
- "<strong>Warnung</strong>: <a href=\"http://wordpress.org/plugins/autoptimize/"
170
- "faq/\" target=\"_blank\">Lese die FAQ</a> vor der Aktivierung dieser Option."
 
 
 
 
 
 
171
 
172
- #: classes/autoptimizeConfig.php:140
173
  msgid "Inline all CSS?"
174
- msgstr "CSS Inlining aktivieren?"
175
 
176
- #: classes/autoptimizeConfig.php:142
177
  msgid ""
178
  "Inlining all CSS can improve performance for sites with a low pageviews/ "
179
- "visitor-rate, but may slow down performance otherwise. CSS inlining disables "
180
- "CSS deferring."
181
  msgstr ""
182
- "CSS Inlining kann die Performance von Webseiten mit geringen "
183
- "Seitenaufrufen / Besucherzahlen verbessern. In anderen Situation kann diese "
184
- "Option allerdings die Performance verschlechtern. CSS Inlining deaktiviert "
185
- "das verzögerte Laden von CSS."
186
 
187
- #: classes/autoptimizeConfig.php:145
188
  msgid "Exclude CSS from Autoptimize:"
189
  msgstr "Folgende CSS-Dateien von Autoptimize ausschließen:"
190
 
191
- #: classes/autoptimizeConfig.php:147
192
  msgid "A comma-seperated list of CSS you want to exclude from being optimized."
193
  msgstr ""
194
  "Eine Komma getrennte Liste mit CSS-Dateien die von der Optimierung "
195
  "ausgeschlossen werden sollen."
196
 
197
- #: classes/autoptimizeConfig.php:151
198
  msgid "CDN Options"
199
  msgstr "CDN Optionen"
200
 
201
- #: classes/autoptimizeConfig.php:154
202
  msgid "CDN Base URL"
203
  msgstr "CDN Basis URL:"
204
 
205
- #: classes/autoptimizeConfig.php:156
206
  msgid ""
207
  "Enter your CDN blog root directory URL if you want to enable CDN for images "
208
  "referenced in the CSS."
209
  msgstr ""
210
- "Gib hier die URL deines CDN Root-Verzeichnisses ein, wenn du CDN für Bilder "
211
- "und referenzierte CSS-Dateien aktivieren möchtest."
212
 
213
- #: classes/autoptimizeConfig.php:160
214
  msgid "Cache Info"
215
  msgstr "Cache Info"
216
 
217
- #: classes/autoptimizeConfig.php:163
218
  msgid "Cache folder"
219
  msgstr "Cache Ordner:"
220
 
221
- #: classes/autoptimizeConfig.php:167
222
  msgid "Can we write?"
223
  msgstr "Schreibberechtigung?"
224
 
225
- #: classes/autoptimizeConfig.php:168
226
  msgid "Yes"
227
  msgstr "Ja"
228
 
229
- #: classes/autoptimizeConfig.php:168
230
  msgid "No"
231
  msgstr "Nein"
232
 
233
- #: classes/autoptimizeConfig.php:171
234
  msgid "Cached styles and scripts"
235
  msgstr "Anzahl gecachter Dateien:"
236
 
237
- #: classes/autoptimizeConfig.php:175
238
  msgid "Save aggregated script/css as static files?"
239
  msgstr "Optimierte CSS / Skript-Dateien als statische Dateien speichern?"
240
 
241
- #: classes/autoptimizeConfig.php:177
242
  msgid ""
243
  "By default files saved are static css/js, uncheck this option if your "
244
  "webserver doesn't properly handle the compression and expiry."
@@ -247,41 +255,40 @@ msgstr ""
247
  "gespeichert. Deaktiviere diese Option, wenn dein Webserver mit der "
248
  "Verarbeitung von komprimierten Dateien und Expires-Header Probleme hat."
249
 
250
- #: classes/autoptimizeConfig.php:183
251
  msgid "Save Changes"
252
  msgstr "Änderungen speichern"
253
 
254
- #: classes/autoptimizeConfig.php:184
255
  msgid "Save Changes and Empty Cache"
256
  msgstr "Änderungen speichern und Cache leeren"
257
 
258
- #: classes/autoptimizeConfig.php:192
259
  msgid "futtta about"
260
  msgstr "Über futtta"
261
 
262
- #. #-#-#-#-# plugin.pot (Autoptimize 1.8.0) #-#-#-#-#
263
  #. Plugin Name of the plugin/theme
264
- #: classes/autoptimizeConfig.php:194
265
  msgid "Autoptimize"
266
  msgstr "Autoptimize"
267
 
268
- #: classes/autoptimizeConfig.php:195
269
  msgid "WordPress"
270
  msgstr "WordPress"
271
 
272
- #: classes/autoptimizeConfig.php:196
273
  msgid "Web Technology"
274
  msgstr "Web Technologien"
275
 
276
- #: classes/autoptimizeConfig.php:201
277
  msgid "Do not donate for this plugin!"
278
  msgstr "Bitte spende nicht für dieses Plugin!"
279
 
280
- #: classes/autoptimizeConfig.php:262
281
  msgid "Autoptimize Options"
282
  msgstr "Autoptimize Optionen"
283
 
284
- #: classes/autoptimizeConfig.php:309 classes/autoptimizeConfig.php:316
285
  msgid "Settings"
286
  msgstr "Einstellungen"
287
 
@@ -304,3 +311,6 @@ msgstr "Frank Goossens (futtta)"
304
  #. Author URI of the plugin/theme
305
  msgid "http://blog.futtta.be/"
306
  msgstr "http://blog.futtta.be/"
 
 
 
2
  # This file is distributed under the same license as the Autoptimize package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Autoptimize 1.9.0\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/autoptimize\n"
7
+ "POT-Creation-Date: 2014-08-22 05:35:46+00:00\n"
8
+ "PO-Revision-Date: 2014-08-25 21:22+0100\n"
9
+ "Last-Translator: Josef Seidl <info@blog-it-solutions.de>\n"
10
+ "Language-Team: Josef Seidl, Blog IT-Solutions <info@blog-it-solutions.de>\n"
11
+ "Language: de_DE\n"
12
  "MIME-Version: 1.0\n"
13
  "Content-Type: text/plain; charset=UTF-8\n"
14
  "Content-Transfer-Encoding: 8bit\n"
15
+ "X-Generator: Poedit 1.6.8\n"
 
 
 
16
 
17
+ #: autoptimize.php:124
18
  msgid ""
19
  "Thank you for installing and activating Autoptimize. Please configure it "
20
  "under \"Settings\" -> \"Autoptimize\" to start improving your site's "
24
  "konfiguriere das Plugin unter \"Einstellungen\" -> \"Autoptimize\" um die "
25
  "Performance deiner Webseite zu verbessern."
26
 
27
+ #: autoptimize.php:130
28
  msgid ""
29
  "Autoptimize has just been updated. Please <strong>test your site now</"
30
  "strong> and adapt Autoptimize config if needed."
32
  "Autoptimize wurde aktualisiert. Bitte <strong>teste nun deine Seite</strong> "
33
  "und passe gegebenenfalls die Einstellungen von Autoptimize an."
34
 
35
+ #: classes/autoptimizeConfig.php:48
36
  msgid "Autoptimize Settings"
37
  msgstr "Autoptimize Einstellungen"
38
 
39
+ #: classes/autoptimizeConfig.php:54 classes/autoptimizeConfig.php:60
40
  msgid "Show advanced settings"
41
  msgstr "Erweiterte Einstellungen einblenden"
42
 
43
+ #: classes/autoptimizeConfig.php:55 classes/autoptimizeConfig.php:61
44
  msgid "Hide advanced settings"
45
  msgstr "Erweiterte Einstellungen ausblenden"
46
 
47
+ #: classes/autoptimizeConfig.php:69
48
  msgid "HTML Options"
49
  msgstr "HTML Optionen"
50
 
51
+ #: classes/autoptimizeConfig.php:72
52
  msgid "Optimize HTML Code?"
53
  msgstr "HTML Code optimieren?"
54
 
55
+ #: classes/autoptimizeConfig.php:76
56
  msgid "Keep HTML comments?"
57
  msgstr "HTML Kommentare beibehalten?"
58
 
59
+ #: classes/autoptimizeConfig.php:78
60
  msgid ""
61
  "Enable this if you want HTML comments to remain in the page, needed for e.g. "
62
  "AdSense to function properly."
63
  msgstr ""
64
+ "Aktiviere diese Option, wenn HTML Kommentare erhalten bleiben sollen. "
65
+ "Einzelne Kommentare z.B. für AdSense können auch mit dem noptimize-Tag "
66
+ "ausgeschlossen werden (näheres in der <a href=\"http://wordpress.org/plugins/"
67
+ "autoptimize/faq/\" target=\"_blank\">FAQ</a>)."
68
 
69
+ #: classes/autoptimizeConfig.php:82
70
  msgid "JavaScript Options"
71
  msgstr "JavaScript Optionen"
72
 
73
+ #: classes/autoptimizeConfig.php:85
74
  msgid "Optimize JavaScript Code?"
75
  msgstr "JavaScript Code optimieren?"
76
 
77
+ #: classes/autoptimizeConfig.php:89
78
  msgid "Force JavaScript in &lt;head&gt;?"
79
  msgstr "Erzwinge JavaScript in &lt;head&gt;?"
80
 
81
+ #: classes/autoptimizeConfig.php:91
82
  msgid ""
83
  "For performance reasons it is better to include JavaScript at the bottom of "
84
  "HTML, but this sometimes breaks things. Especially useful for jQuery-based "
85
  "themes."
86
  msgstr ""
87
+ "Standardmäßig wird JavaScript am Ende des HTML-Dokuments geladen. Das "
88
+ "verursacht aber manchmal Probleme, insbesondere wenn das verwendete Theme "
89
+ "auf jQuery basiert."
90
 
91
+ #: classes/autoptimizeConfig.php:94
92
  msgid "Look for scripts only in &lt;head&gt;?"
93
  msgstr "Nach Skripten nur in &lt;head&gt; suchen?"
94
 
95
+ #: classes/autoptimizeConfig.php:96
96
  msgid ""
97
  "Mostly usefull in combination with previous option when using jQuery-based "
98
  "templates, but might help keeping cache size under control."
99
  msgstr ""
100
+ "Oft in Kombination mit der vorhergehenden Option nützlich, wenn "
101
+ "beispielsweise ein jQuery-Theme genutzt wird. Diese Einstellung kann unter "
102
+ "Umständen auch helfen die Größe des Caches unter Kontrolle zu halten."
103
 
104
+ #: classes/autoptimizeConfig.php:99
105
  msgid "Exclude scripts from Autoptimize:"
106
  msgstr "Folgende Skripte von Autoptimize ausschließen:"
107
 
108
+ #: classes/autoptimizeConfig.php:101
109
  msgid ""
110
  "A comma-seperated list of scripts you want to exclude from being optimized, "
111
  "for example 'whatever.js, another.js' (without the quotes) to exclude those "
112
  "scripts from being aggregated and minimized by Autoptimize."
113
  msgstr ""
114
  "Eine Komma getrennte Liste mit Skripten die von der Optimierung durch "
115
+ "Autoptimize ausgeschlossen werden sollen. Beispiel: 'whatever.js, another."
116
  "js' (ohne Anführungszeichen)"
117
 
118
+ #: classes/autoptimizeConfig.php:104
119
  msgid "Add try-catch wrapping?"
120
  msgstr "Try-Catch Block hinzufügen?"
121
 
122
+ #: classes/autoptimizeConfig.php:106
123
  msgid ""
124
  "If your scripts break because of an script error, you might want to try this."
125
  msgstr ""
126
  "Wenn das Laden der Skripte aufgrund eines Skriptfehlers unterbrochen wird, "
127
  "kannst du diese Option ausprobieren."
128
 
129
+ #: classes/autoptimizeConfig.php:110
130
  msgid "CSS Options"
131
  msgstr "CSS Optionen"
132
 
133
+ #: classes/autoptimizeConfig.php:113
134
  msgid "Optimize CSS Code?"
135
  msgstr "CSS Code optimieren?"
136
 
137
+ #: classes/autoptimizeConfig.php:117
138
  msgid "Generate data: URIs for images?"
139
+ msgstr "data: URIs für Bilder generieren (Inline Images)?"
140
 
141
+ #: classes/autoptimizeConfig.php:119
142
  msgid ""
143
  "Enable this to include small background-images in the CSS itself instead of "
144
  "as seperate downloads."
145
  msgstr ""
146
+ "Aktiviere diese Option um kleine Bilder (Standard <= 4KB) als "
147
+ "Hintergrundbilder direkt in CSS einzufügen. Dadurch reduzierst du HTTP-"
148
+ "Anfragen an den Webserver."
149
 
150
+ #: classes/autoptimizeConfig.php:122
151
  msgid "Look for styles only in &lt;head&gt;?"
152
  msgstr "Nach CSS nur in &lt;head&gt; suchen?"
153
 
154
+ #: classes/autoptimizeConfig.php:124
155
  msgid ""
156
  "Don't autoptimize CSS outside the head-section. If the cache gets big, you "
157
  "might want to enable this."
158
  msgstr ""
159
+ "Optimiere CSS nicht außerhalb des HEAD-Bereichs. Die Aktivierung dieser "
160
  "Option kann sinnvoll sein, wenn der Cache sehr groß wird."
161
 
162
+ #: classes/autoptimizeConfig.php:127
163
+ msgid "Inline and Defer CSS?"
164
+ msgstr "Inline und Defer CSS?"
165
 
166
+ #: classes/autoptimizeConfig.php:129
167
  msgid ""
168
+ "Inline \"above the fold CSS\" while loading the main autoptimized CSS only "
169
+ "after page load. <a href=\"http://wordpress.org/plugins/autoptimize/faq/\" "
170
+ "target=\"_blank\">Check the FAQ</a> before activating this option!"
171
  msgstr ""
172
+ "Füge den \"above the fold\" CSS-Code als Inline CSS in den HEAD-Bereich des "
173
+ "HTML-Dokuments ein und lade das restliche CSS erst am Ende, nachdem die "
174
+ "Seite schon geladen ist. Bitte <a href=\"http://wordpress.org/plugins/"
175
+ "autoptimize/faq/\" target=\"_blank\">prüfe die FAQ</a> bevor du diese Option "
176
+ "aktivierst."
177
+
178
+ #: classes/autoptimizeConfig.php:133
179
+ msgid "Paste the above the fold CSS here."
180
+ msgstr "Füge den \"above the fold\" CSS-Code hier ein."
181
 
182
+ #: classes/autoptimizeConfig.php:136
183
  msgid "Inline all CSS?"
184
+ msgstr "Gesamten CSS-Code Inline einfügen?"
185
 
186
+ #: classes/autoptimizeConfig.php:138
187
  msgid ""
188
  "Inlining all CSS can improve performance for sites with a low pageviews/ "
189
+ "visitor-rate, but may slow down performance otherwise."
 
190
  msgstr ""
191
+ "Das Inlining des gesamten CSS-Codes im HEAD-Bereich des HTML-Dokuments kann "
192
+ "die Geschwindigkeit von Seiten mit einem niedrigen Seiten/Sitzung-Wert "
193
+ "steigern. Andererseits kann die Seite unter Umständen auch langsamer werden."
 
194
 
195
+ #: classes/autoptimizeConfig.php:141
196
  msgid "Exclude CSS from Autoptimize:"
197
  msgstr "Folgende CSS-Dateien von Autoptimize ausschließen:"
198
 
199
+ #: classes/autoptimizeConfig.php:143
200
  msgid "A comma-seperated list of CSS you want to exclude from being optimized."
201
  msgstr ""
202
  "Eine Komma getrennte Liste mit CSS-Dateien die von der Optimierung "
203
  "ausgeschlossen werden sollen."
204
 
205
+ #: classes/autoptimizeConfig.php:147
206
  msgid "CDN Options"
207
  msgstr "CDN Optionen"
208
 
209
+ #: classes/autoptimizeConfig.php:150
210
  msgid "CDN Base URL"
211
  msgstr "CDN Basis URL:"
212
 
213
+ #: classes/autoptimizeConfig.php:152
214
  msgid ""
215
  "Enter your CDN blog root directory URL if you want to enable CDN for images "
216
  "referenced in the CSS."
217
  msgstr ""
218
+ "Gib hier die URL deines CDN Root-Verzeichnisses ein, wenn du ein CDN für "
219
+ "Bilder und referenzierte CSS-Dateien aktivieren möchtest."
220
 
221
+ #: classes/autoptimizeConfig.php:156
222
  msgid "Cache Info"
223
  msgstr "Cache Info"
224
 
225
+ #: classes/autoptimizeConfig.php:159
226
  msgid "Cache folder"
227
  msgstr "Cache Ordner:"
228
 
229
+ #: classes/autoptimizeConfig.php:163
230
  msgid "Can we write?"
231
  msgstr "Schreibberechtigung?"
232
 
233
+ #: classes/autoptimizeConfig.php:164
234
  msgid "Yes"
235
  msgstr "Ja"
236
 
237
+ #: classes/autoptimizeConfig.php:164
238
  msgid "No"
239
  msgstr "Nein"
240
 
241
+ #: classes/autoptimizeConfig.php:167
242
  msgid "Cached styles and scripts"
243
  msgstr "Anzahl gecachter Dateien:"
244
 
245
+ #: classes/autoptimizeConfig.php:171
246
  msgid "Save aggregated script/css as static files?"
247
  msgstr "Optimierte CSS / Skript-Dateien als statische Dateien speichern?"
248
 
249
+ #: classes/autoptimizeConfig.php:173
250
  msgid ""
251
  "By default files saved are static css/js, uncheck this option if your "
252
  "webserver doesn't properly handle the compression and expiry."
255
  "gespeichert. Deaktiviere diese Option, wenn dein Webserver mit der "
256
  "Verarbeitung von komprimierten Dateien und Expires-Header Probleme hat."
257
 
258
+ #: classes/autoptimizeConfig.php:179
259
  msgid "Save Changes"
260
  msgstr "Änderungen speichern"
261
 
262
+ #: classes/autoptimizeConfig.php:180
263
  msgid "Save Changes and Empty Cache"
264
  msgstr "Änderungen speichern und Cache leeren"
265
 
266
+ #: classes/autoptimizeConfig.php:188
267
  msgid "futtta about"
268
  msgstr "Über futtta"
269
 
 
270
  #. Plugin Name of the plugin/theme
271
+ #: classes/autoptimizeConfig.php:190
272
  msgid "Autoptimize"
273
  msgstr "Autoptimize"
274
 
275
+ #: classes/autoptimizeConfig.php:191
276
  msgid "WordPress"
277
  msgstr "WordPress"
278
 
279
+ #: classes/autoptimizeConfig.php:192
280
  msgid "Web Technology"
281
  msgstr "Web Technologien"
282
 
283
+ #: classes/autoptimizeConfig.php:197
284
  msgid "Do not donate for this plugin!"
285
  msgstr "Bitte spende nicht für dieses Plugin!"
286
 
287
+ #: classes/autoptimizeConfig.php:313
288
  msgid "Autoptimize Options"
289
  msgstr "Autoptimize Optionen"
290
 
291
+ #: classes/autoptimizeConfig.php:358 classes/autoptimizeConfig.php:364
292
  msgid "Settings"
293
  msgstr "Einstellungen"
294
 
311
  #. Author URI of the plugin/theme
312
  msgid "http://blog.futtta.be/"
313
  msgstr "http://blog.futtta.be/"
314
+
315
+ #~ msgid "Defer CSS loading?"
316
+ #~ msgstr "Laden von CSS verzögern?"
localization/autoptimize-fa_IR.mo CHANGED
Binary file
localization/autoptimize-fa_IR.po CHANGED
@@ -1,289 +1,287 @@
1
- # Copyright (C) 2013 Autoptimize
2
  # This file is distributed under the same license as the Autoptimize package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Autoptimize 1.7.0\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/autoptimize\n"
7
- "POT-Creation-Date: 2014-01-17 18:16:35+00:00\n"
8
- "PO-Revision-Date: 2014-01-18 23:12+0330\n"
9
- "Last-Translator: Hamed.T <ham3d.t@gmail.com>\n"
10
- "Language-Team: http://basics.ir/ <ham3d.t@gmail.com>\n"
11
- "Language: fa\n"
12
  "MIME-Version: 1.0\n"
13
  "Content-Type: text/plain; charset=UTF-8\n"
14
  "Content-Transfer-Encoding: 8bit\n"
 
 
15
  "X-Generator: Poedit 1.6.3\n"
16
- "X-Poedit-SourceCharset: UTF-8\n"
 
17
 
18
- #: autoptimize.php:117
19
  msgid ""
20
  "Thank you for installing and activating Autoptimize. Please configure it "
21
  "under \"Settings\" -> \"Autoptimize\" to start improving your site's "
22
  "performance."
23
  msgstr ""
24
- "از اینکه Autoptimize را نصب و فعال کردید متشکریم. لطفاً تنظیمات خود را در "
25
- "مسیر \"تنظیمات > Autoptimize\" انجام دهید تا کارایی و سرعت سایت شما افزایش "
26
- "یابد."
27
 
28
- #: autoptimize.php:123
29
  msgid ""
30
  "Autoptimize has just been updated. Please <strong>test your site now</"
31
  "strong> and adapt Autoptimize config if needed."
32
  msgstr ""
33
- "Autoptimize به روز رسانی شد. لطفاً <strong/>اکنون سایت خود را امتحان "
34
- "کنید<strong> و اگر لازم بود تنظیمات Autoptimize را تغییر دهید."
35
 
36
- #: classes/autoptimizeConfig.php:56
37
  msgid "Autoptimize Settings"
38
  msgstr "تنظیمات Autoptimize"
39
 
40
- #: classes/autoptimizeConfig.php:62 classes/autoptimizeConfig.php:68
41
  msgid "Show advanced settings"
42
  msgstr "نمایش تنظیمات پیشرفته"
43
 
44
- #: classes/autoptimizeConfig.php:63 classes/autoptimizeConfig.php:69
45
  msgid "Hide advanced settings"
46
- msgstr "پنهان نمودن تنظیمات پیشرفته"
47
 
48
- #: classes/autoptimizeConfig.php:77
49
  msgid "HTML Options"
50
  msgstr "تنظیمات HTML"
51
 
52
- #: classes/autoptimizeConfig.php:80
53
  msgid "Optimize HTML Code?"
54
- msgstr "کدهای HTML بهینه سازی شوند؟"
55
 
56
- #: classes/autoptimizeConfig.php:84
57
  msgid "Keep HTML comments?"
58
- msgstr "کامنت های HTML باقی بمانند؟"
59
 
60
- #: classes/autoptimizeConfig.php:86
61
  msgid ""
62
  "Enable this if you want HTML comments to remain in the page, needed for e.g. "
63
  "AdSense to function properly."
64
  msgstr ""
65
- "اگر مایل هستید تا کامنت های HTML در صفحه باقی بماند این گزینه را فعال کنید."
66
 
67
- #: classes/autoptimizeConfig.php:90
68
  msgid "JavaScript Options"
69
- msgstr "تنظیمات جاوا اسکریپت"
70
 
71
- #: classes/autoptimizeConfig.php:93
72
  msgid "Optimize JavaScript Code?"
73
- msgstr "کدهای جاوا اسکریپت بهینه سازی شوند؟"
74
 
75
- #: classes/autoptimizeConfig.php:97
76
  msgid "Force JavaScript in &lt;head&gt;?"
77
- msgstr "فایل جاوا اسکریپت در قسمت &lt;head&gt; باقی بماند؟"
78
 
79
- #: classes/autoptimizeConfig.php:99
80
  msgid ""
81
  "For performance reasons it is better to include JavaScript at the bottom of "
82
  "HTML, but this sometimes breaks things. Especially useful for jQuery-based "
83
  "themes."
84
  msgstr ""
85
- "برای کارایی بیشتر بهتر است تا فایل جاوا اسکریپت در انتهای صفحه قرار بگیرد، "
86
- "اما این ممکن است باعث تداخل در کارایی پوسته هایی شود که تابع Jquery هستند."
 
87
 
88
- #: classes/autoptimizeConfig.php:102
89
  msgid "Look for scripts only in &lt;head&gt;?"
90
- msgstr "فقط اسکریپت هایی که در قسمت &lt;head&gt; بهینه سازی شوند؟"
91
 
92
- #: classes/autoptimizeConfig.php:104
93
  msgid ""
94
  "Mostly usefull in combination with previous option when using jQuery-based "
95
  "templates, but might help keeping cache size under control."
96
  msgstr ""
97
- "کارایی بیشتر این گزینه زمانی است که همراه با گزینه قبلی در پوسته های تابع "
98
- "Jquery استفاده شود، همچنین باعث می شود اندازه فایل کش شده را تحت کنترل داشته "
99
- "باشید."
100
 
101
- #: classes/autoptimizeConfig.php:107
102
- #, fuzzy
103
  msgid "Exclude scripts from Autoptimize:"
104
- msgstr "جلوگیری از بهینه سازی اسکریپت ها:"
105
 
106
- #: classes/autoptimizeConfig.php:109
107
- #, fuzzy
108
  msgid ""
109
  "A comma-seperated list of scripts you want to exclude from being optimized, "
110
  "for example 'whatever.js, another.js' (without the quotes) to exclude those "
111
  "scripts from being aggregated and minimized by Autoptimize."
112
  msgstr ""
113
- "برای جلوگیری از بهینه سازی اسکریپت ها لیستی از اسکریپت ها را با استفاده از "
114
- "کاما از هم جدا کنید و در فیلد زیر وارد کنید. مانند: whatever.js, another.js"
 
115
 
116
- #: classes/autoptimizeConfig.php:112
117
  msgid "Add try-catch wrapping?"
118
- msgstr "سعی در درک کردن بسته بندی؟"
119
 
120
- #: classes/autoptimizeConfig.php:114
121
  msgid ""
122
  "If your scripts break because of an script error, you might want to try this."
123
  msgstr ""
124
- "اگر اسکریپت های شما به دلیل خطای یک اسکریپت درست نمایش داده نشوند، شاید مایل "
125
- "باشید از این گزینه استفاده کنید."
126
 
127
- #: classes/autoptimizeConfig.php:118
128
  msgid "CSS Options"
129
  msgstr "تنظیمات CSS"
130
 
131
- #: classes/autoptimizeConfig.php:121
132
  msgid "Optimize CSS Code?"
133
- msgstr "کدهای CSS بهینه سازی شوند؟"
134
 
135
- #: classes/autoptimizeConfig.php:125
136
  msgid "Generate data: URIs for images?"
137
- msgstr "تولید داده: URI برای تصاویر"
138
 
139
- #: classes/autoptimizeConfig.php:127
140
  msgid ""
141
  "Enable this to include small background-images in the CSS itself instead of "
142
  "as seperate downloads."
143
  msgstr ""
144
- "با فعال کردن این گزینه تصاویر کوچک پس زمینه ی موجود در CSS به جای اینکه "
145
- "جداگانه بارگذاری شود توسط data URI همراه با فایل CSS بارگذاری می شوند."
146
 
147
- #: classes/autoptimizeConfig.php:130
148
  msgid "Look for styles only in &lt;head&gt;?"
149
- msgstr "فقط استایل هایی که در قسمت &lt;head&gt; هستند بهینه سازی شوند؟"
150
 
151
- #: classes/autoptimizeConfig.php:132
152
  msgid ""
153
  "Don't autoptimize CSS outside the head-section. If the cache gets big, you "
154
  "might want to enable this."
155
  msgstr ""
156
- "استایل هایی که خارج از قسمت head هستند بهینه سازی نمی شوند. اگر حجم کش زیاد "
157
- "باشد شاید مایل باشید تا از این گزینه استفاده کنید."
158
 
159
- #: classes/autoptimizeConfig.php:135
160
- msgid "Defer CSS loading?"
161
- msgstr "به تاخیر انداختن بارگذاری CSS?"
162
 
163
- #: classes/autoptimizeConfig.php:137
164
  msgid ""
165
- "Load optimized CSS only after page load (disables CSS inlining). "
166
- "<strong>Warning</strong>: <a href=\"http://wordpress.org/plugins/autoptimize/"
167
- "faq/\" target=\"_blank\">check the FAQ</a> before activating this option!"
168
  msgstr ""
169
- "CSS بهینه شده بعد از بارگذاری صفحه بارگذاری خواهد شد (CSS درون خطی را "
170
- "غیرفعال می‌کند). <strong>هشدار</strong>: قبل از فعال سازی این گزینه<a href="
171
- "\"http://wordpress.org/plugins/autoptimize/faq/\" target=\"_blank\">سوالات "
172
- "متداول</a> را مطالعه فرمایید!"
 
 
 
 
173
 
174
- #: classes/autoptimizeConfig.php:140
175
  msgid "Inline all CSS?"
176
- msgstr "تبدیل CSS به درون خطی"
177
 
178
- #: classes/autoptimizeConfig.php:142
179
  msgid ""
180
  "Inlining all CSS can improve performance for sites with a low pageviews/ "
181
- "visitor-rate, but may slow down performance otherwise. CSS inlining disables "
182
- "CSS deferring."
183
  msgstr ""
184
- "درون خطی نمودن کدهای CSS باعث افزایش سرعت سایت هایی با بازدید کم می‌شود، در "
185
- "غیر اینصورت ممکن است باعث کم شدن سرعت بارگذاری شود. درون خطی نمودن کدهای CSS "
186
- "گزینه به تاخیر انداختن بارگذاری CSS را غیرفعال می کند."
187
 
188
- #: classes/autoptimizeConfig.php:145
189
- #, fuzzy
190
  msgid "Exclude CSS from Autoptimize:"
191
- msgstr "جلوگیری از بهینه سازی CSS ها:"
192
 
193
- #: classes/autoptimizeConfig.php:147
194
- #, fuzzy
195
  msgid "A comma-seperated list of CSS you want to exclude from being optimized."
196
  msgstr ""
197
- "با استفاده از کاما لیست فایل های CSS ایی که می خواهید از بهینه سازی آن ها "
198
- "جلوگیری شود در فیلد زیر وارد کنید."
199
 
200
- #: classes/autoptimizeConfig.php:151
201
  msgid "CDN Options"
202
  msgstr "تنظیمات CDN"
203
 
204
- #: classes/autoptimizeConfig.php:154
205
  msgid "CDN Base URL"
206
- msgstr "آدرس پایه CDN"
207
 
208
- #: classes/autoptimizeConfig.php:156
209
- #, fuzzy
210
  msgid ""
211
  "Enter your CDN blog root directory URL if you want to enable CDN for images "
212
  "referenced in the CSS."
213
  msgstr ""
214
- "اگر می خواهید CDN فعال شود آدرس CDN ریشه دایرکتوری بلاگ خود را وارد کنید."
 
215
 
216
- #: classes/autoptimizeConfig.php:160
217
  msgid "Cache Info"
218
- msgstr "اطلاعات کش"
219
 
220
- #: classes/autoptimizeConfig.php:163
221
  msgid "Cache folder"
222
- msgstr "فولدر کش"
223
 
224
- #: classes/autoptimizeConfig.php:167
225
  msgid "Can we write?"
226
- msgstr "حق نوشتن (write) داریم؟"
227
 
228
- #: classes/autoptimizeConfig.php:168
229
  msgid "Yes"
230
  msgstr "بله"
231
 
232
- #: classes/autoptimizeConfig.php:168
233
  msgid "No"
234
  msgstr "خیر"
235
 
236
- #: classes/autoptimizeConfig.php:171
237
  msgid "Cached styles and scripts"
238
- msgstr "استایل ها و اسکریپت های کش شده"
239
 
240
- #: classes/autoptimizeConfig.php:175
241
  msgid "Save aggregated script/css as static files?"
242
- msgstr "جمع و ذخیره اسکریپت/CSS در یک فایل ثابت(static)؟"
243
 
244
- #: classes/autoptimizeConfig.php:177
245
- #, fuzzy
246
  msgid ""
247
  "By default files saved are static css/js, uncheck this option if your "
248
  "webserver doesn't properly handle the compression and expiry."
249
  msgstr ""
250
- "اگر وب سرور شما می تواند فشرده سازی و کش فایل ها را انجام دهد این گزینه را "
251
- "فعال کنید."
 
252
 
253
- #: classes/autoptimizeConfig.php:183
254
  msgid "Save Changes"
255
  msgstr "ذخیره تغییرات"
256
 
257
- #: classes/autoptimizeConfig.php:184
258
  msgid "Save Changes and Empty Cache"
259
  msgstr "ذخیره تغییرات و تخلیه کش"
260
 
261
- #: classes/autoptimizeConfig.php:192
262
  msgid "futtta about"
263
- msgstr "درباره ی futtta"
264
 
265
  #. Plugin Name of the plugin/theme
266
- #: classes/autoptimizeConfig.php:194
267
  msgid "Autoptimize"
268
  msgstr "Autoptimize"
269
 
270
- #: classes/autoptimizeConfig.php:195
271
  msgid "WordPress"
272
  msgstr "وردپرس"
273
 
274
- #: classes/autoptimizeConfig.php:196
275
  msgid "Web Technology"
276
- msgstr "تکنولوژی وب"
277
 
278
- #: classes/autoptimizeConfig.php:201
279
  msgid "Do not donate for this plugin!"
280
  msgstr "به این افزونه کمک مالی نکنید!"
281
 
282
- #: classes/autoptimizeConfig.php:262
283
  msgid "Autoptimize Options"
284
  msgstr "تنظیمات Autoptimize"
285
 
286
- #: classes/autoptimizeConfig.php:309 classes/autoptimizeConfig.php:316
287
  msgid "Settings"
288
  msgstr "تنظیمات"
289
 
@@ -296,8 +294,8 @@ msgid ""
296
  "Optimizes your website, concatenating the CSS and JavaScript code, and "
297
  "compressing it."
298
  msgstr ""
299
- "با یکی کردن فایل های CSS و جاوا اسکریپت و فشرده سازی آن ها وب سایت شما را "
300
- "بهینه سازی می کند."
301
 
302
  #. Author of the plugin/theme
303
  msgid "Frank Goossens (futtta)"
@@ -306,19 +304,3 @@ msgstr "Frank Goossens (futtta)"
306
  #. Author URI of the plugin/theme
307
  msgid "http://blog.futtta.be/"
308
  msgstr "http://blog.futtta.be/"
309
-
310
- #~ msgid ""
311
- #~ "Normally CSS is loaded in the &lt;head&gt;-section of the HTML, but for "
312
- #~ "mobile performance reasons having it deferred can be better."
313
- #~ msgstr ""
314
- #~ "در حالت عادی CSS در قسمت &lt;head&gt; بارگذاری می شود، اما برای افزایش "
315
- #~ "کارایی در گوشی های همراه بهتر است که با تاخیر بارگذاری شوند."
316
-
317
- #~ msgid "Do not compress cache files"
318
- #~ msgstr "فایل های کش را فشرده سازی نکن"
319
-
320
- #~ msgid ""
321
- #~ "Enable this if you want to compress the served files using your webserver."
322
- #~ msgstr ""
323
- #~ "اگر مایل هستید فایل های ارائه شده توسط وب سرور شما فشرده سازی شوند از این "
324
- #~ "گزینه استفاده کنید."
1
+ # Copyright (C) 2014 Autoptimize
2
  # This file is distributed under the same license as the Autoptimize package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Autoptimize 1.9.0\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/autoptimize\n"
7
+ "POT-Creation-Date: 2014-08-22 05:35:46+00:00\n"
 
 
 
 
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
11
+ "PO-Revision-Date: 2014-08-22 16:09+0330\n"
12
+ "Last-Translator: Hamed.T <ham3d.t@gmail.com>\n"
13
  "X-Generator: Poedit 1.6.3\n"
14
+ "Plural-Forms: nplurals=1; plural=0;\n"
15
+ "Language: fa_IR\n"
16
 
17
+ #: autoptimize.php:124
18
  msgid ""
19
  "Thank you for installing and activating Autoptimize. Please configure it "
20
  "under \"Settings\" -> \"Autoptimize\" to start improving your site's "
21
  "performance."
22
  msgstr ""
23
+ "برای نصب و فعال سازی افزونه Autoptimize متشکریم. خواهشمندیم افزونه را از "
24
+ "مسیر \"Settings\" -> \"Autoptimize\" تنظیم کنید تا افزایش سرعت وب سایت شما "
25
+ "آغاز شود."
26
 
27
+ #: autoptimize.php:130
28
  msgid ""
29
  "Autoptimize has just been updated. Please <strong>test your site now</"
30
  "strong> and adapt Autoptimize config if needed."
31
  msgstr ""
32
+ "Autoptimize بروزرسانی شد. خواهشمندیم <strong> هم اکنون سایت خود را ارزیابی "
33
+ "کنید</strong> و Autoptimize را اگر نیاز بود تنظیم کنید."
34
 
35
+ #: classes/autoptimizeConfig.php:48
36
  msgid "Autoptimize Settings"
37
  msgstr "تنظیمات Autoptimize"
38
 
39
+ #: classes/autoptimizeConfig.php:54 classes/autoptimizeConfig.php:60
40
  msgid "Show advanced settings"
41
  msgstr "نمایش تنظیمات پیشرفته"
42
 
43
+ #: classes/autoptimizeConfig.php:55 classes/autoptimizeConfig.php:61
44
  msgid "Hide advanced settings"
45
+ msgstr "مخفی نمودن تنظیمات پیشرقته"
46
 
47
+ #: classes/autoptimizeConfig.php:69
48
  msgid "HTML Options"
49
  msgstr "تنظیمات HTML"
50
 
51
+ #: classes/autoptimizeConfig.php:72
52
  msgid "Optimize HTML Code?"
53
+ msgstr "بهینه سازی کد HTML؟"
54
 
55
+ #: classes/autoptimizeConfig.php:76
56
  msgid "Keep HTML comments?"
57
+ msgstr "نگه داشتن کامنت های HTML؟"
58
 
59
+ #: classes/autoptimizeConfig.php:78
60
  msgid ""
61
  "Enable this if you want HTML comments to remain in the page, needed for e.g. "
62
  "AdSense to function properly."
63
  msgstr ""
64
+ "اگر می خواهید کامنت های HTML در صفحه باقی بمانند این گزینه را فعال کنید."
65
 
66
+ #: classes/autoptimizeConfig.php:82
67
  msgid "JavaScript Options"
68
+ msgstr "تنظیمات Javascript"
69
 
70
+ #: classes/autoptimizeConfig.php:85
71
  msgid "Optimize JavaScript Code?"
72
+ msgstr "بهینه سازی کد Javascript؟"
73
 
74
+ #: classes/autoptimizeConfig.php:89
75
  msgid "Force JavaScript in &lt;head&gt;?"
76
+ msgstr "بارگذاری Javascript در تگ &lt;head&gt"
77
 
78
+ #: classes/autoptimizeConfig.php:91
79
  msgid ""
80
  "For performance reasons it is better to include JavaScript at the bottom of "
81
  "HTML, but this sometimes breaks things. Especially useful for jQuery-based "
82
  "themes."
83
  msgstr ""
84
+ "برای داشتن کارایی بیشتر بهتر است تا Javascript در انتهای HTML قرار بگیرد، "
85
+ "اما این امر گاهی باعث خراب شدن چیزها می شود. این گزینه مخصوصاً برای پوسته های "
86
+ "تحت jQuery مناسب است."
87
 
88
+ #: classes/autoptimizeConfig.php:94
89
  msgid "Look for scripts only in &lt;head&gt;?"
90
+ msgstr "فقط اسکریپت های موجود در تگ &lt;head&gt; بهینه سازی شوند؟"
91
 
92
+ #: classes/autoptimizeConfig.php:96
93
  msgid ""
94
  "Mostly usefull in combination with previous option when using jQuery-based "
95
  "templates, but might help keeping cache size under control."
96
  msgstr ""
97
+ "این گزینه بیشتر زمانی کاربردی است که با گزینه قبلی برای پوسته های تحت jQuery "
98
+ "ترکیب شود، اما ممکن است برای تحت کنترل داشتن اندازه کش نیز کمک کند."
 
99
 
100
+ #: classes/autoptimizeConfig.php:99
 
101
  msgid "Exclude scripts from Autoptimize:"
102
+ msgstr "محروم کردن اسکریپت ها از Autoptimize:"
103
 
104
+ #: classes/autoptimizeConfig.php:101
 
105
  msgid ""
106
  "A comma-seperated list of scripts you want to exclude from being optimized, "
107
  "for example 'whatever.js, another.js' (without the quotes) to exclude those "
108
  "scripts from being aggregated and minimized by Autoptimize."
109
  msgstr ""
110
+ "اسکریپت هایی که لازم است تا بهینه سازی نشوند را در با استفاده از کاما از هم "
111
+ "جدا کرده و در لیست زیر قرار دهید، برای نمونه 'whatever.js, another."
112
+ "js' ( بدون علامت ( '"
113
 
114
+ #: classes/autoptimizeConfig.php:104
115
  msgid "Add try-catch wrapping?"
116
+ msgstr "اضافه نمودن دسته بندی بوسیله try-catch؟"
117
 
118
+ #: classes/autoptimizeConfig.php:106
119
  msgid ""
120
  "If your scripts break because of an script error, you might want to try this."
121
  msgstr ""
122
+ "اگر اسکریپت های شما با خطای اسکریپتی مواجه می شوند، باید از این گزینه "
123
+ "استفاده کنید."
124
 
125
+ #: classes/autoptimizeConfig.php:110
126
  msgid "CSS Options"
127
  msgstr "تنظیمات CSS"
128
 
129
+ #: classes/autoptimizeConfig.php:113
130
  msgid "Optimize CSS Code?"
131
+ msgstr "بهینه سازی کد CSS؟"
132
 
133
+ #: classes/autoptimizeConfig.php:117
134
  msgid "Generate data: URIs for images?"
135
+ msgstr "تولید data: URIs برای تصاویر؟"
136
 
137
+ #: classes/autoptimizeConfig.php:119
138
  msgid ""
139
  "Enable this to include small background-images in the CSS itself instead of "
140
  "as seperate downloads."
141
  msgstr ""
142
+ "این گزینه را فعال کنید تا تصاویر کوچک موجود در فایل CSS به جای اینکه جداگانه "
143
+ "دانلود شوند به داده خطی تبدیل شده و همراه با فایل دانلود شوند."
144
 
145
+ #: classes/autoptimizeConfig.php:122
146
  msgid "Look for styles only in &lt;head&gt;?"
147
+ msgstr "فقط استایل های موجود در تگ &lt;head&gt; بهینه سازی شوند؟"
148
 
149
+ #: classes/autoptimizeConfig.php:124
150
  msgid ""
151
  "Don't autoptimize CSS outside the head-section. If the cache gets big, you "
152
  "might want to enable this."
153
  msgstr ""
154
+ "کدهای CSS که خارج از تگ HEAD باشند بهینه سازی نکن. اکر حجم کش بالا رفت، شاید "
155
+ "مایل باشید تا از این گزینه استفاده کنید."
156
 
157
+ #: classes/autoptimizeConfig.php:127
158
+ msgid "Inline and Defer CSS?"
159
+ msgstr "تبدیل CSS به صورت خطی (inline) و تعویق بارگذاری (defer)"
160
 
161
+ #: classes/autoptimizeConfig.php:129
162
  msgid ""
163
+ "Inline \"above the fold CSS\" while loading the main autoptimized CSS only "
164
+ "after page load. <a href=\"http://wordpress.org/plugins/autoptimize/faq/\" "
165
+ "target=\"_blank\">Check the FAQ</a> before activating this option!"
166
  msgstr ""
167
+ "درون خطی نمودن CSS نیمه بالای صفحه در حالی که CSS اصلی تنها بعد از بارگذاری "
168
+ "صفحه بارگذاری خواهد شد، قبل از فعال نمودن این گزینه <a href=\"http://"
169
+ "wordpress.org/plugins/autoptimize/faq/\" target=\"_blank\">سوالات متداول</a> "
170
+ "را مطالعه نمایید."
171
+
172
+ #: classes/autoptimizeConfig.php:133
173
+ msgid "Paste the above the fold CSS here."
174
+ msgstr "کدهای CSS نیمه بالای صفحه را اینجا قرار دهید."
175
 
176
+ #: classes/autoptimizeConfig.php:136
177
  msgid "Inline all CSS?"
178
+ msgstr "درون خطی (inline) نمودن تمام کدهای CSS؟"
179
 
180
+ #: classes/autoptimizeConfig.php:138
181
  msgid ""
182
  "Inlining all CSS can improve performance for sites with a low pageviews/ "
183
+ "visitor-rate, but may slow down performance otherwise."
 
184
  msgstr ""
185
+ "درون خطی نمودن تمام CSS ها باعث افزایش سرعت سایت هایی با بازدید کم می شود، "
186
+ "اما در غیر اینصورت به صورت عکس عمل خواهد کرد."
 
187
 
188
+ #: classes/autoptimizeConfig.php:141
 
189
  msgid "Exclude CSS from Autoptimize:"
190
+ msgstr "محروم کردن CSS ها از Autoptimize:"
191
 
192
+ #: classes/autoptimizeConfig.php:143
 
193
  msgid "A comma-seperated list of CSS you want to exclude from being optimized."
194
  msgstr ""
195
+ "فایل های CSS را برای محروم کردن از بهینه سازی با استفاده از کاما جدا کرده و "
196
+ "در لیست زیر قرار دهید."
197
 
198
+ #: classes/autoptimizeConfig.php:147
199
  msgid "CDN Options"
200
  msgstr "تنظیمات CDN"
201
 
202
+ #: classes/autoptimizeConfig.php:150
203
  msgid "CDN Base URL"
204
+ msgstr "ریشه آدرس CDN"
205
 
206
+ #: classes/autoptimizeConfig.php:152
 
207
  msgid ""
208
  "Enter your CDN blog root directory URL if you want to enable CDN for images "
209
  "referenced in the CSS."
210
  msgstr ""
211
+ "اگر می خواهید CDN را برای تصاویری که در فایل CSS موجود است فعال کنید آدرس "
212
+ "ریشه CDN بلاگ خود را وارد نمایید."
213
 
214
+ #: classes/autoptimizeConfig.php:156
215
  msgid "Cache Info"
216
+ msgstr "اطلاعات CDN"
217
 
218
+ #: classes/autoptimizeConfig.php:159
219
  msgid "Cache folder"
220
+ msgstr "پوشه CDN"
221
 
222
+ #: classes/autoptimizeConfig.php:163
223
  msgid "Can we write?"
224
+ msgstr "دسترسی به نوشتن (write) داریم؟"
225
 
226
+ #: classes/autoptimizeConfig.php:164
227
  msgid "Yes"
228
  msgstr "بله"
229
 
230
+ #: classes/autoptimizeConfig.php:164
231
  msgid "No"
232
  msgstr "خیر"
233
 
234
+ #: classes/autoptimizeConfig.php:167
235
  msgid "Cached styles and scripts"
236
+ msgstr "استایل و اسکریپت های کش شده"
237
 
238
+ #: classes/autoptimizeConfig.php:171
239
  msgid "Save aggregated script/css as static files?"
240
+ msgstr "ذخیره نمودن script و CSS متراکم شده به صورت فایل های ثابت (static)؟"
241
 
242
+ #: classes/autoptimizeConfig.php:173
 
243
  msgid ""
244
  "By default files saved are static css/js, uncheck this option if your "
245
  "webserver doesn't properly handle the compression and expiry."
246
  msgstr ""
247
+ "در حالت پیش فرض فایل ها به صورت static ذخیره می شوند css و js، اگر وب سرور "
248
+ "شما قادر به فشرده سازی و ایجاد expiry برای فایل شما نیست تیک این گزینه را "
249
+ "بردارید."
250
 
251
+ #: classes/autoptimizeConfig.php:179
252
  msgid "Save Changes"
253
  msgstr "ذخیره تغییرات"
254
 
255
+ #: classes/autoptimizeConfig.php:180
256
  msgid "Save Changes and Empty Cache"
257
  msgstr "ذخیره تغییرات و تخلیه کش"
258
 
259
+ #: classes/autoptimizeConfig.php:188
260
  msgid "futtta about"
261
+ msgstr "درباره futtta"
262
 
263
  #. Plugin Name of the plugin/theme
264
+ #: classes/autoptimizeConfig.php:190
265
  msgid "Autoptimize"
266
  msgstr "Autoptimize"
267
 
268
+ #: classes/autoptimizeConfig.php:191
269
  msgid "WordPress"
270
  msgstr "وردپرس"
271
 
272
+ #: classes/autoptimizeConfig.php:192
273
  msgid "Web Technology"
274
+ msgstr "Web Technology"
275
 
276
+ #: classes/autoptimizeConfig.php:197
277
  msgid "Do not donate for this plugin!"
278
  msgstr "به این افزونه کمک مالی نکنید!"
279
 
280
+ #: classes/autoptimizeConfig.php:313
281
  msgid "Autoptimize Options"
282
  msgstr "تنظیمات Autoptimize"
283
 
284
+ #: classes/autoptimizeConfig.php:358 classes/autoptimizeConfig.php:364
285
  msgid "Settings"
286
  msgstr "تنظیمات"
287
 
294
  "Optimizes your website, concatenating the CSS and JavaScript code, and "
295
  "compressing it."
296
  msgstr ""
297
+ "بهینه سازی وب سایت شما با یکی کردن فایل های CSS و Javascript و فشرده سازی "
298
+ "آنها."
299
 
300
  #. Author of the plugin/theme
301
  msgid "Frank Goossens (futtta)"
304
  #. Author URI of the plugin/theme
305
  msgid "http://blog.futtta.be/"
306
  msgstr "http://blog.futtta.be/"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
localization/autoptimize-fr_FR.mo CHANGED
Binary file
localization/autoptimize-fr_FR.po CHANGED
@@ -4,222 +4,288 @@ msgid ""
4
  msgstr ""
5
  "Project-Id-Version: Autoptimize 1.8.0\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/autoptimize\n"
7
- "POT-Creation-Date: 2014-01-17 18:16:35+00:00\n"
8
- "PO-Revision-Date: 2014-01-22 08:34+0100\n"
9
- "Last-Translator: frank goossens <futtta@gmail.com>\n"
10
  "Language-Team: WordPress Hébergement <contact@wordpress-hebergement.fr>\n"
 
11
  "MIME-Version: 1.0\n"
12
  "Content-Type: text/plain; charset=UTF-8\n"
13
  "Content-Transfer-Encoding: 8bit\n"
14
- "Language: FR\n"
15
- "X-Generator: Poedit 1.5.7\n"
16
 
17
- #: autoptimize.php:117
18
- msgid "Thank you for installing and activating Autoptimize. Please configure it under \"Settings\" -> \"Autoptimize\" to start improving your site's performance."
19
- msgstr "Merci d'avoir installé et activé Autoptimize. Vous pouvez maintenant le paramétrer via \"Réglages\" -> \"Autoptimize\" et commencer à améliorer les performances de votre site"
 
 
 
 
 
 
20
 
21
- #: autoptimize.php:123
22
- msgid "Autoptimize has just been updated. Please <strong>test your site now</strong> and adapt Autoptimize config if needed."
23
- msgstr "Autoptimize vient d'être mis à jour. Vous pouvez maintenant <trong>tester votre site</strong> et adapter si besoin les paramètres d'Autoptimize."
 
 
 
 
24
 
25
- #: classes/autoptimizeConfig.php:56
26
  msgid "Autoptimize Settings"
27
  msgstr "Configuration d'Autoptimize"
28
 
29
- #: classes/autoptimizeConfig.php:62
30
- #: classes/autoptimizeConfig.php:68
31
  msgid "Show advanced settings"
32
  msgstr "Afficher les paramètres avancés"
33
 
34
- #: classes/autoptimizeConfig.php:63
35
- #: classes/autoptimizeConfig.php:69
36
  msgid "Hide advanced settings"
37
  msgstr "Cacher les paramètres avancés"
38
 
39
- #: classes/autoptimizeConfig.php:77
40
  msgid "HTML Options"
41
  msgstr "Options HTML"
42
 
43
- #: classes/autoptimizeConfig.php:80
44
  msgid "Optimize HTML Code?"
45
  msgstr "Optimiser le code HTML"
46
 
47
- #: classes/autoptimizeConfig.php:84
48
  msgid "Keep HTML comments?"
49
  msgstr "Préserver les commentaires HTML"
50
 
51
- #: classes/autoptimizeConfig.php:86
52
- msgid "Enable this if you want HTML comments to remain in the page, needed for e.g. AdSense to function properly."
53
- msgstr "Sélectionnez cette option si vous souhaitez que vos commentaires HTML restent dans la page (nécessaire par exemple pour qu'Adsense fonctionne)"
 
 
 
 
54
 
55
- #: classes/autoptimizeConfig.php:90
56
  msgid "JavaScript Options"
57
  msgstr "Options JavaScript"
58
 
59
- #: classes/autoptimizeConfig.php:93
60
  msgid "Optimize JavaScript Code?"
61
  msgstr "Optimiser le code JavaScript ?"
62
 
63
- #: classes/autoptimizeConfig.php:97
64
  msgid "Force JavaScript in &lt;head&gt;?"
65
  msgstr "Forcer le JavaScript à charger dans l'en-tête de la page ?"
66
 
67
- #: classes/autoptimizeConfig.php:99
68
- msgid "For performance reasons it is better to include JavaScript at the bottom of HTML, but this sometimes breaks things. Especially useful for jQuery-based themes."
69
- msgstr "Pour améliorer les performances, il est préférable d'inclure le JavaScript à la fin du code HTML, mais cela peut parfois 'casser' certaines pages (notamment pour les thèmes à base de jQuery)."
 
 
 
 
 
 
70
 
71
- #: classes/autoptimizeConfig.php:102
72
  msgid "Look for scripts only in &lt;head&gt;?"
73
  msgstr "Chercher les scripts uniquement dans l'en-tête ?"
74
 
75
- #: classes/autoptimizeConfig.php:104
76
- msgid "Mostly usefull in combination with previous option when using jQuery-based templates, but might help keeping cache size under control."
77
- msgstr "Surtout utile combiné aux précédentes options lorsque vous utilisez des templates à base de jQuery, mais peut aussi permettre de diminuer la taille du cache."
 
 
 
 
 
78
 
79
- #: classes/autoptimizeConfig.php:107
80
  msgid "Exclude scripts from Autoptimize:"
81
  msgstr "Scripts à exclure d'Autoptimize"
82
 
83
- #: classes/autoptimizeConfig.php:109
84
- msgid "A comma-seperated list of scripts you want to exclude from being optimized, for example 'whatever.js, another.js' (without the quotes) to exclude those scripts from being aggregated and minimized by Autoptimize."
85
- msgstr "Liste des scripts - séparés par des virgules - que vous ne souhaitez pas Autoptimiser. Par exemple: 'monscript.js, monautrescript.js' (sans les gullemets) pour exclure ces scripts de l'aggrégation et la compression réalisée par Autoptimize."
 
 
 
 
 
 
 
86
 
87
- #: classes/autoptimizeConfig.php:112
88
  msgid "Add try-catch wrapping?"
89
  msgstr "Ajouter une gestion des erreurs (trycatch) ?"
90
 
91
- #: classes/autoptimizeConfig.php:114
92
- msgid "If your scripts break because of an script error, you might want to try this."
93
- msgstr "Si votre script est 'cassé' par des erreurs, vous pouvez essayer cette option."
 
 
 
94
 
95
- #: classes/autoptimizeConfig.php:118
96
  msgid "CSS Options"
97
  msgstr "Options CSS"
98
 
99
- #: classes/autoptimizeConfig.php:121
100
  msgid "Optimize CSS Code?"
101
  msgstr "Optimiser le code CSS"
102
 
103
- #: classes/autoptimizeConfig.php:125
104
  msgid "Generate data: URIs for images?"
105
  msgstr "Génération de données: URI pour les images?"
106
 
107
- #: classes/autoptimizeConfig.php:127
108
- msgid "Enable this to include small background-images in the CSS itself instead of as seperate downloads."
109
- msgstr "Sélectionnez cette option pour inclure les petites images de fond dans le CSS lui-même au lieu d'un chargement séparé."
 
 
 
 
110
 
111
- #: classes/autoptimizeConfig.php:130
112
  msgid "Look for styles only in &lt;head&gt;?"
113
  msgstr "Ne rechercher les styles que dans l'en-tête ?"
114
 
115
- #: classes/autoptimizeConfig.php:132
116
- msgid "Don't autoptimize CSS outside the head-section. If the cache gets big, you might want to enable this."
117
- msgstr "N'optimise pas les CSS situés en dehors de l'en-tête. Si votre cache devient trop important, vous pouvez utliser cette option."
 
 
 
 
118
 
119
- #: classes/autoptimizeConfig.php:135
120
- msgid "Defer CSS loading?"
121
- msgstr "Reporter le chargement des CSS"
122
 
123
- #: classes/autoptimizeConfig.php:137
124
- msgid "Load optimized CSS only after page load (disables CSS inlining). <strong>Warning</strong>: <a href=\"http://wordpress.org/plugins/autoptimize/faq/\" target=\"_blank\">check the FAQ</a> before activating this option!"
125
- msgstr "Ne chargez les CSS optimizées qu'après le chargement du page. <strong>Avertissement</strong>: <a href=\"http://wordpress.org/plugins/autoptimize/faq/\" target=\"_blank\">Lisez le FAQ (en Anglais)</a> avant d'activer cette option!"
 
 
 
 
 
 
 
126
 
127
- #: classes/autoptimizeConfig.php:140
 
 
 
 
128
  msgid "Inline all CSS?"
129
  msgstr "Mettez tout les CSS dans votre code HTML."
130
 
131
- #: classes/autoptimizeConfig.php:142
132
- msgid "Inlining all CSS can improve performance for sites with a low pageviews/ visitor-rate, but may slow down performance otherwise. CSS inlining disables CSS deferring."
133
- msgstr "Mettre les CSS dans le code HTML peut améliorer la performance moyenne si votre site atteint une ratio vue pages/ visiteurs baisse, sinon la performance moyenne être plus mauvaise."
 
 
 
 
 
134
 
135
- #: classes/autoptimizeConfig.php:145
136
  msgid "Exclude CSS from Autoptimize:"
137
  msgstr "Exclure ces CSS d'Autoptimise."
138
 
139
- #: classes/autoptimizeConfig.php:147
140
  msgid "A comma-seperated list of CSS you want to exclude from being optimized."
141
- msgstr "Liste des fichiers CSS - séparés par des virgules - que vous souhaitez exclure de l'Autoptimisation."
 
 
142
 
143
- #: classes/autoptimizeConfig.php:151
144
  msgid "CDN Options"
145
  msgstr "Options CDN"
146
 
147
- #: classes/autoptimizeConfig.php:154
148
  msgid "CDN Base URL"
149
  msgstr "Base URL du CDN"
150
 
151
- #: classes/autoptimizeConfig.php:156
152
- msgid "Enter your CDN blog root directory URL if you want to enable CDN for images referenced in the CSS."
153
- msgstr "Saisissez l'URL du répertoire racine de votre site si vous souhaitez utiliser un CDN pour les images référencés dans le CSS."
 
 
 
 
154
 
155
- #: classes/autoptimizeConfig.php:160
156
  msgid "Cache Info"
157
  msgstr "Informations du cache"
158
 
159
- #: classes/autoptimizeConfig.php:163
160
  msgid "Cache folder"
161
  msgstr "Répertoire du cache"
162
 
163
- #: classes/autoptimizeConfig.php:167
164
  msgid "Can we write?"
165
  msgstr "Droits d'écriture ?"
166
 
167
- #: classes/autoptimizeConfig.php:168
168
  msgid "Yes"
169
  msgstr "Oui"
170
 
171
- #: classes/autoptimizeConfig.php:168
172
  msgid "No"
173
  msgstr "Non"
174
 
175
- #: classes/autoptimizeConfig.php:171
176
  msgid "Cached styles and scripts"
177
  msgstr "Styles et scripts en cache"
178
 
179
- #: classes/autoptimizeConfig.php:175
180
  msgid "Save aggregated script/css as static files?"
181
  msgstr "Enregistrer les scripts/css en tant que fichiers statiques ?"
182
 
183
- #: classes/autoptimizeConfig.php:177
184
- msgid "By default files saved are static css/js, uncheck this option if your webserver doesn't properly handle the compression and expiry."
185
- msgstr "Par defaut les fichiers JS/ CSS seront servi d'une manière statique. Désactivez cette option si votre serveur web ne peut pas gérer la compression et l'expiration des fichiers."
 
 
 
 
 
186
 
187
- #: classes/autoptimizeConfig.php:183
188
  msgid "Save Changes"
189
  msgstr "Enregistrer les modifications"
190
 
191
- #: classes/autoptimizeConfig.php:184
192
  msgid "Save Changes and Empty Cache"
193
  msgstr "Enregistrer les modifications et vider le cache"
194
 
195
- #: classes/autoptimizeConfig.php:192
196
  msgid "futtta about"
197
  msgstr "futta à propos de"
198
 
199
- #. #-#-#-#-# plugin.pot (Autoptimize 1.8.0) #-#-#-#-#
200
  #. Plugin Name of the plugin/theme
201
- #: classes/autoptimizeConfig.php:194
202
  msgid "Autoptimize"
203
  msgstr "Autoptimize"
204
 
205
- #: classes/autoptimizeConfig.php:195
206
  msgid "WordPress"
207
  msgstr "WordPress"
208
 
209
- #: classes/autoptimizeConfig.php:196
210
  msgid "Web Technology"
211
  msgstr "La technologie Web"
212
 
213
- #: classes/autoptimizeConfig.php:201
214
  msgid "Do not donate for this plugin!"
215
  msgstr "Ne faites pas de don pas pour ce plugin!"
216
 
217
- #: classes/autoptimizeConfig.php:262
218
  msgid "Autoptimize Options"
219
  msgstr "Options Autoptimize "
220
 
221
- #: classes/autoptimizeConfig.php:309
222
- #: classes/autoptimizeConfig.php:316
223
  msgid "Settings"
224
  msgstr "Paramètres"
225
 
@@ -228,8 +294,12 @@ msgid "http://blog.futtta.be/autoptimize"
228
  msgstr "http://blog.futtta.be/autoptimize"
229
 
230
  #. Description of the plugin/theme
231
- msgid "Optimizes your website, concatenating the CSS and JavaScript code, and compressing it."
232
- msgstr "Optimise votre site web en rassemblant les CSS et JavaScript et en les compressant."
 
 
 
 
233
 
234
  #. Author of the plugin/theme
235
  msgid "Frank Goossens (futtta)"
@@ -239,6 +309,9 @@ msgstr "Frank Goossens (futtta)"
239
  msgid "http://blog.futtta.be/"
240
  msgstr "http://blog.futtta.be/"
241
 
 
 
 
242
  #~ msgid ""
243
  #~ "Normally CSS is loaded in the &lt;head&gt;-section of the HTML, but for "
244
  #~ "mobile performance reasons having it deferred can be better."
4
  msgstr ""
5
  "Project-Id-Version: Autoptimize 1.8.0\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/autoptimize\n"
7
+ "POT-Creation-Date: 2014-08-22 05:35:46+00:00\n"
8
+ "PO-Revision-Date: 2014-08-29 07:19+0100\n"
9
+ "Last-Translator: frank goossens (futtta) <futtta@gmail.com>\n"
10
  "Language-Team: WordPress Hébergement <contact@wordpress-hebergement.fr>\n"
11
+ "Language: fr\n"
12
  "MIME-Version: 1.0\n"
13
  "Content-Type: text/plain; charset=UTF-8\n"
14
  "Content-Transfer-Encoding: 8bit\n"
15
+ "X-Generator: Poedit 1.6.8\n"
 
16
 
17
+ #: autoptimize.php:124
18
+ msgid ""
19
+ "Thank you for installing and activating Autoptimize. Please configure it "
20
+ "under \"Settings\" -> \"Autoptimize\" to start improving your site's "
21
+ "performance."
22
+ msgstr ""
23
+ "Merci d'avoir installé et activé Autoptimize. Vous pouvez maintenant le "
24
+ "paramétrer via \"Réglages\" -> \"Autoptimize\" et commencer à améliorer les "
25
+ "performances de votre site"
26
 
27
+ #: autoptimize.php:130
28
+ msgid ""
29
+ "Autoptimize has just been updated. Please <strong>test your site now</"
30
+ "strong> and adapt Autoptimize config if needed."
31
+ msgstr ""
32
+ "Autoptimize vient d'être mis à jour. Vous pouvez maintenant <trong>tester "
33
+ "votre site</strong> et adapter si besoin les paramètres d'Autoptimize."
34
 
35
+ #: classes/autoptimizeConfig.php:48
36
  msgid "Autoptimize Settings"
37
  msgstr "Configuration d'Autoptimize"
38
 
39
+ #: classes/autoptimizeConfig.php:54 classes/autoptimizeConfig.php:60
 
40
  msgid "Show advanced settings"
41
  msgstr "Afficher les paramètres avancés"
42
 
43
+ #: classes/autoptimizeConfig.php:55 classes/autoptimizeConfig.php:61
 
44
  msgid "Hide advanced settings"
45
  msgstr "Cacher les paramètres avancés"
46
 
47
+ #: classes/autoptimizeConfig.php:69
48
  msgid "HTML Options"
49
  msgstr "Options HTML"
50
 
51
+ #: classes/autoptimizeConfig.php:72
52
  msgid "Optimize HTML Code?"
53
  msgstr "Optimiser le code HTML"
54
 
55
+ #: classes/autoptimizeConfig.php:76
56
  msgid "Keep HTML comments?"
57
  msgstr "Préserver les commentaires HTML"
58
 
59
+ #: classes/autoptimizeConfig.php:78
60
+ msgid ""
61
+ "Enable this if you want HTML comments to remain in the page, needed for e.g. "
62
+ "AdSense to function properly."
63
+ msgstr ""
64
+ "Sélectionnez cette option si vous souhaitez que vos commentaires HTML "
65
+ "restent dans la page (nécessaire par exemple pour qu'Adsense fonctionne)"
66
 
67
+ #: classes/autoptimizeConfig.php:82
68
  msgid "JavaScript Options"
69
  msgstr "Options JavaScript"
70
 
71
+ #: classes/autoptimizeConfig.php:85
72
  msgid "Optimize JavaScript Code?"
73
  msgstr "Optimiser le code JavaScript ?"
74
 
75
+ #: classes/autoptimizeConfig.php:89
76
  msgid "Force JavaScript in &lt;head&gt;?"
77
  msgstr "Forcer le JavaScript à charger dans l'en-tête de la page ?"
78
 
79
+ #: classes/autoptimizeConfig.php:91
80
+ msgid ""
81
+ "For performance reasons it is better to include JavaScript at the bottom of "
82
+ "HTML, but this sometimes breaks things. Especially useful for jQuery-based "
83
+ "themes."
84
+ msgstr ""
85
+ "Pour améliorer les performances, il est préférable d'inclure le JavaScript à "
86
+ "la fin du code HTML, mais cela peut parfois 'casser' certaines pages "
87
+ "(notamment pour les thèmes à base de jQuery)."
88
 
89
+ #: classes/autoptimizeConfig.php:94
90
  msgid "Look for scripts only in &lt;head&gt;?"
91
  msgstr "Chercher les scripts uniquement dans l'en-tête ?"
92
 
93
+ #: classes/autoptimizeConfig.php:96
94
+ msgid ""
95
+ "Mostly usefull in combination with previous option when using jQuery-based "
96
+ "templates, but might help keeping cache size under control."
97
+ msgstr ""
98
+ "Surtout utile combiné aux précédentes options lorsque vous utilisez des "
99
+ "templates à base de jQuery, mais peut aussi permettre de diminuer la taille "
100
+ "du cache."
101
 
102
+ #: classes/autoptimizeConfig.php:99
103
  msgid "Exclude scripts from Autoptimize:"
104
  msgstr "Scripts à exclure d'Autoptimize"
105
 
106
+ #: classes/autoptimizeConfig.php:101
107
+ msgid ""
108
+ "A comma-seperated list of scripts you want to exclude from being optimized, "
109
+ "for example 'whatever.js, another.js' (without the quotes) to exclude those "
110
+ "scripts from being aggregated and minimized by Autoptimize."
111
+ msgstr ""
112
+ "Liste des scripts - séparés par des virgules - que vous ne souhaitez pas "
113
+ "Autoptimiser. Par exemple: 'monscript.js, monautrescript.js' (sans les "
114
+ "gullemets) pour exclure ces scripts de l'aggrégation et la compression "
115
+ "réalisée par Autoptimize."
116
 
117
+ #: classes/autoptimizeConfig.php:104
118
  msgid "Add try-catch wrapping?"
119
  msgstr "Ajouter une gestion des erreurs (trycatch) ?"
120
 
121
+ #: classes/autoptimizeConfig.php:106
122
+ msgid ""
123
+ "If your scripts break because of an script error, you might want to try this."
124
+ msgstr ""
125
+ "Si votre script est 'cassé' par des erreurs, vous pouvez essayer cette "
126
+ "option."
127
 
128
+ #: classes/autoptimizeConfig.php:110
129
  msgid "CSS Options"
130
  msgstr "Options CSS"
131
 
132
+ #: classes/autoptimizeConfig.php:113
133
  msgid "Optimize CSS Code?"
134
  msgstr "Optimiser le code CSS"
135
 
136
+ #: classes/autoptimizeConfig.php:117
137
  msgid "Generate data: URIs for images?"
138
  msgstr "Génération de données: URI pour les images?"
139
 
140
+ #: classes/autoptimizeConfig.php:119
141
+ msgid ""
142
+ "Enable this to include small background-images in the CSS itself instead of "
143
+ "as seperate downloads."
144
+ msgstr ""
145
+ "Sélectionnez cette option pour inclure les petites images de fond dans le "
146
+ "CSS lui-même au lieu d'un chargement séparé."
147
 
148
+ #: classes/autoptimizeConfig.php:122
149
  msgid "Look for styles only in &lt;head&gt;?"
150
  msgstr "Ne rechercher les styles que dans l'en-tête ?"
151
 
152
+ #: classes/autoptimizeConfig.php:124
153
+ msgid ""
154
+ "Don't autoptimize CSS outside the head-section. If the cache gets big, you "
155
+ "might want to enable this."
156
+ msgstr ""
157
+ "N'optimise pas les CSS situés en dehors de l'en-tête. Si votre cache devient "
158
+ "trop important, vous pouvez utliser cette option."
159
 
160
+ #: classes/autoptimizeConfig.php:127
161
+ msgid "Inline and Defer CSS?"
162
+ msgstr "Inclure CSS principal dans l'HTML, reporter le reste."
163
 
164
+ #: classes/autoptimizeConfig.php:129
165
+ msgid ""
166
+ "Inline \"above the fold CSS\" while loading the main autoptimized CSS only "
167
+ "after page load. <a href=\"http://wordpress.org/plugins/autoptimize/faq/\" "
168
+ "target=\"_blank\">Check the FAQ</a> before activating this option!"
169
+ msgstr ""
170
+ "Include le CSS principal dans le code HTML, mais ne chargez les CSS "
171
+ "optimizées qu'après le chargement du page. <strong>Avertissement</strong>: "
172
+ "<a href=\"http://wordpress.org/plugins/autoptimize/faq/\" target=\"_blank"
173
+ "\">Lisez le FAQ (en Anglais)</a> avant d'activer cette option!"
174
 
175
+ #: classes/autoptimizeConfig.php:133
176
+ msgid "Paste the above the fold CSS here."
177
+ msgstr "Copiéz le CSS principal (\"above the fold\") ici."
178
+
179
+ #: classes/autoptimizeConfig.php:136
180
  msgid "Inline all CSS?"
181
  msgstr "Mettez tout les CSS dans votre code HTML."
182
 
183
+ #: classes/autoptimizeConfig.php:138
184
+ msgid ""
185
+ "Inlining all CSS can improve performance for sites with a low pageviews/ "
186
+ "visitor-rate, but may slow down performance otherwise."
187
+ msgstr ""
188
+ "Mettre les CSS dans le code HTML peut améliorer la performance moyenne si "
189
+ "votre site atteint une ratio vue pages/ visiteurs baisse, sinon la "
190
+ "performance moyenne pourrait être plus mauvaise."
191
 
192
+ #: classes/autoptimizeConfig.php:141
193
  msgid "Exclude CSS from Autoptimize:"
194
  msgstr "Exclure ces CSS d'Autoptimise."
195
 
196
+ #: classes/autoptimizeConfig.php:143
197
  msgid "A comma-seperated list of CSS you want to exclude from being optimized."
198
+ msgstr ""
199
+ "Liste des fichiers CSS - séparés par des virgules - que vous souhaitez "
200
+ "exclure de l'Autoptimisation."
201
 
202
+ #: classes/autoptimizeConfig.php:147
203
  msgid "CDN Options"
204
  msgstr "Options CDN"
205
 
206
+ #: classes/autoptimizeConfig.php:150
207
  msgid "CDN Base URL"
208
  msgstr "Base URL du CDN"
209
 
210
+ #: classes/autoptimizeConfig.php:152
211
+ msgid ""
212
+ "Enter your CDN blog root directory URL if you want to enable CDN for images "
213
+ "referenced in the CSS."
214
+ msgstr ""
215
+ "Saisissez l'URL du répertoire racine de votre site si vous souhaitez "
216
+ "utiliser un CDN pour les images référencés dans le CSS."
217
 
218
+ #: classes/autoptimizeConfig.php:156
219
  msgid "Cache Info"
220
  msgstr "Informations du cache"
221
 
222
+ #: classes/autoptimizeConfig.php:159
223
  msgid "Cache folder"
224
  msgstr "Répertoire du cache"
225
 
226
+ #: classes/autoptimizeConfig.php:163
227
  msgid "Can we write?"
228
  msgstr "Droits d'écriture ?"
229
 
230
+ #: classes/autoptimizeConfig.php:164
231
  msgid "Yes"
232
  msgstr "Oui"
233
 
234
+ #: classes/autoptimizeConfig.php:164
235
  msgid "No"
236
  msgstr "Non"
237
 
238
+ #: classes/autoptimizeConfig.php:167
239
  msgid "Cached styles and scripts"
240
  msgstr "Styles et scripts en cache"
241
 
242
+ #: classes/autoptimizeConfig.php:171
243
  msgid "Save aggregated script/css as static files?"
244
  msgstr "Enregistrer les scripts/css en tant que fichiers statiques ?"
245
 
246
+ #: classes/autoptimizeConfig.php:173
247
+ msgid ""
248
+ "By default files saved are static css/js, uncheck this option if your "
249
+ "webserver doesn't properly handle the compression and expiry."
250
+ msgstr ""
251
+ "Par defaut les fichiers JS/ CSS seront servi d'une manière statique. "
252
+ "Désactivez cette option si votre serveur web ne peut pas gérer la "
253
+ "compression et l'expiration des fichiers."
254
 
255
+ #: classes/autoptimizeConfig.php:179
256
  msgid "Save Changes"
257
  msgstr "Enregistrer les modifications"
258
 
259
+ #: classes/autoptimizeConfig.php:180
260
  msgid "Save Changes and Empty Cache"
261
  msgstr "Enregistrer les modifications et vider le cache"
262
 
263
+ #: classes/autoptimizeConfig.php:188
264
  msgid "futtta about"
265
  msgstr "futta à propos de"
266
 
 
267
  #. Plugin Name of the plugin/theme
268
+ #: classes/autoptimizeConfig.php:190
269
  msgid "Autoptimize"
270
  msgstr "Autoptimize"
271
 
272
+ #: classes/autoptimizeConfig.php:191
273
  msgid "WordPress"
274
  msgstr "WordPress"
275
 
276
+ #: classes/autoptimizeConfig.php:192
277
  msgid "Web Technology"
278
  msgstr "La technologie Web"
279
 
280
+ #: classes/autoptimizeConfig.php:197
281
  msgid "Do not donate for this plugin!"
282
  msgstr "Ne faites pas de don pas pour ce plugin!"
283
 
284
+ #: classes/autoptimizeConfig.php:313
285
  msgid "Autoptimize Options"
286
  msgstr "Options Autoptimize "
287
 
288
+ #: classes/autoptimizeConfig.php:358 classes/autoptimizeConfig.php:364
 
289
  msgid "Settings"
290
  msgstr "Paramètres"
291
 
294
  msgstr "http://blog.futtta.be/autoptimize"
295
 
296
  #. Description of the plugin/theme
297
+ msgid ""
298
+ "Optimizes your website, concatenating the CSS and JavaScript code, and "
299
+ "compressing it."
300
+ msgstr ""
301
+ "Optimise votre site web en rassemblant les CSS et JavaScript et en les "
302
+ "compressant."
303
 
304
  #. Author of the plugin/theme
305
  msgid "Frank Goossens (futtta)"
309
  msgid "http://blog.futtta.be/"
310
  msgstr "http://blog.futtta.be/"
311
 
312
+ #~ msgid "Defer CSS loading?"
313
+ #~ msgstr "Reporter le chargement des CSS"
314
+
315
  #~ msgid ""
316
  #~ "Normally CSS is loaded in the &lt;head&gt;-section of the HTML, but for "
317
  #~ "mobile performance reasons having it deferred can be better."
localization/autoptimize-nl_BE.mo CHANGED
Binary file
localization/autoptimize-nl_BE.po CHANGED
@@ -4,222 +4,281 @@ msgid ""
4
  msgstr ""
5
  "Project-Id-Version: Autoptimize 1.8.0\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/autoptimize\n"
7
- "POT-Creation-Date: 2014-01-17 18:16:35+00:00\n"
8
- "PO-Revision-Date: 2014-01-22 08:18+0100\n"
9
- "Last-Translator: frank goossens <futtta@gmail.com>\n"
10
  "Language-Team: <futtta@gmail.com>\n"
 
11
  "MIME-Version: 1.0\n"
12
  "Content-Type: text/plain; charset=UTF-8\n"
13
  "Content-Transfer-Encoding: 8bit\n"
14
- "X-Poedit-Language: Dutch\n"
15
- "X-Poedit-Country: BELGIUM\n"
16
 
17
- #: autoptimize.php:117
18
- msgid "Thank you for installing and activating Autoptimize. Please configure it under \"Settings\" -> \"Autoptimize\" to start improving your site's performance."
19
- msgstr "Tof dat je Autoptimize geïnstalleerd hebt! Je kunt de plugin nu configureren onder \"Instellingen\" -> \"Autoptimize\"."
 
 
 
 
 
20
 
21
- #: autoptimize.php:123
22
- msgid "Autoptimize has just been updated. Please <strong>test your site now</strong> and adapt Autoptimize config if needed."
23
- msgstr "Autoptimize is juist geüpdate, <strong>test je site nu</strong> en wijzig de Autoptimize instellingen indien nodig."
 
 
 
 
24
 
25
- #: classes/autoptimizeConfig.php:56
26
  msgid "Autoptimize Settings"
27
  msgstr "Autoptimize Instellingen"
28
 
29
- #: classes/autoptimizeConfig.php:62
30
- #: classes/autoptimizeConfig.php:68
31
  msgid "Show advanced settings"
32
  msgstr "Toon geadvanceerde instellingen"
33
 
34
- #: classes/autoptimizeConfig.php:63
35
- #: classes/autoptimizeConfig.php:69
36
  msgid "Hide advanced settings"
37
  msgstr "Verberg geadvanceerde instellingen"
38
 
39
- #: classes/autoptimizeConfig.php:77
40
  msgid "HTML Options"
41
  msgstr "HTML Opties"
42
 
43
- #: classes/autoptimizeConfig.php:80
44
  msgid "Optimize HTML Code?"
45
  msgstr "Optimaliseer HTML Code?"
46
 
47
- #: classes/autoptimizeConfig.php:84
48
  msgid "Keep HTML comments?"
49
  msgstr "HTML commentaar bewaren?"
50
 
51
- #: classes/autoptimizeConfig.php:86
52
- msgid "Enable this if you want HTML comments to remain in the page, needed for e.g. AdSense to function properly."
53
- msgstr "Activeer deze optie om commentaar-blokken in de HTML te behouden, nodig voor onder andere bepaalde AdSense configuraties."
 
 
 
 
54
 
55
- #: classes/autoptimizeConfig.php:90
56
  msgid "JavaScript Options"
57
  msgstr "JavaScript Opties"
58
 
59
- #: classes/autoptimizeConfig.php:93
60
  msgid "Optimize JavaScript Code?"
61
  msgstr "Optimaliseer JavaScript Code?"
62
 
63
- #: classes/autoptimizeConfig.php:97
64
  msgid "Force JavaScript in &lt;head&gt;?"
65
  msgstr "Duw JavaScript in &lt;head&gt;?"
66
 
67
- #: classes/autoptimizeConfig.php:99
68
- msgid "For performance reasons it is better to include JavaScript at the bottom of HTML, but this sometimes breaks things. Especially useful for jQuery-based themes."
69
- msgstr "Voor rauwe performantie is het beter om JavaScript pas op het einde van de HTML binnen te halen, maar dit zorgt soms voor problemen, vooral bij jQuery-gebaseerde sites."
 
 
 
 
 
 
70
 
71
- #: classes/autoptimizeConfig.php:102
72
  msgid "Look for scripts only in &lt;head&gt;?"
73
  msgstr "Haal javascript enkel uit &lt;head&gt;?"
74
 
75
- #: classes/autoptimizeConfig.php:104
76
- msgid "Mostly usefull in combination with previous option when using jQuery-based templates, but might help keeping cache size under control."
77
- msgstr "Vooral nuttig in combinatie met de vorige optie voor jQuery-gebaseerde sites, maar kan ook helpen om de cache-size onder controle te houden."
 
 
 
 
78
 
79
- #: classes/autoptimizeConfig.php:107
80
  msgid "Exclude scripts from Autoptimize:"
81
  msgstr "Sluit deze scripts uit van optimalisering:"
82
 
83
- #: classes/autoptimizeConfig.php:109
84
- msgid "A comma-seperated list of scripts you want to exclude from being optimized, for example 'whatever.js, another.js' (without the quotes) to exclude those scripts from being aggregated and minimized by Autoptimize."
85
- msgstr "Lijst van scripts die je wilt uitsluiten van optimalisatie, gescheiden door komma's. Voorbeeld; 'whatever.js, another.js' (zonder de quotes)."
 
 
 
 
 
86
 
87
- #: classes/autoptimizeConfig.php:112
88
  msgid "Add try-catch wrapping?"
89
  msgstr "Voeg try-catch toe rond javascript?"
90
 
91
- #: classes/autoptimizeConfig.php:114
92
- msgid "If your scripts break because of an script error, you might want to try this."
 
93
  msgstr "Als je errors krijgt bij javascript-aggregatie, kun je dit proberen."
94
 
95
- #: classes/autoptimizeConfig.php:118
96
  msgid "CSS Options"
97
  msgstr "CSS Opties"
98
 
99
- #: classes/autoptimizeConfig.php:121
100
  msgid "Optimize CSS Code?"
101
  msgstr "Optimaliseer CSS Code?"
102
 
103
- #: classes/autoptimizeConfig.php:125
104
  msgid "Generate data: URIs for images?"
105
  msgstr "Vervang image-links in CSS door data: URIs?"
106
 
107
- #: classes/autoptimizeConfig.php:127
108
- msgid "Enable this to include small background-images in the CSS itself instead of as seperate downloads."
109
- msgstr "Acitveer deze optie om kleine background-images in de CSS te bewaren in plaats van aparte files."
 
 
 
 
110
 
111
- #: classes/autoptimizeConfig.php:130
112
  msgid "Look for styles only in &lt;head&gt;?"
113
  msgstr "Haal CSS enkel uit &lt;head&gt;?"
114
 
115
- #: classes/autoptimizeConfig.php:132
116
- msgid "Don't autoptimize CSS outside the head-section. If the cache gets big, you might want to enable this."
117
- msgstr "De CSS buiten de &lt;head&gt; niet mee optimaliseren. Kan helpen om de cache-omvang te beperken."
 
 
 
 
 
 
 
 
118
 
119
- #: classes/autoptimizeConfig.php:135
120
- msgid "Defer CSS loading?"
121
- msgstr "Stel inladen CSS uit tot na binnenhalen pagina?"
 
 
 
 
 
 
 
122
 
123
- #: classes/autoptimizeConfig.php:137
124
- msgid "Load optimized CSS only after page load (disables CSS inlining). <strong>Warning</strong>: <a href=\"http://wordpress.org/plugins/autoptimize/faq/\" target=\"_blank\">check the FAQ</a> before activating this option!"
125
- msgstr "Laad geoptimaliseerde CSS pas op na de volledige pagina (kan niet gecombineerd worden met \"CSS rechtstreeks in HTML\" laden)."
126
 
127
- #: classes/autoptimizeConfig.php:140
128
  msgid "Inline all CSS?"
129
  msgstr "Alle CSS rechtstreeks in HTML laden?"
130
 
131
- #: classes/autoptimizeConfig.php:142
132
- msgid "Inlining all CSS can improve performance for sites with a low pageviews/ visitor-rate, but may slow down performance otherwise. CSS inlining disables CSS deferring."
133
- msgstr "CSS rechtstreeks in de HTML laden kan de gemiddelde performantie voor sites met een lage pageview/ bezoeker-ratio verbeteren, maar zal in andere gevallen de performantie verslechteren. Dit kan niet gecombineerd worden met \"CSS laden uitstellen\"."
 
 
 
 
 
134
 
135
- #: classes/autoptimizeConfig.php:145
136
  msgid "Exclude CSS from Autoptimize:"
137
  msgstr "Sluit deze CSS uit van optimalisering:"
138
 
139
- #: classes/autoptimizeConfig.php:147
140
  msgid "A comma-seperated list of CSS you want to exclude from being optimized."
141
- msgstr "Lijst van CSS die je wilt uitsluiten van optimalisatie, gescheiden door komma's. Voorbeeld; 'whatever.css, style.css' (zonder de quotes)."
 
 
142
 
143
- #: classes/autoptimizeConfig.php:151
144
  msgid "CDN Options"
145
  msgstr "CDN Opties"
146
 
147
- #: classes/autoptimizeConfig.php:154
148
  msgid "CDN Base URL"
149
  msgstr "Basis CDN URL"
150
 
151
- #: classes/autoptimizeConfig.php:156
152
- msgid "Enter your CDN blog root directory URL if you want to enable CDN for images referenced in the CSS."
153
- msgstr "Vul hier je CDN blog root directory URL in om afbeeldingen in je CSS via je CDN te laden."
 
 
 
 
154
 
155
- #: classes/autoptimizeConfig.php:160
156
  msgid "Cache Info"
157
  msgstr "Cache Info"
158
 
159
- #: classes/autoptimizeConfig.php:163
160
  msgid "Cache folder"
161
  msgstr "Cache folder"
162
 
163
- #: classes/autoptimizeConfig.php:167
164
  msgid "Can we write?"
165
  msgstr "Kunnen we schrijven naar die folder?"
166
 
167
- #: classes/autoptimizeConfig.php:168
168
  msgid "Yes"
169
  msgstr "Ja"
170
 
171
- #: classes/autoptimizeConfig.php:168
172
  msgid "No"
173
  msgstr "Nee"
174
 
175
- #: classes/autoptimizeConfig.php:171
176
  msgid "Cached styles and scripts"
177
  msgstr "CSS en scripts in cache"
178
 
179
- #: classes/autoptimizeConfig.php:175
180
  msgid "Save aggregated script/css as static files?"
181
  msgstr "Bewaar geoptimaliseerde CSS en JS als statische bestanden?"
182
 
183
- #: classes/autoptimizeConfig.php:177
184
- msgid "By default files saved are static css/js, uncheck this option if your webserver doesn't properly handle the compression and expiry."
185
- msgstr "Standaard worden bestanden als statische css/js bewaard, deactiveer deze optie als je webserver compressie en cache-baarheid niet zelf kan afhandelen."
 
 
 
 
186
 
187
- #: classes/autoptimizeConfig.php:183
188
  msgid "Save Changes"
189
  msgstr "Bewaar wijzigingen"
190
 
191
- #: classes/autoptimizeConfig.php:184
192
  msgid "Save Changes and Empty Cache"
193
  msgstr "Bewaar en maak cache leeg."
194
 
195
- #: classes/autoptimizeConfig.php:192
196
  msgid "futtta about"
197
  msgstr "futtta over"
198
 
199
- #. #-#-#-#-# plugin.pot (Autoptimize 1.8.0) #-#-#-#-#
200
  #. Plugin Name of the plugin/theme
201
- #: classes/autoptimizeConfig.php:194
202
  msgid "Autoptimize"
203
  msgstr "Autoptimize"
204
 
205
- #: classes/autoptimizeConfig.php:195
206
  msgid "WordPress"
207
  msgstr "WordPress"
208
 
209
- #: classes/autoptimizeConfig.php:196
210
  msgid "Web Technology"
211
  msgstr "Web Technologie"
212
 
213
- #: classes/autoptimizeConfig.php:201
214
  msgid "Do not donate for this plugin!"
215
  msgstr "Geef geen geld voor deze plugin!"
216
 
217
- #: classes/autoptimizeConfig.php:262
218
  msgid "Autoptimize Options"
219
  msgstr "Autoptimize Opties"
220
 
221
- #: classes/autoptimizeConfig.php:309
222
- #: classes/autoptimizeConfig.php:316
223
  msgid "Settings"
224
  msgstr "Instellingen"
225
 
@@ -228,8 +287,12 @@ msgid "http://blog.futtta.be/autoptimize"
228
  msgstr "http://blog.futtta.be/autoptimize"
229
 
230
  #. Description of the plugin/theme
231
- msgid "Optimizes your website, concatenating the CSS and JavaScript code, and compressing it."
232
- msgstr "Optimaliseert je website door CSS en JavaScript te combineren en samen te drukken."
 
 
 
 
233
 
234
  #. Author of the plugin/theme
235
  msgid "Frank Goossens (futtta)"
@@ -239,6 +302,9 @@ msgstr "Frank Goossens (futtta)"
239
  msgid "http://blog.futtta.be/"
240
  msgstr "http://blog.futtta.be/"
241
 
 
 
 
242
  #~ msgid ""
243
  #~ "Normally CSS is loaded in the &lt;head&gt;-section of the HTML, but for "
244
  #~ "mobile performance reasons having it deferred can be better."
4
  msgstr ""
5
  "Project-Id-Version: Autoptimize 1.8.0\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/autoptimize\n"
7
+ "POT-Creation-Date: 2014-08-22 05:35:46+00:00\n"
8
+ "PO-Revision-Date: 2014-08-29 07:08+0100\n"
9
+ "Last-Translator: frank goossens (futtta) <futtta@gmail.com>\n"
10
  "Language-Team: <futtta@gmail.com>\n"
11
+ "Language: nl_BE\n"
12
  "MIME-Version: 1.0\n"
13
  "Content-Type: text/plain; charset=UTF-8\n"
14
  "Content-Transfer-Encoding: 8bit\n"
15
+ "X-Generator: Poedit 1.6.8\n"
 
16
 
17
+ #: autoptimize.php:124
18
+ msgid ""
19
+ "Thank you for installing and activating Autoptimize. Please configure it "
20
+ "under \"Settings\" -> \"Autoptimize\" to start improving your site's "
21
+ "performance."
22
+ msgstr ""
23
+ "Tof dat je Autoptimize geïnstalleerd hebt! Je kunt de plugin nu configureren "
24
+ "onder \"Instellingen\" -> \"Autoptimize\"."
25
 
26
+ #: autoptimize.php:130
27
+ msgid ""
28
+ "Autoptimize has just been updated. Please <strong>test your site now</"
29
+ "strong> and adapt Autoptimize config if needed."
30
+ msgstr ""
31
+ "Autoptimize is juist geüpdate, <strong>test je site nu</strong> en wijzig de "
32
+ "Autoptimize instellingen indien nodig."
33
 
34
+ #: classes/autoptimizeConfig.php:48
35
  msgid "Autoptimize Settings"
36
  msgstr "Autoptimize Instellingen"
37
 
38
+ #: classes/autoptimizeConfig.php:54 classes/autoptimizeConfig.php:60
 
39
  msgid "Show advanced settings"
40
  msgstr "Toon geadvanceerde instellingen"
41
 
42
+ #: classes/autoptimizeConfig.php:55 classes/autoptimizeConfig.php:61
 
43
  msgid "Hide advanced settings"
44
  msgstr "Verberg geadvanceerde instellingen"
45
 
46
+ #: classes/autoptimizeConfig.php:69
47
  msgid "HTML Options"
48
  msgstr "HTML Opties"
49
 
50
+ #: classes/autoptimizeConfig.php:72
51
  msgid "Optimize HTML Code?"
52
  msgstr "Optimaliseer HTML Code?"
53
 
54
+ #: classes/autoptimizeConfig.php:76
55
  msgid "Keep HTML comments?"
56
  msgstr "HTML commentaar bewaren?"
57
 
58
+ #: classes/autoptimizeConfig.php:78
59
+ msgid ""
60
+ "Enable this if you want HTML comments to remain in the page, needed for e.g. "
61
+ "AdSense to function properly."
62
+ msgstr ""
63
+ "Activeer deze optie om commentaar-blokken in de HTML te behouden, nodig voor "
64
+ "onder andere bepaalde AdSense configuraties."
65
 
66
+ #: classes/autoptimizeConfig.php:82
67
  msgid "JavaScript Options"
68
  msgstr "JavaScript Opties"
69
 
70
+ #: classes/autoptimizeConfig.php:85
71
  msgid "Optimize JavaScript Code?"
72
  msgstr "Optimaliseer JavaScript Code?"
73
 
74
+ #: classes/autoptimizeConfig.php:89
75
  msgid "Force JavaScript in &lt;head&gt;?"
76
  msgstr "Duw JavaScript in &lt;head&gt;?"
77
 
78
+ #: classes/autoptimizeConfig.php:91
79
+ msgid ""
80
+ "For performance reasons it is better to include JavaScript at the bottom of "
81
+ "HTML, but this sometimes breaks things. Especially useful for jQuery-based "
82
+ "themes."
83
+ msgstr ""
84
+ "Voor rauwe performantie is het beter om JavaScript pas op het einde van de "
85
+ "HTML binnen te halen, maar dit zorgt soms voor problemen, vooral bij jQuery-"
86
+ "gebaseerde sites."
87
 
88
+ #: classes/autoptimizeConfig.php:94
89
  msgid "Look for scripts only in &lt;head&gt;?"
90
  msgstr "Haal javascript enkel uit &lt;head&gt;?"
91
 
92
+ #: classes/autoptimizeConfig.php:96
93
+ msgid ""
94
+ "Mostly usefull in combination with previous option when using jQuery-based "
95
+ "templates, but might help keeping cache size under control."
96
+ msgstr ""
97
+ "Vooral nuttig in combinatie met de vorige optie voor jQuery-gebaseerde "
98
+ "sites, maar kan ook helpen om de cache-size onder controle te houden."
99
 
100
+ #: classes/autoptimizeConfig.php:99
101
  msgid "Exclude scripts from Autoptimize:"
102
  msgstr "Sluit deze scripts uit van optimalisering:"
103
 
104
+ #: classes/autoptimizeConfig.php:101
105
+ msgid ""
106
+ "A comma-seperated list of scripts you want to exclude from being optimized, "
107
+ "for example 'whatever.js, another.js' (without the quotes) to exclude those "
108
+ "scripts from being aggregated and minimized by Autoptimize."
109
+ msgstr ""
110
+ "Lijst van scripts die je wilt uitsluiten van optimalisatie, gescheiden door "
111
+ "komma's. Voorbeeld; 'whatever.js, another.js' (zonder de quotes)."
112
 
113
+ #: classes/autoptimizeConfig.php:104
114
  msgid "Add try-catch wrapping?"
115
  msgstr "Voeg try-catch toe rond javascript?"
116
 
117
+ #: classes/autoptimizeConfig.php:106
118
+ msgid ""
119
+ "If your scripts break because of an script error, you might want to try this."
120
  msgstr "Als je errors krijgt bij javascript-aggregatie, kun je dit proberen."
121
 
122
+ #: classes/autoptimizeConfig.php:110
123
  msgid "CSS Options"
124
  msgstr "CSS Opties"
125
 
126
+ #: classes/autoptimizeConfig.php:113
127
  msgid "Optimize CSS Code?"
128
  msgstr "Optimaliseer CSS Code?"
129
 
130
+ #: classes/autoptimizeConfig.php:117
131
  msgid "Generate data: URIs for images?"
132
  msgstr "Vervang image-links in CSS door data: URIs?"
133
 
134
+ #: classes/autoptimizeConfig.php:119
135
+ msgid ""
136
+ "Enable this to include small background-images in the CSS itself instead of "
137
+ "as seperate downloads."
138
+ msgstr ""
139
+ "Acitveer deze optie om kleine background-images in de CSS te bewaren in "
140
+ "plaats van aparte files."
141
 
142
+ #: classes/autoptimizeConfig.php:122
143
  msgid "Look for styles only in &lt;head&gt;?"
144
  msgstr "Haal CSS enkel uit &lt;head&gt;?"
145
 
146
+ #: classes/autoptimizeConfig.php:124
147
+ msgid ""
148
+ "Don't autoptimize CSS outside the head-section. If the cache gets big, you "
149
+ "might want to enable this."
150
+ msgstr ""
151
+ "De CSS buiten de &lt;head&gt; niet mee optimaliseren. Kan helpen om de cache-"
152
+ "omvang te beperken."
153
+
154
+ #: classes/autoptimizeConfig.php:127
155
+ msgid "Inline and Defer CSS?"
156
+ msgstr "Basis CSS in HTML laden, de rest uitstellen"
157
 
158
+ #: classes/autoptimizeConfig.php:129
159
+ msgid ""
160
+ "Inline \"above the fold CSS\" while loading the main autoptimized CSS only "
161
+ "after page load. <a href=\"http://wordpress.org/plugins/autoptimize/faq/\" "
162
+ "target=\"_blank\">Check the FAQ</a> before activating this option!"
163
+ msgstr ""
164
+ "De \"above the fold CSS\" in de HTML laden, de rest van de geoptimaliseerde "
165
+ "CSS pas na de volledige pagina. <a href=\"http://wordpress.org/plugins/"
166
+ "autoptimize/faq/\" target=\"_blank\">Bekijk de FAQ</a> voor je deze optie "
167
+ "activeert!"
168
 
169
+ #: classes/autoptimizeConfig.php:133
170
+ msgid "Paste the above the fold CSS here."
171
+ msgstr "Kopiëer de above the fold CSS hier."
172
 
173
+ #: classes/autoptimizeConfig.php:136
174
  msgid "Inline all CSS?"
175
  msgstr "Alle CSS rechtstreeks in HTML laden?"
176
 
177
+ #: classes/autoptimizeConfig.php:138
178
+ msgid ""
179
+ "Inlining all CSS can improve performance for sites with a low pageviews/ "
180
+ "visitor-rate, but may slow down performance otherwise."
181
+ msgstr ""
182
+ "CSS rechtstreeks in de HTML laden kan de gemiddelde performantie voor sites "
183
+ "met een lage pageview/ bezoeker-ratio verbeteren, maar zal in andere "
184
+ "gevallen de performantie verslechteren."
185
 
186
+ #: classes/autoptimizeConfig.php:141
187
  msgid "Exclude CSS from Autoptimize:"
188
  msgstr "Sluit deze CSS uit van optimalisering:"
189
 
190
+ #: classes/autoptimizeConfig.php:143
191
  msgid "A comma-seperated list of CSS you want to exclude from being optimized."
192
+ msgstr ""
193
+ "Lijst van CSS die je wilt uitsluiten van optimalisatie, gescheiden door "
194
+ "komma's. Voorbeeld; 'whatever.css, style.css' (zonder de quotes)."
195
 
196
+ #: classes/autoptimizeConfig.php:147
197
  msgid "CDN Options"
198
  msgstr "CDN Opties"
199
 
200
+ #: classes/autoptimizeConfig.php:150
201
  msgid "CDN Base URL"
202
  msgstr "Basis CDN URL"
203
 
204
+ #: classes/autoptimizeConfig.php:152
205
+ msgid ""
206
+ "Enter your CDN blog root directory URL if you want to enable CDN for images "
207
+ "referenced in the CSS."
208
+ msgstr ""
209
+ "Vul hier je CDN blog root directory URL in om afbeeldingen in je CSS via je "
210
+ "CDN te laden."
211
 
212
+ #: classes/autoptimizeConfig.php:156
213
  msgid "Cache Info"
214
  msgstr "Cache Info"
215
 
216
+ #: classes/autoptimizeConfig.php:159
217
  msgid "Cache folder"
218
  msgstr "Cache folder"
219
 
220
+ #: classes/autoptimizeConfig.php:163
221
  msgid "Can we write?"
222
  msgstr "Kunnen we schrijven naar die folder?"
223
 
224
+ #: classes/autoptimizeConfig.php:164
225
  msgid "Yes"
226
  msgstr "Ja"
227
 
228
+ #: classes/autoptimizeConfig.php:164
229
  msgid "No"
230
  msgstr "Nee"
231
 
232
+ #: classes/autoptimizeConfig.php:167
233
  msgid "Cached styles and scripts"
234
  msgstr "CSS en scripts in cache"
235
 
236
+ #: classes/autoptimizeConfig.php:171
237
  msgid "Save aggregated script/css as static files?"
238
  msgstr "Bewaar geoptimaliseerde CSS en JS als statische bestanden?"
239
 
240
+ #: classes/autoptimizeConfig.php:173
241
+ msgid ""
242
+ "By default files saved are static css/js, uncheck this option if your "
243
+ "webserver doesn't properly handle the compression and expiry."
244
+ msgstr ""
245
+ "Standaard worden bestanden als statische css/js bewaard, deactiveer deze "
246
+ "optie als je webserver compressie en cache-baarheid niet zelf kan afhandelen."
247
 
248
+ #: classes/autoptimizeConfig.php:179
249
  msgid "Save Changes"
250
  msgstr "Bewaar wijzigingen"
251
 
252
+ #: classes/autoptimizeConfig.php:180
253
  msgid "Save Changes and Empty Cache"
254
  msgstr "Bewaar en maak cache leeg."
255
 
256
+ #: classes/autoptimizeConfig.php:188
257
  msgid "futtta about"
258
  msgstr "futtta over"
259
 
 
260
  #. Plugin Name of the plugin/theme
261
+ #: classes/autoptimizeConfig.php:190
262
  msgid "Autoptimize"
263
  msgstr "Autoptimize"
264
 
265
+ #: classes/autoptimizeConfig.php:191
266
  msgid "WordPress"
267
  msgstr "WordPress"
268
 
269
+ #: classes/autoptimizeConfig.php:192
270
  msgid "Web Technology"
271
  msgstr "Web Technologie"
272
 
273
+ #: classes/autoptimizeConfig.php:197
274
  msgid "Do not donate for this plugin!"
275
  msgstr "Geef geen geld voor deze plugin!"
276
 
277
+ #: classes/autoptimizeConfig.php:313
278
  msgid "Autoptimize Options"
279
  msgstr "Autoptimize Opties"
280
 
281
+ #: classes/autoptimizeConfig.php:358 classes/autoptimizeConfig.php:364
 
282
  msgid "Settings"
283
  msgstr "Instellingen"
284
 
287
  msgstr "http://blog.futtta.be/autoptimize"
288
 
289
  #. Description of the plugin/theme
290
+ msgid ""
291
+ "Optimizes your website, concatenating the CSS and JavaScript code, and "
292
+ "compressing it."
293
+ msgstr ""
294
+ "Optimaliseert je website door CSS en JavaScript te combineren en samen te "
295
+ "drukken."
296
 
297
  #. Author of the plugin/theme
298
  msgid "Frank Goossens (futtta)"
302
  msgid "http://blog.futtta.be/"
303
  msgstr "http://blog.futtta.be/"
304
 
305
+ #~ msgid "Defer CSS loading?"
306
+ #~ msgstr "Stel inladen CSS uit tot na binnenhalen pagina?"
307
+
308
  #~ msgid ""
309
  #~ "Normally CSS is loaded in the &lt;head&gt;-section of the HTML, but for "
310
  #~ "mobile performance reasons having it deferred can be better."
localization/autoptimize-nl_NL.mo CHANGED
Binary file
localization/autoptimize-nl_NL.po CHANGED
@@ -4,222 +4,281 @@ msgid ""
4
  msgstr ""
5
  "Project-Id-Version: Autoptimize 1.8.0\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/autoptimize\n"
7
- "POT-Creation-Date: 2014-01-17 18:16:35+00:00\n"
8
- "PO-Revision-Date: 2014-01-22 08:18+0100\n"
9
- "Last-Translator: frank goossens <futtta@gmail.com>\n"
10
  "Language-Team: <futtta@gmail.com>\n"
 
11
  "MIME-Version: 1.0\n"
12
  "Content-Type: text/plain; charset=UTF-8\n"
13
  "Content-Transfer-Encoding: 8bit\n"
14
- "X-Poedit-Language: Dutch\n"
15
- "X-Poedit-Country: NETHERLANDS\n"
16
 
17
- #: autoptimize.php:117
18
- msgid "Thank you for installing and activating Autoptimize. Please configure it under \"Settings\" -> \"Autoptimize\" to start improving your site's performance."
19
- msgstr "Tof dat je Autoptimize geïnstalleerd hebt! Je kunt de plugin nu configureren onder \"Instellingen\" -> \"Autoptimize\"."
 
 
 
 
 
20
 
21
- #: autoptimize.php:123
22
- msgid "Autoptimize has just been updated. Please <strong>test your site now</strong> and adapt Autoptimize config if needed."
23
- msgstr "Autoptimize is juist geüpdate, <strong>test je site nu</strong> en wijzig de Autoptimize instellingen indien nodig."
 
 
 
 
24
 
25
- #: classes/autoptimizeConfig.php:56
26
  msgid "Autoptimize Settings"
27
  msgstr "Autoptimize Instellingen"
28
 
29
- #: classes/autoptimizeConfig.php:62
30
- #: classes/autoptimizeConfig.php:68
31
  msgid "Show advanced settings"
32
  msgstr "Toon geadvanceerde instellingen"
33
 
34
- #: classes/autoptimizeConfig.php:63
35
- #: classes/autoptimizeConfig.php:69
36
  msgid "Hide advanced settings"
37
  msgstr "Verberg geadvanceerde instellingen"
38
 
39
- #: classes/autoptimizeConfig.php:77
40
  msgid "HTML Options"
41
  msgstr "HTML Opties"
42
 
43
- #: classes/autoptimizeConfig.php:80
44
  msgid "Optimize HTML Code?"
45
  msgstr "Optimaliseer HTML Code?"
46
 
47
- #: classes/autoptimizeConfig.php:84
48
  msgid "Keep HTML comments?"
49
  msgstr "HTML commentaar bewaren?"
50
 
51
- #: classes/autoptimizeConfig.php:86
52
- msgid "Enable this if you want HTML comments to remain in the page, needed for e.g. AdSense to function properly."
53
- msgstr "Activeer deze optie om commentaar-blokken in de HTML te behouden, nodig voor onder andere bepaalde AdSense configuraties."
 
 
 
 
54
 
55
- #: classes/autoptimizeConfig.php:90
56
  msgid "JavaScript Options"
57
  msgstr "JavaScript Opties"
58
 
59
- #: classes/autoptimizeConfig.php:93
60
  msgid "Optimize JavaScript Code?"
61
  msgstr "Optimaliseer JavaScript Code?"
62
 
63
- #: classes/autoptimizeConfig.php:97
64
  msgid "Force JavaScript in &lt;head&gt;?"
65
  msgstr "Duw JavaScript in &lt;head&gt;?"
66
 
67
- #: classes/autoptimizeConfig.php:99
68
- msgid "For performance reasons it is better to include JavaScript at the bottom of HTML, but this sometimes breaks things. Especially useful for jQuery-based themes."
69
- msgstr "Voor rauwe performantie is het beter om JavaScript pas op het einde van de HTML binnen te halen, maar dit zorgt soms voor problemen, vooral bij jQuery-gebaseerde sites."
 
 
 
 
 
 
70
 
71
- #: classes/autoptimizeConfig.php:102
72
  msgid "Look for scripts only in &lt;head&gt;?"
73
  msgstr "Haal javascript enkel uit &lt;head&gt;?"
74
 
75
- #: classes/autoptimizeConfig.php:104
76
- msgid "Mostly usefull in combination with previous option when using jQuery-based templates, but might help keeping cache size under control."
77
- msgstr "Vooral nuttig in combinatie met de vorige optie voor jQuery-gebaseerde sites, maar kan ook helpen om de cache-size onder controle te houden."
 
 
 
 
78
 
79
- #: classes/autoptimizeConfig.php:107
80
  msgid "Exclude scripts from Autoptimize:"
81
  msgstr "Sluit deze scripts uit van optimalisering:"
82
 
83
- #: classes/autoptimizeConfig.php:109
84
- msgid "A comma-seperated list of scripts you want to exclude from being optimized, for example 'whatever.js, another.js' (without the quotes) to exclude those scripts from being aggregated and minimized by Autoptimize."
85
- msgstr "Lijst van scripts die je wilt uitsluiten van optimalisatie, gescheiden door komma's. Voorbeeld; 'whatever.js, another.js' (zonder de quotes)."
 
 
 
 
 
86
 
87
- #: classes/autoptimizeConfig.php:112
88
  msgid "Add try-catch wrapping?"
89
  msgstr "Voeg try-catch toe rond javascript?"
90
 
91
- #: classes/autoptimizeConfig.php:114
92
- msgid "If your scripts break because of an script error, you might want to try this."
 
93
  msgstr "Als je errors krijgt bij javascript-aggregatie, kun je dit proberen."
94
 
95
- #: classes/autoptimizeConfig.php:118
96
  msgid "CSS Options"
97
  msgstr "CSS Opties"
98
 
99
- #: classes/autoptimizeConfig.php:121
100
  msgid "Optimize CSS Code?"
101
  msgstr "Optimaliseer CSS Code?"
102
 
103
- #: classes/autoptimizeConfig.php:125
104
  msgid "Generate data: URIs for images?"
105
  msgstr "Vervang image-links in CSS door data: URIs?"
106
 
107
- #: classes/autoptimizeConfig.php:127
108
- msgid "Enable this to include small background-images in the CSS itself instead of as seperate downloads."
109
- msgstr "Acitveer deze optie om kleine background-images in de CSS te bewaren in plaats van aparte files."
 
 
 
 
110
 
111
- #: classes/autoptimizeConfig.php:130
112
  msgid "Look for styles only in &lt;head&gt;?"
113
  msgstr "Haal CSS enkel uit &lt;head&gt;?"
114
 
115
- #: classes/autoptimizeConfig.php:132
116
- msgid "Don't autoptimize CSS outside the head-section. If the cache gets big, you might want to enable this."
117
- msgstr "De CSS buiten de &lt;head&gt; niet mee optimaliseren. Kan helpen om de cache-omvang te beperken."
 
 
 
 
 
 
 
 
118
 
119
- #: classes/autoptimizeConfig.php:135
120
- msgid "Defer CSS loading?"
121
- msgstr "Stel inladen CSS uit tot na binnenhalen pagina?"
 
 
 
 
 
 
 
122
 
123
- #: classes/autoptimizeConfig.php:137
124
- msgid "Load optimized CSS only after page load (disables CSS inlining). <strong>Warning</strong>: <a href=\"http://wordpress.org/plugins/autoptimize/faq/\" target=\"_blank\">check the FAQ</a> before activating this option!"
125
- msgstr "Laad geoptimaliseerde CSS pas op na de volledige pagina (kan niet gecombineerd worden met \"CSS rechtstreeks in HTML\" laden)."
126
 
127
- #: classes/autoptimizeConfig.php:140
128
  msgid "Inline all CSS?"
129
  msgstr "Alle CSS rechtstreeks in HTML laden?"
130
 
131
- #: classes/autoptimizeConfig.php:142
132
- msgid "Inlining all CSS can improve performance for sites with a low pageviews/ visitor-rate, but may slow down performance otherwise. CSS inlining disables CSS deferring."
133
- msgstr "CSS rechtstreeks in de HTML laden kan de gemiddelde performantie voor sites met een lage pageview/ bezoeker-ratio verbeteren, maar zal in andere gevallen de performantie verslechteren. Dit kan niet gecombineerd worden met \"CSS laden uitstellen\"."
 
 
 
 
 
134
 
135
- #: classes/autoptimizeConfig.php:145
136
  msgid "Exclude CSS from Autoptimize:"
137
  msgstr "Sluit deze CSS uit van optimalisering:"
138
 
139
- #: classes/autoptimizeConfig.php:147
140
  msgid "A comma-seperated list of CSS you want to exclude from being optimized."
141
- msgstr "Lijst van CSS die je wilt uitsluiten van optimalisatie, gescheiden door komma's. Voorbeeld; 'whatever.css, style.css' (zonder de quotes)."
 
 
142
 
143
- #: classes/autoptimizeConfig.php:151
144
  msgid "CDN Options"
145
  msgstr "CDN Opties"
146
 
147
- #: classes/autoptimizeConfig.php:154
148
  msgid "CDN Base URL"
149
  msgstr "Basis CDN URL"
150
 
151
- #: classes/autoptimizeConfig.php:156
152
- msgid "Enter your CDN blog root directory URL if you want to enable CDN for images referenced in the CSS."
153
- msgstr "Vul hier je CDN blog root directory URL in om afbeeldingen in je CSS via je CDN te laden."
 
 
 
 
154
 
155
- #: classes/autoptimizeConfig.php:160
156
  msgid "Cache Info"
157
  msgstr "Cache Info"
158
 
159
- #: classes/autoptimizeConfig.php:163
160
  msgid "Cache folder"
161
  msgstr "Cache folder"
162
 
163
- #: classes/autoptimizeConfig.php:167
164
  msgid "Can we write?"
165
  msgstr "Kunnen we schrijven naar die folder?"
166
 
167
- #: classes/autoptimizeConfig.php:168
168
  msgid "Yes"
169
  msgstr "Ja"
170
 
171
- #: classes/autoptimizeConfig.php:168
172
  msgid "No"
173
  msgstr "Nee"
174
 
175
- #: classes/autoptimizeConfig.php:171
176
  msgid "Cached styles and scripts"
177
  msgstr "CSS en scripts in cache"
178
 
179
- #: classes/autoptimizeConfig.php:175
180
  msgid "Save aggregated script/css as static files?"
181
  msgstr "Bewaar geoptimaliseerde CSS en JS als statische bestanden?"
182
 
183
- #: classes/autoptimizeConfig.php:177
184
- msgid "By default files saved are static css/js, uncheck this option if your webserver doesn't properly handle the compression and expiry."
185
- msgstr "Standaard worden bestanden als statische css/js bewaard, deactiveer deze optie als je webserver compressie en cache-baarheid niet zelf kan afhandelen."
 
 
 
 
186
 
187
- #: classes/autoptimizeConfig.php:183
188
  msgid "Save Changes"
189
  msgstr "Bewaar wijzigingen"
190
 
191
- #: classes/autoptimizeConfig.php:184
192
  msgid "Save Changes and Empty Cache"
193
  msgstr "Bewaar en maak cache leeg."
194
 
195
- #: classes/autoptimizeConfig.php:192
196
  msgid "futtta about"
197
  msgstr "futtta over"
198
 
199
- #. #-#-#-#-# plugin.pot (Autoptimize 1.8.0) #-#-#-#-#
200
  #. Plugin Name of the plugin/theme
201
- #: classes/autoptimizeConfig.php:194
202
  msgid "Autoptimize"
203
  msgstr "Autoptimize"
204
 
205
- #: classes/autoptimizeConfig.php:195
206
  msgid "WordPress"
207
  msgstr "WordPress"
208
 
209
- #: classes/autoptimizeConfig.php:196
210
  msgid "Web Technology"
211
  msgstr "Web Technologie"
212
 
213
- #: classes/autoptimizeConfig.php:201
214
  msgid "Do not donate for this plugin!"
215
  msgstr "Geef geen geld voor deze plugin!"
216
 
217
- #: classes/autoptimizeConfig.php:262
218
  msgid "Autoptimize Options"
219
  msgstr "Autoptimize Opties"
220
 
221
- #: classes/autoptimizeConfig.php:309
222
- #: classes/autoptimizeConfig.php:316
223
  msgid "Settings"
224
  msgstr "Instellingen"
225
 
@@ -228,8 +287,12 @@ msgid "http://blog.futtta.be/autoptimize"
228
  msgstr "http://blog.futtta.be/autoptimize"
229
 
230
  #. Description of the plugin/theme
231
- msgid "Optimizes your website, concatenating the CSS and JavaScript code, and compressing it."
232
- msgstr "Optimaliseert je website door CSS en JavaScript te combineren en samen te drukken."
 
 
 
 
233
 
234
  #. Author of the plugin/theme
235
  msgid "Frank Goossens (futtta)"
@@ -239,6 +302,9 @@ msgstr "Frank Goossens (futtta)"
239
  msgid "http://blog.futtta.be/"
240
  msgstr "http://blog.futtta.be/"
241
 
 
 
 
242
  #~ msgid ""
243
  #~ "Normally CSS is loaded in the &lt;head&gt;-section of the HTML, but for "
244
  #~ "mobile performance reasons having it deferred can be better."
4
  msgstr ""
5
  "Project-Id-Version: Autoptimize 1.8.0\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/autoptimize\n"
7
+ "POT-Creation-Date: 2014-08-22 05:35:46+00:00\n"
8
+ "PO-Revision-Date: 2014-08-29 07:12+0100\n"
9
+ "Last-Translator: frank goossens (futtta) <futtta@gmail.com>\n"
10
  "Language-Team: <futtta@gmail.com>\n"
11
+ "Language: nl_NL\n"
12
  "MIME-Version: 1.0\n"
13
  "Content-Type: text/plain; charset=UTF-8\n"
14
  "Content-Transfer-Encoding: 8bit\n"
15
+ "X-Generator: Poedit 1.6.8\n"
 
16
 
17
+ #: autoptimize.php:124
18
+ msgid ""
19
+ "Thank you for installing and activating Autoptimize. Please configure it "
20
+ "under \"Settings\" -> \"Autoptimize\" to start improving your site's "
21
+ "performance."
22
+ msgstr ""
23
+ "Tof dat je Autoptimize geïnstalleerd hebt! Je kunt de plugin nu configureren "
24
+ "onder \"Instellingen\" -> \"Autoptimize\"."
25
 
26
+ #: autoptimize.php:130
27
+ msgid ""
28
+ "Autoptimize has just been updated. Please <strong>test your site now</"
29
+ "strong> and adapt Autoptimize config if needed."
30
+ msgstr ""
31
+ "Autoptimize is juist geüpdate, <strong>test je site nu</strong> en wijzig de "
32
+ "Autoptimize instellingen indien nodig."
33
 
34
+ #: classes/autoptimizeConfig.php:48
35
  msgid "Autoptimize Settings"
36
  msgstr "Autoptimize Instellingen"
37
 
38
+ #: classes/autoptimizeConfig.php:54 classes/autoptimizeConfig.php:60
 
39
  msgid "Show advanced settings"
40
  msgstr "Toon geadvanceerde instellingen"
41
 
42
+ #: classes/autoptimizeConfig.php:55 classes/autoptimizeConfig.php:61
 
43
  msgid "Hide advanced settings"
44
  msgstr "Verberg geadvanceerde instellingen"
45
 
46
+ #: classes/autoptimizeConfig.php:69
47
  msgid "HTML Options"
48
  msgstr "HTML Opties"
49
 
50
+ #: classes/autoptimizeConfig.php:72
51
  msgid "Optimize HTML Code?"
52
  msgstr "Optimaliseer HTML Code?"
53
 
54
+ #: classes/autoptimizeConfig.php:76
55
  msgid "Keep HTML comments?"
56
  msgstr "HTML commentaar bewaren?"
57
 
58
+ #: classes/autoptimizeConfig.php:78
59
+ msgid ""
60
+ "Enable this if you want HTML comments to remain in the page, needed for e.g. "
61
+ "AdSense to function properly."
62
+ msgstr ""
63
+ "Activeer deze optie om commentaar-blokken in de HTML te behouden, nodig voor "
64
+ "onder andere bepaalde AdSense configuraties."
65
 
66
+ #: classes/autoptimizeConfig.php:82
67
  msgid "JavaScript Options"
68
  msgstr "JavaScript Opties"
69
 
70
+ #: classes/autoptimizeConfig.php:85
71
  msgid "Optimize JavaScript Code?"
72
  msgstr "Optimaliseer JavaScript Code?"
73
 
74
+ #: classes/autoptimizeConfig.php:89
75
  msgid "Force JavaScript in &lt;head&gt;?"
76
  msgstr "Duw JavaScript in &lt;head&gt;?"
77
 
78
+ #: classes/autoptimizeConfig.php:91
79
+ msgid ""
80
+ "For performance reasons it is better to include JavaScript at the bottom of "
81
+ "HTML, but this sometimes breaks things. Especially useful for jQuery-based "
82
+ "themes."
83
+ msgstr ""
84
+ "Voor rauwe performantie is het beter om JavaScript pas op het einde van de "
85
+ "HTML binnen te halen, maar dit zorgt soms voor problemen, vooral bij jQuery-"
86
+ "gebaseerde sites."
87
 
88
+ #: classes/autoptimizeConfig.php:94
89
  msgid "Look for scripts only in &lt;head&gt;?"
90
  msgstr "Haal javascript enkel uit &lt;head&gt;?"
91
 
92
+ #: classes/autoptimizeConfig.php:96
93
+ msgid ""
94
+ "Mostly usefull in combination with previous option when using jQuery-based "
95
+ "templates, but might help keeping cache size under control."
96
+ msgstr ""
97
+ "Vooral nuttig in combinatie met de vorige optie voor jQuery-gebaseerde "
98
+ "sites, maar kan ook helpen om de cache-size onder controle te houden."
99
 
100
+ #: classes/autoptimizeConfig.php:99
101
  msgid "Exclude scripts from Autoptimize:"
102
  msgstr "Sluit deze scripts uit van optimalisering:"
103
 
104
+ #: classes/autoptimizeConfig.php:101
105
+ msgid ""
106
+ "A comma-seperated list of scripts you want to exclude from being optimized, "
107
+ "for example 'whatever.js, another.js' (without the quotes) to exclude those "
108
+ "scripts from being aggregated and minimized by Autoptimize."
109
+ msgstr ""
110
+ "Lijst van scripts die je wilt uitsluiten van optimalisatie, gescheiden door "
111
+ "komma's. Voorbeeld; 'whatever.js, another.js' (zonder de quotes)."
112
 
113
+ #: classes/autoptimizeConfig.php:104
114
  msgid "Add try-catch wrapping?"
115
  msgstr "Voeg try-catch toe rond javascript?"
116
 
117
+ #: classes/autoptimizeConfig.php:106
118
+ msgid ""
119
+ "If your scripts break because of an script error, you might want to try this."
120
  msgstr "Als je errors krijgt bij javascript-aggregatie, kun je dit proberen."
121
 
122
+ #: classes/autoptimizeConfig.php:110
123
  msgid "CSS Options"
124
  msgstr "CSS Opties"
125
 
126
+ #: classes/autoptimizeConfig.php:113
127
  msgid "Optimize CSS Code?"
128
  msgstr "Optimaliseer CSS Code?"
129
 
130
+ #: classes/autoptimizeConfig.php:117
131
  msgid "Generate data: URIs for images?"
132
  msgstr "Vervang image-links in CSS door data: URIs?"
133
 
134
+ #: classes/autoptimizeConfig.php:119
135
+ msgid ""
136
+ "Enable this to include small background-images in the CSS itself instead of "
137
+ "as seperate downloads."
138
+ msgstr ""
139
+ "Acitveer deze optie om kleine background-images in de CSS te bewaren in "
140
+ "plaats van aparte files."
141
 
142
+ #: classes/autoptimizeConfig.php:122
143
  msgid "Look for styles only in &lt;head&gt;?"
144
  msgstr "Haal CSS enkel uit &lt;head&gt;?"
145
 
146
+ #: classes/autoptimizeConfig.php:124
147
+ msgid ""
148
+ "Don't autoptimize CSS outside the head-section. If the cache gets big, you "
149
+ "might want to enable this."
150
+ msgstr ""
151
+ "De CSS buiten de &lt;head&gt; niet mee optimaliseren. Kan helpen om de cache-"
152
+ "omvang te beperken."
153
+
154
+ #: classes/autoptimizeConfig.php:127
155
+ msgid "Inline and Defer CSS?"
156
+ msgstr "Basis CSS in HTML laden, de rest uitstellen?"
157
 
158
+ #: classes/autoptimizeConfig.php:129
159
+ msgid ""
160
+ "Inline \"above the fold CSS\" while loading the main autoptimized CSS only "
161
+ "after page load. <a href=\"http://wordpress.org/plugins/autoptimize/faq/\" "
162
+ "target=\"_blank\">Check the FAQ</a> before activating this option!"
163
+ msgstr ""
164
+ "De \"above the fold CSS\" in de HTML laden, de rest van de geoptimaliseerde "
165
+ "CSS pas na de volledige pagina. <a href=\"http://wordpress.org/plugins/"
166
+ "autoptimize/faq/\" target=\"_blank\">Bekijk de FAQ</a> voor je deze optie "
167
+ "activeert!"
168
 
169
+ #: classes/autoptimizeConfig.php:133
170
+ msgid "Paste the above the fold CSS here."
171
+ msgstr "Kopiëer de above the fold CSS hier."
172
 
173
+ #: classes/autoptimizeConfig.php:136
174
  msgid "Inline all CSS?"
175
  msgstr "Alle CSS rechtstreeks in HTML laden?"
176
 
177
+ #: classes/autoptimizeConfig.php:138
178
+ msgid ""
179
+ "Inlining all CSS can improve performance for sites with a low pageviews/ "
180
+ "visitor-rate, but may slow down performance otherwise."
181
+ msgstr ""
182
+ "Alle CSS rechtstreeks in de HTML laden kan de gemiddelde performantie voor "
183
+ "sites met een lage pageview/ bezoeker-ratio verbeteren, maar zal in andere "
184
+ "gevallen de performantie verslechteren."
185
 
186
+ #: classes/autoptimizeConfig.php:141
187
  msgid "Exclude CSS from Autoptimize:"
188
  msgstr "Sluit deze CSS uit van optimalisering:"
189
 
190
+ #: classes/autoptimizeConfig.php:143
191
  msgid "A comma-seperated list of CSS you want to exclude from being optimized."
192
+ msgstr ""
193
+ "Lijst van CSS die je wilt uitsluiten van optimalisatie, gescheiden door "
194
+ "komma's. Voorbeeld; 'whatever.css, style.css' (zonder de quotes)."
195
 
196
+ #: classes/autoptimizeConfig.php:147
197
  msgid "CDN Options"
198
  msgstr "CDN Opties"
199
 
200
+ #: classes/autoptimizeConfig.php:150
201
  msgid "CDN Base URL"
202
  msgstr "Basis CDN URL"
203
 
204
+ #: classes/autoptimizeConfig.php:152
205
+ msgid ""
206
+ "Enter your CDN blog root directory URL if you want to enable CDN for images "
207
+ "referenced in the CSS."
208
+ msgstr ""
209
+ "Vul hier je CDN blog root directory URL in om afbeeldingen in je CSS via je "
210
+ "CDN te laden."
211
 
212
+ #: classes/autoptimizeConfig.php:156
213
  msgid "Cache Info"
214
  msgstr "Cache Info"
215
 
216
+ #: classes/autoptimizeConfig.php:159
217
  msgid "Cache folder"
218
  msgstr "Cache folder"
219
 
220
+ #: classes/autoptimizeConfig.php:163
221
  msgid "Can we write?"
222
  msgstr "Kunnen we schrijven naar die folder?"
223
 
224
+ #: classes/autoptimizeConfig.php:164
225
  msgid "Yes"
226
  msgstr "Ja"
227
 
228
+ #: classes/autoptimizeConfig.php:164
229
  msgid "No"
230
  msgstr "Nee"
231
 
232
+ #: classes/autoptimizeConfig.php:167
233
  msgid "Cached styles and scripts"
234
  msgstr "CSS en scripts in cache"
235
 
236
+ #: classes/autoptimizeConfig.php:171
237
  msgid "Save aggregated script/css as static files?"
238
  msgstr "Bewaar geoptimaliseerde CSS en JS als statische bestanden?"
239
 
240
+ #: classes/autoptimizeConfig.php:173
241
+ msgid ""
242
+ "By default files saved are static css/js, uncheck this option if your "
243
+ "webserver doesn't properly handle the compression and expiry."
244
+ msgstr ""
245
+ "Standaard worden bestanden als statische css/js bewaard, deactiveer deze "
246
+ "optie als je webserver compressie en cache-baarheid niet zelf kan afhandelen."
247
 
248
+ #: classes/autoptimizeConfig.php:179
249
  msgid "Save Changes"
250
  msgstr "Bewaar wijzigingen"
251
 
252
+ #: classes/autoptimizeConfig.php:180
253
  msgid "Save Changes and Empty Cache"
254
  msgstr "Bewaar en maak cache leeg."
255
 
256
+ #: classes/autoptimizeConfig.php:188
257
  msgid "futtta about"
258
  msgstr "futtta over"
259
 
 
260
  #. Plugin Name of the plugin/theme
261
+ #: classes/autoptimizeConfig.php:190
262
  msgid "Autoptimize"
263
  msgstr "Autoptimize"
264
 
265
+ #: classes/autoptimizeConfig.php:191
266
  msgid "WordPress"
267
  msgstr "WordPress"
268
 
269
+ #: classes/autoptimizeConfig.php:192
270
  msgid "Web Technology"
271
  msgstr "Web Technologie"
272
 
273
+ #: classes/autoptimizeConfig.php:197
274
  msgid "Do not donate for this plugin!"
275
  msgstr "Geef geen geld voor deze plugin!"
276
 
277
+ #: classes/autoptimizeConfig.php:313
278
  msgid "Autoptimize Options"
279
  msgstr "Autoptimize Opties"
280
 
281
+ #: classes/autoptimizeConfig.php:358 classes/autoptimizeConfig.php:364
 
282
  msgid "Settings"
283
  msgstr "Instellingen"
284
 
287
  msgstr "http://blog.futtta.be/autoptimize"
288
 
289
  #. Description of the plugin/theme
290
+ msgid ""
291
+ "Optimizes your website, concatenating the CSS and JavaScript code, and "
292
+ "compressing it."
293
+ msgstr ""
294
+ "Optimaliseert je website door CSS en JavaScript te combineren en samen te "
295
+ "drukken."
296
 
297
  #. Author of the plugin/theme
298
  msgid "Frank Goossens (futtta)"
302
  msgid "http://blog.futtta.be/"
303
  msgstr "http://blog.futtta.be/"
304
 
305
+ #~ msgid "Defer CSS loading?"
306
+ #~ msgstr "Stel inladen CSS uit tot na binnenhalen pagina?"
307
+
308
  #~ msgid ""
309
  #~ "Normally CSS is loaded in the &lt;head&gt;-section of the HTML, but for "
310
  #~ "mobile performance reasons having it deferred can be better."
localization/autoptimize-pl_PL.mo CHANGED
Binary file
localization/autoptimize-pl_PL.po CHANGED
@@ -2,21 +2,21 @@
2
  # This file is distributed under the same license as the Autoptimize package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Autoptimize 1.7.0\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/autoptimize\n"
7
- "POT-Creation-Date: 2014-01-17 18:16:35+00:00\n"
8
- "PO-Revision-Date: 2014-01-19 10:00+0100\n"
9
- "Last-Translator: Jakub Sierpiński <jakub.sierpinski@lostar.eu>\n"
10
- "Language-Team: LANGUAGE <LL@li.org>\n"
11
  "Language: pl_PL\n"
12
  "MIME-Version: 1.0\n"
13
  "Content-Type: text/plain; charset=UTF-8\n"
14
  "Content-Transfer-Encoding: 8bit\n"
15
- "X-Generator: Poedit 1.6.3\n"
16
  "Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
17
  "|| n%100>=20) ? 1 : 2);\n"
18
 
19
- #: autoptimize.php:117
20
  msgid ""
21
  "Thank you for installing and activating Autoptimize. Please configure it "
22
  "under \"Settings\" -> \"Autoptimize\" to start improving your site's "
@@ -26,7 +26,7 @@ msgstr ""
26
  "plugin w menu \"Ustawienia\" -> \"Autoptimize\" aby rozpocząć zwiększanie "
27
  "wydajności Twojej witryny."
28
 
29
- #: autoptimize.php:123
30
  msgid ""
31
  "Autoptimize has just been updated. Please <strong>test your site now</"
32
  "strong> and adapt Autoptimize config if needed."
@@ -35,31 +35,31 @@ msgstr ""
35
  "Twojej witryny</strong> i zmienienie ustawień Autoptimize jeżeli to "
36
  "konieczne. "
37
 
38
- #: classes/autoptimizeConfig.php:56
39
  msgid "Autoptimize Settings"
40
  msgstr "Ustawienia Autoptimize"
41
 
42
- #: classes/autoptimizeConfig.php:62 classes/autoptimizeConfig.php:68
43
  msgid "Show advanced settings"
44
  msgstr "Pokaż ustawienia zaawansowane"
45
 
46
- #: classes/autoptimizeConfig.php:63 classes/autoptimizeConfig.php:69
47
  msgid "Hide advanced settings"
48
  msgstr "Ukryj ustawienia zaawansowane"
49
 
50
- #: classes/autoptimizeConfig.php:77
51
  msgid "HTML Options"
52
  msgstr "Opcje HTML"
53
 
54
- #: classes/autoptimizeConfig.php:80
55
  msgid "Optimize HTML Code?"
56
  msgstr "Optymalizuj kod HTML?"
57
 
58
- #: classes/autoptimizeConfig.php:84
59
  msgid "Keep HTML comments?"
60
  msgstr "Zachowaj komentarze HTML?"
61
 
62
- #: classes/autoptimizeConfig.php:86
63
  msgid ""
64
  "Enable this if you want HTML comments to remain in the page, needed for e.g. "
65
  "AdSense to function properly."
@@ -67,19 +67,19 @@ msgstr ""
67
  "Wybierz tą opcję jeżeli chcesz zachować komentarze HTML na stronie. Jest to "
68
  "potrzebne n.p. do prawidłowego działania AdSense."
69
 
70
- #: classes/autoptimizeConfig.php:90
71
  msgid "JavaScript Options"
72
  msgstr "Opcje Javascript"
73
 
74
- #: classes/autoptimizeConfig.php:93
75
  msgid "Optimize JavaScript Code?"
76
  msgstr "Optymalizuj kod JavaScript?"
77
 
78
- #: classes/autoptimizeConfig.php:97
79
  msgid "Force JavaScript in &lt;head&gt;?"
80
  msgstr "Wymuś JavaScript w &lt;head&gt;?"
81
 
82
- #: classes/autoptimizeConfig.php:99
83
  msgid ""
84
  "For performance reasons it is better to include JavaScript at the bottom of "
85
  "HTML, but this sometimes breaks things. Especially useful for jQuery-based "
@@ -89,11 +89,11 @@ msgstr ""
89
  "czasami to nie działa prawidłowo. Przydatne zwłaszcza w przypadku szablonów "
90
  "opartych na jQuery."
91
 
92
- #: classes/autoptimizeConfig.php:102
93
  msgid "Look for scripts only in &lt;head&gt;?"
94
  msgstr "Wyszukuj skryptów tylko w &lt;head&gt;?"
95
 
96
- #: classes/autoptimizeConfig.php:104
97
  msgid ""
98
  "Mostly usefull in combination with previous option when using jQuery-based "
99
  "templates, but might help keeping cache size under control."
@@ -102,11 +102,11 @@ msgstr ""
102
  "używasz szablonów opartch na jQuery, ale może również pomóc utrzymać rozmiar "
103
  "pamięci podręcznej w ryzach."
104
 
105
- #: classes/autoptimizeConfig.php:107
106
  msgid "Exclude scripts from Autoptimize:"
107
  msgstr "Skrypty wyłączone z Autoptimize:"
108
 
109
- #: classes/autoptimizeConfig.php:109
110
  msgid ""
111
  "A comma-seperated list of scripts you want to exclude from being optimized, "
112
  "for example 'whatever.js, another.js' (without the quotes) to exclude those "
@@ -116,30 +116,30 @@ msgstr ""
116
  "Na przykład \"whatever.js, another.js\" (bez cudzysłowów) wyłączy te skrypty "
117
  "z łączenia i zmniejszania przez Autoptimize."
118
 
119
- #: classes/autoptimizeConfig.php:112
120
  msgid "Add try-catch wrapping?"
121
  msgstr "Opakować skrypt w try-catch?"
122
 
123
- #: classes/autoptimizeConfig.php:114
124
  msgid ""
125
  "If your scripts break because of an script error, you might want to try this."
126
  msgstr ""
127
  "Jeżeli Twój skrypt przestanie działać z powodu błedu skryptu możesz chcieć "
128
  "to właczyć."
129
 
130
- #: classes/autoptimizeConfig.php:118
131
  msgid "CSS Options"
132
  msgstr "Opcje CSS"
133
 
134
- #: classes/autoptimizeConfig.php:121
135
  msgid "Optimize CSS Code?"
136
  msgstr "Optymalizuj kod CSS?"
137
 
138
- #: classes/autoptimizeConfig.php:125
139
  msgid "Generate data: URIs for images?"
140
  msgstr "Twórz URI data: dla obrazów?"
141
 
142
- #: classes/autoptimizeConfig.php:127
143
  msgid ""
144
  "Enable this to include small background-images in the CSS itself instead of "
145
  "as seperate downloads."
@@ -147,11 +147,11 @@ msgstr ""
147
  "Włącz to, aby zawrzeć małe obrazki tła w samym pliku CSS zamiast jako osobne "
148
  "pliki."
149
 
150
- #: classes/autoptimizeConfig.php:130
151
  msgid "Look for styles only in &lt;head&gt;?"
152
  msgstr "Wyszukuj styli tylko w &lt;head&gt;?"
153
 
154
- #: classes/autoptimizeConfig.php:132
155
  msgid ""
156
  "Don't autoptimize CSS outside the head-section. If the cache gets big, you "
157
  "might want to enable this."
@@ -159,53 +159,55 @@ msgstr ""
159
  "Nie autoptimizuj CSS poza sekcją head. Jeżeli pamięć podręczna zrobi się za "
160
  "duża, możesz chcieć to włączyć."
161
 
162
- #: classes/autoptimizeConfig.php:135
163
- msgid "Defer CSS loading?"
164
- msgstr "Opóźnij ładowanie CSS?"
165
 
166
- #: classes/autoptimizeConfig.php:137
167
  msgid ""
168
- "Load optimized CSS only after page load (disables CSS inlining). "
169
- "<strong>Warning</strong>: <a href=\"http://wordpress.org/plugins/autoptimize/"
170
- "faq/\" target=\"_blank\">check the FAQ</a> before activating this option!"
171
  msgstr ""
172
- "Wczytaj zoptymizowany CSS tylko po załadowaniu strony (wyłącza włączanie CSS "
173
- "do strony). <strong>Uwaga</strong>: <a href=\"http://wordpress.org/plugins/"
174
- "autoptimize/faq/\" target=\"_blank\">Sprawdź FAQ</a> przed aktywacją tej "
175
- "opcji!"
 
 
 
176
 
177
- #: classes/autoptimizeConfig.php:140
178
  msgid "Inline all CSS?"
179
  msgstr "Włącz cały CSS w treść strony?"
180
 
181
- #: classes/autoptimizeConfig.php:142
182
  msgid ""
183
  "Inlining all CSS can improve performance for sites with a low pageviews/ "
184
- "visitor-rate, but may slow down performance otherwise. CSS inlining disables "
185
- "CSS deferring."
186
  msgstr ""
187
- "Włączenie całego CSS do strony może zwiększyć wydajność dla stron z małym "
188
- "stosunkiem odwiedzanych stron przez gości, ale może zmniejszyć wydajność w "
189
- "przeciwnym wypadku. Włączenie CSS do strony wyłącza opóźnianie ładowania CSS."
190
 
191
- #: classes/autoptimizeConfig.php:145
192
  msgid "Exclude CSS from Autoptimize:"
193
  msgstr "Wyłącz CSS z Autoptimize:"
194
 
195
- #: classes/autoptimizeConfig.php:147
196
  msgid "A comma-seperated list of CSS you want to exclude from being optimized."
197
  msgstr ""
198
  "Rozdzielana przecinkami lista plików CSS, którechcesz wyłączyć z optymizacji."
199
 
200
- #: classes/autoptimizeConfig.php:151
201
  msgid "CDN Options"
202
  msgstr "Opcje CDN"
203
 
204
- #: classes/autoptimizeConfig.php:154
205
  msgid "CDN Base URL"
206
  msgstr "Bazowy URL CDN"
207
 
208
- #: classes/autoptimizeConfig.php:156
209
  msgid ""
210
  "Enter your CDN blog root directory URL if you want to enable CDN for images "
211
  "referenced in the CSS."
@@ -213,35 +215,35 @@ msgstr ""
213
  "Wprowadź CDN-owy URL katalogu głównego Twojego bloga jeżeli chcesz włączyć "
214
  "użycie CDN dla obrazów, do których odwołują się pliki CSS."
215
 
216
- #: classes/autoptimizeConfig.php:160
217
  msgid "Cache Info"
218
  msgstr "Informacje Pamięci Podręcznej"
219
 
220
- #: classes/autoptimizeConfig.php:163
221
  msgid "Cache folder"
222
  msgstr "Folder pamięci podręcznej"
223
 
224
- #: classes/autoptimizeConfig.php:167
225
  msgid "Can we write?"
226
  msgstr "Czy możemy zapisywać?"
227
 
228
- #: classes/autoptimizeConfig.php:168
229
  msgid "Yes"
230
  msgstr "Tak"
231
 
232
- #: classes/autoptimizeConfig.php:168
233
  msgid "No"
234
  msgstr "Nie"
235
 
236
- #: classes/autoptimizeConfig.php:171
237
  msgid "Cached styles and scripts"
238
  msgstr "Zbuforowane style i skrypty"
239
 
240
- #: classes/autoptimizeConfig.php:175
241
  msgid "Save aggregated script/css as static files?"
242
  msgstr "Zapisać połączony scrypt/css jako plik statyczny?"
243
 
244
- #: classes/autoptimizeConfig.php:177
245
  msgid ""
246
  "By default files saved are static css/js, uncheck this option if your "
247
  "webserver doesn't properly handle the compression and expiry."
@@ -249,40 +251,40 @@ msgstr ""
249
  "Domyślnie pliki są zapisywane jako statyczny css/js. Odznacz tą opcję jeżeli "
250
  "Twój serwer nie obsługuje prawidłowo kompresji lub wygaśnięcia."
251
 
252
- #: classes/autoptimizeConfig.php:183
253
  msgid "Save Changes"
254
  msgstr "Zapisz Zmiany"
255
 
256
- #: classes/autoptimizeConfig.php:184
257
  msgid "Save Changes and Empty Cache"
258
  msgstr "Zapisz Zmiany i Opróżnij Pamięć Podręczną"
259
 
260
- #: classes/autoptimizeConfig.php:192
261
  msgid "futtta about"
262
  msgstr "o futtta"
263
 
264
  #. Plugin Name of the plugin/theme
265
- #: classes/autoptimizeConfig.php:194
266
  msgid "Autoptimize"
267
  msgstr "Autoptimize"
268
 
269
- #: classes/autoptimizeConfig.php:195
270
  msgid "WordPress"
271
  msgstr "WordPress"
272
 
273
- #: classes/autoptimizeConfig.php:196
274
  msgid "Web Technology"
275
  msgstr "Technologie WWW"
276
 
277
- #: classes/autoptimizeConfig.php:201
278
  msgid "Do not donate for this plugin!"
279
  msgstr "Nie przesyłaj swoich datków za ten plugin!"
280
 
281
- #: classes/autoptimizeConfig.php:262
282
  msgid "Autoptimize Options"
283
  msgstr "Opcje Autoptimize"
284
 
285
- #: classes/autoptimizeConfig.php:309 classes/autoptimizeConfig.php:316
286
  msgid "Settings"
287
  msgstr "Ustawienia"
288
 
@@ -305,6 +307,9 @@ msgstr "Frank Goossens (futtta)"
305
  msgid "http://blog.futtta.be/"
306
  msgstr "http://blog.futtta.be/"
307
 
 
 
 
308
  #~ msgid ""
309
  #~ "Normally CSS is loaded in the &lt;head&gt;-section of the HTML, but for "
310
  #~ "mobile performance reasons having it deferred can be better."
2
  # This file is distributed under the same license as the Autoptimize package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Autoptimize 1.9.0\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/autoptimize\n"
7
+ "POT-Creation-Date: 2014-08-22 05:35:46+00:00\n"
8
+ "PO-Revision-Date: 2014-08-29 10:22+0100\n"
9
+ "Last-Translator: frank goossens (futtta) <futtta@gmail.com>\n"
10
+ "Language-Team: Jakub Sierpiński\n"
11
  "Language: pl_PL\n"
12
  "MIME-Version: 1.0\n"
13
  "Content-Type: text/plain; charset=UTF-8\n"
14
  "Content-Transfer-Encoding: 8bit\n"
15
+ "X-Generator: Poedit 1.6.8\n"
16
  "Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
17
  "|| n%100>=20) ? 1 : 2);\n"
18
 
19
+ #: autoptimize.php:124
20
  msgid ""
21
  "Thank you for installing and activating Autoptimize. Please configure it "
22
  "under \"Settings\" -> \"Autoptimize\" to start improving your site's "
26
  "plugin w menu \"Ustawienia\" -> \"Autoptimize\" aby rozpocząć zwiększanie "
27
  "wydajności Twojej witryny."
28
 
29
+ #: autoptimize.php:130
30
  msgid ""
31
  "Autoptimize has just been updated. Please <strong>test your site now</"
32
  "strong> and adapt Autoptimize config if needed."
35
  "Twojej witryny</strong> i zmienienie ustawień Autoptimize jeżeli to "
36
  "konieczne. "
37
 
38
+ #: classes/autoptimizeConfig.php:48
39
  msgid "Autoptimize Settings"
40
  msgstr "Ustawienia Autoptimize"
41
 
42
+ #: classes/autoptimizeConfig.php:54 classes/autoptimizeConfig.php:60
43
  msgid "Show advanced settings"
44
  msgstr "Pokaż ustawienia zaawansowane"
45
 
46
+ #: classes/autoptimizeConfig.php:55 classes/autoptimizeConfig.php:61
47
  msgid "Hide advanced settings"
48
  msgstr "Ukryj ustawienia zaawansowane"
49
 
50
+ #: classes/autoptimizeConfig.php:69
51
  msgid "HTML Options"
52
  msgstr "Opcje HTML"
53
 
54
+ #: classes/autoptimizeConfig.php:72
55
  msgid "Optimize HTML Code?"
56
  msgstr "Optymalizuj kod HTML?"
57
 
58
+ #: classes/autoptimizeConfig.php:76
59
  msgid "Keep HTML comments?"
60
  msgstr "Zachowaj komentarze HTML?"
61
 
62
+ #: classes/autoptimizeConfig.php:78
63
  msgid ""
64
  "Enable this if you want HTML comments to remain in the page, needed for e.g. "
65
  "AdSense to function properly."
67
  "Wybierz tą opcję jeżeli chcesz zachować komentarze HTML na stronie. Jest to "
68
  "potrzebne n.p. do prawidłowego działania AdSense."
69
 
70
+ #: classes/autoptimizeConfig.php:82
71
  msgid "JavaScript Options"
72
  msgstr "Opcje Javascript"
73
 
74
+ #: classes/autoptimizeConfig.php:85
75
  msgid "Optimize JavaScript Code?"
76
  msgstr "Optymalizuj kod JavaScript?"
77
 
78
+ #: classes/autoptimizeConfig.php:89
79
  msgid "Force JavaScript in &lt;head&gt;?"
80
  msgstr "Wymuś JavaScript w &lt;head&gt;?"
81
 
82
+ #: classes/autoptimizeConfig.php:91
83
  msgid ""
84
  "For performance reasons it is better to include JavaScript at the bottom of "
85
  "HTML, but this sometimes breaks things. Especially useful for jQuery-based "
89
  "czasami to nie działa prawidłowo. Przydatne zwłaszcza w przypadku szablonów "
90
  "opartych na jQuery."
91
 
92
+ #: classes/autoptimizeConfig.php:94
93
  msgid "Look for scripts only in &lt;head&gt;?"
94
  msgstr "Wyszukuj skryptów tylko w &lt;head&gt;?"
95
 
96
+ #: classes/autoptimizeConfig.php:96
97
  msgid ""
98
  "Mostly usefull in combination with previous option when using jQuery-based "
99
  "templates, but might help keeping cache size under control."
102
  "używasz szablonów opartch na jQuery, ale może również pomóc utrzymać rozmiar "
103
  "pamięci podręcznej w ryzach."
104
 
105
+ #: classes/autoptimizeConfig.php:99
106
  msgid "Exclude scripts from Autoptimize:"
107
  msgstr "Skrypty wyłączone z Autoptimize:"
108
 
109
+ #: classes/autoptimizeConfig.php:101
110
  msgid ""
111
  "A comma-seperated list of scripts you want to exclude from being optimized, "
112
  "for example 'whatever.js, another.js' (without the quotes) to exclude those "
116
  "Na przykład \"whatever.js, another.js\" (bez cudzysłowów) wyłączy te skrypty "
117
  "z łączenia i zmniejszania przez Autoptimize."
118
 
119
+ #: classes/autoptimizeConfig.php:104
120
  msgid "Add try-catch wrapping?"
121
  msgstr "Opakować skrypt w try-catch?"
122
 
123
+ #: classes/autoptimizeConfig.php:106
124
  msgid ""
125
  "If your scripts break because of an script error, you might want to try this."
126
  msgstr ""
127
  "Jeżeli Twój skrypt przestanie działać z powodu błedu skryptu możesz chcieć "
128
  "to właczyć."
129
 
130
+ #: classes/autoptimizeConfig.php:110
131
  msgid "CSS Options"
132
  msgstr "Opcje CSS"
133
 
134
+ #: classes/autoptimizeConfig.php:113
135
  msgid "Optimize CSS Code?"
136
  msgstr "Optymalizuj kod CSS?"
137
 
138
+ #: classes/autoptimizeConfig.php:117
139
  msgid "Generate data: URIs for images?"
140
  msgstr "Twórz URI data: dla obrazów?"
141
 
142
+ #: classes/autoptimizeConfig.php:119
143
  msgid ""
144
  "Enable this to include small background-images in the CSS itself instead of "
145
  "as seperate downloads."
147
  "Włącz to, aby zawrzeć małe obrazki tła w samym pliku CSS zamiast jako osobne "
148
  "pliki."
149
 
150
+ #: classes/autoptimizeConfig.php:122
151
  msgid "Look for styles only in &lt;head&gt;?"
152
  msgstr "Wyszukuj styli tylko w &lt;head&gt;?"
153
 
154
+ #: classes/autoptimizeConfig.php:124
155
  msgid ""
156
  "Don't autoptimize CSS outside the head-section. If the cache gets big, you "
157
  "might want to enable this."
159
  "Nie autoptimizuj CSS poza sekcją head. Jeżeli pamięć podręczna zrobi się za "
160
  "duża, możesz chcieć to włączyć."
161
 
162
+ #: classes/autoptimizeConfig.php:127
163
+ msgid "Inline and Defer CSS?"
164
+ msgstr "Włączyć CSS w treść strony i opóźnić jego ładowanie?"
165
 
166
+ #: classes/autoptimizeConfig.php:129
167
  msgid ""
168
+ "Inline \"above the fold CSS\" while loading the main autoptimized CSS only "
169
+ "after page load. <a href=\"http://wordpress.org/plugins/autoptimize/faq/\" "
170
+ "target=\"_blank\">Check the FAQ</a> before activating this option!"
171
  msgstr ""
172
+ "Włącz \"CSS nad foldem\" w treść strony, a zoptymizowany CSS wczytaj dopiero "
173
+ "po załadowaniu strony. <a href=\"http://wordpress.org/plugins/autoptimize/"
174
+ "faq/\" target=\"_blank\">Sprawdź FAQ</a> przed aktywacją tej opcji!"
175
+
176
+ #: classes/autoptimizeConfig.php:133
177
+ msgid "Paste the above the fold CSS here."
178
+ msgstr "Wklej tutaj kod CSS dla części \"nad foldem\"."
179
 
180
+ #: classes/autoptimizeConfig.php:136
181
  msgid "Inline all CSS?"
182
  msgstr "Włącz cały CSS w treść strony?"
183
 
184
+ #: classes/autoptimizeConfig.php:138
185
  msgid ""
186
  "Inlining all CSS can improve performance for sites with a low pageviews/ "
187
+ "visitor-rate, but may slow down performance otherwise."
 
188
  msgstr ""
189
+ "Włączenie całego CSS do strony może zwiększyć wydajność dla serwisów z "
190
+ "niskim stosunkiem stron na odwiedzającego, ale może zmniejszyć wydajność w "
191
+ "przeciwnym wypadku."
192
 
193
+ #: classes/autoptimizeConfig.php:141
194
  msgid "Exclude CSS from Autoptimize:"
195
  msgstr "Wyłącz CSS z Autoptimize:"
196
 
197
+ #: classes/autoptimizeConfig.php:143
198
  msgid "A comma-seperated list of CSS you want to exclude from being optimized."
199
  msgstr ""
200
  "Rozdzielana przecinkami lista plików CSS, którechcesz wyłączyć z optymizacji."
201
 
202
+ #: classes/autoptimizeConfig.php:147
203
  msgid "CDN Options"
204
  msgstr "Opcje CDN"
205
 
206
+ #: classes/autoptimizeConfig.php:150
207
  msgid "CDN Base URL"
208
  msgstr "Bazowy URL CDN"
209
 
210
+ #: classes/autoptimizeConfig.php:152
211
  msgid ""
212
  "Enter your CDN blog root directory URL if you want to enable CDN for images "
213
  "referenced in the CSS."
215
  "Wprowadź CDN-owy URL katalogu głównego Twojego bloga jeżeli chcesz włączyć "
216
  "użycie CDN dla obrazów, do których odwołują się pliki CSS."
217
 
218
+ #: classes/autoptimizeConfig.php:156
219
  msgid "Cache Info"
220
  msgstr "Informacje Pamięci Podręcznej"
221
 
222
+ #: classes/autoptimizeConfig.php:159
223
  msgid "Cache folder"
224
  msgstr "Folder pamięci podręcznej"
225
 
226
+ #: classes/autoptimizeConfig.php:163
227
  msgid "Can we write?"
228
  msgstr "Czy możemy zapisywać?"
229
 
230
+ #: classes/autoptimizeConfig.php:164
231
  msgid "Yes"
232
  msgstr "Tak"
233
 
234
+ #: classes/autoptimizeConfig.php:164
235
  msgid "No"
236
  msgstr "Nie"
237
 
238
+ #: classes/autoptimizeConfig.php:167
239
  msgid "Cached styles and scripts"
240
  msgstr "Zbuforowane style i skrypty"
241
 
242
+ #: classes/autoptimizeConfig.php:171
243
  msgid "Save aggregated script/css as static files?"
244
  msgstr "Zapisać połączony scrypt/css jako plik statyczny?"
245
 
246
+ #: classes/autoptimizeConfig.php:173
247
  msgid ""
248
  "By default files saved are static css/js, uncheck this option if your "
249
  "webserver doesn't properly handle the compression and expiry."
251
  "Domyślnie pliki są zapisywane jako statyczny css/js. Odznacz tą opcję jeżeli "
252
  "Twój serwer nie obsługuje prawidłowo kompresji lub wygaśnięcia."
253
 
254
+ #: classes/autoptimizeConfig.php:179
255
  msgid "Save Changes"
256
  msgstr "Zapisz Zmiany"
257
 
258
+ #: classes/autoptimizeConfig.php:180
259
  msgid "Save Changes and Empty Cache"
260
  msgstr "Zapisz Zmiany i Opróżnij Pamięć Podręczną"
261
 
262
+ #: classes/autoptimizeConfig.php:188
263
  msgid "futtta about"
264
  msgstr "o futtta"
265
 
266
  #. Plugin Name of the plugin/theme
267
+ #: classes/autoptimizeConfig.php:190
268
  msgid "Autoptimize"
269
  msgstr "Autoptimize"
270
 
271
+ #: classes/autoptimizeConfig.php:191
272
  msgid "WordPress"
273
  msgstr "WordPress"
274
 
275
+ #: classes/autoptimizeConfig.php:192
276
  msgid "Web Technology"
277
  msgstr "Technologie WWW"
278
 
279
+ #: classes/autoptimizeConfig.php:197
280
  msgid "Do not donate for this plugin!"
281
  msgstr "Nie przesyłaj swoich datków za ten plugin!"
282
 
283
+ #: classes/autoptimizeConfig.php:313
284
  msgid "Autoptimize Options"
285
  msgstr "Opcje Autoptimize"
286
 
287
+ #: classes/autoptimizeConfig.php:358 classes/autoptimizeConfig.php:364
288
  msgid "Settings"
289
  msgstr "Ustawienia"
290
 
307
  msgid "http://blog.futtta.be/"
308
  msgstr "http://blog.futtta.be/"
309
 
310
+ #~ msgid "Defer CSS loading?"
311
+ #~ msgstr "Opóźnij ładowanie CSS?"
312
+
313
  #~ msgid ""
314
  #~ "Normally CSS is loaded in the &lt;head&gt;-section of the HTML, but for "
315
  #~ "mobile performance reasons having it deferred can be better."
localization/autoptimize-pt_BR.mo ADDED
Binary file
localization/autoptimize-pt_BR.po ADDED
@@ -0,0 +1,369 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Spanish translation for autoptimize
2
+ # Copyright (c) 2009 Rosetta Contributors and Canonical Ltd 2009
3
+ # This file is distributed under the same license as the autoptimize package.
4
+ # FIRST AUTHOR <EMAIL@ADDRESS>, 2009.
5
+ #
6
+ msgid ""
7
+ msgstr ""
8
+ "Project-Id-Version: Autoptimize\n"
9
+ "Report-Msgid-Bugs-To: http://wordpress.org/tag/autoptimize\n"
10
+ "POT-Creation-Date: 2014-08-22 05:35:46+00:00\n"
11
+ "PO-Revision-Date: 2014-08-22 11:28-0300\n"
12
+ "Last-Translator: Leonardo Antonioli <leo@tobeguarany.com>\n"
13
+ "Language-Team: Leo Antonioli <leo@tobeguarany.com>\n"
14
+ "Language: pt_BR\n"
15
+ "MIME-Version: 1.0\n"
16
+ "Content-Type: text/plain; charset=UTF-8\n"
17
+ "Content-Transfer-Encoding: 8bit\n"
18
+ "X-Launchpad-Export-Date: 2009-10-25 02:04+0000\n"
19
+ "X-Generator: Poedit 1.6.7\n"
20
+ "Plural-Forms: nplurals=2; plural=(n > 1);\n"
21
+
22
+ #: autoptimize.php:124
23
+ msgid ""
24
+ "Thank you for installing and activating Autoptimize. Please configure it "
25
+ "under \"Settings\" -> \"Autoptimize\" to start improving your site's "
26
+ "performance."
27
+ msgstr ""
28
+ "Obrigado por instalar e ativar o Autoptimize! Por favor, configure o plugin "
29
+ "em \"Configurações\" -> \"Autoptimize\" para melhorar a performance do seu "
30
+ "site."
31
+
32
+ #: autoptimize.php:130
33
+ msgid ""
34
+ "Autoptimize has just been updated. Please <strong>test your site now</"
35
+ "strong> and adapt Autoptimize config if needed."
36
+ msgstr ""
37
+ "Autoptimize foi atualizado. Por favor, <strong>teste seu site agora</strong> "
38
+ "e adapte as configurações do Autoptimize se necessário."
39
+
40
+ #: classes/autoptimizeConfig.php:48
41
+ msgid "Autoptimize Settings"
42
+ msgstr "Configuração do Autoptimize "
43
+
44
+ #: classes/autoptimizeConfig.php:54 classes/autoptimizeConfig.php:60
45
+ msgid "Show advanced settings"
46
+ msgstr "Exibir configurações avançadas"
47
+
48
+ #: classes/autoptimizeConfig.php:55 classes/autoptimizeConfig.php:61
49
+ msgid "Hide advanced settings"
50
+ msgstr "Ocultar configurações avançadas"
51
+
52
+ #: classes/autoptimizeConfig.php:69
53
+ msgid "HTML Options"
54
+ msgstr "Opções de HTML"
55
+
56
+ #: classes/autoptimizeConfig.php:72
57
+ msgid "Optimize HTML Code?"
58
+ msgstr "Otimizar código HTML?"
59
+
60
+ #: classes/autoptimizeConfig.php:76
61
+ msgid "Keep HTML comments?"
62
+ msgstr "Manter comentários HTML?"
63
+
64
+ #: classes/autoptimizeConfig.php:78
65
+ msgid ""
66
+ "Enable this if you want HTML comments to remain in the page, needed for e.g. "
67
+ "AdSense to function properly."
68
+ msgstr ""
69
+ "Habilitando essa opção, você faz com que comentários HTML permaneçam na "
70
+ "página. Necessário, por exemplo, para que o AdSense funcione corretamente."
71
+
72
+ #: classes/autoptimizeConfig.php:82
73
+ msgid "JavaScript Options"
74
+ msgstr "Opções de JavaScript"
75
+
76
+ #: classes/autoptimizeConfig.php:85
77
+ msgid "Optimize JavaScript Code?"
78
+ msgstr "Otimizar código JavaScript?"
79
+
80
+ #: classes/autoptimizeConfig.php:89
81
+ msgid "Force JavaScript in &lt;head&gt;?"
82
+ msgstr "Manter JavaScript na seção &lt;head&gt;?"
83
+
84
+ #: classes/autoptimizeConfig.php:91
85
+ msgid ""
86
+ "For performance reasons it is better to include JavaScript at the bottom of "
87
+ "HTML, but this sometimes breaks things. Especially useful for jQuery-based "
88
+ "themes."
89
+ msgstr ""
90
+ "Por questões de performance, é melhor incluir o JavaScript no final do HTML, "
91
+ "mas isso pode estragar alguma coisa. Esta opção é especialmente útil para "
92
+ "temas baseados em jQuery."
93
+
94
+ #: classes/autoptimizeConfig.php:94
95
+ msgid "Look for scripts only in &lt;head&gt;?"
96
+ msgstr "Buscar scripts somente na seção &lt;head&gt;?"
97
+
98
+ #: classes/autoptimizeConfig.php:96
99
+ msgid ""
100
+ "Mostly usefull in combination with previous option when using jQuery-based "
101
+ "templates, but might help keeping cache size under control."
102
+ msgstr ""
103
+ "Normalmente usado em conjunto com a opção anterior quando se usa temas "
104
+ "baseados em jQuery, mas também pode ajudar a manter o tamanho do cache sob "
105
+ "controle."
106
+
107
+ #: classes/autoptimizeConfig.php:99
108
+ msgid "Exclude scripts from Autoptimize:"
109
+ msgstr "Excluir scripts do Autoptimize:"
110
+
111
+ #: classes/autoptimizeConfig.php:101
112
+ msgid ""
113
+ "A comma-seperated list of scripts you want to exclude from being optimized, "
114
+ "for example 'whatever.js, another.js' (without the quotes) to exclude those "
115
+ "scripts from being aggregated and minimized by Autoptimize."
116
+ msgstr ""
117
+ "Lista (separada por vírgulas) de scripts que você quer excluir da "
118
+ "otimização. Por exemplo: 'qualquerCoisa.js', 'outroScript.js' (sem aspas) "
119
+ "para evitar que esses scripts sejam reduzidos pelo Autoptimize."
120
+
121
+ #: classes/autoptimizeConfig.php:104
122
+ msgid "Add try-catch wrapping?"
123
+ msgstr "Adicionar encapsulamento try-catch?"
124
+
125
+ #: classes/autoptimizeConfig.php:106
126
+ msgid ""
127
+ "If your scripts break because of an script error, you might want to try this."
128
+ msgstr "Se seus scripts apresentarem erro, tente usar essa opção."
129
+
130
+ #: classes/autoptimizeConfig.php:110
131
+ msgid "CSS Options"
132
+ msgstr "Opções de CSS"
133
+
134
+ #: classes/autoptimizeConfig.php:113
135
+ msgid "Optimize CSS Code?"
136
+ msgstr "Otimizar código CSS?"
137
+
138
+ #: classes/autoptimizeConfig.php:117
139
+ msgid "Generate data: URIs for images?"
140
+ msgstr "Gerar dados: URIs de imagens?"
141
+
142
+ #: classes/autoptimizeConfig.php:119
143
+ msgid ""
144
+ "Enable this to include small background-images in the CSS itself instead of "
145
+ "as seperate downloads."
146
+ msgstr ""
147
+ "Habilite essa opção para incluir imagens de fundo pequenas no próprio "
148
+ "arquivo CSS, evitando downloads extras."
149
+
150
+ #: classes/autoptimizeConfig.php:122
151
+ msgid "Look for styles only in &lt;head&gt;?"
152
+ msgstr "Buscar estilos somente na seção &lt;head&gt;?"
153
+
154
+ #: classes/autoptimizeConfig.php:124
155
+ msgid ""
156
+ "Don't autoptimize CSS outside the head-section. If the cache gets big, you "
157
+ "might want to enable this."
158
+ msgstr ""
159
+ "Não otimizar CSS fora da seção head. Se o cache ficar muito grande, você "
160
+ "pode habilitar essa opção."
161
+
162
+ #: classes/autoptimizeConfig.php:127
163
+ msgid "Inline and Defer CSS?"
164
+ msgstr "CSS inline e adiado?"
165
+
166
+ #: classes/autoptimizeConfig.php:129
167
+ msgid ""
168
+ "Inline \"above the fold CSS\" while loading the main autoptimized CSS only "
169
+ "after page load. <a href=\"http://wordpress.org/plugins/autoptimize/faq/\" "
170
+ "target=\"_blank\">Check the FAQ</a> before activating this option!"
171
+ msgstr ""
172
+ "Coloca o CSS \"Acima da Borda\" inline, enquanto carrega o CSS principal "
173
+ "autoptimizado só após a página carregar. <a href=\"http://wordpress.org/"
174
+ "plugins/autoptimize/faq/\" target=\"_blank\">Leia o FAQ</a> (<em>deferring "
175
+ "CSS</em>) antes de ativar essa opção!"
176
+
177
+ #: classes/autoptimizeConfig.php:133
178
+ msgid "Paste the above the fold CSS here."
179
+ msgstr "Cole aqui o CSS \"Acima da Borda\""
180
+
181
+ #: classes/autoptimizeConfig.php:136
182
+ msgid "Inline all CSS?"
183
+ msgstr "Colocar todo CSS inline?"
184
+
185
+ #: classes/autoptimizeConfig.php:138
186
+ msgid ""
187
+ "Inlining all CSS can improve performance for sites with a low pageviews/ "
188
+ "visitor-rate, but may slow down performance otherwise."
189
+ msgstr ""
190
+ "Colocar o CSS inline pode melhorar a performance de sites com baixa taxa de "
191
+ "pageviews/visitantes, mas pode diminuir a performance de sites maiores. "
192
+
193
+ #: classes/autoptimizeConfig.php:141
194
+ msgid "Exclude CSS from Autoptimize:"
195
+ msgstr "Excluir CSS do Autoptimize:"
196
+
197
+ #: classes/autoptimizeConfig.php:143
198
+ msgid "A comma-seperated list of CSS you want to exclude from being optimized."
199
+ msgstr "Lista (separada por vírgulas) do CSS que você NÃO deseja otimizar."
200
+
201
+ #: classes/autoptimizeConfig.php:147
202
+ msgid "CDN Options"
203
+ msgstr "Opções de CDN"
204
+
205
+ #: classes/autoptimizeConfig.php:150
206
+ msgid "CDN Base URL"
207
+ msgstr "URL-base do CDN:"
208
+
209
+ #: classes/autoptimizeConfig.php:152
210
+ msgid ""
211
+ "Enter your CDN blog root directory URL if you want to enable CDN for images "
212
+ "referenced in the CSS."
213
+ msgstr ""
214
+ "Digite a URL do diretório-raiz do seu blog CDN se quiser habilitar CDN para "
215
+ "imagens referenciadas no CSS."
216
+
217
+ #: classes/autoptimizeConfig.php:156
218
+ msgid "Cache Info"
219
+ msgstr "Informação de Cache"
220
+
221
+ #: classes/autoptimizeConfig.php:159
222
+ msgid "Cache folder"
223
+ msgstr "Diretório do cache"
224
+
225
+ #: classes/autoptimizeConfig.php:163
226
+ msgid "Can we write?"
227
+ msgstr "Escrita habilitada?"
228
+
229
+ #: classes/autoptimizeConfig.php:164
230
+ msgid "Yes"
231
+ msgstr "Sim"
232
+
233
+ #: classes/autoptimizeConfig.php:164
234
+ msgid "No"
235
+ msgstr "Não"
236
+
237
+ #: classes/autoptimizeConfig.php:167
238
+ msgid "Cached styles and scripts"
239
+ msgstr "Estilos e scripts no cache"
240
+
241
+ #: classes/autoptimizeConfig.php:171
242
+ msgid "Save aggregated script/css as static files?"
243
+ msgstr "Salvar scripts/CSS agregados como arquivos estáticos?"
244
+
245
+ #: classes/autoptimizeConfig.php:173
246
+ msgid ""
247
+ "By default files saved are static css/js, uncheck this option if your "
248
+ "webserver doesn't properly handle the compression and expiry."
249
+ msgstr ""
250
+ "Por padrão, os arquivos são salvos como CSS/js estáticos. Desmarque essa "
251
+ "opção se seu servidor não lida bem com compressão e validade de cache."
252
+
253
+ #: classes/autoptimizeConfig.php:179
254
+ msgid "Save Changes"
255
+ msgstr "Salvar Modificações"
256
+
257
+ #: classes/autoptimizeConfig.php:180
258
+ msgid "Save Changes and Empty Cache"
259
+ msgstr "Salvar Modificações e Esvaziar Cache"
260
+
261
+ #: classes/autoptimizeConfig.php:188
262
+ msgid "futtta about"
263
+ msgstr "futtta about"
264
+
265
+ #. Plugin Name of the plugin/theme
266
+ #: classes/autoptimizeConfig.php:190
267
+ msgid "Autoptimize"
268
+ msgstr "Autoptimize"
269
+
270
+ #: classes/autoptimizeConfig.php:191
271
+ msgid "WordPress"
272
+ msgstr "WordPress"
273
+
274
+ #: classes/autoptimizeConfig.php:192
275
+ msgid "Web Technology"
276
+ msgstr "Tecnologia Web"
277
+
278
+ #: classes/autoptimizeConfig.php:197
279
+ msgid "Do not donate for this plugin!"
280
+ msgstr "Não doe NADA pra esse plugin!"
281
+
282
+ #: classes/autoptimizeConfig.php:313
283
+ msgid "Autoptimize Options"
284
+ msgstr "Opções do Autoptimize"
285
+
286
+ #: classes/autoptimizeConfig.php:358 classes/autoptimizeConfig.php:364
287
+ msgid "Settings"
288
+ msgstr "Configurações"
289
+
290
+ #. Plugin URI of the plugin/theme
291
+ msgid "http://blog.futtta.be/autoptimize"
292
+ msgstr "http://blog.futtta.be/autoptimize"
293
+
294
+ #. Description of the plugin/theme
295
+ msgid ""
296
+ "Optimizes your website, concatenating the CSS and JavaScript code, and "
297
+ "compressing it."
298
+ msgstr ""
299
+ "Otimiza seu site, concatenando o código CSS e JavaScript, além de compactá-"
300
+ "lo."
301
+
302
+ #. Author of the plugin/theme
303
+ msgid "Frank Goossens (futtta)"
304
+ msgstr "Frank Goossens (futtta)"
305
+
306
+ #. Author URI of the plugin/theme
307
+ msgid "http://blog.futtta.be/"
308
+ msgstr "http://blog.futtta.be/"
309
+
310
+ #~ msgid "Defer CSS loading?"
311
+ #~ msgstr "Adiar carregamento do CSS?"
312
+
313
+ #~ msgid "Use YUI compression?"
314
+ #~ msgstr "¿Comprimir con YUI?"
315
+
316
+ #~ msgid ""
317
+ #~ "Disabled by default. Read [autoptimize]/yui/README.txt for more "
318
+ #~ "information."
319
+ #~ msgstr ""
320
+ #~ "Deshabilitado por defecto. Lea [autoptimize]/yui/README.txt para más "
321
+ #~ "información."
322
+
323
+ #~ msgid "Look for styles on just &lt;head&gt;?"
324
+ #~ msgstr "¿Buscar estilos solo en &lt;head&gt;?"
325
+
326
+ #~ msgid ""
327
+ #~ "Disabled by default. Enable this to include images on the CSS itself."
328
+ #~ msgstr ""
329
+ #~ "Deshabilitador por defecto. Habilite esto para incluir imágenes en el "
330
+ #~ "código CSS."
331
+
332
+ #~ msgid "Rewrite JavaScript URLs?"
333
+ #~ msgstr "¿Reescribir URLs de JavaScript?"
334
+
335
+ #~ msgid ""
336
+ #~ "Disabled by default. Do not enable this unless you know what you are "
337
+ #~ "doing."
338
+ #~ msgstr ""
339
+ #~ "Deshabilitado por defecto. No habilite esto a menos que sepa lo que está "
340
+ #~ "haciendo."
341
+
342
+ #~ msgid "JavaScript Base URL"
343
+ #~ msgstr "URL Base para JavaScript"
344
+
345
+ #~ msgid ""
346
+ #~ "This is the new base URL that will be used when rewriting. It should "
347
+ #~ "point to the blog root directory."
348
+ #~ msgstr ""
349
+ #~ "Esta es la nueva URL de base que se utilizará al reescribir. Debe apuntar "
350
+ #~ "al directorio principal del blog."
351
+
352
+ #~ msgid "Rewrite CSS URLs?"
353
+ #~ msgstr "¿Reescribir URLs de CSS?"
354
+
355
+ #~ msgid "Rewrite Image URLs?"
356
+ #~ msgstr "¿Reescribir URLs de Imágenes?"
357
+
358
+ #~ msgid "Image Base URL"
359
+ #~ msgstr "URL Base para Imágenes"
360
+
361
+ #~ msgid "Do not compress cache files"
362
+ #~ msgstr "No comprimir archivos de cache"
363
+
364
+ #~ msgid ""
365
+ #~ "Disabled by default. Enable this if you want to compress the served files "
366
+ #~ "using your webserver."
367
+ #~ msgstr ""
368
+ #~ "Deshabilitado por defecto. Habilite esto si quiere comprimir los archivos "
369
+ #~ "servidos usando su servidor web."
localization/autoptimize-tr_TR.mo ADDED
Binary file
localization/autoptimize-tr_TR.po ADDED
@@ -0,0 +1,309 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Copyright (C) 2014 Autoptimize
2
+ # This file is distributed under the same license as the Autoptimize package.
3
+ msgid ""
4
+ msgstr ""
5
+ "Project-Id-Version: Autoptimize 1.9.0\n"
6
+ "Report-Msgid-Bugs-To: http://wordpress.org/tag/autoptimize\n"
7
+ "POT-Creation-Date: 2014-08-22 05:35:46+00:00\n"
8
+ "PO-Revision-Date: 2014-09-02 00:22+0200\n"
9
+ "Last-Translator: Baris Unver <baris.unver@beyn.org>\n"
10
+ "Language-Team: Barış Ünver <baris.unver@beyn.org>\n"
11
+ "Language: tr_TR\n"
12
+ "MIME-Version: 1.0\n"
13
+ "Content-Type: text/plain; charset=UTF-8\n"
14
+ "Content-Transfer-Encoding: 8bit\n"
15
+ "X-Generator: Poedit 1.6.9\n"
16
+ "X-Poedit-SourceCharset: UTF-8\n"
17
+
18
+ #: autoptimize.php:124
19
+ msgid ""
20
+ "Thank you for installing and activating Autoptimize. Please configure it "
21
+ "under \"Settings\" -> \"Autoptimize\" to start improving your site's "
22
+ "performance."
23
+ msgstr ""
24
+ "Autoptimize'ı kurup etkinleştirdiğiniz için teşekkür ederiz. \"Ayarlar\" -> "
25
+ "\"Autoptimize\" sayfasına giderek ayarları yapabilir, sitenizin "
26
+ "performansını artırmak için bir adım atabilirsiniz."
27
+
28
+ #: autoptimize.php:130
29
+ msgid ""
30
+ "Autoptimize has just been updated. Please <strong>test your site now</"
31
+ "strong> and adapt Autoptimize config if needed."
32
+ msgstr ""
33
+ "Autoptimize güncellendi. Lütfen <strong>hemen şimdi sitenizi test edin</"
34
+ "strong> ve gerekiyorsa Autoptimize seçeneklerini güncelleyin."
35
+
36
+ #: classes/autoptimizeConfig.php:48
37
+ msgid "Autoptimize Settings"
38
+ msgstr "Autoptimize Ayarları"
39
+
40
+ #: classes/autoptimizeConfig.php:54 classes/autoptimizeConfig.php:60
41
+ msgid "Show advanced settings"
42
+ msgstr "Gelişmiş ayarları göster"
43
+
44
+ #: classes/autoptimizeConfig.php:55 classes/autoptimizeConfig.php:61
45
+ msgid "Hide advanced settings"
46
+ msgstr "Gelişmiş ayarları gizle"
47
+
48
+ #: classes/autoptimizeConfig.php:69
49
+ msgid "HTML Options"
50
+ msgstr "HTML Seçenekleri"
51
+
52
+ #: classes/autoptimizeConfig.php:72
53
+ msgid "Optimize HTML Code?"
54
+ msgstr "HTML kodunu optimize et"
55
+
56
+ #: classes/autoptimizeConfig.php:76
57
+ msgid "Keep HTML comments?"
58
+ msgstr "HTML yorumlarına dokunma"
59
+
60
+ #: classes/autoptimizeConfig.php:78
61
+ msgid ""
62
+ "Enable this if you want HTML comments to remain in the page, needed for e.g. "
63
+ "AdSense to function properly."
64
+ msgstr ""
65
+ "AdSense gibi platformlarla sorunlar yaşamamak için HTML yorumların "
66
+ "silinmeden sayfa kaynağında kalmasını isterseniz bu seçeneği işaretleyin."
67
+
68
+ #: classes/autoptimizeConfig.php:82
69
+ msgid "JavaScript Options"
70
+ msgstr "JavaScript Seçenekleri"
71
+
72
+ #: classes/autoptimizeConfig.php:85
73
+ msgid "Optimize JavaScript Code?"
74
+ msgstr "JavaScript kodunu optimize et"
75
+
76
+ #: classes/autoptimizeConfig.php:89
77
+ msgid "Force JavaScript in &lt;head&gt;?"
78
+ msgstr "JavaScript'i zorla &lt;head&gt;'de yüklet"
79
+
80
+ #: classes/autoptimizeConfig.php:91
81
+ msgid ""
82
+ "For performance reasons it is better to include JavaScript at the bottom of "
83
+ "HTML, but this sometimes breaks things. Especially useful for jQuery-based "
84
+ "themes."
85
+ msgstr ""
86
+ "Performans düşünüldüğünde JavaScript dosyalarının, sayfaların en sonunda "
87
+ "yüklenmesi tavsiye edilir, ama bu bazen bir takım kodların bozulmasına sebep "
88
+ "olur. jQuery ağırlıklı temalarda bu ayar özellikle işe yarar."
89
+
90
+ #: classes/autoptimizeConfig.php:94
91
+ msgid "Look for scripts only in &lt;head&gt;?"
92
+ msgstr "Yalnızca &lt;head&gt;'deki JavaScript dosyalarıyla ilgilen"
93
+
94
+ #: classes/autoptimizeConfig.php:96
95
+ msgid ""
96
+ "Mostly usefull in combination with previous option when using jQuery-based "
97
+ "templates, but might help keeping cache size under control."
98
+ msgstr ""
99
+ "Çoğunlukla, önceki seçenekle beraber jQuery ağırlıklı temalarında "
100
+ "kullanıldığında işe yarar, ama önbellek boyutunu kontrol altında tutmanıza "
101
+ "da yardımcı olur."
102
+
103
+ #: classes/autoptimizeConfig.php:99
104
+ msgid "Exclude scripts from Autoptimize:"
105
+ msgstr "Autoptimize'dan hariç tutulacak script'ler:"
106
+
107
+ #: classes/autoptimizeConfig.php:101
108
+ msgid ""
109
+ "A comma-seperated list of scripts you want to exclude from being optimized, "
110
+ "for example 'whatever.js, another.js' (without the quotes) to exclude those "
111
+ "scripts from being aggregated and minimized by Autoptimize."
112
+ msgstr ""
113
+ "Virgülle ayırılmış, optimize edilmesini istemediğiniz dosya isimlerini "
114
+ "buraya yazın (\"falan.js, filan.js\" gibi, tırnaklar olmadan). Bu script'ler "
115
+ "Autoptimize tarafından sıkıştırılıp birleştirilmeyecektir."
116
+
117
+ #: classes/autoptimizeConfig.php:104
118
+ msgid "Add try-catch wrapping?"
119
+ msgstr "\"Try-catch\" sarma özelliğini ekle"
120
+
121
+ #: classes/autoptimizeConfig.php:106
122
+ msgid ""
123
+ "If your scripts break because of an script error, you might want to try this."
124
+ msgstr ""
125
+ "Bir script hatası yüzünden JavaScript'leriniz bozuluyorsa, bunu "
126
+ "etkinleştirmeyi deneyin."
127
+
128
+ #: classes/autoptimizeConfig.php:110
129
+ msgid "CSS Options"
130
+ msgstr "CSS Seçenekleri"
131
+
132
+ #: classes/autoptimizeConfig.php:113
133
+ msgid "Optimize CSS Code?"
134
+ msgstr "CSS kodunu optimize et"
135
+
136
+ #: classes/autoptimizeConfig.php:117
137
+ msgid "Generate data: URIs for images?"
138
+ msgstr "Görseller için data:URI'lar kullan"
139
+
140
+ #: classes/autoptimizeConfig.php:119
141
+ msgid ""
142
+ "Enable this to include small background-images in the CSS itself instead of "
143
+ "as seperate downloads."
144
+ msgstr ""
145
+ "CSS'in içindeki ufak arkaplan görsellerini CSS'in içine gömmek için bunu "
146
+ "kullanın."
147
+
148
+ #: classes/autoptimizeConfig.php:122
149
+ msgid "Look for styles only in &lt;head&gt;?"
150
+ msgstr "Yalnızca &lt;head&gt;'deki stil dosyalarıyla ilgilen"
151
+
152
+ #: classes/autoptimizeConfig.php:124
153
+ msgid ""
154
+ "Don't autoptimize CSS outside the head-section. If the cache gets big, you "
155
+ "might want to enable this."
156
+ msgstr ""
157
+ "&lt;head&gt;'deki CSS'ler dışındaki stil dosyalarını hariç tutar. Önbellek "
158
+ "dosyanız çok büyürse, bunu etkinleştirmeyi isteyebilirsiniz."
159
+
160
+ #: classes/autoptimizeConfig.php:127
161
+ msgid "Inline and Defer CSS?"
162
+ msgstr "CSS'i \"inline\" olarak düzenle ve ertele (defer)"
163
+
164
+ #: classes/autoptimizeConfig.php:129
165
+ msgid ""
166
+ "Inline \"above the fold CSS\" while loading the main autoptimized CSS only "
167
+ "after page load. <a href=\"http://wordpress.org/plugins/autoptimize/faq/\" "
168
+ "target=\"_blank\">Check the FAQ</a> before activating this option!"
169
+ msgstr ""
170
+ "Sayfanın ekranda gözüken kısmını \"inline\" olarak sayfa içine "
171
+ "yerleştirirken geri kalanını sayfa sonunda yükletir. Bu özelliği "
172
+ "etkinleştirmeden önce <a href=\"http://wordpress.org/plugins/autoptimize/faq/"
173
+ "\" target=\"_blank\">Sık Sorulan Sorular'ı inceleyin</a>!"
174
+
175
+ #: classes/autoptimizeConfig.php:133
176
+ msgid "Paste the above the fold CSS here."
177
+ msgstr "İlk ekranda gözüken elemanların CSS'ini buraya yapıştırın."
178
+
179
+ #: classes/autoptimizeConfig.php:136
180
+ msgid "Inline all CSS?"
181
+ msgstr "Tüm CSS'i \"inline\" olarak düzenle"
182
+
183
+ #: classes/autoptimizeConfig.php:138
184
+ msgid ""
185
+ "Inlining all CSS can improve performance for sites with a low pageviews/ "
186
+ "visitor-rate, but may slow down performance otherwise."
187
+ msgstr ""
188
+ "CSS'i \"inline\" olarak gömmek az ziyaretçi sayısına sahip sitelerde "
189
+ "performansı artırırken, popüler sitelerde performansı azaltabilir."
190
+
191
+ #: classes/autoptimizeConfig.php:141
192
+ msgid "Exclude CSS from Autoptimize:"
193
+ msgstr "Autoptimize'dan hariç tutulacak CSS"
194
+
195
+ #: classes/autoptimizeConfig.php:143
196
+ msgid "A comma-seperated list of CSS you want to exclude from being optimized."
197
+ msgstr ""
198
+ "Autoptimize'ın kullanmasını istemediğiniz CSS'i buraya koyarak onları hariç "
199
+ "tutabilirsiniz."
200
+
201
+ #: classes/autoptimizeConfig.php:147
202
+ msgid "CDN Options"
203
+ msgstr "CDN Seçenekleri"
204
+
205
+ #: classes/autoptimizeConfig.php:150
206
+ msgid "CDN Base URL"
207
+ msgstr "CDN URL Temeli"
208
+
209
+ #: classes/autoptimizeConfig.php:152
210
+ msgid ""
211
+ "Enter your CDN blog root directory URL if you want to enable CDN for images "
212
+ "referenced in the CSS."
213
+ msgstr ""
214
+ "Burada, CSS içindeki URL'lerde kullanılmak üzere bir temel CDN adresi "
215
+ "belirleyebilirsiniz."
216
+
217
+ #: classes/autoptimizeConfig.php:156
218
+ msgid "Cache Info"
219
+ msgstr "Cache Bilgisi"
220
+
221
+ #: classes/autoptimizeConfig.php:159
222
+ msgid "Cache folder"
223
+ msgstr "Önbellek dizini"
224
+
225
+ #: classes/autoptimizeConfig.php:163
226
+ msgid "Can we write?"
227
+ msgstr "Yazılabilir durumda mı?"
228
+
229
+ #: classes/autoptimizeConfig.php:164
230
+ msgid "Yes"
231
+ msgstr "Evet"
232
+
233
+ #: classes/autoptimizeConfig.php:164
234
+ msgid "No"
235
+ msgstr "Hayır"
236
+
237
+ #: classes/autoptimizeConfig.php:167
238
+ msgid "Cached styles and scripts"
239
+ msgstr "Önbelleklenen stil ve script'ler"
240
+
241
+ #: classes/autoptimizeConfig.php:171
242
+ msgid "Save aggregated script/css as static files?"
243
+ msgstr "Çıktı script ve stilleri statik dosyalar olarak kaydet"
244
+
245
+ #: classes/autoptimizeConfig.php:173
246
+ msgid ""
247
+ "By default files saved are static css/js, uncheck this option if your "
248
+ "webserver doesn't properly handle the compression and expiry."
249
+ msgstr ""
250
+ "Stil ve script'ler varsayılan olarak statik dosyalar halinde kaydedilir. "
251
+ "Eğer sunucunuz sıkıştırma ve expiry'leri düzgün şekilde işleyemiyorsa bunun "
252
+ "işaretini kaldırın."
253
+
254
+ #: classes/autoptimizeConfig.php:179
255
+ msgid "Save Changes"
256
+ msgstr "Değişiklikleri Kaydet"
257
+
258
+ #: classes/autoptimizeConfig.php:180
259
+ msgid "Save Changes and Empty Cache"
260
+ msgstr "Değişiklikleri Kaydet ve Önbelleği Temizle"
261
+
262
+ #: classes/autoptimizeConfig.php:188
263
+ msgid "futtta about"
264
+ msgstr "futta hakkında"
265
+
266
+ #. Plugin Name of the plugin/theme
267
+ #: classes/autoptimizeConfig.php:190
268
+ msgid "Autoptimize"
269
+ msgstr "Autoptimize"
270
+
271
+ #: classes/autoptimizeConfig.php:191
272
+ msgid "WordPress"
273
+ msgstr "WordPress"
274
+
275
+ #: classes/autoptimizeConfig.php:192
276
+ msgid "Web Technology"
277
+ msgstr "Web Teknolojileri"
278
+
279
+ #: classes/autoptimizeConfig.php:197
280
+ msgid "Do not donate for this plugin!"
281
+ msgstr "Bu eklentiye bağış yapmayın!é"
282
+
283
+ #: classes/autoptimizeConfig.php:313
284
+ msgid "Autoptimize Options"
285
+ msgstr "Autoptimize Seçenekleri"
286
+
287
+ #: classes/autoptimizeConfig.php:358 classes/autoptimizeConfig.php:364
288
+ msgid "Settings"
289
+ msgstr "Ayarlar"
290
+
291
+ #. Plugin URI of the plugin/theme
292
+ msgid "http://blog.futtta.be/autoptimize"
293
+ msgstr "http://blog.futtta.be/autoptimize"
294
+
295
+ #. Description of the plugin/theme
296
+ msgid ""
297
+ "Optimizes your website, concatenating the CSS and JavaScript code, and "
298
+ "compressing it."
299
+ msgstr ""
300
+ "CSS ve JavaScript kodlarınızı birleştirip sıkıştırarak, sitenizi optimize "
301
+ "etmeye yardımcı olur."
302
+
303
+ #. Author of the plugin/theme
304
+ msgid "Frank Goossens (futtta)"
305
+ msgstr "Frank Goossens (futtta)"
306
+
307
+ #. Author URI of the plugin/theme
308
+ msgid "http://blog.futtta.be/"
309
+ msgstr "http://blog.futtta.be/"
localization/autoptimize.pot CHANGED
@@ -2,9 +2,9 @@
2
  # This file is distributed under the same license as the Autoptimize package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Autoptimize 1.8.0\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/autoptimize\n"
7
- "POT-Creation-Date: 2014-01-17 18:16:35+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
@@ -12,239 +12,242 @@ msgstr ""
12
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13
  "Language-Team: LANGUAGE <LL@li.org>\n"
14
 
15
- #: autoptimize.php:117
16
  msgid ""
17
  "Thank you for installing and activating Autoptimize. Please configure it "
18
  "under \"Settings\" -> \"Autoptimize\" to start improving your site's "
19
  "performance."
20
  msgstr ""
21
 
22
- #: autoptimize.php:123
23
  msgid ""
24
  "Autoptimize has just been updated. Please <strong>test your site now</"
25
  "strong> and adapt Autoptimize config if needed."
26
  msgstr ""
27
 
28
- #: classes/autoptimizeConfig.php:56
29
  msgid "Autoptimize Settings"
30
  msgstr ""
31
 
32
- #: classes/autoptimizeConfig.php:62 classes/autoptimizeConfig.php:68
33
  msgid "Show advanced settings"
34
  msgstr ""
35
 
36
- #: classes/autoptimizeConfig.php:63 classes/autoptimizeConfig.php:69
37
  msgid "Hide advanced settings"
38
  msgstr ""
39
 
40
- #: classes/autoptimizeConfig.php:77
41
  msgid "HTML Options"
42
  msgstr ""
43
 
44
- #: classes/autoptimizeConfig.php:80
45
  msgid "Optimize HTML Code?"
46
  msgstr ""
47
 
48
- #: classes/autoptimizeConfig.php:84
49
  msgid "Keep HTML comments?"
50
  msgstr ""
51
 
52
- #: classes/autoptimizeConfig.php:86
53
  msgid ""
54
  "Enable this if you want HTML comments to remain in the page, needed for e.g. "
55
  "AdSense to function properly."
56
  msgstr ""
57
 
58
- #: classes/autoptimizeConfig.php:90
59
  msgid "JavaScript Options"
60
  msgstr ""
61
 
62
- #: classes/autoptimizeConfig.php:93
63
  msgid "Optimize JavaScript Code?"
64
  msgstr ""
65
 
66
- #: classes/autoptimizeConfig.php:97
67
  msgid "Force JavaScript in &lt;head&gt;?"
68
  msgstr ""
69
 
70
- #: classes/autoptimizeConfig.php:99
71
  msgid ""
72
  "For performance reasons it is better to include JavaScript at the bottom of "
73
  "HTML, but this sometimes breaks things. Especially useful for jQuery-based "
74
  "themes."
75
  msgstr ""
76
 
77
- #: classes/autoptimizeConfig.php:102
78
  msgid "Look for scripts only in &lt;head&gt;?"
79
  msgstr ""
80
 
81
- #: classes/autoptimizeConfig.php:104
82
  msgid ""
83
  "Mostly usefull in combination with previous option when using jQuery-based "
84
  "templates, but might help keeping cache size under control."
85
  msgstr ""
86
 
87
- #: classes/autoptimizeConfig.php:107
88
  msgid "Exclude scripts from Autoptimize:"
89
  msgstr ""
90
 
91
- #: classes/autoptimizeConfig.php:109
92
  msgid ""
93
  "A comma-seperated list of scripts you want to exclude from being optimized, "
94
  "for example 'whatever.js, another.js' (without the quotes) to exclude those "
95
  "scripts from being aggregated and minimized by Autoptimize."
96
  msgstr ""
97
 
98
- #: classes/autoptimizeConfig.php:112
99
  msgid "Add try-catch wrapping?"
100
  msgstr ""
101
 
102
- #: classes/autoptimizeConfig.php:114
103
  msgid ""
104
  "If your scripts break because of an script error, you might want to try this."
105
  msgstr ""
106
 
107
- #: classes/autoptimizeConfig.php:118
108
  msgid "CSS Options"
109
  msgstr ""
110
 
111
- #: classes/autoptimizeConfig.php:121
112
  msgid "Optimize CSS Code?"
113
  msgstr ""
114
 
115
- #: classes/autoptimizeConfig.php:125
116
  msgid "Generate data: URIs for images?"
117
  msgstr ""
118
 
119
- #: classes/autoptimizeConfig.php:127
120
  msgid ""
121
  "Enable this to include small background-images in the CSS itself instead of "
122
  "as seperate downloads."
123
  msgstr ""
124
 
125
- #: classes/autoptimizeConfig.php:130
126
  msgid "Look for styles only in &lt;head&gt;?"
127
  msgstr ""
128
 
129
- #: classes/autoptimizeConfig.php:132
130
  msgid ""
131
  "Don't autoptimize CSS outside the head-section. If the cache gets big, you "
132
  "might want to enable this."
133
  msgstr ""
134
 
135
- #: classes/autoptimizeConfig.php:135
136
- msgid "Defer CSS loading?"
137
  msgstr ""
138
 
139
- #: classes/autoptimizeConfig.php:137
140
  msgid ""
141
- "Load optimized CSS only after page load (disables CSS inlining). "
142
- "<strong>Warning</strong>: <a href=\"http://wordpress.org/plugins/autoptimize/"
143
- "faq/\" target=\"_blank\">check the FAQ</a> before activating this option!"
 
 
 
 
144
  msgstr ""
145
 
146
- #: classes/autoptimizeConfig.php:140
147
  msgid "Inline all CSS?"
148
  msgstr ""
149
 
150
- #: classes/autoptimizeConfig.php:142
151
  msgid ""
152
  "Inlining all CSS can improve performance for sites with a low pageviews/ "
153
- "visitor-rate, but may slow down performance otherwise. CSS inlining disables "
154
- "CSS deferring."
155
  msgstr ""
156
 
157
- #: classes/autoptimizeConfig.php:145
158
  msgid "Exclude CSS from Autoptimize:"
159
  msgstr ""
160
 
161
- #: classes/autoptimizeConfig.php:147
162
  msgid "A comma-seperated list of CSS you want to exclude from being optimized."
163
  msgstr ""
164
 
165
- #: classes/autoptimizeConfig.php:151
166
  msgid "CDN Options"
167
  msgstr ""
168
 
169
- #: classes/autoptimizeConfig.php:154
170
  msgid "CDN Base URL"
171
  msgstr ""
172
 
173
- #: classes/autoptimizeConfig.php:156
174
  msgid ""
175
  "Enter your CDN blog root directory URL if you want to enable CDN for images "
176
  "referenced in the CSS."
177
  msgstr ""
178
 
179
- #: classes/autoptimizeConfig.php:160
180
  msgid "Cache Info"
181
  msgstr ""
182
 
183
- #: classes/autoptimizeConfig.php:163
184
  msgid "Cache folder"
185
  msgstr ""
186
 
187
- #: classes/autoptimizeConfig.php:167
188
  msgid "Can we write?"
189
  msgstr ""
190
 
191
- #: classes/autoptimizeConfig.php:168
192
  msgid "Yes"
193
  msgstr ""
194
 
195
- #: classes/autoptimizeConfig.php:168
196
  msgid "No"
197
  msgstr ""
198
 
199
- #: classes/autoptimizeConfig.php:171
200
  msgid "Cached styles and scripts"
201
  msgstr ""
202
 
203
- #: classes/autoptimizeConfig.php:175
204
  msgid "Save aggregated script/css as static files?"
205
  msgstr ""
206
 
207
- #: classes/autoptimizeConfig.php:177
208
  msgid ""
209
  "By default files saved are static css/js, uncheck this option if your "
210
  "webserver doesn't properly handle the compression and expiry."
211
  msgstr ""
212
 
213
- #: classes/autoptimizeConfig.php:183
214
  msgid "Save Changes"
215
  msgstr ""
216
 
217
- #: classes/autoptimizeConfig.php:184
218
  msgid "Save Changes and Empty Cache"
219
  msgstr ""
220
 
221
- #: classes/autoptimizeConfig.php:192
222
  msgid "futtta about"
223
  msgstr ""
224
 
225
- #. #-#-#-#-# plugin.pot (Autoptimize 1.8.0) #-#-#-#-#
226
  #. Plugin Name of the plugin/theme
227
- #: classes/autoptimizeConfig.php:194
228
  msgid "Autoptimize"
229
  msgstr ""
230
 
231
- #: classes/autoptimizeConfig.php:195
232
  msgid "WordPress"
233
  msgstr ""
234
 
235
- #: classes/autoptimizeConfig.php:196
236
  msgid "Web Technology"
237
  msgstr ""
238
 
239
- #: classes/autoptimizeConfig.php:201
240
  msgid "Do not donate for this plugin!"
241
  msgstr ""
242
 
243
- #: classes/autoptimizeConfig.php:262
244
  msgid "Autoptimize Options"
245
  msgstr ""
246
 
247
- #: classes/autoptimizeConfig.php:309 classes/autoptimizeConfig.php:316
248
  msgid "Settings"
249
  msgstr ""
250
 
2
  # This file is distributed under the same license as the Autoptimize package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Autoptimize 1.9.0\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/autoptimize\n"
7
+ "POT-Creation-Date: 2014-08-22 05:35:46+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
12
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13
  "Language-Team: LANGUAGE <LL@li.org>\n"
14
 
15
+ #: autoptimize.php:124
16
  msgid ""
17
  "Thank you for installing and activating Autoptimize. Please configure it "
18
  "under \"Settings\" -> \"Autoptimize\" to start improving your site's "
19
  "performance."
20
  msgstr ""
21
 
22
+ #: autoptimize.php:130
23
  msgid ""
24
  "Autoptimize has just been updated. Please <strong>test your site now</"
25
  "strong> and adapt Autoptimize config if needed."
26
  msgstr ""
27
 
28
+ #: classes/autoptimizeConfig.php:48
29
  msgid "Autoptimize Settings"
30
  msgstr ""
31
 
32
+ #: classes/autoptimizeConfig.php:54 classes/autoptimizeConfig.php:60
33
  msgid "Show advanced settings"
34
  msgstr ""
35
 
36
+ #: classes/autoptimizeConfig.php:55 classes/autoptimizeConfig.php:61
37
  msgid "Hide advanced settings"
38
  msgstr ""
39
 
40
+ #: classes/autoptimizeConfig.php:69
41
  msgid "HTML Options"
42
  msgstr ""
43
 
44
+ #: classes/autoptimizeConfig.php:72
45
  msgid "Optimize HTML Code?"
46
  msgstr ""
47
 
48
+ #: classes/autoptimizeConfig.php:76
49
  msgid "Keep HTML comments?"
50
  msgstr ""
51
 
52
+ #: classes/autoptimizeConfig.php:78
53
  msgid ""
54
  "Enable this if you want HTML comments to remain in the page, needed for e.g. "
55
  "AdSense to function properly."
56
  msgstr ""
57
 
58
+ #: classes/autoptimizeConfig.php:82
59
  msgid "JavaScript Options"
60
  msgstr ""
61
 
62
+ #: classes/autoptimizeConfig.php:85
63
  msgid "Optimize JavaScript Code?"
64
  msgstr ""
65
 
66
+ #: classes/autoptimizeConfig.php:89
67
  msgid "Force JavaScript in &lt;head&gt;?"
68
  msgstr ""
69
 
70
+ #: classes/autoptimizeConfig.php:91
71
  msgid ""
72
  "For performance reasons it is better to include JavaScript at the bottom of "
73
  "HTML, but this sometimes breaks things. Especially useful for jQuery-based "
74
  "themes."
75
  msgstr ""
76
 
77
+ #: classes/autoptimizeConfig.php:94
78
  msgid "Look for scripts only in &lt;head&gt;?"
79
  msgstr ""
80
 
81
+ #: classes/autoptimizeConfig.php:96
82
  msgid ""
83
  "Mostly usefull in combination with previous option when using jQuery-based "
84
  "templates, but might help keeping cache size under control."
85
  msgstr ""
86
 
87
+ #: classes/autoptimizeConfig.php:99
88
  msgid "Exclude scripts from Autoptimize:"
89
  msgstr ""
90
 
91
+ #: classes/autoptimizeConfig.php:101
92
  msgid ""
93
  "A comma-seperated list of scripts you want to exclude from being optimized, "
94
  "for example 'whatever.js, another.js' (without the quotes) to exclude those "
95
  "scripts from being aggregated and minimized by Autoptimize."
96
  msgstr ""
97
 
98
+ #: classes/autoptimizeConfig.php:104
99
  msgid "Add try-catch wrapping?"
100
  msgstr ""
101
 
102
+ #: classes/autoptimizeConfig.php:106
103
  msgid ""
104
  "If your scripts break because of an script error, you might want to try this."
105
  msgstr ""
106
 
107
+ #: classes/autoptimizeConfig.php:110
108
  msgid "CSS Options"
109
  msgstr ""
110
 
111
+ #: classes/autoptimizeConfig.php:113
112
  msgid "Optimize CSS Code?"
113
  msgstr ""
114
 
115
+ #: classes/autoptimizeConfig.php:117
116
  msgid "Generate data: URIs for images?"
117
  msgstr ""
118
 
119
+ #: classes/autoptimizeConfig.php:119
120
  msgid ""
121
  "Enable this to include small background-images in the CSS itself instead of "
122
  "as seperate downloads."
123
  msgstr ""
124
 
125
+ #: classes/autoptimizeConfig.php:122
126
  msgid "Look for styles only in &lt;head&gt;?"
127
  msgstr ""
128
 
129
+ #: classes/autoptimizeConfig.php:124
130
  msgid ""
131
  "Don't autoptimize CSS outside the head-section. If the cache gets big, you "
132
  "might want to enable this."
133
  msgstr ""
134
 
135
+ #: classes/autoptimizeConfig.php:127
136
+ msgid "Inline and Defer CSS?"
137
  msgstr ""
138
 
139
+ #: classes/autoptimizeConfig.php:129
140
  msgid ""
141
+ "Inline \"above the fold CSS\" while loading the main autoptimized CSS only "
142
+ "after page load. <a href=\"http://wordpress.org/plugins/autoptimize/faq/\" "
143
+ "target=\"_blank\">Check the FAQ</a> before activating this option!"
144
+ msgstr ""
145
+
146
+ #: classes/autoptimizeConfig.php:133
147
+ msgid "Paste the above the fold CSS here."
148
  msgstr ""
149
 
150
+ #: classes/autoptimizeConfig.php:136
151
  msgid "Inline all CSS?"
152
  msgstr ""
153
 
154
+ #: classes/autoptimizeConfig.php:138
155
  msgid ""
156
  "Inlining all CSS can improve performance for sites with a low pageviews/ "
157
+ "visitor-rate, but may slow down performance otherwise."
 
158
  msgstr ""
159
 
160
+ #: classes/autoptimizeConfig.php:141
161
  msgid "Exclude CSS from Autoptimize:"
162
  msgstr ""
163
 
164
+ #: classes/autoptimizeConfig.php:143
165
  msgid "A comma-seperated list of CSS you want to exclude from being optimized."
166
  msgstr ""
167
 
168
+ #: classes/autoptimizeConfig.php:147
169
  msgid "CDN Options"
170
  msgstr ""
171
 
172
+ #: classes/autoptimizeConfig.php:150
173
  msgid "CDN Base URL"
174
  msgstr ""
175
 
176
+ #: classes/autoptimizeConfig.php:152
177
  msgid ""
178
  "Enter your CDN blog root directory URL if you want to enable CDN for images "
179
  "referenced in the CSS."
180
  msgstr ""
181
 
182
+ #: classes/autoptimizeConfig.php:156
183
  msgid "Cache Info"
184
  msgstr ""
185
 
186
+ #: classes/autoptimizeConfig.php:159
187
  msgid "Cache folder"
188
  msgstr ""
189
 
190
+ #: classes/autoptimizeConfig.php:163
191
  msgid "Can we write?"
192
  msgstr ""
193
 
194
+ #: classes/autoptimizeConfig.php:164
195
  msgid "Yes"
196
  msgstr ""
197
 
198
+ #: classes/autoptimizeConfig.php:164
199
  msgid "No"
200
  msgstr ""
201
 
202
+ #: classes/autoptimizeConfig.php:167
203
  msgid "Cached styles and scripts"
204
  msgstr ""
205
 
206
+ #: classes/autoptimizeConfig.php:171
207
  msgid "Save aggregated script/css as static files?"
208
  msgstr ""
209
 
210
+ #: classes/autoptimizeConfig.php:173
211
  msgid ""
212
  "By default files saved are static css/js, uncheck this option if your "
213
  "webserver doesn't properly handle the compression and expiry."
214
  msgstr ""
215
 
216
+ #: classes/autoptimizeConfig.php:179
217
  msgid "Save Changes"
218
  msgstr ""
219
 
220
+ #: classes/autoptimizeConfig.php:180
221
  msgid "Save Changes and Empty Cache"
222
  msgstr ""
223
 
224
+ #: classes/autoptimizeConfig.php:188
225
  msgid "futtta about"
226
  msgstr ""
227
 
228
+ #. #-#-#-#-# plugin.pot (Autoptimize 1.8.5) #-#-#-#-#
229
  #. Plugin Name of the plugin/theme
230
+ #: classes/autoptimizeConfig.php:190
231
  msgid "Autoptimize"
232
  msgstr ""
233
 
234
+ #: classes/autoptimizeConfig.php:191
235
  msgid "WordPress"
236
  msgstr ""
237
 
238
+ #: classes/autoptimizeConfig.php:192
239
  msgid "Web Technology"
240
  msgstr ""
241
 
242
+ #: classes/autoptimizeConfig.php:197
243
  msgid "Do not donate for this plugin!"
244
  msgstr ""
245
 
246
+ #: classes/autoptimizeConfig.php:313
247
  msgid "Autoptimize Options"
248
  msgstr ""
249
 
250
+ #: classes/autoptimizeConfig.php:358 classes/autoptimizeConfig.php:364
251
  msgid "Settings"
252
  msgstr ""
253
 
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: futtta, turl
3
  Tags: css, html, javascript, js, optimize, speed, cache, data-uri, aggregate, minimize, minification, performance, pagespeed, booster, multisite
4
  Donate link: http://blog.futtta.be/2013/10/21/do-not-donate-to-me/
5
  Requires at least: 2.7
6
- Tested up to: 3.9.1
7
- Stable tag: 1.8.5
8
 
9
  Autoptimize speeds up your website and helps you save bandwidth by aggregating and minimizing JS, CSS and HTML.
10
 
@@ -33,18 +33,15 @@ It concatenates all scripts and styles, minifies and compresses them, adds expir
33
 
34
  Although Autoptimize comes without any warranties, it will in general work flawlessly if you configure it correctly. See "Troubleshooting" below for info on how to configure in case of problems.
35
 
36
- = What is the use of deferring CSS? =
37
 
38
- CSS in general should go in the head of the document. Recently a.o. Google started promoting deferring non-essential CSS, while inlining those styles needed to build the page above the fold. This is especially important to render pages as quickly as possible on mobile devices. To implement this, you'll need to:
39
 
40
- * identify the essential CSS to style your average page (be strict, keep this as light a possible)
41
- * minimize that using one of the many online minimizing tools
42
- * wrap the minimized CSS between style-tags
43
- * wrap style-block between noptimize-tags (see above)
44
- * put the resulting CSS in the head of your page (should be in the header.php file of your theme)
45
- * check the option to defer CSS
46
 
47
- = Should you inline all CSS? =
 
 
48
 
49
  The short answer: if you just want to improve your (mobile) pagespeed score; yes, otherwise maybe not.
50
 
@@ -84,9 +81,13 @@ If your webserver is properly configured to handle compression (gzip or deflate)
84
 
85
  There have been reports of sightings of javascript errors when using Autoptimize together with WP SlimStat. Both [Camu (WP SlimStat developer)](http://profiles.wordpress.org/coolmann/) and I have installed both plugins on test-environments and [found no proof of such incompatibility](http://wordpress.org/support/topic/dropdown-menus-dont-work-when-slimstat-is-enabled?replies=14#post-4086894). Our common conclusion is that there are rare cases in which yet another theme or plugin's JavaScript are triggering these errors. If you do encounter JavaScript-errors when you have both WP SlimStat and Autoptimize installed, add "SlimStatParams, wp-slimstat.js" in the "Exclude scripts from autoptimize:" option on the admin-page and all should be well.
86
 
87
- = Problems with CSS of Kickstart theme when on WP Engine =
 
 
88
 
89
- Although multiple users are succesfully running Autoptimize on WP Engine, there is [one confirmed issue when using the Kickstart-theme with Autoptimize on WP Engine](http://wordpress.org/support/topic/zero-lenght-file-with-css-optimization). The problem is that Autoptimize can't source in the import, leading to an empty CSS-file (which does not happen when not on WP Engine). As a workaround you can link to the CSS-file from within your header.php, as suggested by [Ozum of fortibase.com](http://www.fortibase.com/)
 
 
90
 
91
  = Configuring & Troubleshooting Autoptimize =
92
 
@@ -95,7 +96,7 @@ After having installed and activated the plugin, you'll have access to an admin
95
  If your blog doesn't function normally after having turned on Autoptimize, here are some pointers to identify & solve such issues using "advanced settings":
96
 
97
  * In case your blog looks weird, i.e. when the layout gets messed up, there is problem with CSS optimization. In this case you can turn on the option "Look for styles on just head?" and see if that solves the problem. You can also force CSS not to be aggregated by wrapping it in noptimize-tags in your theme or widget or by adding filename (for external stylesheets) or string (for inline styles) to the exclude-list.
98
- * In case some functionality on your site stops working (a carroussel, a menu, the search input, ...) you're likely hitting JavaScript optimization trouble. Enable the option "Look for scripts only in head?" and/or "Force JavaScript in <head>?" and/or "Add try/catch wrapping" and try again. Alternatively -for the technically savvy- you can exclude specific scripts from being treated (moved and/ or aggregated) by Autoptimize by adding a string that will match the offending Javascript or excluding it from within your template files or widgets by wrapping the code between noptimize-tags. Identifying the offending JavaScript and choosing the correct exclusion-string can be trial and error, but in the majority of cases JavaScript optimization issues can be solved this way.
99
  * If your theme uses jQuery, you can try either forcing all in head or excluding jquery(-min).js (and jQuery-plugins if needed).
100
  * If you can't get either CSS or JS optimization working, you can off course always continue using the other two optimization-techniques.
101
  * If you tried the troubleshooting tips above and you still can't get CSS and JS working at all, you can ask for support on the [WordPress Autoptimize support forum](http://wordpress.org/support/plugin/autoptimize). See below for a description of what information you should provide in your "trouble ticket"
@@ -130,6 +131,17 @@ You can report problems on the [wordpress.org support forum](http://wordpress.or
130
 
131
  == Changelog ==
132
 
 
 
 
 
 
 
 
 
 
 
 
133
  = 1.8.5 =
134
  * Updated to lastest version of [CSS minification component](https://github.com/tubalmartin/YUI-CSS-compressor-PHP-port/)
135
  * Improvement: for multi-sites the cache is now written to seperate directories, avoiding one site to clean out the cache for the entire installation. Code [contributed by Joern Lund](http://wordpress.org/support/topic/multisite-blog-admin-can-delete-entire-network-cache), kudo's Joern!!
3
  Tags: css, html, javascript, js, optimize, speed, cache, data-uri, aggregate, minimize, minification, performance, pagespeed, booster, multisite
4
  Donate link: http://blog.futtta.be/2013/10/21/do-not-donate-to-me/
5
  Requires at least: 2.7
6
+ Tested up to: 4.0
7
+ Stable tag: 1.9.0
8
 
9
  Autoptimize speeds up your website and helps you save bandwidth by aggregating and minimizing JS, CSS and HTML.
10
 
33
 
34
  Although Autoptimize comes without any warranties, it will in general work flawlessly if you configure it correctly. See "Troubleshooting" below for info on how to configure in case of problems.
35
 
36
+ = What is the use of "inline and defer CSS"? =
37
 
38
+ CSS in general should go in the head of the document. Recently a.o. Google started promoting deferring non-essential CSS, while inlining those styles needed to build the page above the fold. This is especially important to render pages as quickly as possible on mobile devices. As from Autoptimize 1.9.0 this is easy; select "inline and defer CSS", paste the block of "above the fold CSS" in the input field (text area) and you're good to go!
39
 
40
+ = But how can one find out what the "above the fold CSS" is? =
 
 
 
 
 
41
 
42
+ There's no easy solution for that as "above the fold" depends on where the fold is, which in turn depends on screensize. There are some tools available however, which try to identify just what is "above the fold". [This list of tools](https://github.com/addyosmani/above-the-fold-css-tools) is a great starting point and esp. [http://jonassebastianohlsson.com/criticalpathcssgenerator/](http://jonassebastianohlsson.com/criticalpathcssgenerator/) is an easy solution if you're not into node.js yourself.
43
+
44
+ = Or should you inline all CSS? =
45
 
46
  The short answer: if you just want to improve your (mobile) pagespeed score; yes, otherwise maybe not.
47
 
81
 
82
  There have been reports of sightings of javascript errors when using Autoptimize together with WP SlimStat. Both [Camu (WP SlimStat developer)](http://profiles.wordpress.org/coolmann/) and I have installed both plugins on test-environments and [found no proof of such incompatibility](http://wordpress.org/support/topic/dropdown-menus-dont-work-when-slimstat-is-enabled?replies=14#post-4086894). Our common conclusion is that there are rare cases in which yet another theme or plugin's JavaScript are triggering these errors. If you do encounter JavaScript-errors when you have both WP SlimStat and Autoptimize installed, add "SlimStatParams, wp-slimstat.js" in the "Exclude scripts from autoptimize:" option on the admin-page and all should be well.
83
 
84
+ = How does "exclude from optimizing" work? =
85
+
86
+ Both CSS and JS optimization can skip code from being aggregated and minimized by adding "identifiers" to the comma-seperated exclusion list. The exact identifier string to use can be determined this way:
87
 
88
+ * if you want to exclude a specific file, e.g. wp-content/plugins/funkyplugin/css/style.css, you could simply exclude "funkyplugin/css/style.css"
89
+ * if you want to exclude all files of a specific plugin, e.g. wp-content/plugins/funkyplugin/js/*, you can exclude for example "funkyplugin/js/" or "plugins/funkyplugin"
90
+ * if you want to exclude inline code, you'll have to find a specific, unique string in that block of code and add that to the exclusion list. Example: to exclude "<script>funky_data='Won\'t you take me to, Funky Town'</script>", the identifier is "funky_data".
91
 
92
  = Configuring & Troubleshooting Autoptimize =
93
 
96
  If your blog doesn't function normally after having turned on Autoptimize, here are some pointers to identify & solve such issues using "advanced settings":
97
 
98
  * In case your blog looks weird, i.e. when the layout gets messed up, there is problem with CSS optimization. In this case you can turn on the option "Look for styles on just head?" and see if that solves the problem. You can also force CSS not to be aggregated by wrapping it in noptimize-tags in your theme or widget or by adding filename (for external stylesheets) or string (for inline styles) to the exclude-list.
99
+ * In case some functionality on your site stops working (a carroussel, a menu, the search input, ...) you're likely hitting JavaScript optimization trouble. Enable the option "Look for scripts only in head?" and/or "Force JavaScript in <head>?" and/or "[Add try/catch wrapping](http://blog.futtta.be/2014/08/18/when-should-you-trycatch-javascript/)" and try again. Alternatively -for the technically savvy- you can exclude specific scripts from being treated (moved and/ or aggregated) by Autoptimize by adding a string that will match the offending Javascript or excluding it from within your template files or widgets by wrapping the code between noptimize-tags. Identifying the offending JavaScript and choosing the correct exclusion-string can be trial and error, but in the majority of cases JavaScript optimization issues can be solved this way.
100
  * If your theme uses jQuery, you can try either forcing all in head or excluding jquery(-min).js (and jQuery-plugins if needed).
101
  * If you can't get either CSS or JS optimization working, you can off course always continue using the other two optimization-techniques.
102
  * If you tried the troubleshooting tips above and you still can't get CSS and JS working at all, you can ask for support on the [WordPress Autoptimize support forum](http://wordpress.org/support/plugin/autoptimize). See below for a description of what information you should provide in your "trouble ticket"
131
 
132
  == Changelog ==
133
 
134
+ = 1.9.0 =
135
+ * "Inline and defer CSS" allows one to specify which "above the fold CSS" should be inlined, while the normal optimized CSS is deferred.
136
+ * Inlined Base64-encoded background Images will now be cached as well and the threshold for inlining these images has been bumped up to 4096 bytes (from 2560).
137
+ * Separate cache-directories for CSS and JS in /wp-content/cache/autoptimize, which should result in faster cache pruning (and in some cases possibly faster serving of individual aggregated files).
138
+ * CSS is now added before the <title>-tag, JS before </body> (and after </title> when forced in head). This can be overridden in the API.
139
+ * Some usability improvements of the administration-page
140
+ * Multiple hooks added to the API a.o. filters to not aggregate inline CSS or JS and filters to aggregate but not minify CSS or JS.
141
+ * Updated translations for Dutch, French, German, Persian and Polish and new translations for Brazilian Portuguese (thanks to [Leonardo Antonioli](http://tobeguarany.com/)) and Turkish (kudo's [Baris Unver](http://beyn.org/))
142
+ * Multiple bugfixes & improvements
143
+ * Tested with WordPress 4.0 rc3
144
+
145
  = 1.8.5 =
146
  * Updated to lastest version of [CSS minification component](https://github.com/tubalmartin/YUI-CSS-compressor-PHP-port/)
147
  * Improvement: for multi-sites the cache is now written to seperate directories, avoiding one site to clean out the cache for the entire installation. Code [contributed by Joern Lund](http://wordpress.org/support/topic/multisite-blog-admin-can-delete-entire-network-cache), kudo's Joern!!