Version Description
- new: optimize Google fonts with combine & link and combine and load async (with webload.js), intelligently preconnecting to Googles domains to limit performance impact even further
- new: Async JS, can be applied to local or 3rd party JS (if local it will be auto-excluded from autoptimization)
- new: support to tell browsers to preconnect (
Download this release
Release Info
Developer | futtta |
Plugin | Autoptimize |
Version | 2.3.0 |
Comparing to | |
See all releases |
Code changes from version 2.2.2 to 2.3.0
- autoptimize.php +18 -6
- classes/autoptimizeCLI.php +22 -0
- classes/autoptimizeCache.php +1 -1
- classes/autoptimizeConfig.php +1 -8
- classes/autoptimizeHTML.php +5 -5
- classes/autoptimizeScripts.php +1 -1
- classes/autoptimizeStyles.php +16 -10
- classes/external/php/minify-html.php +2 -2
- classes/external/php/yui-php-cssmin-2.4.8-4_fgo.php +2 -1
- classlesses/autoptimizeCacheChecker.php +65 -65
- classlesses/autoptimizeExtra.php +320 -0
- classlesses/autoptimizeUpdateCode.php +25 -0
- config/default.php +1 -0
- config/delayed.php +1 -0
- localization/autoptimize-ar.mo +0 -0
- localization/autoptimize-ar.po +0 -295
- localization/autoptimize-be_BY.mo +0 -0
- localization/autoptimize-be_BY.po +0 -90
- localization/autoptimize-fa_IR.mo +0 -0
- localization/autoptimize-fa_IR.po +0 -306
- localization/autoptimize-ru_RU.mo +0 -0
- localization/autoptimize-ru_RU.po +0 -199
- localization/autoptimize-sr_RS.mo +0 -0
- localization/autoptimize-sr_RS.po +0 -387
- localization/autoptimize-uk_UA.mo +0 -0
- localization/autoptimize-uk_UA.po +0 -378
- localization/autoptimize-zh_CN.mo +0 -0
- localization/autoptimize-zh_CN.po +0 -83
- localization/autoptimize-zh_TW.mo +0 -0
- localization/autoptimize-zh_TW.po +0 -380
- localization/autoptimize.pot +0 -341
- readme.txt +33 -24
autoptimize.php
CHANGED
@@ -1,11 +1,11 @@
|
|
1 |
<?php
|
2 |
/*
|
3 |
Plugin Name: Autoptimize
|
4 |
-
Plugin URI:
|
5 |
Description: Optimizes your website, concatenating the CSS and JavaScript code, and compressing it.
|
6 |
-
Version: 2.
|
7 |
Author: Frank Goossens (futtta)
|
8 |
-
Author URI:
|
9 |
Domain Path: localization/
|
10 |
Text Domain: autoptimize
|
11 |
Released under the GNU General Public License (GPL)
|
@@ -46,7 +46,12 @@ if (is_multisite() && apply_filters( 'autoptimize_separate_blog_caches' , true )
|
|
46 |
define('AUTOPTIMIZE_CACHE_DIR', WP_CONTENT_DIR.AUTOPTIMIZE_CACHE_CHILD_DIR);
|
47 |
}
|
48 |
define('AUTOPTIMIZE_CACHE_DELAY',true);
|
49 |
-
define('WP_ROOT_DIR',
|
|
|
|
|
|
|
|
|
|
|
50 |
|
51 |
// Initialize the cache at least once
|
52 |
$conf = autoptimizeConfig::instance();
|
@@ -54,7 +59,7 @@ $conf = autoptimizeConfig::instance();
|
|
54 |
/* Check if we're updating, in which case we might need to do stuff and flush the cache
|
55 |
to avoid old versions of aggregated files lingering around */
|
56 |
|
57 |
-
$autoptimize_version="2.
|
58 |
$autoptimize_db_version=get_option('autoptimize_version','none');
|
59 |
|
60 |
if ($autoptimize_db_version !== $autoptimize_version) {
|
@@ -78,7 +83,7 @@ add_action( 'init', 'autoptimize_load_plugin_textdomain' );
|
|
78 |
function autoptimize_uninstall(){
|
79 |
autoptimizeCache::clearall();
|
80 |
|
81 |
-
$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", "autoptimize_cachesize_notice","autoptimize_css_include_inline","autoptimize_js_include_inline","
|
82 |
|
83 |
if ( !is_multisite() ) {
|
84 |
foreach ($delete_options as $del_opt) { delete_option( $del_opt ); }
|
@@ -317,5 +322,12 @@ register_activation_hook( __FILE__, 'autoptimize_activate' );
|
|
317 |
|
318 |
include_once('classlesses/autoptimizeCacheChecker.php');
|
319 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
320 |
// Do not pollute other plugins
|
321 |
unset($conf);
|
1 |
<?php
|
2 |
/*
|
3 |
Plugin Name: Autoptimize
|
4 |
+
Plugin URI: https://autoptimize.com/
|
5 |
Description: Optimizes your website, concatenating the CSS and JavaScript code, and compressing it.
|
6 |
+
Version: 2.3.0
|
7 |
Author: Frank Goossens (futtta)
|
8 |
+
Author URI: https://autoptimize.com/
|
9 |
Domain Path: localization/
|
10 |
Text Domain: autoptimize
|
11 |
Released under the GNU General Public License (GPL)
|
46 |
define('AUTOPTIMIZE_CACHE_DIR', WP_CONTENT_DIR.AUTOPTIMIZE_CACHE_CHILD_DIR);
|
47 |
}
|
48 |
define('AUTOPTIMIZE_CACHE_DELAY',true);
|
49 |
+
define('WP_ROOT_DIR',substr(WP_CONTENT_DIR, 0, strlen(WP_CONTENT_DIR)-strlen(AUTOPTIMIZE_WP_CONTENT_NAME)));
|
50 |
+
|
51 |
+
// WP CLI
|
52 |
+
if ( defined( 'WP_CLI' ) && WP_CLI ) {
|
53 |
+
require_once AUTOPTIMIZE_PLUGIN_DIR . 'classes/autoptimizeCLI.php';
|
54 |
+
}
|
55 |
|
56 |
// Initialize the cache at least once
|
57 |
$conf = autoptimizeConfig::instance();
|
59 |
/* Check if we're updating, in which case we might need to do stuff and flush the cache
|
60 |
to avoid old versions of aggregated files lingering around */
|
61 |
|
62 |
+
$autoptimize_version="2.3.0";
|
63 |
$autoptimize_db_version=get_option('autoptimize_version','none');
|
64 |
|
65 |
if ($autoptimize_db_version !== $autoptimize_version) {
|
83 |
function autoptimize_uninstall(){
|
84 |
autoptimizeCache::clearall();
|
85 |
|
86 |
+
$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", "autoptimize_cachesize_notice","autoptimize_css_include_inline","autoptimize_js_include_inline","autoptimize_optimize_logged","autoptimize_optimize_checkout","autoptimize_extra_settings");
|
87 |
|
88 |
if ( !is_multisite() ) {
|
89 |
foreach ($delete_options as $del_opt) { delete_option( $del_opt ); }
|
322 |
|
323 |
include_once('classlesses/autoptimizeCacheChecker.php');
|
324 |
|
325 |
+
add_action('plugins_loaded','includeAutoptimizeExtra');
|
326 |
+
function includeAutoptimizeExtra() {
|
327 |
+
if ( apply_filters('autoptimize_filter_extra_activate',true) ) {
|
328 |
+
include_once('classlesses/autoptimizeExtra.php');
|
329 |
+
}
|
330 |
+
}
|
331 |
+
|
332 |
// Do not pollute other plugins
|
333 |
unset($conf);
|
classes/autoptimizeCLI.php
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
// Exit if accessed directly
|
3 |
+
if ( ! defined( 'ABSPATH' ) ) {
|
4 |
+
exit;
|
5 |
+
}
|
6 |
+
|
7 |
+
class autoptimizeCLI extends WP_CLI_Command {
|
8 |
+
|
9 |
+
/**
|
10 |
+
* Clears the cache.
|
11 |
+
*
|
12 |
+
* @subcommand clear
|
13 |
+
*/
|
14 |
+
public function clear( $args, $args_assoc ) {
|
15 |
+
WP_CLI::line( esc_html__( 'Flushing the cache...', 'autoptimize' ) );
|
16 |
+
autoptimizeCache::clearall();
|
17 |
+
WP_CLI::success( esc_html__( 'Cache flushed.', 'autoptimize' ) );
|
18 |
+
}
|
19 |
+
|
20 |
+
}
|
21 |
+
|
22 |
+
WP_CLI::add_command( 'autoptimize', 'autoptimizeCLI' );
|
classes/autoptimizeCache.php
CHANGED
@@ -149,7 +149,7 @@ class autoptimizeCache {
|
|
149 |
}
|
150 |
$AOstats=array($count,$size,time());
|
151 |
if ($count>100) {
|
152 |
-
set_transient("autoptimize_stats"
|
153 |
}
|
154 |
}
|
155 |
// print the number of instances
|
149 |
}
|
150 |
$AOstats=array($count,$size,time());
|
151 |
if ($count>100) {
|
152 |
+
set_transient( "autoptimize_stats", $AOstats, apply_filters( 'autoptimize_filter_cache_statsexpiry', HOUR_IN_SECONDS ) );
|
153 |
}
|
154 |
}
|
155 |
// print the number of instances
|
classes/autoptimizeConfig.php
CHANGED
@@ -257,11 +257,6 @@ input[type=url]:invalid {color: red; border-color:red;} .form-table th{font-weig
|
|
257 |
<td><label class="cb_label"><input type="checkbox" name="autoptimize_css_datauris" <?php echo get_option('autoptimize_css_datauris')?'checked="checked" ':''; ?>/>
|
258 |
<?php _e('Enable this to include small background-images in the CSS itself instead of as separate downloads.','autoptimize'); ?></label></td>
|
259 |
</tr>
|
260 |
-
<tr class="<?php echo $hiddenClass;?>css_sub ao_adv" valign="top">
|
261 |
-
<th scope="row"><?php _e('Remove Google Fonts?','autoptimize'); ?></th>
|
262 |
-
<td><label class="cb_label"><input type="checkbox" name="autoptimize_css_nogooglefont" <?php echo get_option('autoptimize_css_nogooglefont')?'checked="checked" ':''; ?>/>
|
263 |
-
<?php _e('Check this if you don\'t need or want Google Fonts being loaded.','autoptimize'); ?></label></td>
|
264 |
-
</tr>
|
265 |
<?php if (get_option('autoptimize_css_justhead')) { ?>
|
266 |
<tr valign="top" class="<?php echo $hiddenClass;?>css_sub ao_adv">
|
267 |
<th scope="row"><?php _e('Look for styles only in <head>?','autoptimize'); echo ' <i>'. __('(deprecated)','autoptimize') . '</i>'; ?></th>
|
@@ -584,7 +579,6 @@ input[type=url]:invalid {color: red; border-color:red;} .form-table th{font-weig
|
|
584 |
register_setting('autoptimize','autoptimize_css_defer_inline');
|
585 |
register_setting('autoptimize','autoptimize_css_inline');
|
586 |
register_setting('autoptimize','autoptimize_css_include_inline');
|
587 |
-
register_setting('autoptimize','autoptimize_css_nogooglefont');
|
588 |
register_setting('autoptimize','autoptimize_cdn_url');
|
589 |
register_setting('autoptimize','autoptimize_cache_clean');
|
590 |
register_setting('autoptimize','autoptimize_cache_nogzip');
|
@@ -635,7 +629,6 @@ input[type=url]:invalid {color: red; border-color:red;} .form-table th{font-weig
|
|
635 |
'autoptimize_css_defer_inline' => "",
|
636 |
'autoptimize_css_inline' => 0,
|
637 |
'autoptimize_css_datauris' => 0,
|
638 |
-
'autoptimize_css_nogooglefont' => 0,
|
639 |
'autoptimize_cdn_url' => "",
|
640 |
'autoptimize_cache_nogzip' => 1,
|
641 |
'autoptimize_show_adv' => 0,
|
@@ -653,7 +646,7 @@ input[type=url]:invalid {color: red; border-color:red;} .form-table th{font-weig
|
|
653 |
}
|
654 |
|
655 |
//Save for next question
|
656 |
-
$this->config = $config;
|
657 |
}
|
658 |
|
659 |
if(isset($this->config[$key]))
|
257 |
<td><label class="cb_label"><input type="checkbox" name="autoptimize_css_datauris" <?php echo get_option('autoptimize_css_datauris')?'checked="checked" ':''; ?>/>
|
258 |
<?php _e('Enable this to include small background-images in the CSS itself instead of as separate downloads.','autoptimize'); ?></label></td>
|
259 |
</tr>
|
|
|
|
|
|
|
|
|
|
|
260 |
<?php if (get_option('autoptimize_css_justhead')) { ?>
|
261 |
<tr valign="top" class="<?php echo $hiddenClass;?>css_sub ao_adv">
|
262 |
<th scope="row"><?php _e('Look for styles only in <head>?','autoptimize'); echo ' <i>'. __('(deprecated)','autoptimize') . '</i>'; ?></th>
|
579 |
register_setting('autoptimize','autoptimize_css_defer_inline');
|
580 |
register_setting('autoptimize','autoptimize_css_inline');
|
581 |
register_setting('autoptimize','autoptimize_css_include_inline');
|
|
|
582 |
register_setting('autoptimize','autoptimize_cdn_url');
|
583 |
register_setting('autoptimize','autoptimize_cache_clean');
|
584 |
register_setting('autoptimize','autoptimize_cache_nogzip');
|
629 |
'autoptimize_css_defer_inline' => "",
|
630 |
'autoptimize_css_inline' => 0,
|
631 |
'autoptimize_css_datauris' => 0,
|
|
|
632 |
'autoptimize_cdn_url' => "",
|
633 |
'autoptimize_cache_nogzip' => 1,
|
634 |
'autoptimize_show_adv' => 0,
|
646 |
}
|
647 |
|
648 |
//Save for next question
|
649 |
+
$this->config = apply_filters( 'autoptimize_filter_get_config', $config );
|
650 |
}
|
651 |
|
652 |
if(isset($this->config[$key]))
|
classes/autoptimizeHTML.php
CHANGED
@@ -66,11 +66,11 @@ class autoptimizeHTML extends autoptimizeBase {
|
|
66 |
}
|
67 |
}
|
68 |
|
69 |
-
|
70 |
-
if ( class_exists('RevSlider')
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
|
75 |
return true;
|
76 |
}
|
66 |
}
|
67 |
}
|
68 |
|
69 |
+
// revslider data attribs somehow suffer from HTML optimization, this fixes that
|
70 |
+
if ( class_exists('RevSlider') && apply_filters('autoptimize_filter_html_dataattrib_cleanup', false) ) {
|
71 |
+
$this->content = preg_replace('#\n(data-.*$)\n#Um',' $1 ', $this->content);
|
72 |
+
$this->content = preg_replace('#<[^>]*(=\"[^"\'<>\s]*\")(\w)#','$1 $2', $this->content);
|
73 |
+
}
|
74 |
|
75 |
return true;
|
76 |
}
|
classes/autoptimizeScripts.php
CHANGED
@@ -3,7 +3,7 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
|
3 |
|
4 |
class autoptimizeScripts extends autoptimizeBase {
|
5 |
private $scripts = array();
|
6 |
-
private $dontmove = array('document.write','html5.js','show_ads.js','google_ad','
|
7 |
private $domove = array('gaJsHost','load_cmc','jd.gallery.transitions.js','swfobject.embedSWF(','tiny_mce.js','tinyMCEPreInit.go');
|
8 |
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');
|
9 |
private $trycatch = false;
|
3 |
|
4 |
class autoptimizeScripts extends autoptimizeBase {
|
5 |
private $scripts = array();
|
6 |
+
private $dontmove = array('document.write','html5.js','show_ads.js','google_ad','histats.com/js','statcounter.com/counter/counter.js','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','gist.github.com','_stq','nonce','post_id','data-noptimize','wordfence_logHuman');
|
7 |
private $domove = array('gaJsHost','load_cmc','jd.gallery.transitions.js','swfobject.embedSWF(','tiny_mce.js','tinyMCEPreInit.go');
|
8 |
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');
|
9 |
private $trycatch = false;
|
classes/autoptimizeStyles.php
CHANGED
@@ -31,12 +31,7 @@ class autoptimizeStyles extends autoptimizeBase {
|
|
31 |
$this->whitelist = array_filter(array_map('trim',explode(",",$whitelistCSS)));
|
32 |
}
|
33 |
|
34 |
-
|
35 |
-
$removableCSS = "fonts.googleapis.com";
|
36 |
-
} else {
|
37 |
-
$removableCSS = "";
|
38 |
-
}
|
39 |
-
$removableCSS = apply_filters( 'autoptimize_filter_css_removables', $removableCSS);
|
40 |
if (!empty($removableCSS)) {
|
41 |
$this->cssremovables = array_filter(array_map('trim',explode(",",$removableCSS)));
|
42 |
}
|
@@ -269,7 +264,7 @@ class autoptimizeStyles extends autoptimizeBase {
|
|
269 |
// remove comments to avoid importing commented-out imports
|
270 |
$thiscss_nocomments = preg_replace('#/\*.*\*/#Us','',$thiscss);
|
271 |
|
272 |
-
while(preg_match_all('#@import
|
273 |
foreach($matches[0] as $import) {
|
274 |
if ($this->isremovable($import,$this->cssremovables)) {
|
275 |
$thiscss = str_replace($import,'',$thiscss);
|
@@ -327,6 +322,7 @@ class autoptimizeStyles extends autoptimizeBase {
|
|
327 |
foreach($this->csscode as &$code) {
|
328 |
// Check for already-minified code
|
329 |
$hash = md5($code);
|
|
|
330 |
$ccheck = new autoptimizeCache($hash,'css');
|
331 |
if($ccheck->check()) {
|
332 |
$code = $ccheck->retrieve();
|
@@ -543,8 +539,13 @@ class autoptimizeStyles extends autoptimizeBase {
|
|
543 |
|
544 |
//Add the stylesheet either deferred (import at bottom) or normal links in head
|
545 |
if($this->defer == true) {
|
546 |
-
|
|
|
|
|
|
|
|
|
547 |
$noScriptCssBlock .= '<link type="text/css" media="'.$media.'" href="'.$url.'" rel="stylesheet" />';
|
|
|
548 |
} else {
|
549 |
if (strlen($this->csscode[$media]) > $this->cssinlinesize) {
|
550 |
$this->inject_in_html('<link type="text/css" media="'.$media.'" href="'.$url.'" rel="stylesheet" />',$replaceTag);
|
@@ -561,7 +562,12 @@ class autoptimizeStyles extends autoptimizeBase {
|
|
561 |
!function(a){if(a.loadCSS){var b=loadCSS.relpreload={};if(b.support=function(){try{return a.document.createElement("link").relList.supports("preload")}catch(b){return!1}},b.poly=function(){for(var b=a.document.getElementsByTagName("link"),c=0;c<b.length;c++){var d=b[c];"preload"===d.rel&&"style"===d.getAttribute("as")&&(a.loadCSS(d.href,d,d.getAttribute("media")),d.rel=null)}},!b.support()){b.poly();var c=a.setInterval(b.poly,300);a.addEventListener&&a.addEventListener("load",function(){b.poly(),a.clearInterval(c)}),a.attachEvent&&a.attachEvent("onload",function(){a.clearInterval(c)})}}}(this);</script>';
|
562 |
$noScriptCssBlock .= "</noscript>";
|
563 |
$this->inject_in_html($preloadCssBlock.$noScriptCssBlock,$replaceTag);
|
564 |
-
|
|
|
|
|
|
|
|
|
|
|
565 |
}
|
566 |
}
|
567 |
|
@@ -571,7 +577,7 @@ class autoptimizeStyles extends autoptimizeBase {
|
|
571 |
|
572 |
static function fixurls($file, $code) {
|
573 |
// Switch all imports to the url() syntax
|
574 |
-
$code = preg_replace( '#@import ("|\')(.+?)\.css
|
575 |
|
576 |
if ( preg_match_all( self::ASSETS_REGEX, $code, $matches ) ) {
|
577 |
$file = str_replace( WP_ROOT_DIR, '/', $file );
|
31 |
$this->whitelist = array_filter(array_map('trim',explode(",",$whitelistCSS)));
|
32 |
}
|
33 |
|
34 |
+
$removableCSS = apply_filters( 'autoptimize_filter_css_removables','' );
|
|
|
|
|
|
|
|
|
|
|
35 |
if (!empty($removableCSS)) {
|
36 |
$this->cssremovables = array_filter(array_map('trim',explode(",",$removableCSS)));
|
37 |
}
|
264 |
// remove comments to avoid importing commented-out imports
|
265 |
$thiscss_nocomments = preg_replace('#/\*.*\*/#Us','',$thiscss);
|
266 |
|
267 |
+
while(preg_match_all('#@import +(?:url)?(?:(?:\\(([\"\']?)(?:[^\"\')]+)\\1\\)|([\"\'])(?:[^\"\']+)\\2)(?:[^,;\"\']+(?:,[^,;\"\']+)*)?)(?:;)#m',$thiscss_nocomments,$matches)) {
|
268 |
foreach($matches[0] as $import) {
|
269 |
if ($this->isremovable($import,$this->cssremovables)) {
|
270 |
$thiscss = str_replace($import,'',$thiscss);
|
322 |
foreach($this->csscode as &$code) {
|
323 |
// Check for already-minified code
|
324 |
$hash = md5($code);
|
325 |
+
do_action( 'autoptimize_action_css_hash', $hash );
|
326 |
$ccheck = new autoptimizeCache($hash,'css');
|
327 |
if($ccheck->check()) {
|
328 |
$code = $ccheck->retrieve();
|
539 |
|
540 |
//Add the stylesheet either deferred (import at bottom) or normal links in head
|
541 |
if($this->defer == true) {
|
542 |
+
|
543 |
+
// Filter to modify the onload attribute - passes value and the stylesheet url
|
544 |
+
$preloadOnLoad = apply_filters('autoptimize_filter_css_preload_onload', "this.rel='stylesheet'", $url);
|
545 |
+
|
546 |
+
$preloadCssBlock .= '<link rel="preload" as="style" media="'.$media.'" href="'.$url.'" onload="'.$preloadOnLoad.'" />';
|
547 |
$noScriptCssBlock .= '<link type="text/css" media="'.$media.'" href="'.$url.'" rel="stylesheet" />';
|
548 |
+
|
549 |
} else {
|
550 |
if (strlen($this->csscode[$media]) > $this->cssinlinesize) {
|
551 |
$this->inject_in_html('<link type="text/css" media="'.$media.'" href="'.$url.'" rel="stylesheet" />',$replaceTag);
|
562 |
!function(a){if(a.loadCSS){var b=loadCSS.relpreload={};if(b.support=function(){try{return a.document.createElement("link").relList.supports("preload")}catch(b){return!1}},b.poly=function(){for(var b=a.document.getElementsByTagName("link"),c=0;c<b.length;c++){var d=b[c];"preload"===d.rel&&"style"===d.getAttribute("as")&&(a.loadCSS(d.href,d,d.getAttribute("media")),d.rel=null)}},!b.support()){b.poly();var c=a.setInterval(b.poly,300);a.addEventListener&&a.addEventListener("load",function(){b.poly(),a.clearInterval(c)}),a.attachEvent&&a.attachEvent("onload",function(){a.clearInterval(c)})}}}(this);</script>';
|
563 |
$noScriptCssBlock .= "</noscript>";
|
564 |
$this->inject_in_html($preloadCssBlock.$noScriptCssBlock,$replaceTag);
|
565 |
+
|
566 |
+
// Adds preload polyfill at end of body tag
|
567 |
+
$this->inject_in_html(
|
568 |
+
apply_filters('autoptimize_css_preload_polyfill', $preloadPolyfill),
|
569 |
+
array('</body>','before')
|
570 |
+
);
|
571 |
}
|
572 |
}
|
573 |
|
577 |
|
578 |
static function fixurls($file, $code) {
|
579 |
// Switch all imports to the url() syntax
|
580 |
+
$code = preg_replace( '#@import ("|\')(.+?)\.css.*?("|\')#', '@import url("${2}.css")', $code );
|
581 |
|
582 |
if ( preg_match_all( self::ASSETS_REGEX, $code, $matches ) ) {
|
583 |
$file = str_replace( WP_ROOT_DIR, '/', $file );
|
classes/external/php/minify-html.php
CHANGED
@@ -136,8 +136,8 @@ class Minify_HTML {
|
|
136 |
,$this->_html);
|
137 |
|
138 |
// trim each line.
|
139 |
-
//
|
140 |
-
$this->_html = preg_replace('
|
141 |
|
142 |
// remove ws around block/undisplayed elements
|
143 |
$this->_html = preg_replace('/\\s+(<\\/?(?:area|article|aside|base(?:font)?|blockquote|body'
|
136 |
,$this->_html);
|
137 |
|
138 |
// trim each line.
|
139 |
+
// replace by space instead of '' to avoid newline after opening tag getting zapped
|
140 |
+
$this->_html = preg_replace('/^\s+|\s+$/m', ' ', $this->_html);
|
141 |
|
142 |
// remove ws around block/undisplayed elements
|
143 |
$this->_html = preg_replace('/\\s+(<\\/?(?:area|article|aside|base(?:font)?|blockquote|body'
|
classes/external/php/yui-php-cssmin-2.4.8-4_fgo.php
CHANGED
@@ -326,7 +326,8 @@ class CSSmin
|
|
326 |
|
327 |
// Put the space back in some cases, to support stuff like
|
328 |
// @media screen and (-webkit-min-device-pixel-ratio:0){
|
329 |
-
|
|
|
330 |
|
331 |
// Remove the spaces after the things that should not have spaces after them.
|
332 |
$css = preg_replace('/([\!\{\}\:;\>\+\(\[\~\=,])\s+/S', '$1', $css);
|
326 |
|
327 |
// Put the space back in some cases, to support stuff like
|
328 |
// @media screen and (-webkit-min-device-pixel-ratio:0){
|
329 |
+
// based on regex from https://github.com/tubalmartin/YUI-CSS-compressor-PHP-port/blob/v3.2.0/src/Minifier.php#L479
|
330 |
+
$css = preg_replace('/(\s|\)\s)(and|not|or)\(/i', '$1$2 (', $css);
|
331 |
|
332 |
// Remove the spaces after the things that should not have spaces after them.
|
333 |
$css = preg_replace('/([\!\{\}\:;\>\+\(\[\~\=,])\s+/S', '$1', $css);
|
classlesses/autoptimizeCacheChecker.php
CHANGED
@@ -1,65 +1,65 @@
|
|
1 |
-
<?php
|
2 |
-
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
3 |
-
|
4 |
-
/*
|
5 |
-
* cachechecker code
|
6 |
-
* new in AO 2.0
|
7 |
-
*
|
8 |
-
* daily cronned job (filter to change freq. + filter to disable)
|
9 |
-
* checks if cachesize is > 0.5GB (filter to change maxsize)
|
10 |
-
* if so an option is set
|
11 |
-
* if that option is set, notice on admin is shown
|
12 |
-
*
|
13 |
-
*/
|
14 |
-
|
15 |
-
if (is_admin()) {
|
16 |
-
add_action('plugins_loaded','ao_cachechecker_setup');
|
17 |
-
}
|
18 |
-
|
19 |
-
function ao_cachechecker_setup() {
|
20 |
-
$doCacheCheck = (bool) apply_filters( 'autoptimize_filter_cachecheck_do', true);
|
21 |
-
$cacheCheckSchedule = wp_get_schedule( 'ao_cachechecker' );
|
22 |
-
$AOCCfreq = apply_filters('autoptimize_filter_cachecheck_frequency','daily');
|
23 |
-
if (!in_array($AOCCfreq,array('hourly','daily','monthly'))) {
|
24 |
-
$AOCCfreq='daily';
|
25 |
-
}
|
26 |
-
if ( $doCacheCheck && ( !$cacheCheckSchedule || $cacheCheckSchedule !== $AOCCfreq ) ) {
|
27 |
-
wp_schedule_event(time(), $AOCCfreq, 'ao_cachechecker');
|
28 |
-
} else if ( $cacheCheckSchedule && !$doCacheCheck ) {
|
29 |
-
wp_clear_scheduled_hook( 'ao_cachechecker' );
|
30 |
-
}
|
31 |
-
}
|
32 |
-
|
33 |
-
add_action('ao_cachechecker', 'ao_cachechecker_cronjob');
|
34 |
-
function ao_cachechecker_cronjob() {
|
35 |
-
$maxSize = (int) apply_filters( "autoptimize_filter_cachecheck_maxsize",
|
36 |
-
$doCacheCheck = (bool) apply_filters( "autoptimize_filter_cachecheck_do", true);
|
37 |
-
$statArr=autoptimizeCache::stats();
|
38 |
-
$cacheSize=round($statArr[1]
|
39 |
-
if (($cacheSize>$maxSize) && ($doCacheCheck)) {
|
40 |
-
update_option("autoptimize_cachesize_notice",true);
|
41 |
-
if (apply_filters('autoptimize_filter_cachecheck_sendmail',true)) {
|
42 |
-
$saniSiteUrl=esc_url(site_url());
|
43 |
-
$ao_mailto=apply_filters('autoptimize_filter_cachecheck_mailto',get_option('admin_email',''));
|
44 |
-
$ao_mailsubject=__('Autoptimize cache size warning','autoptimize')." (".$saniSiteUrl.")";
|
45 |
-
$ao_mailbody=__('Autoptimize\'s cache size is getting big, consider purging the cache. Have a look at https://wordpress.org/plugins/autoptimize/faq/ to see how you can keep the cache size under control.', 'autoptimize')." (site: ".$saniSiteUrl.")";
|
46 |
-
|
47 |
-
if (!empty($ao_mailto)) {
|
48 |
-
$ao_mailresult=wp_mail($ao_mailto,$ao_mailsubject,$ao_mailbody);
|
49 |
-
if (!$ao_mailresult) {
|
50 |
-
error_log("Autoptimize could not send cache size warning mail.");
|
51 |
-
}
|
52 |
-
}
|
53 |
-
}
|
54 |
-
}
|
55 |
-
}
|
56 |
-
|
57 |
-
add_action('admin_notices', 'autoptimize_cachechecker_notice');
|
58 |
-
function autoptimize_cachechecker_notice() {
|
59 |
-
if ((bool) get_option("autoptimize_cachesize_notice",false)) {
|
60 |
-
echo '<div class="notice notice-warning"><p>';
|
61 |
-
_e('<strong>Autoptimize\'s cache size is getting big</strong>, consider purging the cache. Have a look at <a href="https://wordpress.org/plugins/autoptimize/faq/" target="_blank">the Autoptimize FAQ</a> to see how you can keep the cache size under control.', 'autoptimize' );
|
62 |
-
echo '</p></div>';
|
63 |
-
update_option("autoptimize_cachesize_notice",false);
|
64 |
-
}
|
65 |
-
}
|
1 |
+
<?php
|
2 |
+
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
3 |
+
|
4 |
+
/*
|
5 |
+
* cachechecker code
|
6 |
+
* new in AO 2.0
|
7 |
+
*
|
8 |
+
* daily cronned job (filter to change freq. + filter to disable)
|
9 |
+
* checks if cachesize is > 0.5GB (filter to change maxsize)
|
10 |
+
* if so an option is set
|
11 |
+
* if that option is set, notice on admin is shown
|
12 |
+
*
|
13 |
+
*/
|
14 |
+
|
15 |
+
if (is_admin()) {
|
16 |
+
add_action('plugins_loaded','ao_cachechecker_setup');
|
17 |
+
}
|
18 |
+
|
19 |
+
function ao_cachechecker_setup() {
|
20 |
+
$doCacheCheck = (bool) apply_filters( 'autoptimize_filter_cachecheck_do', true);
|
21 |
+
$cacheCheckSchedule = wp_get_schedule( 'ao_cachechecker' );
|
22 |
+
$AOCCfreq = apply_filters('autoptimize_filter_cachecheck_frequency','daily');
|
23 |
+
if (!in_array($AOCCfreq,array('hourly','daily','monthly'))) {
|
24 |
+
$AOCCfreq='daily';
|
25 |
+
}
|
26 |
+
if ( $doCacheCheck && ( !$cacheCheckSchedule || $cacheCheckSchedule !== $AOCCfreq ) ) {
|
27 |
+
wp_schedule_event(time(), $AOCCfreq, 'ao_cachechecker');
|
28 |
+
} else if ( $cacheCheckSchedule && !$doCacheCheck ) {
|
29 |
+
wp_clear_scheduled_hook( 'ao_cachechecker' );
|
30 |
+
}
|
31 |
+
}
|
32 |
+
|
33 |
+
add_action('ao_cachechecker', 'ao_cachechecker_cronjob');
|
34 |
+
function ao_cachechecker_cronjob() {
|
35 |
+
$maxSize = (int) apply_filters( "autoptimize_filter_cachecheck_maxsize", 536870912);
|
36 |
+
$doCacheCheck = (bool) apply_filters( "autoptimize_filter_cachecheck_do", true);
|
37 |
+
$statArr=autoptimizeCache::stats();
|
38 |
+
$cacheSize=round($statArr[1]);
|
39 |
+
if (($cacheSize>$maxSize) && ($doCacheCheck)) {
|
40 |
+
update_option("autoptimize_cachesize_notice",true);
|
41 |
+
if (apply_filters('autoptimize_filter_cachecheck_sendmail',true)) {
|
42 |
+
$saniSiteUrl=esc_url(site_url());
|
43 |
+
$ao_mailto=apply_filters('autoptimize_filter_cachecheck_mailto',get_option('admin_email',''));
|
44 |
+
$ao_mailsubject=__('Autoptimize cache size warning','autoptimize')." (".$saniSiteUrl.")";
|
45 |
+
$ao_mailbody=__('Autoptimize\'s cache size is getting big, consider purging the cache. Have a look at https://wordpress.org/plugins/autoptimize/faq/ to see how you can keep the cache size under control.', 'autoptimize')." (site: ".$saniSiteUrl.")";
|
46 |
+
|
47 |
+
if (!empty($ao_mailto)) {
|
48 |
+
$ao_mailresult=wp_mail($ao_mailto,$ao_mailsubject,$ao_mailbody);
|
49 |
+
if (!$ao_mailresult) {
|
50 |
+
error_log("Autoptimize could not send cache size warning mail.");
|
51 |
+
}
|
52 |
+
}
|
53 |
+
}
|
54 |
+
}
|
55 |
+
}
|
56 |
+
|
57 |
+
add_action('admin_notices', 'autoptimize_cachechecker_notice');
|
58 |
+
function autoptimize_cachechecker_notice() {
|
59 |
+
if ((bool) get_option("autoptimize_cachesize_notice",false)) {
|
60 |
+
echo '<div class="notice notice-warning"><p>';
|
61 |
+
_e('<strong>Autoptimize\'s cache size is getting big</strong>, consider purging the cache. Have a look at <a href="https://wordpress.org/plugins/autoptimize/faq/" target="_blank">the Autoptimize FAQ</a> to see how you can keep the cache size under control.', 'autoptimize' );
|
62 |
+
echo '</p></div>';
|
63 |
+
update_option("autoptimize_cachesize_notice",false);
|
64 |
+
}
|
65 |
+
}
|
classlesses/autoptimizeExtra.php
ADDED
@@ -0,0 +1,320 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
3 |
+
|
4 |
+
// initialize
|
5 |
+
if ( is_admin() ) {
|
6 |
+
add_action( 'admin_menu', 'autoptimize_extra_admin' );
|
7 |
+
add_filter( 'autoptimize_filter_settingsscreen_tabs','add_autoptimize_extra_tab' );
|
8 |
+
} else {
|
9 |
+
autoptimize_extra_init();
|
10 |
+
}
|
11 |
+
|
12 |
+
// get option
|
13 |
+
function autoptimize_extra_get_options() {
|
14 |
+
$_default_val = array("autoptimize_extra_checkbox_field_1"=>"0","autoptimize_extra_checkbox_field_0"=>"0","autoptimize_extra_radio_field_4"=>"1","autoptimize_extra_text_field_2"=>"","autoptimize_extra_text_field_3"=>"");
|
15 |
+
$_option_val = get_option( 'autoptimize_extra_settings' );
|
16 |
+
if (empty($_option_val)) {
|
17 |
+
$_option_val = $_default_val;
|
18 |
+
}
|
19 |
+
return $_option_val;
|
20 |
+
}
|
21 |
+
|
22 |
+
// frontend init
|
23 |
+
function autoptimize_extra_init() {
|
24 |
+
$autoptimize_extra_options = autoptimize_extra_get_options();
|
25 |
+
|
26 |
+
/* disable emojis */
|
27 |
+
if ($autoptimize_extra_options['autoptimize_extra_checkbox_field_1']) {
|
28 |
+
autoptimize_extra_disable_emojis();
|
29 |
+
}
|
30 |
+
|
31 |
+
/* remove version from query string */
|
32 |
+
if ($autoptimize_extra_options['autoptimize_extra_checkbox_field_0']) {
|
33 |
+
add_filter( 'script_loader_src', 'autoptimize_extra_remove_qs', 15, 1 );
|
34 |
+
add_filter( 'style_loader_src', 'autoptimize_extra_remove_qs', 15, 1 );
|
35 |
+
}
|
36 |
+
|
37 |
+
/* async JS */
|
38 |
+
if (!empty($autoptimize_extra_options['autoptimize_extra_text_field_3'])) {
|
39 |
+
add_filter('autoptimize_filter_js_exclude','autoptimize_extra_async_js',10,1);
|
40 |
+
}
|
41 |
+
|
42 |
+
/* optimize google fonts */
|
43 |
+
if ( !empty( $autoptimize_extra_options['autoptimize_extra_radio_field_4'] ) && ( $autoptimize_extra_options['autoptimize_extra_radio_field_4'] != "1" ) ) {
|
44 |
+
if ( $autoptimize_extra_options['autoptimize_extra_radio_field_4'] == "2" ) {
|
45 |
+
add_filter('autoptimize_filter_css_removables','autoptimize_extra_remove_gfonts',10,1);
|
46 |
+
} else {
|
47 |
+
add_filter('autoptimize_html_after_minify','autoptimize_extra_gfonts',10,1);
|
48 |
+
add_filter('autoptimize_extra_filter_tobepreconn','autoptimize_extra_preconnectgooglefonts',10,1);
|
49 |
+
}
|
50 |
+
}
|
51 |
+
|
52 |
+
/* preconnect */
|
53 |
+
if ( !empty($autoptimize_extra_options['autoptimize_extra_text_field_2']) || has_filter('autoptimize_extra_filter_tobepreconn') ) {
|
54 |
+
add_filter( 'wp_resource_hints', 'autoptimize_extra_preconnect', 10, 2 );
|
55 |
+
}
|
56 |
+
}
|
57 |
+
|
58 |
+
// disable emoji's functions
|
59 |
+
function autoptimize_extra_disable_emojis() {
|
60 |
+
// all actions related to emojis
|
61 |
+
remove_action( 'admin_print_styles', 'print_emoji_styles' );
|
62 |
+
remove_action( 'wp_head', 'print_emoji_detection_script', 7 );
|
63 |
+
remove_action( 'admin_print_scripts', 'print_emoji_detection_script' );
|
64 |
+
remove_action( 'wp_print_styles', 'print_emoji_styles' );
|
65 |
+
remove_filter( 'wp_mail', 'wp_staticize_emoji_for_email' );
|
66 |
+
remove_filter( 'the_content_feed', 'wp_staticize_emoji' );
|
67 |
+
remove_filter( 'comment_text_rss', 'wp_staticize_emoji' );
|
68 |
+
|
69 |
+
// filter to remove TinyMCE emojis
|
70 |
+
add_filter( 'tiny_mce_plugins', 'autoptimize_extra_disable_emojis_tinymce' );
|
71 |
+
}
|
72 |
+
|
73 |
+
function autoptimize_extra_disable_emojis_tinymce( $plugins ) {
|
74 |
+
if ( is_array( $plugins ) ) {
|
75 |
+
return array_diff( $plugins, array( 'wpemoji' ) );
|
76 |
+
} else {
|
77 |
+
return array();
|
78 |
+
}
|
79 |
+
}
|
80 |
+
|
81 |
+
// remove query string function
|
82 |
+
function autoptimize_extra_remove_qs( $src ) {
|
83 |
+
if ( strpos($src, '?ver=') ) {
|
84 |
+
$src = remove_query_arg( 'ver', $src );
|
85 |
+
}
|
86 |
+
return $src;
|
87 |
+
}
|
88 |
+
|
89 |
+
// async function
|
90 |
+
function autoptimize_extra_async_js($in) {
|
91 |
+
$autoptimize_extra_options = autoptimize_extra_get_options();
|
92 |
+
|
93 |
+
// get exclusions
|
94 |
+
$AO_JSexclArrayIn = array();
|
95 |
+
if (!empty($in)) {
|
96 |
+
$AO_JSexclArrayIn = array_fill_keys(array_filter(array_map('trim',explode(",",$in))),"");
|
97 |
+
}
|
98 |
+
|
99 |
+
// get asyncs
|
100 |
+
$_fromSetting = $autoptimize_extra_options['autoptimize_extra_text_field_3'];
|
101 |
+
$AO_asynced_JS = array_fill_keys(array_filter(array_map('trim',explode(",",$_fromSetting))),"");
|
102 |
+
foreach ($AO_asynced_JS as $JSkey => $JSvalue) {
|
103 |
+
$AO_asynced_JS[$JSkey] = "async";
|
104 |
+
}
|
105 |
+
|
106 |
+
// merge exclusions & asyncs in one array and return to AO API
|
107 |
+
$AO_excl_w_async = array_merge( $AO_JSexclArrayIn, $AO_asynced_JS );
|
108 |
+
return $AO_excl_w_async;
|
109 |
+
}
|
110 |
+
|
111 |
+
// preconnect function
|
112 |
+
function autoptimize_extra_preconnect($hints, $relation_type) {
|
113 |
+
$autoptimize_extra_options = autoptimize_extra_get_options();
|
114 |
+
|
115 |
+
// get setting and store in array
|
116 |
+
$_to_be_preconnected = array_filter(array_map('trim',explode(",",$autoptimize_extra_options['autoptimize_extra_text_field_2'])));
|
117 |
+
$_to_be_preconnected = apply_filters( 'autoptimize_extra_filter_tobepreconn', $_to_be_preconnected );
|
118 |
+
|
119 |
+
// walk array, extract domain and add to new array with crossorigin attribute
|
120 |
+
foreach ($_to_be_preconnected as $_preconn_single) {
|
121 |
+
$_preconn_parsed = parse_url($_preconn_single);
|
122 |
+
|
123 |
+
if ( is_array($_preconn_parsed) && empty($_preconn_parsed['scheme']) ) {
|
124 |
+
$_preconn_domain = "//".$_preconn_parsed['host'];
|
125 |
+
} else if ( is_array($_preconn_parsed) ) {
|
126 |
+
$_preconn_domain = $_preconn_parsed['scheme']."://".$_preconn_parsed['host'];
|
127 |
+
}
|
128 |
+
|
129 |
+
if ( !empty($_preconn_domain) ) {
|
130 |
+
$_preconn_hint = array('href' => $_preconn_domain);
|
131 |
+
// fonts don't get preconnected unless crossorigin flag is set, non-fonts don't get preconnected if origin flag is set
|
132 |
+
// so hardcode fonts.gstatic.com to come with crossorigin and have filter to add other domains if needed
|
133 |
+
$_preconn_crossorigin = apply_filters( 'autoptimize_extra_filter_preconn_crossorigin', array('https://fonts.gstatic.com') );
|
134 |
+
if ( in_array( $_preconn_domain, $_preconn_crossorigin ) ) {
|
135 |
+
$_preconn_hint['crossorigin'] = 'anonymous';
|
136 |
+
}
|
137 |
+
$_new_hints[] = $_preconn_hint;
|
138 |
+
}
|
139 |
+
}
|
140 |
+
|
141 |
+
// merge in wordpress' preconnect hints
|
142 |
+
if ( 'preconnect' === $relation_type && !empty($_new_hints) ) {
|
143 |
+
$hints = array_merge($hints, $_new_hints);
|
144 |
+
}
|
145 |
+
|
146 |
+
return $hints;
|
147 |
+
}
|
148 |
+
|
149 |
+
// google font functions
|
150 |
+
function autoptimize_extra_remove_gfonts($in) {
|
151 |
+
// simply remove google fonts
|
152 |
+
return $in.", fonts.googleapis.com";
|
153 |
+
}
|
154 |
+
|
155 |
+
function autoptimize_extra_gfonts($in) {
|
156 |
+
$autoptimize_extra_options = autoptimize_extra_get_options();
|
157 |
+
|
158 |
+
// extract fonts, partly based on wp rocket's extraction code
|
159 |
+
$_without_comments = preg_replace( '/<!--(.*)-->/Uis', '', $in );
|
160 |
+
preg_match_all( '#<link(?:\s+(?:(?!href\s*=\s*)[^>])+)?(?:\s+href\s*=\s*([\'"])((?:https?:)?\/\/fonts\.googleapis\.com\/css(?:(?!\1).)+)\1)(?:\s+[^>]*)?>#iU', $_without_comments, $matches );
|
161 |
+
|
162 |
+
$i = 0;
|
163 |
+
$fontsCollection = array();
|
164 |
+
if ( ! $matches[2] ) {
|
165 |
+
return $in;
|
166 |
+
}
|
167 |
+
|
168 |
+
// store them in $fonts array
|
169 |
+
foreach ( $matches[2] as $font ) {
|
170 |
+
if ( ! preg_match( '/rel=["\']dns-prefetch["\']/', $matches[0][ $i ] ) ) {
|
171 |
+
// Get fonts name.
|
172 |
+
$font = str_replace( array( '%7C', '%7c' ) , '|', $font );
|
173 |
+
$font = explode( 'family=', $font );
|
174 |
+
$font = ( isset( $font[1] ) ) ? explode( '&', $font[1] ) : array();
|
175 |
+
// Add font to $fonts[$i] but make sure not to pollute with an empty family
|
176 |
+
$_thisfont = array_values( array_filter( explode( '|', reset( $font ) ) ) );
|
177 |
+
if ( !empty($_thisfont) ) {
|
178 |
+
$fontsCollection[$i]["fonts"] = $_thisfont;
|
179 |
+
// And add subset if any
|
180 |
+
$subset = ( is_array( $font ) ) ? end( $font ) : '';
|
181 |
+
if ( false !== strpos( $subset, 'subset=' ) ) {
|
182 |
+
$subset = explode( 'subset=', $subset );
|
183 |
+
$fontsCollection[$i]["subsets"] = explode( ',', $subset[1] );
|
184 |
+
}
|
185 |
+
}
|
186 |
+
// And remove Google Fonts.
|
187 |
+
$in = str_replace( $matches[0][ $i ], '', $in );
|
188 |
+
}
|
189 |
+
$i++;
|
190 |
+
}
|
191 |
+
|
192 |
+
$_fontsOut="";
|
193 |
+
if ( $autoptimize_extra_options['autoptimize_extra_radio_field_4'] == "3" ) {
|
194 |
+
// aggregate & link
|
195 |
+
$_fontsString="";
|
196 |
+
$_subsetString="";
|
197 |
+
foreach ($fontsCollection as $font) {
|
198 |
+
$_fontsString .= '|'.trim( implode( '|' , $font["fonts"] ), '|' );
|
199 |
+
if ( !empty( $font["subsets"] ) ) {
|
200 |
+
$_subsetString .= implode( ',', $font["subsets"] );
|
201 |
+
}
|
202 |
+
}
|
203 |
+
|
204 |
+
if (!empty($_subsetString)) {
|
205 |
+
$_fontsString = $_fontsString."#038;subset=".$_subsetString;
|
206 |
+
}
|
207 |
+
|
208 |
+
$_fontsString = str_replace( '|', '%7C', ltrim($_fontsString,'|') );
|
209 |
+
|
210 |
+
if ( ! empty( $_fontsString ) ) {
|
211 |
+
$_fontsOut = '<link rel="stylesheet" id="ao_optimized_gfonts" href="https://fonts.googleapis.com/css?family=' . $_fontsString . '" />';
|
212 |
+
}
|
213 |
+
} else if ( $autoptimize_extra_options['autoptimize_extra_radio_field_4'] == "4" ) {
|
214 |
+
// aggregate & load async (webfont.js impl.)
|
215 |
+
$_fontsArray = array();
|
216 |
+
foreach ($fontsCollection as $_fonts) {
|
217 |
+
if ( !empty( $_fonts["subsets"] ) ) {
|
218 |
+
$_subset = implode(",",$_fonts["subsets"]);
|
219 |
+
foreach ($_fonts["fonts"] as $key => $_one_font) {
|
220 |
+
$_one_font = $_one_font.":".$_subset;
|
221 |
+
$_fonts["fonts"][$key] = $_one_font;
|
222 |
+
}
|
223 |
+
}
|
224 |
+
$_fontsArray = array_merge($_fontsArray, $_fonts["fonts"]);
|
225 |
+
}
|
226 |
+
|
227 |
+
$_fontsOut = '<script data-cfasync="false" type="text/javascript">WebFontConfig={google:{families:[\'';
|
228 |
+
foreach ($_fontsArray as $_font) {
|
229 |
+
$_fontsOut .= $_font."','";
|
230 |
+
}
|
231 |
+
$_fontsOut = trim(trim($_fontsOut,"'"),",");
|
232 |
+
$_fontsOut .= '] },classes:false, events:false, timeout:1500};(function() {var wf = document.createElement(\'script\');wf.src=\'https://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js\';wf.type=\'text/javascript\';wf.async=\'true\';var s=document.getElementsByTagName(\'script\')[0];s.parentNode.insertBefore(wf, s);})();</script>';
|
233 |
+
}
|
234 |
+
|
235 |
+
// inject in HTML
|
236 |
+
$out = substr_replace($in, $_fontsOut."<link", strpos($in, "<link"), strlen("<link"));
|
237 |
+
return $out;
|
238 |
+
}
|
239 |
+
|
240 |
+
function autoptimize_extra_preconnectgooglefonts($in) {
|
241 |
+
$autoptimize_extra_options = autoptimize_extra_get_options();
|
242 |
+
|
243 |
+
// preconnect to fonts.gstatic.com speed up download of static font-files
|
244 |
+
$in[] = "https://fonts.gstatic.com";
|
245 |
+
if ( $autoptimize_extra_options['autoptimize_extra_radio_field_4'] == "4" ) {
|
246 |
+
// and more preconnects for webfont.js
|
247 |
+
$in[] = "https://ajax.googleapis.com/";
|
248 |
+
$in[] = "https://fonts.googleapis.com";
|
249 |
+
}
|
250 |
+
return $in;
|
251 |
+
}
|
252 |
+
|
253 |
+
/* admin page functions */
|
254 |
+
function autoptimize_extra_admin() {
|
255 |
+
add_submenu_page( null, 'autoptimize_extra', 'autoptimize_extra', 'manage_options', 'autoptimize_extra', 'autoptimize_extra_options_page' );
|
256 |
+
register_setting( 'autoptimize_extra_settings', 'autoptimize_extra_settings' );
|
257 |
+
}
|
258 |
+
|
259 |
+
function add_autoptimize_extra_tab($in) {
|
260 |
+
$in=array_merge($in,array('autoptimize_extra' => __('Extra','autoptimize')));
|
261 |
+
return $in;
|
262 |
+
}
|
263 |
+
|
264 |
+
function autoptimize_extra_options_page() {
|
265 |
+
$autoptimize_extra_options = autoptimize_extra_get_options();
|
266 |
+
$_googlef = $autoptimize_extra_options['autoptimize_extra_radio_field_4'];
|
267 |
+
?>
|
268 |
+
<style>
|
269 |
+
#ao_settings_form {background: white;border: 1px solid #ccc;padding: 1px 15px;margin: 15px 10px 10px 0;}
|
270 |
+
#ao_settings_form .form-table th {font-weight: 100;}
|
271 |
+
#autoptimize_extra_descr{font-size: 120%;}
|
272 |
+
</style>
|
273 |
+
<div class="wrap">
|
274 |
+
<h1><?php _e('Autoptimize Settings','autoptimize'); ?></h1>
|
275 |
+
<?php echo autoptimizeConfig::ao_admin_tabs(); ?>
|
276 |
+
<form id='ao_settings_form' action='options.php' method='post'>
|
277 |
+
<?php settings_fields('autoptimize_extra_settings'); ?>
|
278 |
+
<h2><?php _e('Extra Auto-Optimizations','autoptimize'); ?></h2>
|
279 |
+
<span id='autoptimize_extra_descr'><?php _e('The following settings can improve your site\'s performance even more.','autoptimize'); ?></span>
|
280 |
+
<table class="form-table">
|
281 |
+
<tr>
|
282 |
+
<th scope="row"><?php _e('Remove emojis','autoptimize'); ?></th>
|
283 |
+
<td>
|
284 |
+
<label><input type='checkbox' name='autoptimize_extra_settings[autoptimize_extra_checkbox_field_1]' <?php checked( $autoptimize_extra_options['autoptimize_extra_checkbox_field_1'], 1 ); ?> value='1'><?php _e('Removes WordPress\' core emojis\' inline CSS, inline JavaScript, and an otherwise un-autoptimized JavaScript file.','autoptimize'); ?></label>
|
285 |
+
</td>
|
286 |
+
</tr>
|
287 |
+
<tr>
|
288 |
+
<th scope="row"><?php _e('Remove query strings from static resources','autoptimize'); ?></th>
|
289 |
+
<td>
|
290 |
+
<label><input type='checkbox' name='autoptimize_extra_settings[autoptimize_extra_checkbox_field_0]' <?php checked( $autoptimize_extra_options['autoptimize_extra_checkbox_field_0'], 1 ); ?> value='1'><?php _e('Removing query strings (or more specificaly the <code>ver</code> parameter) will not improve load time, but might improve performance scores.','autoptimize'); ?></label>
|
291 |
+
</td>
|
292 |
+
</tr>
|
293 |
+
<tr>
|
294 |
+
<th scope="row"><?php _e('Google Fonts','autoptimize'); ?></th>
|
295 |
+
<td>
|
296 |
+
<input type="radio" name="autoptimize_extra_settings[autoptimize_extra_radio_field_4]" value="1" <?php if (!in_array($_googlef,array(2,3,4))) {echo "checked"; } ?> ><?php _e('Leave as is','autoptimize'); ?><br/>
|
297 |
+
<input type="radio" name="autoptimize_extra_settings[autoptimize_extra_radio_field_4]" value="2" <?php checked(2, $_googlef, true); ?> ><?php _e('Remove Google Fonts','autoptimize'); ?><br/>
|
298 |
+
<input type="radio" name="autoptimize_extra_settings[autoptimize_extra_radio_field_4]" value="3" <?php checked(3, $_googlef, true); ?> ><?php _e('Combine and link in head','autoptimize'); ?><br/>
|
299 |
+
<input type="radio" name="autoptimize_extra_settings[autoptimize_extra_radio_field_4]" value="4" <?php checked(4, $_googlef, true); ?> ><?php _e('Combine and load fonts asynchronously with <a href="https://github.com/typekit/webfontloader#readme" target="_blank">webfont.js</a>','autoptimize'); ?><br/>
|
300 |
+
</td>
|
301 |
+
</tr>
|
302 |
+
<tr>
|
303 |
+
<th scope="row"><?php _e('Preconnect to 3rd party domains <em>(advanced users)</em>','autoptimize'); ?></th>
|
304 |
+
<td>
|
305 |
+
<label><input type='text' style='width:80%' name='autoptimize_extra_settings[autoptimize_extra_text_field_2]' value='<?php echo $autoptimize_extra_options['autoptimize_extra_text_field_2']; ?>'><br /><?php _e('Add 3rd party domains you want the browser to <a href="https://www.keycdn.com/support/preconnect/#primary" target="_blank">preconnect</a> to, separated by comma\'s. Make sure to include the correct protocol (HTTP or HTTPS).','autoptimize'); ?></label>
|
306 |
+
</td>
|
307 |
+
</tr>
|
308 |
+
<tr>
|
309 |
+
<th scope="row"><?php _e('Async Javascript-files <em>(advanced users)</em>','autoptimize'); ?></th>
|
310 |
+
<td>
|
311 |
+
<input type='text' style='width:80%' name='autoptimize_extra_settings[autoptimize_extra_text_field_3]' value='<?php echo $autoptimize_extra_options['autoptimize_extra_text_field_3']; ?>'>
|
312 |
+
<br />
|
313 |
+
<?php _e('Comma-separated list of local or 3rd party JS-files that should loaded with the <code>async</code> flag. JS-files from your own site will be automatically excluded if added here.','autoptimize'); ?>
|
314 |
+
</td>
|
315 |
+
</tr>
|
316 |
+
</table>
|
317 |
+
<p class="submit"><input type="submit" name="submit" id="submit" class="button button-primary" value="Save Changes" /></p>
|
318 |
+
</form>
|
319 |
+
<?php
|
320 |
+
}
|
classlesses/autoptimizeUpdateCode.php
CHANGED
@@ -67,6 +67,31 @@ switch($autoptimize_major_version) {
|
|
67 |
switch_to_blog( $original_blog_id );
|
68 |
}
|
69 |
$majorUp = true;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
70 |
}
|
71 |
|
72 |
if ( $majorUp === true ) {
|
67 |
switch_to_blog( $original_blog_id );
|
68 |
}
|
69 |
$majorUp = true;
|
70 |
+
case "2.2":
|
71 |
+
/*
|
72 |
+
* 2.3 has no "remove google fonts" in main screen, moved to "extra"
|
73 |
+
*/
|
74 |
+
if ( !is_multisite() ) {
|
75 |
+
if ( (get_option('autoptimize_css_nogooglefont','') == 1) && ( empty(get_option('autoptimize_extra_settings','')) ) ) {
|
76 |
+
$_aoextra_removegfonts = array("autoptimize_extra_checkbox_field_1"=>"0","autoptimize_extra_checkbox_field_0"=>"0","autoptimize_extra_radio_field_4"=>"1","autoptimize_extra_text_field_2"=>"","autoptimize_extra_text_field_3"=>"");
|
77 |
+
update_option( 'autoptimize_extra_settings', $_aoextra_removegfonts );
|
78 |
+
}
|
79 |
+
delete_option('autoptimize_css_nogooglefont');
|
80 |
+
} else {
|
81 |
+
global $wpdb;
|
82 |
+
$blog_ids = $wpdb->get_col( "SELECT blog_id FROM $wpdb->blogs" );
|
83 |
+
$original_blog_id = get_current_blog_id();
|
84 |
+
foreach ( $blog_ids as $blog_id ) {
|
85 |
+
switch_to_blog( $blog_id );
|
86 |
+
if ( (get_option('autoptimize_css_nogooglefont','') == 1) && ( empty(get_option('autoptimize_extra_settings','')) ) ) {
|
87 |
+
$_aoextra_removegfonts = array("autoptimize_extra_checkbox_field_1"=>"0","autoptimize_extra_checkbox_field_0"=>"0","autoptimize_extra_radio_field_4"=>"1","autoptimize_extra_text_field_2"=>"","autoptimize_extra_text_field_3"=>"");
|
88 |
+
update_option( 'autoptimize_extra_settings', $_aoextra_removegfonts );
|
89 |
+
}
|
90 |
+
delete_option('autoptimize_css_nogooglefont');
|
91 |
+
}
|
92 |
+
switch_to_blog( $original_blog_id );
|
93 |
+
}
|
94 |
+
$majorUp = true;
|
95 |
}
|
96 |
|
97 |
if ( $majorUp === true ) {
|
config/default.php
CHANGED
@@ -37,6 +37,7 @@ $contents = file_get_contents(__FILE__.'.'.$encoding);
|
|
37 |
$eTag=md5($contents);
|
38 |
$modTime=filemtime(__FILE__.'.none');
|
39 |
|
|
|
40 |
$eTagMatch = (isset($_SERVER['HTTP_IF_NONE_MATCH']) && strpos($_SERVER['HTTP_IF_NONE_MATCH'],$eTag));
|
41 |
$modTimeMatch = (isset($_SERVER['HTTP_IF_MODIFIED_SINCE']) && strtotime($_SERVER['HTTP_IF_MODIFIED_SINCE']) === $modTime);
|
42 |
|
37 |
$eTag=md5($contents);
|
38 |
$modTime=filemtime(__FILE__.'.none');
|
39 |
|
40 |
+
date_default_timezone_set("UTC");
|
41 |
$eTagMatch = (isset($_SERVER['HTTP_IF_NONE_MATCH']) && strpos($_SERVER['HTTP_IF_NONE_MATCH'],$eTag));
|
42 |
$modTimeMatch = (isset($_SERVER['HTTP_IF_MODIFIED_SINCE']) && strtotime($_SERVER['HTTP_IF_MODIFIED_SINCE']) === $modTime);
|
43 |
|
config/delayed.php
CHANGED
@@ -47,6 +47,7 @@ if($encoding != 'none' && $iscompressed == false)
|
|
47 |
$eTag=md5($contents);
|
48 |
$modTime=filemtime(__FILE__.'.none');
|
49 |
|
|
|
50 |
$eTagMatch = (isset($_SERVER['HTTP_IF_NONE_MATCH']) && strpos($_SERVER['HTTP_IF_NONE_MATCH'],$eTag));
|
51 |
$modTimeMatch = (isset($_SERVER['HTTP_IF_MODIFIED_SINCE']) && strtotime($_SERVER['HTTP_IF_MODIFIED_SINCE']) === $modTime);
|
52 |
|
47 |
$eTag=md5($contents);
|
48 |
$modTime=filemtime(__FILE__.'.none');
|
49 |
|
50 |
+
date_default_timezone_set("UTC");
|
51 |
$eTagMatch = (isset($_SERVER['HTTP_IF_NONE_MATCH']) && strpos($_SERVER['HTTP_IF_NONE_MATCH'],$eTag));
|
52 |
$modTimeMatch = (isset($_SERVER['HTTP_IF_MODIFIED_SINCE']) && strtotime($_SERVER['HTTP_IF_MODIFIED_SINCE']) === $modTime);
|
53 |
|
localization/autoptimize-ar.mo
DELETED
Binary file
|
localization/autoptimize-ar.po
DELETED
@@ -1,295 +0,0 @@
|
|
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 - Arabic\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: 2015-03-10 17:00+0300\n"
|
12 |
-
"Last-Translator: \n"
|
13 |
-
"Language-Team: ekleel | ekleel.net <info@ekleel.net>\n"
|
14 |
-
"X-Generator: Poedit 1.5.7\n"
|
15 |
-
"Language: Arabic\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 |
-
"> \"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. من فضلك <strong>قم باختبار موقعك الآن</strong> واضبط "
|
32 |
-
"الإعدادات إذا لزم ذلك."
|
33 |
-
|
34 |
-
#: classes/autoptimizeConfig.php:48
|
35 |
-
msgid "Autoptimize Settings"
|
36 |
-
msgstr "إعدادات Autoptimize"
|
37 |
-
|
38 |
-
#: classes/autoptimizeConfig.php:54 classes/autoptimizeConfig.php:60
|
39 |
-
msgid "Show advanced settings"
|
40 |
-
msgstr "إظهار الإعدادات المتقدمة"
|
41 |
-
|
42 |
-
#: classes/autoptimizeConfig.php:55 classes/autoptimizeConfig.php:61
|
43 |
-
msgid "Hide advanced settings"
|
44 |
-
msgstr "إخفاء الإعدادات المتقدمة"
|
45 |
-
|
46 |
-
#: classes/autoptimizeConfig.php:69
|
47 |
-
msgid "HTML Options"
|
48 |
-
msgstr "خيارات HTML"
|
49 |
-
|
50 |
-
#: classes/autoptimizeConfig.php:72
|
51 |
-
msgid "Optimize HTML Code?"
|
52 |
-
msgstr "تحسين أكواد HTML؟"
|
53 |
-
|
54 |
-
#: classes/autoptimizeConfig.php:76
|
55 |
-
msgid "Keep HTML comments?"
|
56 |
-
msgstr "الإبقاء على تعليقات HTML؟"
|
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 |
-
"فعّل هذا الخيار للإبقاء على تعليقات HTML في الصفحة. مطلوبة لـAdSense على سبيل "
|
64 |
-
"المثال."
|
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 <head>?"
|
76 |
-
msgstr "إجبار أكواد JavaScript في <head>؟"
|
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 في أسفل الصفحة لأسباب مهمة للآداء، ولكن قد "
|
85 |
-
"يحدث بعض المشاكل أحياناً. هذه الخاصية مفيدة للثيمات المعتمدة على jQuery."
|
86 |
-
|
87 |
-
#: classes/autoptimizeConfig.php:94
|
88 |
-
msgid "Look for scripts only in <head>?"
|
89 |
-
msgstr "إبحث عن أكواد فقط في <head>؟"
|
90 |
-
|
91 |
-
#: classes/autoptimizeConfig.php:96
|
92 |
-
msgid ""
|
93 |
-
"Mostly useful in combination with previous option when using jQuery-based "
|
94 |
-
"templates, but might help keeping cache size under control."
|
95 |
-
msgstr ""
|
96 |
-
"مفيدة أكثر مع الخيار السابق في الثيمات المعتمدة على jQuery، وقد تقوم بالتحكم "
|
97 |
-
"بحجم ملف الكاش."
|
98 |
-
|
99 |
-
#: classes/autoptimizeConfig.php:99
|
100 |
-
msgid "Exclude scripts from Autoptimize:"
|
101 |
-
msgstr "أكواد JavaScript مستثناه من التحسين:"
|
102 |
-
|
103 |
-
#: classes/autoptimizeConfig.php:101
|
104 |
-
msgid ""
|
105 |
-
"A comma-seperated list of scripts you want to exclude from being optimized, "
|
106 |
-
"for example 'whatever.js, another.js' (without the quotes) to exclude those "
|
107 |
-
"scripts from being aggregated and minimized by Autoptimize."
|
108 |
-
msgstr ""
|
109 |
-
"قائمة مفصولة بعلامة الفاصلة تحتوي على ملفات تريد استثنائها من التحسين. على "
|
110 |
-
"سبيل المثال: 'whatever.js, another.js' (بدون علامة الإقتباس)."
|
111 |
-
|
112 |
-
#: classes/autoptimizeConfig.php:104
|
113 |
-
msgid "Add try-catch wrapping?"
|
114 |
-
msgstr "تفعيل خاصّية try-catch wrapping ؟"
|
115 |
-
|
116 |
-
#: classes/autoptimizeConfig.php:106
|
117 |
-
msgid ""
|
118 |
-
"If your scripts break because of an script error, you might want to try this."
|
119 |
-
msgstr "فعّل هذا الخيار في حالة وجود عطل في ملف الكود."
|
120 |
-
|
121 |
-
#: classes/autoptimizeConfig.php:110
|
122 |
-
msgid "CSS Options"
|
123 |
-
msgstr "خيارات CSS"
|
124 |
-
|
125 |
-
#: classes/autoptimizeConfig.php:113
|
126 |
-
msgid "Optimize CSS Code?"
|
127 |
-
msgstr "تحسين أكواد CSS؟"
|
128 |
-
|
129 |
-
#: classes/autoptimizeConfig.php:117
|
130 |
-
msgid "Generate data: URIs for images?"
|
131 |
-
msgstr "توليد بيانات: روابط للصور؟"
|
132 |
-
|
133 |
-
#: classes/autoptimizeConfig.php:119
|
134 |
-
msgid ""
|
135 |
-
"Enable this to include small background-images in the CSS itself instead of "
|
136 |
-
"as seperate downloads."
|
137 |
-
msgstr ""
|
138 |
-
"فعّل هذا الخيار لإضافة الخلفيات الصغيرة داخل أكواد CSS، بدلاً من تحميلها بشكل "
|
139 |
-
"مستقل."
|
140 |
-
|
141 |
-
#: classes/autoptimizeConfig.php:122
|
142 |
-
msgid "Look for styles only in <head>?"
|
143 |
-
msgstr "ابحث عن أكواد فقط في <head>؟"
|
144 |
-
|
145 |
-
#: classes/autoptimizeConfig.php:124
|
146 |
-
msgid ""
|
147 |
-
"Don't autoptimize CSS outside the head-section. If the cache gets big, you "
|
148 |
-
"might want to enable this."
|
149 |
-
msgstr ""
|
150 |
-
"لا تقم بتحسين ملفات خارج قسم head. قم بتفعيل هذا الخيار إذا كان ملف الكاش "
|
151 |
-
"كبير."
|
152 |
-
|
153 |
-
#: classes/autoptimizeConfig.php:127
|
154 |
-
msgid "Inline and Defer CSS?"
|
155 |
-
msgstr "استخراج أكواد CSS على السطر؟ "
|
156 |
-
|
157 |
-
#: classes/autoptimizeConfig.php:129
|
158 |
-
msgid ""
|
159 |
-
"Inline \"above the fold CSS\" while loading the main autoptimized CSS only "
|
160 |
-
"after page load. <a href=\"http://wordpress.org/plugins/autoptimize/faq/\" "
|
161 |
-
"target=\"_blank\">Check the FAQ</a> before activating this option!"
|
162 |
-
msgstr ""
|
163 |
-
"استخرج \"أكواد CSS فوق الطيّة\" أثناء تحميل ملف الكاش الأساسي فقط بعد تحميل "
|
164 |
-
"الصفحة. <a href=\"http://wordpress.org/plugins/autoptimize/faq/\" target="
|
165 |
-
"\"_blank\">إطّلع على الأسئلة الشائعة</a> قبل تفعيل هذا الخيار!"
|
166 |
-
|
167 |
-
#: classes/autoptimizeConfig.php:133
|
168 |
-
msgid "Paste the above the fold CSS here."
|
169 |
-
msgstr "قم بلصق أكواد CSS فوق الطيّة هنا."
|
170 |
-
|
171 |
-
#: classes/autoptimizeConfig.php:136
|
172 |
-
msgid "Inline all CSS?"
|
173 |
-
msgstr "إستخراج جميع أكواد CSS على السطر؟"
|
174 |
-
|
175 |
-
#: classes/autoptimizeConfig.php:138
|
176 |
-
msgid ""
|
177 |
-
"Inlining all CSS can improve performance for sites with a low pageviews/ "
|
178 |
-
"visitor-rate, but may slow down performance otherwise."
|
179 |
-
msgstr ""
|
180 |
-
"إستخراج أكواد CSS على السطر يحسّن الآداء للمواقع القليل زيارتها. ولكن قد يبطئ "
|
181 |
-
"الآداء قليلاً."
|
182 |
-
|
183 |
-
#: classes/autoptimizeConfig.php:141
|
184 |
-
msgid "Exclude CSS from Autoptimize:"
|
185 |
-
msgstr "أكواد CSS مستثناه من التحسين:"
|
186 |
-
|
187 |
-
#: classes/autoptimizeConfig.php:143
|
188 |
-
msgid "A comma-seperated list of CSS you want to exclude from being optimized."
|
189 |
-
msgstr "قائمة مفصولة بعلامة الفاصلة تحتوي على ملفات تريد استثنائها من التحسين."
|
190 |
-
|
191 |
-
#: classes/autoptimizeConfig.php:147
|
192 |
-
msgid "CDN Options"
|
193 |
-
msgstr "خيارات CDN"
|
194 |
-
|
195 |
-
#: classes/autoptimizeConfig.php:150
|
196 |
-
msgid "CDN Base URL"
|
197 |
-
msgstr "رابط CDN"
|
198 |
-
|
199 |
-
#: classes/autoptimizeConfig.php:152
|
200 |
-
msgid ""
|
201 |
-
"Enter your CDN blog root directory URL if you want to enable CDN for images "
|
202 |
-
"referenced in the CSS."
|
203 |
-
msgstr "قم بإدخال رابط CDN الجذر لمدونتك لتفعيل الصور التي داخل أكواد CSS."
|
204 |
-
|
205 |
-
#: classes/autoptimizeConfig.php:156
|
206 |
-
msgid "Cache Info"
|
207 |
-
msgstr "معلومات الكاش"
|
208 |
-
|
209 |
-
#: classes/autoptimizeConfig.php:159
|
210 |
-
msgid "Cache folder"
|
211 |
-
msgstr "مجلد الكاش"
|
212 |
-
|
213 |
-
#: classes/autoptimizeConfig.php:163
|
214 |
-
msgid "Can we write?"
|
215 |
-
msgstr "هل يمكن الكتابة؟"
|
216 |
-
|
217 |
-
#: classes/autoptimizeConfig.php:164
|
218 |
-
msgid "Yes"
|
219 |
-
msgstr "نعم"
|
220 |
-
|
221 |
-
#: classes/autoptimizeConfig.php:164
|
222 |
-
msgid "No"
|
223 |
-
msgstr "لا"
|
224 |
-
|
225 |
-
#: classes/autoptimizeConfig.php:167
|
226 |
-
msgid "Cached styles and scripts"
|
227 |
-
msgstr "ملفات كاش لـ JavaScripts و CSS"
|
228 |
-
|
229 |
-
#: classes/autoptimizeConfig.php:171
|
230 |
-
msgid "Save aggregated script/css as static files?"
|
231 |
-
msgstr "حفظ ملفات JavaScripts و CSS المجمعة كملفات ثابتة؟"
|
232 |
-
|
233 |
-
#: classes/autoptimizeConfig.php:173
|
234 |
-
msgid ""
|
235 |
-
"By default files saved are static css/js, uncheck this option if your "
|
236 |
-
"webserver doesn't properly handle the compression and expiry."
|
237 |
-
msgstr ""
|
238 |
-
"ملفات JavaScripts و CSS تحفظ بشكل تلقائي كملفات ثابتة. قم بإلغاء هذا الخيار "
|
239 |
-
"إذا كان خادمك لا يقوم بالتعامل مع الضغط والصلاحيات بشكل سليم."
|
240 |
-
|
241 |
-
#: classes/autoptimizeConfig.php:179
|
242 |
-
msgid "Save Changes"
|
243 |
-
msgstr "حفظ التغييرات"
|
244 |
-
|
245 |
-
#: classes/autoptimizeConfig.php:180
|
246 |
-
msgid "Save Changes and Empty Cache"
|
247 |
-
msgstr "حفظ التغييرات وتفريغ الكاش"
|
248 |
-
|
249 |
-
#: classes/autoptimizeConfig.php:188
|
250 |
-
msgid "futtta about"
|
251 |
-
msgstr "عن futtta"
|
252 |
-
|
253 |
-
#. #-#-#-#-# plugin.pot (Autoptimize 1.8.5) #-#-#-#-#
|
254 |
-
#. Plugin Name of the plugin/theme
|
255 |
-
#: classes/autoptimizeConfig.php:190
|
256 |
-
msgid "Autoptimize"
|
257 |
-
msgstr "Autoptimize"
|
258 |
-
|
259 |
-
#: classes/autoptimizeConfig.php:191
|
260 |
-
msgid "WordPress"
|
261 |
-
msgstr "وردبريس"
|
262 |
-
|
263 |
-
#: classes/autoptimizeConfig.php:192
|
264 |
-
msgid "Web Technology"
|
265 |
-
msgstr "تقنية الويب"
|
266 |
-
|
267 |
-
#: classes/autoptimizeConfig.php:197
|
268 |
-
msgid "Do not donate for this plugin!"
|
269 |
-
msgstr "لا تقم بالتبرع لهذه الإضافة!"
|
270 |
-
|
271 |
-
#: classes/autoptimizeConfig.php:313
|
272 |
-
msgid "Autoptimize Options"
|
273 |
-
msgstr "خيارات Autoptimize"
|
274 |
-
|
275 |
-
#: classes/autoptimizeConfig.php:358 classes/autoptimizeConfig.php:364
|
276 |
-
msgid "Settings"
|
277 |
-
msgstr "إعدادات"
|
278 |
-
|
279 |
-
#. Plugin URI of the plugin/theme
|
280 |
-
msgid "http://blog.futtta.be/autoptimize"
|
281 |
-
msgstr "http://blog.futtta.be/autoptimize"
|
282 |
-
|
283 |
-
#. Description of the plugin/theme
|
284 |
-
msgid ""
|
285 |
-
"Optimizes your website, concatenating the CSS and JavaScript code, and "
|
286 |
-
"compressing it."
|
287 |
-
msgstr "حسّن موقعك وسلسل أكواد CSS و JavaScript، وقم بضغطها."
|
288 |
-
|
289 |
-
#. Author of the plugin/theme
|
290 |
-
msgid "Frank Goossens (futtta)"
|
291 |
-
msgstr "Frank Goossens (futtta)"
|
292 |
-
|
293 |
-
#. Author URI of the plugin/theme
|
294 |
-
msgid "http://blog.futtta.be/"
|
295 |
-
msgstr "http://blog.futtta.be/"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
localization/autoptimize-be_BY.mo
DELETED
Binary file
|
localization/autoptimize-be_BY.po
DELETED
@@ -1,90 +0,0 @@
|
|
1 |
-
# SOME DESCRIPTIVE TITLE.
|
2 |
-
# Copyright (C) YEAR Emilio Lpez
|
3 |
-
# This file is distributed under the same license as the PACKAGE package.
|
4 |
-
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
5 |
-
#
|
6 |
-
msgid ""
|
7 |
-
msgstr ""
|
8 |
-
"Project-Id-Version: AO\n"
|
9 |
-
"Report-Msgid-Bugs-To: http://wordpress.org/tag/autoptimize\n"
|
10 |
-
"POT-Creation-Date: 2009-07-21 03:53+0000\n"
|
11 |
-
"PO-Revision-Date: 2010-04-12 13:09+0300\n"
|
12 |
-
"Last-Translator: FatCow <zhr@tut.by>\n"
|
13 |
-
"Language-Team: Marcis G. <by.marcis@gmail.com>\n"
|
14 |
-
"MIME-Version: 1.0\n"
|
15 |
-
"Content-Type: text/plain; charset=UTF-8\n"
|
16 |
-
"Content-Transfer-Encoding: 8bit\n"
|
17 |
-
"X-Poedit-Language: Belarusian\n"
|
18 |
-
"X-Poedit-Country: BELARUS\n"
|
19 |
-
"X-Poedit-SourceCharset: utf-8\n"
|
20 |
-
|
21 |
-
#: classes/autoptimizeConfig.php:44
|
22 |
-
msgid "Autoptimize Settings"
|
23 |
-
msgstr "Налады Autoptimize "
|
24 |
-
|
25 |
-
#: classes/autoptimizeConfig.php:49
|
26 |
-
msgid "HTML Options"
|
27 |
-
msgstr "Налады HTML "
|
28 |
-
|
29 |
-
#: classes/autoptimizeConfig.php:52
|
30 |
-
msgid "Optimize HTML Code?"
|
31 |
-
msgstr "Оптимищировать HTML-код?"
|
32 |
-
|
33 |
-
#: classes/autoptimizeConfig.php:57
|
34 |
-
msgid "JavaScript Options"
|
35 |
-
msgstr "Налады JavaScript "
|
36 |
-
|
37 |
-
#: classes/autoptimizeConfig.php:60
|
38 |
-
msgid "Optimize JavaScript Code?"
|
39 |
-
msgstr "Аптымiзаваць HTML-код?"
|
40 |
-
|
41 |
-
#: classes/autoptimizeConfig.php:64
|
42 |
-
msgid "Look for scripts only in <head>?"
|
43 |
-
msgstr "Шукайце толькі ў сцэнарыях <head>?"
|
44 |
-
|
45 |
-
#: classes/autoptimizeConfig.php:66
|
46 |
-
#: classes/autoptimizeConfig.php:84
|
47 |
-
msgid "Disabled by default. If the cache gets big, you might want to enable this."
|
48 |
-
msgstr "Па змаўчанні выключана. Калі кэш вялікай, вы можаце ўключыць гэту опцыю."
|
49 |
-
|
50 |
-
#: classes/autoptimizeConfig.php:69
|
51 |
-
msgid "Add try-catch wrapping?"
|
52 |
-
msgstr "Дадаць паспрабуй злавіць пакаванні?"
|
53 |
-
|
54 |
-
#: classes/autoptimizeConfig.php:71
|
55 |
-
msgid "Disabled by default. If your scripts break because of an script error, you might want to try this."
|
56 |
-
msgstr "Па змаўчанні выключана. Калі вашы скрыпты перакопваюцца з-за памылкі сцэнара, вы можаце паспрабаваць гэта."
|
57 |
-
|
58 |
-
#: classes/autoptimizeConfig.php:75
|
59 |
-
msgid "CSS Options"
|
60 |
-
msgstr "CSS налады"
|
61 |
-
|
62 |
-
#: classes/autoptimizeConfig.php:78
|
63 |
-
msgid "Optimize CSS Code?"
|
64 |
-
msgstr "Оптимищировать CSS-код?"
|
65 |
-
|
66 |
-
#: classes/autoptimizeConfig.php:82
|
67 |
-
msgid "Look for styles on just <head>?"
|
68 |
-
msgstr "Шукайце толькі ў сценарях <head>?"
|
69 |
-
|
70 |
-
#: classes/autoptimizeConfig.php:91
|
71 |
-
msgid "Save Changes"
|
72 |
-
msgstr "Захаваць змены"
|
73 |
-
|
74 |
-
#: classes/autoptimizeConfig.php:101
|
75 |
-
msgid "Autoptimize Options"
|
76 |
-
msgstr "Налады Autoptimize "
|
77 |
-
|
78 |
-
#: classes/autoptimizeConfig.php:126
|
79 |
-
#: classes/autoptimizeConfig.php:133
|
80 |
-
msgid "Settings"
|
81 |
-
msgstr "Налады"
|
82 |
-
|
83 |
-
#. Plugin Name of an extension
|
84 |
-
msgid "Autoptimize"
|
85 |
-
msgstr "Autoptimize"
|
86 |
-
|
87 |
-
#. Description of an extension
|
88 |
-
msgid "Optimizes your website, concatenating the CSS and JavaScript code, and compressing it."
|
89 |
-
msgstr "Аптымізацыя вашага сайта метадам аб'яднання CSS і JavaScript-кода і іх сціскі."
|
90 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
localization/autoptimize-fa_IR.mo
DELETED
Binary file
|
localization/autoptimize-fa_IR.po
DELETED
@@ -1,306 +0,0 @@
|
|
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 <head>?"
|
76 |
-
msgstr "بارگذاری Javascript در تگ <head>؟"
|
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 <head>?"
|
90 |
-
msgstr "فقط اسکریپت های موجود در تگ <head> بهینه سازی شوند؟"
|
91 |
-
|
92 |
-
#: classes/autoptimizeConfig.php:96
|
93 |
-
msgid ""
|
94 |
-
"Mostly useful 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 <head>?"
|
147 |
-
msgstr "فقط استایل های موجود در تگ <head> بهینه سازی شوند؟"
|
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 |
-
|
288 |
-
#. Plugin URI of the plugin/theme
|
289 |
-
msgid "http://blog.futtta.be/autoptimize"
|
290 |
-
msgstr "http://blog.futtta.be/autoptimize"
|
291 |
-
|
292 |
-
#. Description of the plugin/theme
|
293 |
-
msgid ""
|
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)"
|
302 |
-
msgstr "Frank Goossens (futtta)"
|
303 |
-
|
304 |
-
#. Author URI of the plugin/theme
|
305 |
-
msgid "http://blog.futtta.be/"
|
306 |
-
msgstr "http://blog.futtta.be/"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
localization/autoptimize-ru_RU.mo
DELETED
Binary file
|
localization/autoptimize-ru_RU.po
DELETED
@@ -1,199 +0,0 @@
|
|
1 |
-
# Russian 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: FULL NAME <EMAIL@ADDRESS>\n"
|
10 |
-
"POT-Creation-Date: 2009-10-19 21:41+0000\n"
|
11 |
-
"PO-Revision-Date: 2009-08-28 18:49+0000\n"
|
12 |
-
"Last-Translator: Sergei Sedov <Unknown>\n"
|
13 |
-
"Language-Team: Russian <ru@li.org>\n"
|
14 |
-
"MIME-Version: 1.0\n"
|
15 |
-
"Content-Type: text/plain; charset=UTF-8\n"
|
16 |
-
"Content-Transfer-Encoding: 8bit\n"
|
17 |
-
"X-Launchpad-Export-Date: 2009-10-25 02:04+0000\n"
|
18 |
-
"X-Generator: Launchpad (build Unknown)\n"
|
19 |
-
|
20 |
-
#: classes/autoptimizeConfig.php:50
|
21 |
-
msgid "Autoptimize Settings"
|
22 |
-
msgstr "Настройки Autoptimize"
|
23 |
-
|
24 |
-
#: classes/autoptimizeConfig.php:71
|
25 |
-
msgid "HTML Options"
|
26 |
-
msgstr "Параметры HTML"
|
27 |
-
|
28 |
-
#: classes/autoptimizeConfig.php:74
|
29 |
-
msgid "Optimize HTML Code?"
|
30 |
-
msgstr "Оптимизировать код HTML?"
|
31 |
-
|
32 |
-
#: classes/autoptimizeConfig.php:78
|
33 |
-
msgid "Keep HTML comments?"
|
34 |
-
msgstr "Сохранять комментарии HTML?"
|
35 |
-
|
36 |
-
#: classes/autoptimizeConfig.php:80
|
37 |
-
msgid ""
|
38 |
-
"Disabled by default. Enable this if you want HTML comments to remain in the "
|
39 |
-
"page."
|
40 |
-
msgstr ""
|
41 |
-
"По умолчанию отключено. Включите, если вы хотите, чтобы HTML комментарии "
|
42 |
-
"остались на этой странице."
|
43 |
-
|
44 |
-
#: classes/autoptimizeConfig.php:84
|
45 |
-
msgid "JavaScript Options"
|
46 |
-
msgstr "Опции JavaScript"
|
47 |
-
|
48 |
-
#: classes/autoptimizeConfig.php:87
|
49 |
-
msgid "Optimize JavaScript Code?"
|
50 |
-
msgstr "Оптимизировать код JavaScript?"
|
51 |
-
|
52 |
-
#: classes/autoptimizeConfig.php:91
|
53 |
-
msgid "Look for scripts only in <head>?"
|
54 |
-
msgstr ""
|
55 |
-
|
56 |
-
#: classes/autoptimizeConfig.php:93 classes/autoptimizeConfig.php:116
|
57 |
-
msgid ""
|
58 |
-
"Disabled by default. If the cache gets big, you might want to enable this."
|
59 |
-
msgstr ""
|
60 |
-
"По умолчанию отключено. Если кэш становится большим, то вы можете включить "
|
61 |
-
"это."
|
62 |
-
|
63 |
-
#: classes/autoptimizeConfig.php:96
|
64 |
-
msgid "Add try-catch wrapping?"
|
65 |
-
msgstr ""
|
66 |
-
|
67 |
-
#: classes/autoptimizeConfig.php:98
|
68 |
-
msgid ""
|
69 |
-
"Disabled by default. If your scripts break because of an script error, you "
|
70 |
-
"might want to try this."
|
71 |
-
msgstr ""
|
72 |
-
"По умолчанию отключено. Если ваш скрипт прерывается из за ошибки, то "
|
73 |
-
"попробуйте включить."
|
74 |
-
|
75 |
-
#: classes/autoptimizeConfig.php:101 classes/autoptimizeConfig.php:124
|
76 |
-
msgid "Use YUI compression?"
|
77 |
-
msgstr ""
|
78 |
-
|
79 |
-
#: classes/autoptimizeConfig.php:103 classes/autoptimizeConfig.php:126
|
80 |
-
msgid ""
|
81 |
-
"Disabled by default. Read [autoptimize]/yui/README.txt for more information."
|
82 |
-
msgstr ""
|
83 |
-
|
84 |
-
#: classes/autoptimizeConfig.php:107
|
85 |
-
msgid "CSS Options"
|
86 |
-
msgstr "Опции CSS"
|
87 |
-
|
88 |
-
#: classes/autoptimizeConfig.php:110
|
89 |
-
msgid "Optimize CSS Code?"
|
90 |
-
msgstr "Оптимизировать код CSS?"
|
91 |
-
|
92 |
-
#: classes/autoptimizeConfig.php:114
|
93 |
-
msgid "Look for styles on just <head>?"
|
94 |
-
msgstr ""
|
95 |
-
|
96 |
-
#: classes/autoptimizeConfig.php:119
|
97 |
-
msgid "Generate data: URIs for images?"
|
98 |
-
msgstr ""
|
99 |
-
|
100 |
-
#: classes/autoptimizeConfig.php:121
|
101 |
-
msgid "Disabled by default. Enable this to include images on the CSS itself."
|
102 |
-
msgstr ""
|
103 |
-
|
104 |
-
#: classes/autoptimizeConfig.php:130
|
105 |
-
msgid "CDN Options"
|
106 |
-
msgstr ""
|
107 |
-
|
108 |
-
#: classes/autoptimizeConfig.php:133
|
109 |
-
msgid "Rewrite JavaScript URLs?"
|
110 |
-
msgstr ""
|
111 |
-
|
112 |
-
#: classes/autoptimizeConfig.php:135 classes/autoptimizeConfig.php:145
|
113 |
-
#: classes/autoptimizeConfig.php:155
|
114 |
-
msgid ""
|
115 |
-
"Disabled by default. Do not enable this unless you know what you are doing."
|
116 |
-
msgstr ""
|
117 |
-
|
118 |
-
#: classes/autoptimizeConfig.php:138
|
119 |
-
msgid "JavaScript Base URL"
|
120 |
-
msgstr ""
|
121 |
-
|
122 |
-
#: classes/autoptimizeConfig.php:140 classes/autoptimizeConfig.php:150
|
123 |
-
#: classes/autoptimizeConfig.php:160
|
124 |
-
msgid ""
|
125 |
-
"This is the new base URL that will be used when rewriting. It should point "
|
126 |
-
"to the blog root directory."
|
127 |
-
msgstr ""
|
128 |
-
|
129 |
-
#: classes/autoptimizeConfig.php:143
|
130 |
-
msgid "Rewrite CSS URLs?"
|
131 |
-
msgstr ""
|
132 |
-
|
133 |
-
#: classes/autoptimizeConfig.php:148
|
134 |
-
msgid "CSS Base URL"
|
135 |
-
msgstr ""
|
136 |
-
|
137 |
-
#: classes/autoptimizeConfig.php:153
|
138 |
-
msgid "Rewrite Image URLs?"
|
139 |
-
msgstr ""
|
140 |
-
|
141 |
-
#: classes/autoptimizeConfig.php:158
|
142 |
-
msgid "Image Base URL"
|
143 |
-
msgstr ""
|
144 |
-
|
145 |
-
#: classes/autoptimizeConfig.php:164
|
146 |
-
msgid "Cache Info"
|
147 |
-
msgstr "Информация о кэше"
|
148 |
-
|
149 |
-
#: classes/autoptimizeConfig.php:167
|
150 |
-
msgid "Cache folder"
|
151 |
-
msgstr "Каталог кэша"
|
152 |
-
|
153 |
-
#: classes/autoptimizeConfig.php:171
|
154 |
-
msgid "Can we write?"
|
155 |
-
msgstr "Начнём?"
|
156 |
-
|
157 |
-
#: classes/autoptimizeConfig.php:172
|
158 |
-
msgid "Yes"
|
159 |
-
msgstr "Да"
|
160 |
-
|
161 |
-
#: classes/autoptimizeConfig.php:172
|
162 |
-
msgid "No"
|
163 |
-
msgstr "Нет"
|
164 |
-
|
165 |
-
#: classes/autoptimizeConfig.php:175
|
166 |
-
msgid "Cached styles and scripts"
|
167 |
-
msgstr ""
|
168 |
-
|
169 |
-
#: classes/autoptimizeConfig.php:179
|
170 |
-
msgid "Do not compress cache files"
|
171 |
-
msgstr ""
|
172 |
-
|
173 |
-
#: classes/autoptimizeConfig.php:181
|
174 |
-
msgid ""
|
175 |
-
"Disabled by default. Enable this if you want to compress the served files "
|
176 |
-
"using your webserver."
|
177 |
-
msgstr ""
|
178 |
-
|
179 |
-
#: classes/autoptimizeConfig.php:188
|
180 |
-
msgid "Save Changes"
|
181 |
-
msgstr "Сохранить изменения"
|
182 |
-
|
183 |
-
#: classes/autoptimizeConfig.php:189
|
184 |
-
msgid "Save Changes and Empty Cache"
|
185 |
-
msgstr "Сохранить изменения и очистить кэш"
|
186 |
-
|
187 |
-
#: classes/autoptimizeConfig.php:199
|
188 |
-
msgid "Autoptimize Options"
|
189 |
-
msgstr "Опции Autoptimize"
|
190 |
-
|
191 |
-
#: classes/autoptimizeConfig.php:236 classes/autoptimizeConfig.php:243
|
192 |
-
msgid "Settings"
|
193 |
-
msgstr "Настройки"
|
194 |
-
|
195 |
-
#. Description of an extension
|
196 |
-
msgid ""
|
197 |
-
"Optimizes your website, concatenating the CSS and JavaScript code, and "
|
198 |
-
"compressing it."
|
199 |
-
msgstr ""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
localization/autoptimize-sr_RS.mo
DELETED
Binary file
|
localization/autoptimize-sr_RS.po
DELETED
@@ -1,387 +0,0 @@
|
|
1 |
-
# Copyright (C) 2015 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.9\n"
|
6 |
-
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/autoptimize\n"
|
7 |
-
"POT-Creation-Date: 2015-12-08 22:03:53+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: 2015-12-24 21:00+0100\n"
|
12 |
-
"Last-Translator: Damir Bodor <damir@niceworkdone.com>\n"
|
13 |
-
"Language-Team: \n"
|
14 |
-
"X-Generator: Poedit 1.7.5\n"
|
15 |
-
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
|
16 |
-
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
|
17 |
-
"Language: sr@latin\n"
|
18 |
-
|
19 |
-
#: autoptimize.php:93
|
20 |
-
msgid ""
|
21 |
-
"Thank you for installing and activating Autoptimize. Please configure it "
|
22 |
-
"under \"Settings\" -> \"Autoptimize\" to start improving your site's "
|
23 |
-
"performance."
|
24 |
-
msgstr ""
|
25 |
-
"Hvala vam što ste instalirali i aktivirali Autoptimize. Sva podešavanja "
|
26 |
-
"možete pogledati na sledećoj lokaciji: \"Settings\" -> \"Autoptimize\" i "
|
27 |
-
"poboljšati performanse vašeg web sajta."
|
28 |
-
|
29 |
-
#: autoptimize.php:99
|
30 |
-
msgid ""
|
31 |
-
"Autoptimize has just been updated. Please <strong>test your site now</"
|
32 |
-
"strong> and adapt Autoptimize config if needed."
|
33 |
-
msgstr ""
|
34 |
-
"Autoptimize je ažuriran. Molimo vas da <strong>testirate svoj web sajt</"
|
35 |
-
"strong> i izmenite Autoptimize podešavanja ukoliko je to potrebno."
|
36 |
-
|
37 |
-
#: autoptimize.php:105
|
38 |
-
msgid ""
|
39 |
-
"Autoptimize cannot write to the cache directory (default: /wp-content/cache/"
|
40 |
-
"autoptimize), please fix to enable CSS/ JS optimization!"
|
41 |
-
msgstr ""
|
42 |
-
"Autoptimize ne može da upisuje podatke u cache direktorijum (podrazumevana "
|
43 |
-
"putanja je: /wp-content/cache/autoptimize), molimo vas ovo rešite kako bi "
|
44 |
-
"mogli da omogućite CSS/JS optimizaciju!"
|
45 |
-
|
46 |
-
#: classes/autoptimizeConfig.php:48
|
47 |
-
msgid "Autoptimize Settings"
|
48 |
-
msgstr "Autoptimize Podešavanja"
|
49 |
-
|
50 |
-
#: classes/autoptimizeConfig.php:54 classes/autoptimizeConfig.php:60
|
51 |
-
msgid "Show advanced settings"
|
52 |
-
msgstr "Prikaži napredna podešavanja"
|
53 |
-
|
54 |
-
#: classes/autoptimizeConfig.php:55 classes/autoptimizeConfig.php:61
|
55 |
-
msgid "Hide advanced settings"
|
56 |
-
msgstr "Sakrij napredna podešavanja"
|
57 |
-
|
58 |
-
#: classes/autoptimizeConfig.php:69
|
59 |
-
msgid "HTML Options"
|
60 |
-
msgstr "HTML Opcije"
|
61 |
-
|
62 |
-
#: classes/autoptimizeConfig.php:72
|
63 |
-
msgid "Optimize HTML Code?"
|
64 |
-
msgstr "Optimizuj HTML kod?"
|
65 |
-
|
66 |
-
#: classes/autoptimizeConfig.php:76
|
67 |
-
msgid "Keep HTML comments?"
|
68 |
-
msgstr "Zadrži HTML komentare?"
|
69 |
-
|
70 |
-
#: classes/autoptimizeConfig.php:78
|
71 |
-
msgid ""
|
72 |
-
"Enable this if you want HTML comments to remain in the page, needed for e.g. "
|
73 |
-
"AdSense to function properly."
|
74 |
-
msgstr ""
|
75 |
-
"Uključite ovo kako bi HTML komentari ostali na stranici, u nekim slučajevima "
|
76 |
-
"ovo je neophodno (npr. za AdSense kako bi funkcionisao bez ikakvih problema)."
|
77 |
-
|
78 |
-
#: classes/autoptimizeConfig.php:82
|
79 |
-
msgid "JavaScript Options"
|
80 |
-
msgstr "JavaScript Opcije"
|
81 |
-
|
82 |
-
#: classes/autoptimizeConfig.php:85
|
83 |
-
msgid "Optimize JavaScript Code?"
|
84 |
-
msgstr "Optimizacija JavaScript Koda?"
|
85 |
-
|
86 |
-
#: classes/autoptimizeConfig.php:89
|
87 |
-
msgid "Force JavaScript in <head>?"
|
88 |
-
msgstr "Primoraj JavaScript u <head>?"
|
89 |
-
|
90 |
-
#: classes/autoptimizeConfig.php:91
|
91 |
-
msgid ""
|
92 |
-
"Load JavaScript early, reducing the chance of JS-errors but making it render "
|
93 |
-
"blocking. You can disable this if you're not aggregating inline JS and you "
|
94 |
-
"want JS to be deferred."
|
95 |
-
msgstr ""
|
96 |
-
"Učitavanje JavScript ranije, i smanjivanje šanse da dođe do JS grešaka, ovim "
|
97 |
-
"putem dolazi do render blocking. Ovu opciju ugasite ukoliko ne koristite "
|
98 |
-
"inline agregaciju JS i želite da odložite učitavanje JS."
|
99 |
-
|
100 |
-
#: classes/autoptimizeConfig.php:95
|
101 |
-
msgid "Look for scripts only in <head>?"
|
102 |
-
msgstr "Pretražuj skripte samo u <head>?"
|
103 |
-
|
104 |
-
#: classes/autoptimizeConfig.php:95 classes/autoptimizeConfig.php:135
|
105 |
-
msgid " <i>(deprecated)</i>"
|
106 |
-
msgstr " <i>(zastarelo)</i>"
|
107 |
-
|
108 |
-
#: classes/autoptimizeConfig.php:97
|
109 |
-
msgid ""
|
110 |
-
"Mostly useful in combination with previous option when using jQuery-based "
|
111 |
-
"templates, but might help keeping cache size under control."
|
112 |
-
msgstr ""
|
113 |
-
"Najbolje koristiti u kombinaciji sa prethodnom opcijom, i to kada se koriste "
|
114 |
-
"jQuery templejti, takođe može biti korisno kako bi cache veličinu držali pod "
|
115 |
-
"kontrolom."
|
116 |
-
|
117 |
-
#: classes/autoptimizeConfig.php:101
|
118 |
-
msgid "Also aggregate inline JS?"
|
119 |
-
msgstr "Agregacija i inline JS?"
|
120 |
-
|
121 |
-
#: classes/autoptimizeConfig.php:103
|
122 |
-
msgid ""
|
123 |
-
"Check this option for Autoptimize to also aggregate JS in the HTML. If this "
|
124 |
-
"option is not enabled, you might have to \"force JavaScript in head\"."
|
125 |
-
msgstr ""
|
126 |
-
"Uključite ovu opciju ako želite da Autoptimize odradi agregaciju JS u samom "
|
127 |
-
"HTML-u. Ako ova opcija nije uključena, verovatno ćete morati da uradite "
|
128 |
-
"\"force JavaScript in head\"."
|
129 |
-
|
130 |
-
#: classes/autoptimizeConfig.php:106
|
131 |
-
msgid "Exclude scripts from Autoptimize:"
|
132 |
-
msgstr "Izuzmite skripte iz Autoptimize:"
|
133 |
-
|
134 |
-
#: classes/autoptimizeConfig.php:108
|
135 |
-
msgid ""
|
136 |
-
"A comma-seperated list of scripts you want to exclude from being optimized, "
|
137 |
-
"for example 'whatever.js, another.js' (without the quotes) to exclude those "
|
138 |
-
"scripts from being aggregated and minimized by Autoptimize."
|
139 |
-
msgstr ""
|
140 |
-
"Lista skripti koje želite da izuzmete iz optimizacije, npr. 'whatever.js, "
|
141 |
-
"another.js' (bez navodnika) kako bi izuzeli te skripte iz agregacije i "
|
142 |
-
"minifikacije od strane Autoptimize."
|
143 |
-
|
144 |
-
#: classes/autoptimizeConfig.php:111
|
145 |
-
msgid "Add try-catch wrapping?"
|
146 |
-
msgstr "Dodaj try-catch wrapping?"
|
147 |
-
|
148 |
-
#: classes/autoptimizeConfig.php:113
|
149 |
-
msgid ""
|
150 |
-
"If your scripts break because of a JS-error, you might want to try this."
|
151 |
-
msgstr "Ukoliko dolazi do JS grešaka, možete pokušati sa ovom opcijom."
|
152 |
-
|
153 |
-
#: classes/autoptimizeConfig.php:117
|
154 |
-
msgid "CSS Options"
|
155 |
-
msgstr "CSS Opcije"
|
156 |
-
|
157 |
-
#: classes/autoptimizeConfig.php:120
|
158 |
-
msgid "Optimize CSS Code?"
|
159 |
-
msgstr "Optimizuj CSS Kod?"
|
160 |
-
|
161 |
-
#: classes/autoptimizeConfig.php:124
|
162 |
-
msgid "Generate data: URIs for images?"
|
163 |
-
msgstr "Generisanje podataka: URI za slike?"
|
164 |
-
|
165 |
-
#: classes/autoptimizeConfig.php:126
|
166 |
-
msgid ""
|
167 |
-
"Enable this to include small background-images in the CSS itself instead of "
|
168 |
-
"as seperate downloads."
|
169 |
-
msgstr ""
|
170 |
-
"Uključite ovu opciju kako bi uključili i manje background slike u CSS, "
|
171 |
-
"umesto da se tretiraju kao zaseban download."
|
172 |
-
|
173 |
-
#: classes/autoptimizeConfig.php:129
|
174 |
-
msgid "Remove Google Fonts?"
|
175 |
-
msgstr "Uklonite Google Fonts?"
|
176 |
-
|
177 |
-
#: classes/autoptimizeConfig.php:131
|
178 |
-
msgid "Check this if you don't need or want Google Fonts being loaded."
|
179 |
-
msgstr "Uključite ovu opciju ukoliko ne želite da se loaduje Google Fonts."
|
180 |
-
|
181 |
-
#: classes/autoptimizeConfig.php:135
|
182 |
-
msgid "Look for styles only in <head>?"
|
183 |
-
msgstr "Pretražuj stilove samo u <head>?"
|
184 |
-
|
185 |
-
#: classes/autoptimizeConfig.php:137
|
186 |
-
msgid ""
|
187 |
-
"Don't autoptimize CSS outside the head-section. If the cache gets big, you "
|
188 |
-
"might want to enable this."
|
189 |
-
msgstr ""
|
190 |
-
"Isključi autoptimize CSS-a van head sekcije. Ukoliko cache postane suviše "
|
191 |
-
"velik, trebalo bi da uključite ovu opciju."
|
192 |
-
|
193 |
-
#: classes/autoptimizeConfig.php:141
|
194 |
-
msgid "Also aggregate inline CSS?"
|
195 |
-
msgstr "Agregacija i inline CSS-a?"
|
196 |
-
|
197 |
-
#: classes/autoptimizeConfig.php:143
|
198 |
-
msgid "Check this option for Autoptimize to also aggregate CSS in the HTML."
|
199 |
-
msgstr "Uključite ovu opciju kako Autoptimize odradio agregaciju CSS-a u HTML."
|
200 |
-
|
201 |
-
#: classes/autoptimizeConfig.php:146
|
202 |
-
msgid "Inline and Defer CSS?"
|
203 |
-
msgstr "Inline i zastareli CSS?"
|
204 |
-
|
205 |
-
#: classes/autoptimizeConfig.php:148
|
206 |
-
msgid ""
|
207 |
-
"Inline \"above the fold CSS\" while loading the main autoptimized CSS only "
|
208 |
-
"after page load. <a href=\"http://wordpress.org/plugins/autoptimize/faq/\" "
|
209 |
-
"target=\"_blank\">Check the FAQ</a> before activating this option!"
|
210 |
-
msgstr ""
|
211 |
-
"Inline CSS-a pre vidljivog dela sajta \"above the fold\" dok učitavanje "
|
212 |
-
"glavnog autoptimize CSS-a kreće nakon učitavanja stranice. <a href=\"http://"
|
213 |
-
"wordpress.org/plugins/autoptimize/faq/\" target=\"_blank\">Pročitajte više u "
|
214 |
-
"FAQ</a> pre aktivacije ove opcije!"
|
215 |
-
|
216 |
-
#: classes/autoptimizeConfig.php:152
|
217 |
-
msgid "Paste the above the fold CSS here."
|
218 |
-
msgstr ""
|
219 |
-
"Ovde ubacite CSS koji želite da se učita pre vidljivog dela sajta \"above "
|
220 |
-
"the fold\"."
|
221 |
-
|
222 |
-
#: classes/autoptimizeConfig.php:155
|
223 |
-
msgid "Inline all CSS?"
|
224 |
-
msgstr "Sav CSS kao inline?"
|
225 |
-
|
226 |
-
#: classes/autoptimizeConfig.php:157
|
227 |
-
msgid ""
|
228 |
-
"Inlining all CSS can improve performance for sites with a low pageviews/ "
|
229 |
-
"visitor-rate, but may slow down performance otherwise."
|
230 |
-
msgstr ""
|
231 |
-
"Inline svog CSS-a može da poboljša performanse web sajta sa malo pageviews/"
|
232 |
-
"visitor-rate, ali postoji mogućnost i da uspori web sajtove druge vrste."
|
233 |
-
|
234 |
-
#: classes/autoptimizeConfig.php:160
|
235 |
-
msgid "Exclude CSS from Autoptimize:"
|
236 |
-
msgstr "Izuzmi CSS iz Autoptimize:"
|
237 |
-
|
238 |
-
#: classes/autoptimizeConfig.php:162
|
239 |
-
msgid "A comma-seperated list of CSS you want to exclude from being optimized."
|
240 |
-
msgstr "CSS Lista fajlova koje želite da izuzmete iz optimizacije."
|
241 |
-
|
242 |
-
#: classes/autoptimizeConfig.php:166
|
243 |
-
msgid "CDN Options"
|
244 |
-
msgstr "CDN Opcije"
|
245 |
-
|
246 |
-
#: classes/autoptimizeConfig.php:169
|
247 |
-
msgid "CDN Base URL"
|
248 |
-
msgstr "CDN Base URL"
|
249 |
-
|
250 |
-
#: classes/autoptimizeConfig.php:171
|
251 |
-
msgid ""
|
252 |
-
"Enter your CDN blog root directory URL if you want to enable CDN for images "
|
253 |
-
"referenced in the CSS."
|
254 |
-
msgstr ""
|
255 |
-
"Unesite svoj link ka CDN root direktorijumu ukoliko želite da omogućite CDN "
|
256 |
-
"za slike postavljene u CSS-u."
|
257 |
-
|
258 |
-
#: classes/autoptimizeConfig.php:175
|
259 |
-
msgid "Cache Info"
|
260 |
-
msgstr "Cache Informacije"
|
261 |
-
|
262 |
-
#: classes/autoptimizeConfig.php:178
|
263 |
-
msgid "Cache folder"
|
264 |
-
msgstr "Cache folder"
|
265 |
-
|
266 |
-
#: classes/autoptimizeConfig.php:182
|
267 |
-
msgid "Can we write?"
|
268 |
-
msgstr "Write dozvola?"
|
269 |
-
|
270 |
-
#: classes/autoptimizeConfig.php:183
|
271 |
-
msgid "Yes"
|
272 |
-
msgstr "Da"
|
273 |
-
|
274 |
-
#: classes/autoptimizeConfig.php:183
|
275 |
-
msgid "No"
|
276 |
-
msgstr "Ne"
|
277 |
-
|
278 |
-
#: classes/autoptimizeConfig.php:186
|
279 |
-
msgid "Cached styles and scripts"
|
280 |
-
msgstr "Keširani stilovi i skripte."
|
281 |
-
|
282 |
-
#: classes/autoptimizeConfig.php:194
|
283 |
-
msgid "Save aggregated script/css as static files?"
|
284 |
-
msgstr "Sačuvajte script/css fajlove kao statične fajlove?"
|
285 |
-
|
286 |
-
#: classes/autoptimizeConfig.php:196
|
287 |
-
msgid ""
|
288 |
-
"By default files saved are static css/js, uncheck this option if your "
|
289 |
-
"webserver doesn't properly handle the compression and expiry."
|
290 |
-
msgstr ""
|
291 |
-
"Podrazumevano je da su svi css/js fajlovi sačuvani kao statični, isključite "
|
292 |
-
"ovu opciju ukoliko vaš web server ima problema sa kompresiju i expiry."
|
293 |
-
|
294 |
-
#: classes/autoptimizeConfig.php:202
|
295 |
-
msgid "Save Changes"
|
296 |
-
msgstr "Sačuvaj izmene"
|
297 |
-
|
298 |
-
#: classes/autoptimizeConfig.php:203
|
299 |
-
msgid "Save Changes and Empty Cache"
|
300 |
-
msgstr "Sačuvaj izmene i isprazni cache"
|
301 |
-
|
302 |
-
#: classes/autoptimizeConfig.php:224
|
303 |
-
msgid ""
|
304 |
-
"Need help? <a href='https://wordpress.org/plugins/autoptimize/faq/'>Check "
|
305 |
-
"out the FAQ</a> or post your question on <a href='http://wordpress.org/"
|
306 |
-
"support/plugin/autoptimize'>the support-forum</a>."
|
307 |
-
msgstr ""
|
308 |
-
"Potrebna vam je pomoć? <a href='https://wordpress.org/plugins/autoptimize/"
|
309 |
-
"faq/'>Pogledajte listu najčešće postavljenih pitanja (FAQ)</a> ili postavite "
|
310 |
-
"svoje pitanje <a href='http://wordpress.org/support/plugin/autoptimize'>na "
|
311 |
-
"support forumu</a>."
|
312 |
-
|
313 |
-
#: classes/autoptimizeConfig.php:225
|
314 |
-
msgid "Happy with Autoptimize?"
|
315 |
-
msgstr "Zadovoljni ste sa Autoptimize?"
|
316 |
-
|
317 |
-
#: classes/autoptimizeConfig.php:225
|
318 |
-
msgid "Try my other plugins!"
|
319 |
-
msgstr "Probajte i moje druge pluginove!"
|
320 |
-
|
321 |
-
#: classes/autoptimizeConfig.php:231
|
322 |
-
msgid "futtta about"
|
323 |
-
msgstr "O futta"
|
324 |
-
|
325 |
-
#. Plugin Name of the plugin/theme
|
326 |
-
#: classes/autoptimizeConfig.php:233
|
327 |
-
msgid "Autoptimize"
|
328 |
-
msgstr "Autoptimize"
|
329 |
-
|
330 |
-
#: classes/autoptimizeConfig.php:234
|
331 |
-
msgid "WordPress"
|
332 |
-
msgstr "WordPress"
|
333 |
-
|
334 |
-
#: classes/autoptimizeConfig.php:235
|
335 |
-
msgid "Web Technology"
|
336 |
-
msgstr "Web Tehnologija"
|
337 |
-
|
338 |
-
#: classes/autoptimizeConfig.php:250
|
339 |
-
msgid "Do not donate for this plugin!"
|
340 |
-
msgstr "Nemojte donirati za ovaj plugin!"
|
341 |
-
|
342 |
-
#: classes/autoptimizeConfig.php:370
|
343 |
-
msgid "Autoptimize Options"
|
344 |
-
msgstr "Autoptimize opcije"
|
345 |
-
|
346 |
-
#: classes/autoptimizeConfig.php:419 classes/autoptimizeConfig.php:425
|
347 |
-
msgid "Settings"
|
348 |
-
msgstr "Podešavanja"
|
349 |
-
|
350 |
-
#: classes/autoptimizeConfig.php:488
|
351 |
-
msgid "No items"
|
352 |
-
msgstr "Nema fajlova"
|
353 |
-
|
354 |
-
#: classes/autoptimizeConfig.php:493
|
355 |
-
msgid "Posted %s"
|
356 |
-
msgstr "Postavljeno"
|
357 |
-
|
358 |
-
#: classlesses/autoptimizeCacheChecker.php:50
|
359 |
-
msgid ""
|
360 |
-
"Autoptimize's cache size is getting big, consider purging the cache.<br /"
|
361 |
-
"><br />Have a look at <a href=\"https://wordpress.org/plugins/autoptimize/"
|
362 |
-
"faq/\" target=\"_blank\">the Autoptimize FAQ</a> to see how you can keep the "
|
363 |
-
"cache size under control."
|
364 |
-
msgstr ""
|
365 |
-
"Cache koji stvara Autoptimize postaje prevelik, ispraznite ga što pre. <br /"
|
366 |
-
"><br />Pogledajte<a href=\"https://wordpress.org/plugins/autoptimize/faq/\" "
|
367 |
-
"target=\"_blank\">listu najčešće postavljenih pitanja (FAQ)</a> kako bi "
|
368 |
-
"saznali kako da rešite cache problem."
|
369 |
-
|
370 |
-
#. Plugin URI of the plugin/theme
|
371 |
-
msgid "http://blog.futtta.be/autoptimize"
|
372 |
-
msgstr "http://blog.futtta.be/autoptimize"
|
373 |
-
|
374 |
-
#. Description of the plugin/theme
|
375 |
-
msgid ""
|
376 |
-
"Optimizes your website, concatenating the CSS and JavaScript code, and "
|
377 |
-
"compressing it."
|
378 |
-
msgstr ""
|
379 |
-
"Optimizujte svoj web sajt , upotpunite CSS i JavaScript kod i kompresujte ih."
|
380 |
-
|
381 |
-
#. Author of the plugin/theme
|
382 |
-
msgid "Frank Goossens (futtta)"
|
383 |
-
msgstr "Frank Goossens (futtta)"
|
384 |
-
|
385 |
-
#. Author URI of the plugin/theme
|
386 |
-
msgid "http://blog.futtta.be/"
|
387 |
-
msgstr "http://blog.futtta.be/"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
localization/autoptimize-uk_UA.mo
DELETED
Binary file
|
localization/autoptimize-uk_UA.po
DELETED
@@ -1,378 +0,0 @@
|
|
1 |
-
msgid ""
|
2 |
-
msgstr ""
|
3 |
-
"Project-Id-Version: Autoptimize v1.9.1\n"
|
4 |
-
"Report-Msgid-Bugs-To: \n"
|
5 |
-
"POT-Creation-Date: \n"
|
6 |
-
"PO-Revision-Date: 2015-12-09 14:48+0200\n"
|
7 |
-
"Last-Translator: ZAnatoly <zanatoly.web@gmail.com>\n"
|
8 |
-
"Language-Team: SebWeo.com\n"
|
9 |
-
"MIME-Version: 1.0\n"
|
10 |
-
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
-
"Content-Transfer-Encoding: 8bit\n"
|
12 |
-
"Plural-Forms: nplurals=3; plural=n%100/10==1 ? 2 : n%10==1 ? 0 : (n"
|
13 |
-
"+9)%10>3 ? 2 : 1;\n"
|
14 |
-
"X-Generator: Poedit 1.7.3\n"
|
15 |
-
"X-Poedit-SourceCharset: utf-8\n"
|
16 |
-
"X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;"
|
17 |
-
"_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2\n"
|
18 |
-
"X-Poedit-Basepath: ../\n"
|
19 |
-
"X-Textdomain-Support: yes\n"
|
20 |
-
"Language: uk_UA\n"
|
21 |
-
"X-Poedit-SearchPath-0: .\n"
|
22 |
-
|
23 |
-
# @ autoptimize
|
24 |
-
#. translators: plugin header field 'Name'
|
25 |
-
#: autoptimize.php:0 classes/autoptimizeConfig.php:190
|
26 |
-
msgid "Autoptimize"
|
27 |
-
msgstr "Autoptimize"
|
28 |
-
|
29 |
-
# @ autoptimize
|
30 |
-
#. translators: plugin header field 'PluginURI'
|
31 |
-
#: autoptimize.php:0
|
32 |
-
msgid "http://blog.futtta.be/autoptimize"
|
33 |
-
msgstr "http://blog.futtta.be/autoptimize"
|
34 |
-
|
35 |
-
# @ autoptimize
|
36 |
-
#. translators: plugin header field 'Description'
|
37 |
-
#: autoptimize.php:0
|
38 |
-
msgid ""
|
39 |
-
"Optimizes your website, concatenating the CSS and JavaScript code, and "
|
40 |
-
"compressing it."
|
41 |
-
msgstr ""
|
42 |
-
"Оптимізує ваш сайт, об'єднуючи всі файли CSS і JavaScript в окремі, та "
|
43 |
-
"стискаючи їх."
|
44 |
-
|
45 |
-
# @ autoptimize
|
46 |
-
#. translators: plugin header field 'Author'
|
47 |
-
#: autoptimize.php:0
|
48 |
-
msgid "Frank Goossens (futtta)"
|
49 |
-
msgstr "Frank Goossens (futtta)"
|
50 |
-
|
51 |
-
# @ autoptimize
|
52 |
-
#. translators: plugin header field 'AuthorURI'
|
53 |
-
#: autoptimize.php:0
|
54 |
-
msgid "http://blog.futtta.be/"
|
55 |
-
msgstr "http://blog.futtta.be/"
|
56 |
-
|
57 |
-
# @ autoptimize
|
58 |
-
#. translators: plugin header field 'Version'
|
59 |
-
#: autoptimize.php:0
|
60 |
-
msgid "1.9.1"
|
61 |
-
msgstr "1.9.1"
|
62 |
-
|
63 |
-
# @ autoptimize
|
64 |
-
#: autoptimize.php:124
|
65 |
-
msgid ""
|
66 |
-
"Thank you for installing and activating Autoptimize. Please configure it "
|
67 |
-
"under \"Settings\" -> \"Autoptimize\" to start improving your site's "
|
68 |
-
"performance."
|
69 |
-
msgstr ""
|
70 |
-
"Дякуємо за встановлення та активацію Autoptimize. Будь ласка, налаштуйте "
|
71 |
-
"його в \"Інструменти\" -> \"Autoptimize\", щоб почати оптимізацію сайту."
|
72 |
-
|
73 |
-
# @ autoptimize
|
74 |
-
#: autoptimize.php:130
|
75 |
-
msgid ""
|
76 |
-
"Autoptimize has just been updated. Please <strong>test your site now</"
|
77 |
-
"strong> and adapt Autoptimize config if needed."
|
78 |
-
msgstr ""
|
79 |
-
"Autoptimize щойно був оновлений. Будь ласка, <strong> перевірте свій сайт "
|
80 |
-
"зараз </strong> та налаштуйте конфігурацію Autoptimize, якщо необхідно."
|
81 |
-
|
82 |
-
# @ autoptimize
|
83 |
-
#: classes/autoptimizeConfig.php:48
|
84 |
-
msgid "Autoptimize Settings"
|
85 |
-
msgstr "Налаштування Autoptimize"
|
86 |
-
|
87 |
-
# @ autoptimize
|
88 |
-
#: classes/autoptimizeConfig.php:54 classes/autoptimizeConfig.php:60
|
89 |
-
msgid "Show advanced settings"
|
90 |
-
msgstr "Показати розширені налаштування"
|
91 |
-
|
92 |
-
# @ autoptimize
|
93 |
-
#: classes/autoptimizeConfig.php:55 classes/autoptimizeConfig.php:61
|
94 |
-
msgid "Hide advanced settings"
|
95 |
-
msgstr "Приховати розширені параметри"
|
96 |
-
|
97 |
-
# @ autoptimize
|
98 |
-
#: classes/autoptimizeConfig.php:69
|
99 |
-
msgid "HTML Options"
|
100 |
-
msgstr "Опції HTML"
|
101 |
-
|
102 |
-
# @ autoptimize
|
103 |
-
#: classes/autoptimizeConfig.php:72
|
104 |
-
msgid "Optimize HTML Code?"
|
105 |
-
msgstr "Оптимізувати HTML код?"
|
106 |
-
|
107 |
-
# @ autoptimize
|
108 |
-
#: classes/autoptimizeConfig.php:76
|
109 |
-
msgid "Keep HTML comments?"
|
110 |
-
msgstr "Залишити HTML-коментарі?"
|
111 |
-
|
112 |
-
# @ autoptimize
|
113 |
-
#: classes/autoptimizeConfig.php:78
|
114 |
-
msgid ""
|
115 |
-
"Enable this if you want HTML comments to remain in the page, needed for e.g. "
|
116 |
-
"AdSense to function properly."
|
117 |
-
msgstr ""
|
118 |
-
"Включіть, якщо ви хочете залишити HTML-коментарі на сторінці, які необхідні, "
|
119 |
-
"наприклад, для нормального функціонування реклами AdSense."
|
120 |
-
|
121 |
-
# @ autoptimize
|
122 |
-
#: classes/autoptimizeConfig.php:82
|
123 |
-
msgid "JavaScript Options"
|
124 |
-
msgstr "Опції JavaScript"
|
125 |
-
|
126 |
-
# @ autoptimize
|
127 |
-
#: classes/autoptimizeConfig.php:85
|
128 |
-
msgid "Optimize JavaScript Code?"
|
129 |
-
msgstr "Оптимізувати код JavaScript?"
|
130 |
-
|
131 |
-
# @ autoptimize
|
132 |
-
#: classes/autoptimizeConfig.php:89
|
133 |
-
msgid "Force JavaScript in <head>?"
|
134 |
-
msgstr "Перемістити код JavaScript в секцію <head>?"
|
135 |
-
|
136 |
-
# @ autoptimize
|
137 |
-
#: classes/autoptimizeConfig.php:91
|
138 |
-
msgid ""
|
139 |
-
"For performance reasons it is better to include JavaScript at the bottom of "
|
140 |
-
"HTML, but this sometimes breaks things. Especially useful for jQuery-based "
|
141 |
-
"themes."
|
142 |
-
msgstr ""
|
143 |
-
"Для підвищення продуктивності краще розміщувати JavaScript в нижній частині "
|
144 |
-
"HTML, але іноді він потрібен і в секції head. Особливо для тем на основі "
|
145 |
-
"jQuery."
|
146 |
-
|
147 |
-
# @ autoptimize
|
148 |
-
#: classes/autoptimizeConfig.php:94
|
149 |
-
msgid "Look for scripts only in <head>?"
|
150 |
-
msgstr "Оптимізувати скрипти тільки в секції <head>?"
|
151 |
-
|
152 |
-
# @ autoptimize
|
153 |
-
#: classes/autoptimizeConfig.php:96
|
154 |
-
msgid ""
|
155 |
-
"Mostly useful in combination with previous option when using jQuery-based "
|
156 |
-
"templates, but might help keeping cache size under control."
|
157 |
-
msgstr ""
|
158 |
-
"Корисна опція (в поєднанні з попередньою опцією), при використанні шаблонів "
|
159 |
-
"на основі jQuery, що може допомогти контролювати розмір кешу."
|
160 |
-
|
161 |
-
# @ autoptimize
|
162 |
-
#: classes/autoptimizeConfig.php:99
|
163 |
-
msgid "Exclude scripts from Autoptimize:"
|
164 |
-
msgstr "Не оптимізувати за допомогою Autoptimize наступні скрипти:"
|
165 |
-
|
166 |
-
# @ autoptimize
|
167 |
-
#: classes/autoptimizeConfig.php:101
|
168 |
-
msgid ""
|
169 |
-
"A comma-seperated list of scripts you want to exclude from being optimized, "
|
170 |
-
"for example 'whatever.js, another.js' (without the quotes) to exclude those "
|
171 |
-
"scripts from being aggregated and minimized by Autoptimize."
|
172 |
-
msgstr ""
|
173 |
-
"Розділений комами список скриптів для виключення від обробки, наприклад "
|
174 |
-
"'whatever.js, another.js' (без апострофів). Ці скрипти не будуть "
|
175 |
-
"оброблюватись та мінімізуватись плагіном Autoptimize."
|
176 |
-
|
177 |
-
# @ autoptimize
|
178 |
-
#: classes/autoptimizeConfig.php:104
|
179 |
-
msgid "Add try-catch wrapping?"
|
180 |
-
msgstr "Додати інструкцію виключення?"
|
181 |
-
|
182 |
-
# @ autoptimize
|
183 |
-
#: classes/autoptimizeConfig.php:106
|
184 |
-
msgid ""
|
185 |
-
"If your scripts break because of an script error, you might want to try this."
|
186 |
-
msgstr ""
|
187 |
-
"Якщо ваші скрипти не працюють через помилку, ви можете спробувати це "
|
188 |
-
"налаштування."
|
189 |
-
|
190 |
-
# @ autoptimize
|
191 |
-
#: classes/autoptimizeConfig.php:110
|
192 |
-
msgid "CSS Options"
|
193 |
-
msgstr "Опції CSS"
|
194 |
-
|
195 |
-
# @ autoptimize
|
196 |
-
#: classes/autoptimizeConfig.php:113
|
197 |
-
msgid "Optimize CSS Code?"
|
198 |
-
msgstr "Оптимізувати CSS код?"
|
199 |
-
|
200 |
-
# @ autoptimize
|
201 |
-
#: classes/autoptimizeConfig.php:117
|
202 |
-
msgid "Generate data: URIs for images?"
|
203 |
-
msgstr "Створення даних: URI для зображень?"
|
204 |
-
|
205 |
-
# @ autoptimize
|
206 |
-
#: classes/autoptimizeConfig.php:119
|
207 |
-
msgid ""
|
208 |
-
"Enable this to include small background-images in the CSS itself instead of "
|
209 |
-
"as seperate downloads."
|
210 |
-
msgstr ""
|
211 |
-
"Цей параметр використовується, щоб включати невеликі фонові зображення в сам "
|
212 |
-
"код CSS, а не як окреме завантаження картинок."
|
213 |
-
|
214 |
-
# @ autoptimize
|
215 |
-
#: classes/autoptimizeConfig.php:122
|
216 |
-
msgid "Look for styles only in <head>?"
|
217 |
-
msgstr "Шукати файли CSS тільки в секції <head>?"
|
218 |
-
|
219 |
-
# @ autoptimize
|
220 |
-
#: classes/autoptimizeConfig.php:124
|
221 |
-
msgid ""
|
222 |
-
"Don't autoptimize CSS outside the head-section. If the cache gets big, you "
|
223 |
-
"might want to enable this."
|
224 |
-
msgstr ""
|
225 |
-
"Не оптимізувати CSS за межами секції head. Якщо кеш виходить завеликим, вам, "
|
226 |
-
"можливо, допоможе включення цієї опції."
|
227 |
-
|
228 |
-
# @ autoptimize
|
229 |
-
#: classes/autoptimizeConfig.php:127
|
230 |
-
msgid "Inline and Defer CSS?"
|
231 |
-
msgstr "Вбудовані та відкладені CSS?"
|
232 |
-
|
233 |
-
# @ autoptimize
|
234 |
-
#: classes/autoptimizeConfig.php:129
|
235 |
-
msgid ""
|
236 |
-
"Inline \"above the fold CSS\" while loading the main autoptimized CSS only "
|
237 |
-
"after page load. <a href=\"http://wordpress.org/plugins/autoptimize/faq/\" "
|
238 |
-
"target=\"_blank\">Check the FAQ</a> before activating this option!"
|
239 |
-
msgstr ""
|
240 |
-
"Вбудовувати \"над цим CSS\" при завантаженні основного CSS, оптимізованого "
|
241 |
-
"плагіном, тільки після завантаження сторінки. <a href=\"http://wordpress.org/"
|
242 |
-
"plugins/autoptimize/faq/\" target=\"_blank\">Ознайомтесь із FAQ</a>, перш "
|
243 |
-
"ніж активувати цю опцію!"
|
244 |
-
|
245 |
-
# @ autoptimize
|
246 |
-
#: classes/autoptimizeConfig.php:133
|
247 |
-
msgid "Paste the above the fold CSS here."
|
248 |
-
msgstr "Вставити над цим CSS."
|
249 |
-
|
250 |
-
# @ autoptimize
|
251 |
-
#: classes/autoptimizeConfig.php:136
|
252 |
-
msgid "Inline all CSS?"
|
253 |
-
msgstr "Вбудувати весь код CSS?"
|
254 |
-
|
255 |
-
# @ autoptimize
|
256 |
-
#: classes/autoptimizeConfig.php:138
|
257 |
-
msgid ""
|
258 |
-
"Inlining all CSS can improve performance for sites with a low pageviews/ "
|
259 |
-
"visitor-rate, but may slow down performance otherwise."
|
260 |
-
msgstr ""
|
261 |
-
"Вбудовування всього CSS може підвищити продуктивність сайтів з низьким "
|
262 |
-
"рівнем переглядів на одного відвідувача сайту, але може уповільнити роботу в "
|
263 |
-
"інших випадках."
|
264 |
-
|
265 |
-
# @ autoptimize
|
266 |
-
#: classes/autoptimizeConfig.php:141
|
267 |
-
msgid "Exclude CSS from Autoptimize:"
|
268 |
-
msgstr "Виключити файли CSS від обробки Autoptimize:"
|
269 |
-
|
270 |
-
# @ autoptimize
|
271 |
-
#: classes/autoptimizeConfig.php:143
|
272 |
-
msgid "A comma-seperated list of CSS you want to exclude from being optimized."
|
273 |
-
msgstr ""
|
274 |
-
"Напишіть перелік файлів CSS (розділені комами), які ви не хочете "
|
275 |
-
"оптимізувати."
|
276 |
-
|
277 |
-
# @ autoptimize
|
278 |
-
#: classes/autoptimizeConfig.php:147
|
279 |
-
msgid "CDN Options"
|
280 |
-
msgstr "Опції CDN"
|
281 |
-
|
282 |
-
# @ autoptimize
|
283 |
-
#: classes/autoptimizeConfig.php:150
|
284 |
-
msgid "CDN Base URL"
|
285 |
-
msgstr "Головний URL CDN"
|
286 |
-
|
287 |
-
# @ autoptimize
|
288 |
-
#: classes/autoptimizeConfig.php:152
|
289 |
-
msgid ""
|
290 |
-
"Enter your CDN blog root directory URL if you want to enable CDN for images "
|
291 |
-
"referenced in the CSS."
|
292 |
-
msgstr ""
|
293 |
-
"Вкажіть основний URL сайту каталогів CDN, якщо ви хочете використовувати CDN "
|
294 |
-
"для зображень, що підключаються в CSS."
|
295 |
-
|
296 |
-
# @ autoptimize
|
297 |
-
#: classes/autoptimizeConfig.php:156
|
298 |
-
msgid "Cache Info"
|
299 |
-
msgstr "Інформація кешу"
|
300 |
-
|
301 |
-
# @ autoptimize
|
302 |
-
#: classes/autoptimizeConfig.php:159
|
303 |
-
msgid "Cache folder"
|
304 |
-
msgstr "Папка кешу"
|
305 |
-
|
306 |
-
# @ autoptimize
|
307 |
-
#: classes/autoptimizeConfig.php:163
|
308 |
-
msgid "Can we write?"
|
309 |
-
msgstr "Ми можемо записати?"
|
310 |
-
|
311 |
-
# @ autoptimize
|
312 |
-
#: classes/autoptimizeConfig.php:164
|
313 |
-
msgid "Yes"
|
314 |
-
msgstr "Так"
|
315 |
-
|
316 |
-
# @ autoptimize
|
317 |
-
#: classes/autoptimizeConfig.php:164
|
318 |
-
msgid "No"
|
319 |
-
msgstr "Ні"
|
320 |
-
|
321 |
-
# @ autoptimize
|
322 |
-
#: classes/autoptimizeConfig.php:167
|
323 |
-
msgid "Cached styles and scripts"
|
324 |
-
msgstr "Кешувати стилі та скрипти"
|
325 |
-
|
326 |
-
# @ autoptimize
|
327 |
-
#: classes/autoptimizeConfig.php:171
|
328 |
-
msgid "Save aggregated script/css as static files?"
|
329 |
-
msgstr "Зберігати отримані скрипти/стилі як статичні файли?"
|
330 |
-
|
331 |
-
# @ autoptimize
|
332 |
-
#: classes/autoptimizeConfig.php:173
|
333 |
-
msgid ""
|
334 |
-
"By default files saved are static css/js, uncheck this option if your "
|
335 |
-
"webserver doesn't properly handle the compression and expiry."
|
336 |
-
msgstr ""
|
337 |
-
"За замовчуванням файли зберігаються як статичні css/js, зніміть галочку, "
|
338 |
-
"якщо ваш веб-сервер не правильно обробляє стистення та застарий."
|
339 |
-
|
340 |
-
# @ autoptimize
|
341 |
-
#: classes/autoptimizeConfig.php:179
|
342 |
-
msgid "Save Changes"
|
343 |
-
msgstr "Зберегти зміни"
|
344 |
-
|
345 |
-
# @ autoptimize
|
346 |
-
#: classes/autoptimizeConfig.php:180
|
347 |
-
msgid "Save Changes and Empty Cache"
|
348 |
-
msgstr "Зберегти зміни та очистити кеш"
|
349 |
-
|
350 |
-
# @ autoptimize
|
351 |
-
#: classes/autoptimizeConfig.php:188
|
352 |
-
msgid "futtta about"
|
353 |
-
msgstr "про futtta"
|
354 |
-
|
355 |
-
# @ autoptimize
|
356 |
-
#: classes/autoptimizeConfig.php:191
|
357 |
-
msgid "WordPress"
|
358 |
-
msgstr "WordPress"
|
359 |
-
|
360 |
-
# @ autoptimize
|
361 |
-
#: classes/autoptimizeConfig.php:192
|
362 |
-
msgid "Web Technology"
|
363 |
-
msgstr "Веб Технології"
|
364 |
-
|
365 |
-
# @ default
|
366 |
-
#: classes/autoptimizeConfig.php:197
|
367 |
-
msgid "Do not donate for this plugin!"
|
368 |
-
msgstr "Не жертвуйте гроші на цей плагін!"
|
369 |
-
|
370 |
-
# @ autoptimize
|
371 |
-
#: classes/autoptimizeConfig.php:316
|
372 |
-
msgid "Autoptimize Options"
|
373 |
-
msgstr "Опції Autoptimize"
|
374 |
-
|
375 |
-
# @ default
|
376 |
-
#: classes/autoptimizeConfig.php:361 classes/autoptimizeConfig.php:367
|
377 |
-
msgid "Settings"
|
378 |
-
msgstr "Налаштування"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
localization/autoptimize-zh_CN.mo
DELETED
Binary file
|
localization/autoptimize-zh_CN.po
DELETED
@@ -1,83 +0,0 @@
|
|
1 |
-
msgid ""
|
2 |
-
msgstr ""
|
3 |
-
"Project-Id-Version: Autoptimize\n"
|
4 |
-
"Report-Msgid-Bugs-To: http://wordpress.org/tag/autoptimize\n"
|
5 |
-
"POT-Creation-Date: 2009-07-21 03:53+0000\n"
|
6 |
-
"PO-Revision-Date: \n"
|
7 |
-
"Last-Translator: Emilio López <turl@tuxfamily.org>\n"
|
8 |
-
"Language-Team: Donald <donaldz@live.com>\n"
|
9 |
-
"MIME-Version: 1.0\n"
|
10 |
-
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
-
"Content-Transfer-Encoding: 8bit\n"
|
12 |
-
"X-Poedit-Language: Chinese\n"
|
13 |
-
|
14 |
-
#: classes/autoptimizeConfig.php:44
|
15 |
-
msgid "Autoptimize Settings"
|
16 |
-
msgstr "Autoptimize 设置"
|
17 |
-
|
18 |
-
#: classes/autoptimizeConfig.php:49
|
19 |
-
msgid "HTML Options"
|
20 |
-
msgstr "HTML 选项"
|
21 |
-
|
22 |
-
#: classes/autoptimizeConfig.php:52
|
23 |
-
msgid "Optimize HTML Code?"
|
24 |
-
msgstr "优化 HTML 代码?"
|
25 |
-
|
26 |
-
#: classes/autoptimizeConfig.php:57
|
27 |
-
msgid "JavaScript Options"
|
28 |
-
msgstr "JavaScript 选项"
|
29 |
-
|
30 |
-
#: classes/autoptimizeConfig.php:60
|
31 |
-
msgid "Optimize JavaScript Code?"
|
32 |
-
msgstr "优化 JavaScript 代码?"
|
33 |
-
|
34 |
-
#: classes/autoptimizeConfig.php:64
|
35 |
-
msgid "Look for scripts only in <head>?"
|
36 |
-
msgstr "只在 <head> 中寻找脚本?"
|
37 |
-
|
38 |
-
#: classes/autoptimizeConfig.php:66
|
39 |
-
#: classes/autoptimizeConfig.php:84
|
40 |
-
msgid "Disabled by default. If the cache gets big, you might want to enable this."
|
41 |
-
msgstr "默认禁用此功能。 如果缓存文件夹变的非常大,你可能需要启用它。"
|
42 |
-
|
43 |
-
#: classes/autoptimizeConfig.php:69
|
44 |
-
msgid "Add try-catch wrapping?"
|
45 |
-
msgstr "添加异常处理环绕(try-catch wrapping)?"
|
46 |
-
|
47 |
-
#: classes/autoptimizeConfig.php:71
|
48 |
-
msgid "Disabled by default. If your scripts break because of an script error, you might want to try this."
|
49 |
-
msgstr "默认禁用此功能。 如果某个脚本错误导致你的脚本们无法正常运作,你可能需要启用它。"
|
50 |
-
|
51 |
-
#: classes/autoptimizeConfig.php:75
|
52 |
-
msgid "CSS Options"
|
53 |
-
msgstr "CSS 选项"
|
54 |
-
|
55 |
-
#: classes/autoptimizeConfig.php:78
|
56 |
-
msgid "Optimize CSS Code?"
|
57 |
-
msgstr "优化 CSS 代码?"
|
58 |
-
|
59 |
-
#: classes/autoptimizeConfig.php:82
|
60 |
-
msgid "Look for styles on just <head>?"
|
61 |
-
msgstr "只在 <head> 里寻找样式表"
|
62 |
-
|
63 |
-
#: classes/autoptimizeConfig.php:91
|
64 |
-
msgid "Save Changes"
|
65 |
-
msgstr "保存更改"
|
66 |
-
|
67 |
-
#: classes/autoptimizeConfig.php:101
|
68 |
-
msgid "Autoptimize Options"
|
69 |
-
msgstr "Autoptimize 选项"
|
70 |
-
|
71 |
-
#: classes/autoptimizeConfig.php:126
|
72 |
-
#: classes/autoptimizeConfig.php:133
|
73 |
-
msgid "Settings"
|
74 |
-
msgstr "设置"
|
75 |
-
|
76 |
-
#. Plugin Name of an extension
|
77 |
-
msgid "Autoptimize"
|
78 |
-
msgstr "Autoptimize"
|
79 |
-
|
80 |
-
#. Description of an extension
|
81 |
-
msgid "Optimizes your website, concatenating the CSS and JavaScript code, and compressing it."
|
82 |
-
msgstr "优化你的网站, 整合CSS和JavaScript代码并压缩。"
|
83 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
localization/autoptimize-zh_TW.mo
DELETED
Binary file
|
localization/autoptimize-zh_TW.po
DELETED
@@ -1,380 +0,0 @@
|
|
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: https://wordpress.org/support/plugin/autoptimize\n"
|
7 |
-
"POT-Creation-Date: 2015-12-09 21:43+0800\n"
|
8 |
-
"PO-Revision-Date: 2015-12-09 21:58+0800\n"
|
9 |
-
"Last-Translator: Pseric <pserics@gmail.com>\n"
|
10 |
-
"Language-Team: \n"
|
11 |
-
"Language: zh_TW\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.8.6\n"
|
16 |
-
"Plural-Forms: nplurals=1; plural=0;\n"
|
17 |
-
|
18 |
-
#: autoptimize.php:93
|
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。請從「設定」 -> 「Autopimize」進行設定並開始改"
|
25 |
-
"善你的網站效能。"
|
26 |
-
|
27 |
-
#: autoptimize.php:99
|
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>立即測試你的網站</strong>及調整 Autoptimize "
|
33 |
-
"設定(如果需要的話)。"
|
34 |
-
|
35 |
-
#: autoptimize.php:105
|
36 |
-
msgid ""
|
37 |
-
"Autoptimize cannot write to the cache directory (default: /wp-content/cache/"
|
38 |
-
"autoptimize), please fix to enable CSS/ JS optimization!"
|
39 |
-
msgstr ""
|
40 |
-
"Autoptimize 無法寫入快取目錄(預設值:/wp-content/cache/autoptimize),請修復"
|
41 |
-
"來啟用 CSS/JS 最佳化!"
|
42 |
-
|
43 |
-
#: classes/autoptimizeConfig.php:48
|
44 |
-
msgid "Autoptimize Settings"
|
45 |
-
msgstr "Autoptimize 設定"
|
46 |
-
|
47 |
-
#: classes/autoptimizeConfig.php:54 classes/autoptimizeConfig.php:60
|
48 |
-
msgid "Show advanced settings"
|
49 |
-
msgstr "顯示進階設定"
|
50 |
-
|
51 |
-
#: classes/autoptimizeConfig.php:55 classes/autoptimizeConfig.php:61
|
52 |
-
msgid "Hide advanced settings"
|
53 |
-
msgstr "隱藏進階設定"
|
54 |
-
|
55 |
-
#: classes/autoptimizeConfig.php:69
|
56 |
-
msgid "HTML Options"
|
57 |
-
msgstr "HTML 選項"
|
58 |
-
|
59 |
-
#: classes/autoptimizeConfig.php:72
|
60 |
-
msgid "Optimize HTML Code?"
|
61 |
-
msgstr "最佳化 HTML 程式碼?"
|
62 |
-
|
63 |
-
#: classes/autoptimizeConfig.php:76
|
64 |
-
msgid "Keep HTML comments?"
|
65 |
-
msgstr "保留 HTML 註解?"
|
66 |
-
|
67 |
-
#: classes/autoptimizeConfig.php:78
|
68 |
-
msgid ""
|
69 |
-
"Enable this if you want HTML comments to remain in the page, needed for e.g. "
|
70 |
-
"AdSense to function properly."
|
71 |
-
msgstr ""
|
72 |
-
"如果你想讓 HTML 註解保留在頁面裡,請啟用此選項,例如要讓 AdSense 正常運作就必"
|
73 |
-
"須用到。"
|
74 |
-
|
75 |
-
#: classes/autoptimizeConfig.php:82
|
76 |
-
msgid "JavaScript Options"
|
77 |
-
msgstr "JavaScript 選項"
|
78 |
-
|
79 |
-
#: classes/autoptimizeConfig.php:85
|
80 |
-
msgid "Optimize JavaScript Code?"
|
81 |
-
msgstr "最佳化 JavaScript 程式碼?"
|
82 |
-
|
83 |
-
#: classes/autoptimizeConfig.php:89
|
84 |
-
msgid "Force JavaScript in <head>?"
|
85 |
-
msgstr "只處理在 <head> 的 JavaScript?"
|
86 |
-
|
87 |
-
#: classes/autoptimizeConfig.php:91
|
88 |
-
msgid ""
|
89 |
-
"Load JavaScript early, reducing the chance of JS-errors but making it render "
|
90 |
-
"blocking. You can disable this if you're not aggregating inline JS and you "
|
91 |
-
"want JS to be deferred."
|
92 |
-
msgstr ""
|
93 |
-
"提早載入JavaScript,降低 JS 錯誤的機會,但可能延遲網頁載入速度。如果你不想合"
|
94 |
-
"併內連 JS,但你希望 JS 延遲載入,你可以停用這個選項。"
|
95 |
-
|
96 |
-
#: classes/autoptimizeConfig.php:95
|
97 |
-
msgid "Look for scripts only in <head>?"
|
98 |
-
msgstr "只在 <head> 尋找程式?"
|
99 |
-
|
100 |
-
#: classes/autoptimizeConfig.php:95 classes/autoptimizeConfig.php:135
|
101 |
-
msgid " <i>(deprecated)</i>"
|
102 |
-
msgstr " <i>(不推薦)</i>"
|
103 |
-
|
104 |
-
#: classes/autoptimizeConfig.php:97
|
105 |
-
msgid ""
|
106 |
-
"Mostly useful in combination with previous option when using jQuery-based "
|
107 |
-
"templates, but might help keeping cache size under control."
|
108 |
-
msgstr ""
|
109 |
-
"當使用 jQuery 模版時,合併先前的選項是非常有用的,但可能有助於維持快取檔案大"
|
110 |
-
"小。"
|
111 |
-
|
112 |
-
#: classes/autoptimizeConfig.php:101
|
113 |
-
msgid "Also aggregate inline JS?"
|
114 |
-
msgstr "也合併內連 JS?"
|
115 |
-
|
116 |
-
#: classes/autoptimizeConfig.php:103
|
117 |
-
msgid ""
|
118 |
-
"Check this option for Autoptimize to also aggregate JS in the HTML. If this "
|
119 |
-
"option is not enabled, you might have to \"force JavaScript in head\"."
|
120 |
-
msgstr ""
|
121 |
-
"選取這個選項讓 Autoptimize 也合併 HTML 內的 JS 檔。如果這個選項沒有啟用,你可"
|
122 |
-
"能必須「只處理在 head 部分的 JavaScript」。"
|
123 |
-
|
124 |
-
#: classes/autoptimizeConfig.php:106
|
125 |
-
msgid "Exclude scripts from Autoptimize:"
|
126 |
-
msgstr "從 Autoptimize 排除程式:"
|
127 |
-
|
128 |
-
#: classes/autoptimizeConfig.php:108
|
129 |
-
msgid ""
|
130 |
-
"A comma-seperated list of scripts you want to exclude from being optimized, "
|
131 |
-
"for example 'whatever.js, another.js' (without the quotes) to exclude those "
|
132 |
-
"scripts from being aggregated and minimized by Autoptimize."
|
133 |
-
msgstr ""
|
134 |
-
"使用逗號來分隔你想從最佳化中排除的程式,舉例來說使用「whatever.js, another."
|
135 |
-
"js」(沒有引號)來排除這些程式,不讓它們被 Autoptimize 合併及最小化。"
|
136 |
-
|
137 |
-
#: classes/autoptimizeConfig.php:111
|
138 |
-
msgid "Add try-catch wrapping?"
|
139 |
-
msgstr "加入異常處理環繞?"
|
140 |
-
|
141 |
-
#: classes/autoptimizeConfig.php:113
|
142 |
-
msgid ""
|
143 |
-
"If your scripts break because of a JS-error, you might want to try this."
|
144 |
-
msgstr "如果你的程式因為 JS 錯誤而發生異常,你可能會需要嘗試這個。"
|
145 |
-
|
146 |
-
#: classes/autoptimizeConfig.php:117
|
147 |
-
msgid "CSS Options"
|
148 |
-
msgstr "CSS 選項"
|
149 |
-
|
150 |
-
#: classes/autoptimizeConfig.php:120
|
151 |
-
msgid "Optimize CSS Code?"
|
152 |
-
msgstr "最佳化 CSS 程式碼?"
|
153 |
-
|
154 |
-
#: classes/autoptimizeConfig.php:124
|
155 |
-
msgid "Generate data: URIs for images?"
|
156 |
-
msgstr "為圖片產生 data: URIs?"
|
157 |
-
|
158 |
-
#: classes/autoptimizeConfig.php:126
|
159 |
-
msgid ""
|
160 |
-
"Enable this to include small background-images in the CSS itself instead of "
|
161 |
-
"as seperate downloads."
|
162 |
-
msgstr "啟用這個選項將小型背景圖片併入 CSS 檔,不再分開單獨下載。"
|
163 |
-
|
164 |
-
#: classes/autoptimizeConfig.php:129
|
165 |
-
msgid "Remove Google Fonts?"
|
166 |
-
msgstr "移除 Google Fonts?"
|
167 |
-
|
168 |
-
#: classes/autoptimizeConfig.php:131
|
169 |
-
msgid "Check this if you don't need or want Google Fonts being loaded."
|
170 |
-
msgstr "如果你不需要或不想載入 Google Fonts,勾選這個選項。"
|
171 |
-
|
172 |
-
#: classes/autoptimizeConfig.php:135
|
173 |
-
msgid "Look for styles only in <head>?"
|
174 |
-
msgstr "只在 <head> 尋找樣式?"
|
175 |
-
|
176 |
-
#: classes/autoptimizeConfig.php:137
|
177 |
-
msgid ""
|
178 |
-
"Don't autoptimize CSS outside the head-section. If the cache gets big, you "
|
179 |
-
"might want to enable this."
|
180 |
-
msgstr ""
|
181 |
-
"不在 head 以外部分自動最佳化 CSS。如果快取太大,你也許可以啟用這項功能。"
|
182 |
-
|
183 |
-
#: classes/autoptimizeConfig.php:141
|
184 |
-
msgid "Also aggregate inline CSS?"
|
185 |
-
msgstr "也合併內連 CSS?"
|
186 |
-
|
187 |
-
#: classes/autoptimizeConfig.php:143
|
188 |
-
msgid "Check this option for Autoptimize to also aggregate CSS in the HTML."
|
189 |
-
msgstr "勾選這個選項讓 Autoptimize 也合併 HTML 裡的 CSS。"
|
190 |
-
|
191 |
-
#: classes/autoptimizeConfig.php:146
|
192 |
-
msgid "Inline and Defer CSS?"
|
193 |
-
msgstr "內連及延遲載入 CSS?"
|
194 |
-
|
195 |
-
#: classes/autoptimizeConfig.php:148
|
196 |
-
msgid ""
|
197 |
-
"Inline \"above the fold CSS\" while loading the main autoptimized CSS only "
|
198 |
-
"after page load. <a href=\"http://wordpress.org/plugins/autoptimize/faq/\" "
|
199 |
-
"target=\"_blank\">Check the FAQ</a> before activating this option!"
|
200 |
-
msgstr ""
|
201 |
-
"只在頁面載入後,才載入最佳化的 CSS 檔。在啟用這個選項前,請先<a href="
|
202 |
-
"\"http://wordpress.org/plugins/autoptimize/faq/\" target=\"_blank\">查看問與"
|
203 |
-
"答</a>!"
|
204 |
-
|
205 |
-
#: classes/autoptimizeConfig.php:152
|
206 |
-
msgid "Paste the above the fold CSS here."
|
207 |
-
msgstr "在這裡貼上 CSS 檔。"
|
208 |
-
|
209 |
-
#: classes/autoptimizeConfig.php:155
|
210 |
-
msgid "Inline all CSS?"
|
211 |
-
msgstr "內連所有 CSS?"
|
212 |
-
|
213 |
-
#: classes/autoptimizeConfig.php:157
|
214 |
-
msgid ""
|
215 |
-
"Inlining all CSS can improve performance for sites with a low pageviews/ "
|
216 |
-
"visitor-rate, but may slow down performance otherwise."
|
217 |
-
msgstr "內連所有 CSS 可加速低流量網站,但可能造成效能降低。"
|
218 |
-
|
219 |
-
#: classes/autoptimizeConfig.php:160
|
220 |
-
msgid "Exclude CSS from Autoptimize:"
|
221 |
-
msgstr "從 Autoptimize 排除 CSS 檔:"
|
222 |
-
|
223 |
-
#: classes/autoptimizeConfig.php:162
|
224 |
-
msgid "A comma-seperated list of CSS you want to exclude from being optimized."
|
225 |
-
msgstr "使用逗號來分隔你想從最佳化中排除的 CSS 檔。"
|
226 |
-
|
227 |
-
#: classes/autoptimizeConfig.php:166
|
228 |
-
msgid "CDN Options"
|
229 |
-
msgstr "CDN 選項"
|
230 |
-
|
231 |
-
#: classes/autoptimizeConfig.php:169
|
232 |
-
msgid "CDN Base URL"
|
233 |
-
msgstr "CDN 主網址"
|
234 |
-
|
235 |
-
#: classes/autoptimizeConfig.php:171
|
236 |
-
msgid ""
|
237 |
-
"Enter your CDN blog root directory URL if you want to enable CDN for images "
|
238 |
-
"referenced in the CSS."
|
239 |
-
msgstr "如果你想在 CSS 裡為圖片啟用 CDN,輸入你的 CDN 網誌根目錄網址。"
|
240 |
-
|
241 |
-
#: classes/autoptimizeConfig.php:175
|
242 |
-
msgid "Cache Info"
|
243 |
-
msgstr "快取資訊"
|
244 |
-
|
245 |
-
#: classes/autoptimizeConfig.php:178
|
246 |
-
msgid "Cache folder"
|
247 |
-
msgstr "快取資料夾"
|
248 |
-
|
249 |
-
#: classes/autoptimizeConfig.php:182
|
250 |
-
msgid "Can we write?"
|
251 |
-
msgstr "是否可以寫入?"
|
252 |
-
|
253 |
-
#: classes/autoptimizeConfig.php:183
|
254 |
-
msgid "Yes"
|
255 |
-
msgstr "是"
|
256 |
-
|
257 |
-
#: classes/autoptimizeConfig.php:183
|
258 |
-
msgid "No"
|
259 |
-
msgstr "否"
|
260 |
-
|
261 |
-
#: classes/autoptimizeConfig.php:186
|
262 |
-
msgid "Cached styles and scripts"
|
263 |
-
msgstr "已快取的樣式和程式"
|
264 |
-
|
265 |
-
#: classes/autoptimizeConfig.php:194
|
266 |
-
msgid "Save aggregated script/css as static files?"
|
267 |
-
msgstr "將彙整的程式/樣式檔儲存為靜態檔案?"
|
268 |
-
|
269 |
-
#: classes/autoptimizeConfig.php:196
|
270 |
-
msgid ""
|
271 |
-
"By default files saved are static css/js, uncheck this option if your "
|
272 |
-
"webserver doesn't properly handle the compression and expiry."
|
273 |
-
msgstr ""
|
274 |
-
"預設情況下會將 css/js 儲存為靜態檔案,如果你的網頁伺服器無法正確處理壓縮和過"
|
275 |
-
"期時間,請取消勾選這個選項。"
|
276 |
-
|
277 |
-
#: classes/autoptimizeConfig.php:202
|
278 |
-
msgid "Save Changes"
|
279 |
-
msgstr "儲存變更"
|
280 |
-
|
281 |
-
#: classes/autoptimizeConfig.php:203
|
282 |
-
msgid "Save Changes and Empty Cache"
|
283 |
-
msgstr "儲存變更並清除快取"
|
284 |
-
|
285 |
-
#: classes/autoptimizeConfig.php:224
|
286 |
-
msgid ""
|
287 |
-
"Need help? <a href='https://wordpress.org/plugins/autoptimize/faq/'>Check "
|
288 |
-
"out the FAQ</a> or post your question on <a href='http://wordpress.org/"
|
289 |
-
"support/plugin/autoptimize'>the support-forum</a>."
|
290 |
-
msgstr ""
|
291 |
-
"需要協助嗎?<a href='https://wordpress.org/plugins/autoptimize/faq/'>查看問與"
|
292 |
-
"答</a>或把你的問題發佈到<a href='http://wordpress.org/support/plugin/"
|
293 |
-
"autoptimize'>支援論壇</a>。"
|
294 |
-
|
295 |
-
#: classes/autoptimizeConfig.php:225
|
296 |
-
msgid "Happy with Autoptimize?"
|
297 |
-
msgstr "使用 Autoptimize 愉快嗎?"
|
298 |
-
|
299 |
-
#: classes/autoptimizeConfig.php:225
|
300 |
-
msgid "Try my other plugins!"
|
301 |
-
msgstr "試試我的其他外掛!"
|
302 |
-
|
303 |
-
#: classes/autoptimizeConfig.php:231
|
304 |
-
msgid "futtta about"
|
305 |
-
msgstr "關於 futtta"
|
306 |
-
|
307 |
-
#. Plugin Name of the plugin/theme
|
308 |
-
#: classes/autoptimizeConfig.php:233
|
309 |
-
msgid "Autoptimize"
|
310 |
-
msgstr "Autoptimize"
|
311 |
-
|
312 |
-
#: classes/autoptimizeConfig.php:234
|
313 |
-
msgid "WordPress"
|
314 |
-
msgstr "WordPress"
|
315 |
-
|
316 |
-
#: classes/autoptimizeConfig.php:235
|
317 |
-
msgid "Web Technology"
|
318 |
-
msgstr "網頁技術"
|
319 |
-
|
320 |
-
#: classes/autoptimizeConfig.php:250
|
321 |
-
msgid "Do not donate for this plugin!"
|
322 |
-
msgstr "別贊助這個外掛!"
|
323 |
-
|
324 |
-
#: classes/autoptimizeConfig.php:370
|
325 |
-
msgid "Autoptimize Options"
|
326 |
-
msgstr "Autoptimize 選項"
|
327 |
-
|
328 |
-
#: classes/autoptimizeConfig.php:419 classes/autoptimizeConfig.php:425
|
329 |
-
msgid "Settings"
|
330 |
-
msgstr "設定"
|
331 |
-
|
332 |
-
#: classes/autoptimizeConfig.php:488
|
333 |
-
msgid "No items"
|
334 |
-
msgstr "沒有項目"
|
335 |
-
|
336 |
-
#: classes/autoptimizeConfig.php:493
|
337 |
-
msgid "Posted %s"
|
338 |
-
msgstr "發佈於 %s"
|
339 |
-
|
340 |
-
#: classlesses/autoptimizeCacheChecker.php:50
|
341 |
-
msgid ""
|
342 |
-
"Autoptimize's cache size is getting big, consider purging the cache.<br /"
|
343 |
-
"><br />Have a look at <a href=\"https://wordpress.org/plugins/autoptimize/"
|
344 |
-
"faq/\" target=\"_blank\">the Autoptimize FAQ</a> to see how you can keep the "
|
345 |
-
"cache size under control."
|
346 |
-
msgstr ""
|
347 |
-
"Autoptimize 的快取大小越來越大,考慮清理快取。<br /><br />只找 <a href="
|
348 |
-
"\"https://wordpress.org/plugins/autoptimize/faq/\" target=\"_blank"
|
349 |
-
"\">Autoptimize 問與答</a>來看一下如何控制快取大小。"
|
350 |
-
|
351 |
-
#. Plugin URI of the plugin/theme
|
352 |
-
msgid "http://blog.futtta.be/autoptimize"
|
353 |
-
msgstr "http://blog.futtta.be/autoptimize"
|
354 |
-
|
355 |
-
#. Description of the plugin/theme
|
356 |
-
msgid ""
|
357 |
-
"Optimizes your website, concatenating the CSS and JavaScript code, and "
|
358 |
-
"compressing it."
|
359 |
-
msgstr "最佳化你的網站,串聯 CSS 和 JavaScript 程式碼並進行壓縮。"
|
360 |
-
|
361 |
-
#. Author of the plugin/theme
|
362 |
-
msgid "Frank Goossens (futtta)"
|
363 |
-
msgstr "Frank Goossens (futtta)"
|
364 |
-
|
365 |
-
#. Author URI of the plugin/theme
|
366 |
-
msgid "http://blog.futtta.be/"
|
367 |
-
msgstr "http://blog.futtta.be/"
|
368 |
-
|
369 |
-
#~ msgid ""
|
370 |
-
#~ "For performance reasons it is better to include JavaScript at the bottom "
|
371 |
-
#~ "of HTML, but this sometimes breaks things. Especially useful for jQuery-"
|
372 |
-
#~ "based themes."
|
373 |
-
#~ msgstr ""
|
374 |
-
#~ "為了更好的效能,最好讓 JavaScript 在 HTML 底部載入,但這有時候可能造成故"
|
375 |
-
#~ "障。尤其是一些使用 jQuery 的佈景主題。"
|
376 |
-
|
377 |
-
#~ msgid ""
|
378 |
-
#~ "If your scripts break because of an script error, you might want to try "
|
379 |
-
#~ "this."
|
380 |
-
#~ msgstr "如果你的程式因為錯誤而損壞,你可能可以嘗試這項功能。"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
localization/autoptimize.pot
DELETED
@@ -1,341 +0,0 @@
|
|
1 |
-
# Copyright (C) 2015 Autoptimize
|
2 |
-
# This file is distributed under the same license as the Autoptimize package.
|
3 |
-
msgid ""
|
4 |
-
msgstr ""
|
5 |
-
"Project-Id-Version: Autoptimize 2.0.2\n"
|
6 |
-
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/autoptimize\n"
|
7 |
-
"POT-Creation-Date: 2015-12-08 22:03:53+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: 2015-MO-DA HO:MI+ZONE\n"
|
12 |
-
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
13 |
-
"Language-Team: LANGUAGE <LL@li.org>\n"
|
14 |
-
|
15 |
-
#: autoptimize.php:93
|
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:99
|
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 |
-
#: autoptimize.php:105
|
29 |
-
msgid ""
|
30 |
-
"Autoptimize cannot write to the cache directory (default: /wp-content/cache/"
|
31 |
-
"autoptimize), please fix to enable CSS/ JS optimization!"
|
32 |
-
msgstr ""
|
33 |
-
|
34 |
-
#: classes/autoptimizeConfig.php:48
|
35 |
-
msgid "Autoptimize Settings"
|
36 |
-
msgstr ""
|
37 |
-
|
38 |
-
#: classes/autoptimizeConfig.php:54 classes/autoptimizeConfig.php:60
|
39 |
-
msgid "Show advanced settings"
|
40 |
-
msgstr ""
|
41 |
-
|
42 |
-
#: classes/autoptimizeConfig.php:55 classes/autoptimizeConfig.php:61
|
43 |
-
msgid "Hide advanced settings"
|
44 |
-
msgstr ""
|
45 |
-
|
46 |
-
#: classes/autoptimizeConfig.php:69
|
47 |
-
msgid "HTML Options"
|
48 |
-
msgstr ""
|
49 |
-
|
50 |
-
#: classes/autoptimizeConfig.php:72
|
51 |
-
msgid "Optimize HTML Code?"
|
52 |
-
msgstr ""
|
53 |
-
|
54 |
-
#: classes/autoptimizeConfig.php:76
|
55 |
-
msgid "Keep HTML comments?"
|
56 |
-
msgstr ""
|
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 |
-
|
64 |
-
#: classes/autoptimizeConfig.php:82
|
65 |
-
msgid "JavaScript Options"
|
66 |
-
msgstr ""
|
67 |
-
|
68 |
-
#: classes/autoptimizeConfig.php:85
|
69 |
-
msgid "Optimize JavaScript Code?"
|
70 |
-
msgstr ""
|
71 |
-
|
72 |
-
#: classes/autoptimizeConfig.php:89
|
73 |
-
msgid "Force JavaScript in <head>?"
|
74 |
-
msgstr ""
|
75 |
-
|
76 |
-
#: classes/autoptimizeConfig.php:91
|
77 |
-
msgid ""
|
78 |
-
"Load JavaScript early, reducing the chance of JS-errors but making it render "
|
79 |
-
"blocking. You can disable this if you're not aggregating inline JS and you "
|
80 |
-
"want JS to be deferred."
|
81 |
-
msgstr ""
|
82 |
-
|
83 |
-
#: classes/autoptimizeConfig.php:95
|
84 |
-
msgid "Look for scripts only in <head>?"
|
85 |
-
msgstr ""
|
86 |
-
|
87 |
-
#: classes/autoptimizeConfig.php:95 classes/autoptimizeConfig.php:135
|
88 |
-
msgid " <i>(deprecated)</i>"
|
89 |
-
msgstr ""
|
90 |
-
|
91 |
-
#: classes/autoptimizeConfig.php:97
|
92 |
-
msgid ""
|
93 |
-
"Mostly useful in combination with previous option when using jQuery-based "
|
94 |
-
"templates, but might help keeping cache size under control."
|
95 |
-
msgstr ""
|
96 |
-
|
97 |
-
#: classes/autoptimizeConfig.php:101
|
98 |
-
msgid "Also aggregate inline JS?"
|
99 |
-
msgstr ""
|
100 |
-
|
101 |
-
#: classes/autoptimizeConfig.php:103
|
102 |
-
msgid ""
|
103 |
-
"Check this option for Autoptimize to also aggregate JS in the HTML. If this "
|
104 |
-
"option is not enabled, you might have to \"force JavaScript in head\"."
|
105 |
-
msgstr ""
|
106 |
-
|
107 |
-
#: classes/autoptimizeConfig.php:106
|
108 |
-
msgid "Exclude scripts from Autoptimize:"
|
109 |
-
msgstr ""
|
110 |
-
|
111 |
-
#: classes/autoptimizeConfig.php:108
|
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 |
-
|
118 |
-
#: classes/autoptimizeConfig.php:111
|
119 |
-
msgid "Add try-catch wrapping?"
|
120 |
-
msgstr ""
|
121 |
-
|
122 |
-
#: classes/autoptimizeConfig.php:113
|
123 |
-
msgid ""
|
124 |
-
"If your scripts break because of a JS-error, you might want to try this."
|
125 |
-
msgstr ""
|
126 |
-
|
127 |
-
#: classes/autoptimizeConfig.php:117
|
128 |
-
msgid "CSS Options"
|
129 |
-
msgstr ""
|
130 |
-
|
131 |
-
#: classes/autoptimizeConfig.php:120
|
132 |
-
msgid "Optimize CSS Code?"
|
133 |
-
msgstr ""
|
134 |
-
|
135 |
-
#: classes/autoptimizeConfig.php:124
|
136 |
-
msgid "Generate data: URIs for images?"
|
137 |
-
msgstr ""
|
138 |
-
|
139 |
-
#: classes/autoptimizeConfig.php:126
|
140 |
-
msgid ""
|
141 |
-
"Enable this to include small background-images in the CSS itself instead of "
|
142 |
-
"as seperate downloads."
|
143 |
-
msgstr ""
|
144 |
-
|
145 |
-
#: classes/autoptimizeConfig.php:129
|
146 |
-
msgid "Remove Google Fonts?"
|
147 |
-
msgstr ""
|
148 |
-
|
149 |
-
#: classes/autoptimizeConfig.php:131
|
150 |
-
msgid "Check this if you don't need or want Google Fonts being loaded."
|
151 |
-
msgstr ""
|
152 |
-
|
153 |
-
#: classes/autoptimizeConfig.php:135
|
154 |
-
msgid "Look for styles only in <head>?"
|
155 |
-
msgstr ""
|
156 |
-
|
157 |
-
#: classes/autoptimizeConfig.php:137
|
158 |
-
msgid ""
|
159 |
-
"Don't autoptimize CSS outside the head-section. If the cache gets big, you "
|
160 |
-
"might want to enable this."
|
161 |
-
msgstr ""
|
162 |
-
|
163 |
-
#: classes/autoptimizeConfig.php:141
|
164 |
-
msgid "Also aggregate inline CSS?"
|
165 |
-
msgstr ""
|
166 |
-
|
167 |
-
#: classes/autoptimizeConfig.php:143
|
168 |
-
msgid "Check this option for Autoptimize to also aggregate CSS in the HTML."
|
169 |
-
msgstr ""
|
170 |
-
|
171 |
-
#: classes/autoptimizeConfig.php:146
|
172 |
-
msgid "Inline and Defer CSS?"
|
173 |
-
msgstr ""
|
174 |
-
|
175 |
-
#: classes/autoptimizeConfig.php:148
|
176 |
-
msgid ""
|
177 |
-
"Inline \"above the fold CSS\" while loading the main autoptimized CSS only "
|
178 |
-
"after page load. <a href=\"http://wordpress.org/plugins/autoptimize/faq/\" "
|
179 |
-
"target=\"_blank\">Check the FAQ</a> before activating this option!"
|
180 |
-
msgstr ""
|
181 |
-
|
182 |
-
#: classes/autoptimizeConfig.php:152
|
183 |
-
msgid "Paste the above the fold CSS here."
|
184 |
-
msgstr ""
|
185 |
-
|
186 |
-
#: classes/autoptimizeConfig.php:155
|
187 |
-
msgid "Inline all CSS?"
|
188 |
-
msgstr ""
|
189 |
-
|
190 |
-
#: classes/autoptimizeConfig.php:157
|
191 |
-
msgid ""
|
192 |
-
"Inlining all CSS can improve performance for sites with a low pageviews/ "
|
193 |
-
"visitor-rate, but may slow down performance otherwise."
|
194 |
-
msgstr ""
|
195 |
-
|
196 |
-
#: classes/autoptimizeConfig.php:160
|
197 |
-
msgid "Exclude CSS from Autoptimize:"
|
198 |
-
msgstr ""
|
199 |
-
|
200 |
-
#: classes/autoptimizeConfig.php:162
|
201 |
-
msgid "A comma-seperated list of CSS you want to exclude from being optimized."
|
202 |
-
msgstr ""
|
203 |
-
|
204 |
-
#: classes/autoptimizeConfig.php:166
|
205 |
-
msgid "CDN Options"
|
206 |
-
msgstr ""
|
207 |
-
|
208 |
-
#: classes/autoptimizeConfig.php:169
|
209 |
-
msgid "CDN Base URL"
|
210 |
-
msgstr ""
|
211 |
-
|
212 |
-
#: classes/autoptimizeConfig.php:171
|
213 |
-
msgid ""
|
214 |
-
"Enter your CDN blog root directory URL if you want to enable CDN for images "
|
215 |
-
"referenced in the CSS."
|
216 |
-
msgstr ""
|
217 |
-
|
218 |
-
#: classes/autoptimizeConfig.php:175
|
219 |
-
msgid "Cache Info"
|
220 |
-
msgstr ""
|
221 |
-
|
222 |
-
#: classes/autoptimizeConfig.php:178
|
223 |
-
msgid "Cache folder"
|
224 |
-
msgstr ""
|
225 |
-
|
226 |
-
#: classes/autoptimizeConfig.php:182
|
227 |
-
msgid "Can we write?"
|
228 |
-
msgstr ""
|
229 |
-
|
230 |
-
#: classes/autoptimizeConfig.php:183
|
231 |
-
msgid "Yes"
|
232 |
-
msgstr ""
|
233 |
-
|
234 |
-
#: classes/autoptimizeConfig.php:183
|
235 |
-
msgid "No"
|
236 |
-
msgstr ""
|
237 |
-
|
238 |
-
#: classes/autoptimizeConfig.php:186
|
239 |
-
msgid "Cached styles and scripts"
|
240 |
-
msgstr ""
|
241 |
-
|
242 |
-
#: classes/autoptimizeConfig.php:194
|
243 |
-
msgid "Save aggregated script/css as static files?"
|
244 |
-
msgstr ""
|
245 |
-
|
246 |
-
#: classes/autoptimizeConfig.php:196
|
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 |
-
|
252 |
-
#: classes/autoptimizeConfig.php:202
|
253 |
-
msgid "Save Changes"
|
254 |
-
msgstr ""
|
255 |
-
|
256 |
-
#: classes/autoptimizeConfig.php:203
|
257 |
-
msgid "Save Changes and Empty Cache"
|
258 |
-
msgstr ""
|
259 |
-
|
260 |
-
#: classes/autoptimizeConfig.php:224
|
261 |
-
msgid ""
|
262 |
-
"Need help? <a href='https://wordpress.org/plugins/autoptimize/faq/'>Check "
|
263 |
-
"out the FAQ</a> or post your question on <a href='http://wordpress.org/"
|
264 |
-
"support/plugin/autoptimize'>the support-forum</a>."
|
265 |
-
msgstr ""
|
266 |
-
|
267 |
-
#: classes/autoptimizeConfig.php:225
|
268 |
-
msgid "Happy with Autoptimize?"
|
269 |
-
msgstr ""
|
270 |
-
|
271 |
-
#: classes/autoptimizeConfig.php:225
|
272 |
-
msgid "Try my other plugins!"
|
273 |
-
msgstr ""
|
274 |
-
|
275 |
-
#: classes/autoptimizeConfig.php:231
|
276 |
-
msgid "futtta about"
|
277 |
-
msgstr ""
|
278 |
-
|
279 |
-
#. #-#-#-#-# plugin.pot (Autoptimize 1.9.9) #-#-#-#-#
|
280 |
-
#. Plugin Name of the plugin/theme
|
281 |
-
#: classes/autoptimizeConfig.php:233
|
282 |
-
msgid "Autoptimize"
|
283 |
-
msgstr ""
|
284 |
-
|
285 |
-
#: classes/autoptimizeConfig.php:234
|
286 |
-
msgid "WordPress"
|
287 |
-
msgstr ""
|
288 |
-
|
289 |
-
#: classes/autoptimizeConfig.php:235
|
290 |
-
msgid "Web Technology"
|
291 |
-
msgstr ""
|
292 |
-
|
293 |
-
#: classes/autoptimizeConfig.php:250
|
294 |
-
msgid "Do not donate for this plugin!"
|
295 |
-
msgstr ""
|
296 |
-
|
297 |
-
#: classes/autoptimizeConfig.php:370
|
298 |
-
msgid "Autoptimize Options"
|
299 |
-
msgstr ""
|
300 |
-
|
301 |
-
#: classes/autoptimizeConfig.php:419 classes/autoptimizeConfig.php:425
|
302 |
-
msgid "Settings"
|
303 |
-
msgstr ""
|
304 |
-
|
305 |
-
#: classes/autoptimizeConfig.php:488
|
306 |
-
msgid "No items"
|
307 |
-
msgstr ""
|
308 |
-
|
309 |
-
#: classes/autoptimizeConfig.php:493
|
310 |
-
msgid "Posted %s"
|
311 |
-
msgstr ""
|
312 |
-
|
313 |
-
#: classes/autoptimizeToolbar.php:22
|
314 |
-
msgid "Delete Cache"
|
315 |
-
msgstr ""
|
316 |
-
|
317 |
-
#: classlesses/autoptimizeCacheChecker.php:50
|
318 |
-
msgid ""
|
319 |
-
"Autoptimize's cache size is getting big, consider purging the cache.<br /"
|
320 |
-
"><br />Have a look at <a href=\"https://wordpress.org/plugins/autoptimize/"
|
321 |
-
"faq/\" target=\"_blank\">the Autoptimize FAQ</a> to see how you can keep the "
|
322 |
-
"cache size under control."
|
323 |
-
msgstr ""
|
324 |
-
|
325 |
-
#. Plugin URI of the plugin/theme
|
326 |
-
msgid "http://blog.futtta.be/autoptimize"
|
327 |
-
msgstr ""
|
328 |
-
|
329 |
-
#. Description of the plugin/theme
|
330 |
-
msgid ""
|
331 |
-
"Optimizes your website, concatenating the CSS and JavaScript code, and "
|
332 |
-
"compressing it."
|
333 |
-
msgstr ""
|
334 |
-
|
335 |
-
#. Author of the plugin/theme
|
336 |
-
msgid "Frank Goossens (futtta)"
|
337 |
-
msgstr ""
|
338 |
-
|
339 |
-
#. Author URI of the plugin/theme
|
340 |
-
msgid "http://blog.futtta.be/"
|
341 |
-
msgstr ""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
readme.txt
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
=== Autoptimize ===
|
2 |
Contributors: futtta, optimizingmatters, turl
|
3 |
-
Tags: css, javascript, optimize, minify, performance
|
4 |
Donate link: http://blog.futtta.be/2013/10/21/do-not-donate-to-me/
|
5 |
Requires at least: 4.0
|
6 |
Tested up to: 4.9
|
7 |
-
Stable tag: 2.
|
8 |
|
9 |
Autoptimize speeds up your website and helps you save bandwidth by aggregating and minimizing JS, CSS and HTML.
|
10 |
|
@@ -59,7 +59,7 @@ CSS in general should go in the head of the document. Recently a.o. Google start
|
|
59 |
|
60 |
= But how can one find out what the "above the fold CSS" is? =
|
61 |
|
62 |
-
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. [
|
63 |
|
64 |
= Or should you inline all CSS? =
|
65 |
|
@@ -84,10 +84,6 @@ Instead you can keep the cache size at an acceptable level by either:
|
|
84 |
|
85 |
Despite above objections, there are 3rd party solutions to automatically purge the AO cache, e.g. using [this code](https://wordpress.org/support/topic/contribution-autoptimize-cache-size-under-control-by-schedule-auto-cache-purge/) or [this plugin](https://wordpress.org/plugins/bi-clean-cache/), but for reasons above these are to be used only if you really know what you're doing.
|
86 |
|
87 |
-
= Upon updating Autoptimize can't be reactivated =
|
88 |
-
|
89 |
-
I have not been able to reproduce this, but had 2 users reporting that they had to temporarily disable W3 Total Cache to be able to re-activate the updated Autoptimize. No idea why this is happening, but this might help if you encounter that problem.
|
90 |
-
|
91 |
= "Clear cache" doesn't seem to work? =
|
92 |
|
93 |
When clicking the "Delete Cache" link in the Autoptimize dropdown in the admin toolbar, you might to get a "Your cache might not have been purged successfully". In that case go to Autoptimizes setting page and click the "Save changes & clear cache"-button.
|
@@ -104,18 +100,10 @@ At the moment (June 2017) it seems RocketLoader might break AO's "inline & defer
|
|
104 |
|
105 |
Autoptimize is not a simple "fix my Pagespeed-problems" plugin; it "only" aggregates & minifies (local) JS & CSS and allows for some nice extra's as removing Google Fonts and deferring the loading of the CSS. As such Autoptimize will allow you to improve your performance (load time measured in seconds) and will probably also help you tackle some specific Pagespeed warnings. If you want to improve further, you will probably also have to look into e.g. page caching, image optimization and your webserver configuration, which will improve real performance (again, load time as measured by e.g. https://webpagetest.org) and your "performance best practise" pagespeed ratings.
|
106 |
|
107 |
-
= So should I aggregate inline CSS/ JS? =
|
108 |
-
|
109 |
-
Before Autoptimize 2.0.0, inline code was always optimized with all CSS pushed in the head-section and all JS at the end with a defer-flag. This often caused 2 problems; the priority of inline CSS got lost and inline JS could contain page- or request-specific code which broke Autoptimize's caching mechanism leading to too many cached files and the minification running over and over. This is why as from AO 2.0 by default inline code is not optimized (except for those upgrading from previous versions). Additionally, to avoid inline JS breaking because jquery is not available, `js/jquery/jquery.js` is excluded by default.
|
110 |
-
|
111 |
= What can I do with the API? =
|
112 |
|
113 |
A whole lot; there are filters you can use to conditionally disable Autoptimize per request, to change the CSS- and JS-excludes, to change the limit for CSS background-images to be inlined in the CSS, to define what JS-files are moved behind the aggregated one, to change the defer-attribute on the aggregated JS script-tag, ... There are examples for some filters in autoptimize_helper.php_example and in this FAQ.
|
114 |
|
115 |
-
= How can I use the code in autoptimize_helper.php_example? =
|
116 |
-
|
117 |
-
Although you could add the code to your theme's functions.php, it would get overwritten with your next theme update. Therefor it is better to either create a helper plugin of your own or to simply use [the Code Snippets plugin](https://wordpress.org/plugins/code-snippets/) to manage any custom code.
|
118 |
-
|
119 |
= How does CDN work? =
|
120 |
|
121 |
Starting from version 1.7.0, CDN is activated upon entering the CDN blog root directory (e.g. http://cdn.example.net/wordpress/). If that URL is present, it will used for all Autoptimize-generated files (i.e. aggregated CSS and JS), including background-images in the CSS (when not using data-uri's).
|
@@ -201,14 +189,6 @@ Make sure `js/jquery/jquery.js` is in the comma-separated list of JS optimizatio
|
|
201 |
|
202 |
In that case you have un-aggregated JavaScript that requires jQuery to be loaded, so you'll have to add `js/jquery/jquery.js` to the comma-separated list of JS optimization exclusions.
|
203 |
|
204 |
-
= My Autoptimized CSS/ JS is broken after upgrading from 2.1 to 2.2! =
|
205 |
-
|
206 |
-
One of the bigger changes in Autoptimize 2.2 it that it minifies first and aggregates second, which has important performance-benefits. Although this has been tested rather thoroughly, it is possible that this approach does not always work. You can turn this behavior off by hooking into Autoptimize's API, like this;
|
207 |
-
|
208 |
-
`
|
209 |
-
add_filter('autoptimize_filter_speedupper','__return_false');
|
210 |
-
`
|
211 |
-
|
212 |
= I use NextGen Galleries and a lot of JS is not aggregated/ minified? =
|
213 |
|
214 |
NextGen Galleries does some nifty stuff to add JavaScript. In order for Autoptimize to be able to aggregate that, you can either disable Nextgen Gallery's resourced manage with this code snippet `add_filter( 'run_ngg_resource_manager', '__return_false' );` or you can tell Autoptimize to initialize earlier, by adding this to your wp-config.php: `define("AUTOPTIMIZE_INIT_EARLIER","true");`
|
@@ -232,6 +212,26 @@ define('AUTOPTIMIZE_CACHEFILE_PREFIX','aggregated_');
|
|
232 |
|
233 |
Yes, but this is off by default. You can enable this by passing ´true´ to ´autoptimize_filter_cache_create_static_gzip´. You'll obviously still have to configure your webserver to use these files instead of the non-gzipped ones to avoid the overhead of on-the-fly compression.
|
234 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
235 |
= Where can I get help? =
|
236 |
|
237 |
You can get help on the [wordpress.org support forum](http://wordpress.org/support/plugin/autoptimize). If you are 100% sure this your problem cannot be solved using Autoptimize configuration and that you in fact discovered a bug in the code, you can [create an issue on GitHub](https://github.com/futtta/autoptimize/issues). If you're looking for premium support, check out our [Autoptimize Pro Support and Web Performance Optimization services](http://autoptimize.com/).
|
@@ -248,8 +248,17 @@ Just [fork Autoptimize on Github](https://github.com/futtta/autoptimize) and cod
|
|
248 |
|
249 |
== Changelog ==
|
250 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
251 |
= 2.2.2 =
|
252 |
-
* roll-back to previous battle-tested version of the CSS minifier
|
253 |
* tweaks to Autoptimize toolbar menu (visual + timeout of "delete cache" AJAX call)
|
254 |
* readme update
|
255 |
|
1 |
=== Autoptimize ===
|
2 |
Contributors: futtta, optimizingmatters, turl
|
3 |
+
Tags: css, javascript, optimize, minify, performance
|
4 |
Donate link: http://blog.futtta.be/2013/10/21/do-not-donate-to-me/
|
5 |
Requires at least: 4.0
|
6 |
Tested up to: 4.9
|
7 |
+
Stable tag: 2.3.0
|
8 |
|
9 |
Autoptimize speeds up your website and helps you save bandwidth by aggregating and minimizing JS, CSS and HTML.
|
10 |
|
59 |
|
60 |
= But how can one find out what the "above the fold CSS" is? =
|
61 |
|
62 |
+
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. The [Sitelocity critical CSS generator](https://www.sitelocity.com/critical-path-css-generator) and [Jonas Ohlsson's criticalpathcssgenerator](http://jonassebastianohlsson.com/criticalpathcssgenerator/) are nice basic solutions and [http://criticalcss.com/](http://misc.optimizingmatters.com/partners/?from=faq&partner=critcss) is a premium solution by the same Jonas Ohlsson. Alternatively [this bookmarklet](https://gist.github.com/PaulKinlan/6284142) (Chrome-only) can be helpful as well.
|
63 |
|
64 |
= Or should you inline all CSS? =
|
65 |
|
84 |
|
85 |
Despite above objections, there are 3rd party solutions to automatically purge the AO cache, e.g. using [this code](https://wordpress.org/support/topic/contribution-autoptimize-cache-size-under-control-by-schedule-auto-cache-purge/) or [this plugin](https://wordpress.org/plugins/bi-clean-cache/), but for reasons above these are to be used only if you really know what you're doing.
|
86 |
|
|
|
|
|
|
|
|
|
87 |
= "Clear cache" doesn't seem to work? =
|
88 |
|
89 |
When clicking the "Delete Cache" link in the Autoptimize dropdown in the admin toolbar, you might to get a "Your cache might not have been purged successfully". In that case go to Autoptimizes setting page and click the "Save changes & clear cache"-button.
|
100 |
|
101 |
Autoptimize is not a simple "fix my Pagespeed-problems" plugin; it "only" aggregates & minifies (local) JS & CSS and allows for some nice extra's as removing Google Fonts and deferring the loading of the CSS. As such Autoptimize will allow you to improve your performance (load time measured in seconds) and will probably also help you tackle some specific Pagespeed warnings. If you want to improve further, you will probably also have to look into e.g. page caching, image optimization and your webserver configuration, which will improve real performance (again, load time as measured by e.g. https://webpagetest.org) and your "performance best practise" pagespeed ratings.
|
102 |
|
|
|
|
|
|
|
|
|
103 |
= What can I do with the API? =
|
104 |
|
105 |
A whole lot; there are filters you can use to conditionally disable Autoptimize per request, to change the CSS- and JS-excludes, to change the limit for CSS background-images to be inlined in the CSS, to define what JS-files are moved behind the aggregated one, to change the defer-attribute on the aggregated JS script-tag, ... There are examples for some filters in autoptimize_helper.php_example and in this FAQ.
|
106 |
|
|
|
|
|
|
|
|
|
107 |
= How does CDN work? =
|
108 |
|
109 |
Starting from version 1.7.0, CDN is activated upon entering the CDN blog root directory (e.g. http://cdn.example.net/wordpress/). If that URL is present, it will used for all Autoptimize-generated files (i.e. aggregated CSS and JS), including background-images in the CSS (when not using data-uri's).
|
189 |
|
190 |
In that case you have un-aggregated JavaScript that requires jQuery to be loaded, so you'll have to add `js/jquery/jquery.js` to the comma-separated list of JS optimization exclusions.
|
191 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
192 |
= I use NextGen Galleries and a lot of JS is not aggregated/ minified? =
|
193 |
|
194 |
NextGen Galleries does some nifty stuff to add JavaScript. In order for Autoptimize to be able to aggregate that, you can either disable Nextgen Gallery's resourced manage with this code snippet `add_filter( 'run_ngg_resource_manager', '__return_false' );` or you can tell Autoptimize to initialize earlier, by adding this to your wp-config.php: `define("AUTOPTIMIZE_INIT_EARLIER","true");`
|
212 |
|
213 |
Yes, but this is off by default. You can enable this by passing ´true´ to ´autoptimize_filter_cache_create_static_gzip´. You'll obviously still have to configure your webserver to use these files instead of the non-gzipped ones to avoid the overhead of on-the-fly compression.
|
214 |
|
215 |
+
= What does "remove emoji's" do? =
|
216 |
+
|
217 |
+
This new option in Autoptimize 2.3 removes the inline CSS, inline JS and linked JS-file added by WordPress core. As such is can have a small positive impact on your site's performance.
|
218 |
+
|
219 |
+
= Is "remove query strings" useful? =
|
220 |
+
|
221 |
+
Although some online performance assessement tools will single out "query strings for static files" as an issue for performance, in general the impact of these is almost non-existant. As such Autoptimize, since version 2.3, allows you to have the query string (or more precisely the "ver"-parameter) removed, but ticking "remove query strings from static resources" will have little or no impact of on your site's performance as measured in (milli-)seconds.
|
222 |
+
|
223 |
+
= (How) should I optimize Google Fonts? =
|
224 |
+
|
225 |
+
Google Fonts are typically loaded by a "render blocking" linked CSS-file. If you have a theme and plugins that use Google Fonts, you might end up with multiple such CSS-files. Autoptimize (since version 2.3) now let's you lessen the impact of Google Fonts by either removing them alltogether or by optimizing the way they are loaded. There are two optimization-flavors; the first one is "combine and link", which replaces all requests for Google Fonts into one request, which will still be render-blocking but will allow the fonts to be loaded immediately (meaning you won't see fonts change while the page is loading). The alternative is "combine and load async" which uses JavaScript to load the fonts in a non-render blocking manner but which might cause a "flash of unstyled text".
|
226 |
+
|
227 |
+
= Should I use "preconnect" =
|
228 |
+
|
229 |
+
Preconnect is a somewhat advanced feature to instruct browsers ([if they support it](https://caniuse.com/#feat=link-rel-preconnect)) to make a connection to specific domains even if the connection is not immediately needed. This can be used e.g. to lessen the impact of 3rd party resources on HTTPS (as DNS-request, TCP-connection and SSL/TLS negotiation are executed early). Use with care, as preconnecting to too many domains can be counter-productive.
|
230 |
+
|
231 |
+
= When can('t) I async JS? =
|
232 |
+
|
233 |
+
JavaScript files that are not autoptimized (because they were excluded or because they are hosted elsewhere) are typically render-blocking. By adding them in the comma-separated "async JS" field, Autoptimize will add the async flag causing the browser to load those files asynchronously (i.e. non-render blocking). This can however break your site (page), e.g. if you async "js/jquery/jquery.js" you will very likely get "jQuery is not defined"-errors. Use with care.
|
234 |
+
|
235 |
= Where can I get help? =
|
236 |
|
237 |
You can get help on the [wordpress.org support forum](http://wordpress.org/support/plugin/autoptimize). If you are 100% sure this your problem cannot be solved using Autoptimize configuration and that you in fact discovered a bug in the code, you can [create an issue on GitHub](https://github.com/futtta/autoptimize/issues). If you're looking for premium support, check out our [Autoptimize Pro Support and Web Performance Optimization services](http://autoptimize.com/).
|
248 |
|
249 |
== Changelog ==
|
250 |
|
251 |
+
= 2.3.0 =
|
252 |
+
* new: optimize Google fonts with “combine & link” and “combine and load async” (with webload.js), intelligently preconnecting to Google’s domains to limit performance impact even further
|
253 |
+
* new: Async JS, can be applied to local or 3rd party JS (if local it will be auto-excluded from autoptimization)
|
254 |
+
* new: support to tell browsers to preconnect (= dns lookup + tcp/ip connection + ssl negotiation) to 3rd party domains (depends on browser support, works in Chrome & Firefox)
|
255 |
+
* new: remove WordPress’ Core’s emoji CSS & JS
|
256 |
+
* new: remove (version parameter from) Querystring
|
257 |
+
* new: support to clear cache through WP CLI thanks to [junaidbhura](https://junaidbhura.com)
|
258 |
+
* lots of [bugfixes and small improvements done by some seriously smart people via GitHub](https://github.com/futtta/autoptimize/commits/master) (thanks all!!), including [a fix for AO 2.2 which saw the HTML minifier go PacMan on spaces](https://github.com/futtta/autoptimize/commit/0f6ac683c35bc82d1ac2d496ae3b66bb53e49f88) in some circumstances.
|
259 |
+
|
260 |
= 2.2.2 =
|
261 |
+
* roll-back to previous battle-tested version of the CSS minifier
|
262 |
* tweaks to Autoptimize toolbar menu (visual + timeout of "delete cache" AJAX call)
|
263 |
* readme update
|
264 |
|