Plugin Directory

Changeset 2748708


Ignore:
Timestamp:
06/27/2022 07:30:33 PM (4 years ago)
Author:
codealfa
Message:

release version 3.1.0

Location:
jch-optimize/trunk
Files:
989 added
4 deleted
12 edited

Legend:

Unmodified
Added
Removed
  • jch-optimize/trunk/autoload.php

    r2437682 r2748708  
    1212 */
    1313
    14 if (!defined('_JCH_EXEC'))
     14if ( ! defined( '_JCH_EXEC' ) )
    1515{
    16     define('_JCH_EXEC', 1);
     16    define( '_JCH_EXEC', 1 );
    1717}
    1818
    19 require_once __DIR__ . '/vendor/autoload.php';
     19require_once __DIR__ . '/version.php';
     20
     21if ( JCH_DEVELOP )
     22{
     23    require_once __DIR__ . '/vendor/autoload.php';
     24}
     25else
     26{
     27    require_once __DIR__ . '/lib/vendor/scoper-autoload.php';
     28}
  • jch-optimize/trunk/jch-optimize.php

    r2696502 r2748708  
    55 * Plugin URI: http://www.jch-optimize.net/
    66 * Description: JCH Optimize performs several front-end optimizations to your webpages for fast downloads
    7  * Version: 3.0.5
     7 * Version: 3.1.0
    88 * Author: Samuel Marshall
    99 * License: GNU/GPLv3
     
    2323 */
    2424
     25use JchOptimize\Container;
     26use JchOptimize\Plugin\Loader;
     27
     28if ( version_compare( PHP_VERSION, '7.3', 'lt' ) )
     29{
     30    function jchoptimize_update_php_message()
     31    {
     32        $message = sprintf( __( 'JCH Optimize requires at least PHP 7.3.0. You current version is %s. Please update your PHP version or deactivate the plugin.', 'jch-optimize' ), PHP_VERSION );
     33        echo <<<HTML
     34<div class="notice notice-warning is-dismissible"><p>{$message}</p></div>
     35HTML;
     36    }
     37
     38    add_action( 'admin_notices', 'jchoptimize_update_php_message' );
     39
     40    return;
     41}
     42
    2543$jch_no_optimize = false;
    2644
     
    3149define( 'JCH_PLUGIN_DIR', plugin_dir_path( JCH_PLUGIN_FILE ) );
    3250define( 'JCH_CACHE_DIR', WP_CONTENT_DIR . '/cache/jch-optimize/' );
     51define( 'JPATH_ROOT', rtrim( ABSPATH, '/' ) );
    3352
    3453require_once( JCH_PLUGIN_DIR . 'autoload.php' );
    35 require_once( JCH_PLUGIN_DIR . 'version.php' );
    36 require_once( JCH_PLUGIN_DIR . 'classes/JchOptimizeLoader.php' );
    3754
    38 /**
    39  * Upgrade settings from versions less than 3.0.0
    40  */
    41 JchOptimizeLoader::preboot_init();
     55try
     56{
     57    $container = Container::getInstance();
     58    $loader    = $container->get( Loader::class );
     59    /**
     60     * Upgrade settings from versions less than 3.0.0
     61     */
     62    $loader->preboot_init();
     63    /**
     64     * Initialize and run plugin
     65     */
     66    $loader->init();
     67}
     68catch ( Exception $e )
     69{
     70    function jchoptimize_initialize_error()
     71    {
     72        $message = __( 'An error occurred while trying to initialize the JCH Optimize plugin. Please deactivate the plugin and report all errors to the developer.', 'jch-optimize' );
     73        echo <<<HTML
     74<div class="notice notice-error is-dismissible"><p>{$message}</p></div>
     75HTML;
     76    }
    4277
    43 /**
    44  * Initialize and run plugin
    45  */
    46 JchOptimizeLoader::init();
     78    add_action( 'admin_notices', 'jchoptimize_initialize_error' );
     79
     80    return;
     81}
  • jch-optimize/trunk/languages/jch-optimize.pot

    r2681836 r2748708  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: JCH Optimize Pro pro-3.0.3.4\n"
     5"Project-Id-Version: JCH Optimize Pro pro-3.1.0.b4\n"
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/plugin\n"
    77"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
     
    1010"Content-Type: text/plain; charset=UTF-8\n"
    1111"Content-Transfer-Encoding: 8bit\n"
    12 "POT-Creation-Date: 2022-02-05T11:07:51-05:00\n"
     12"POT-Creation-Date: 2022-06-25T18:37:52-04:00\n"
    1313"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    1414"X-Generator: WP-CLI 2.6.0\n"
     
    3131msgstr ""
    3232
    33 #: classes/JchOptimizeAdmin.php:27
     33#: jch-optimize.php:32
     34msgid "JCH Optimize requires at least PHP 7.3.0. You current version is %s. Please update your PHP version or deactivate the plugin."
     35msgstr ""
     36
     37#: jch-optimize.php:72
     38msgid "An error occurred while trying to initialize the JCH Optimize plugin. Please deactivate the plugin and report all errors to the developer."
     39msgstr ""
     40
     41#: src/Controller/BrowserCaching.php:37
     42msgid "Failed trying to add browser caching codes to the .htaccess file"
     43msgstr ""
     44
     45#: src/Controller/BrowserCaching.php:41
     46msgid "No .htaccess file were found in the root of this site"
     47msgstr ""
     48
     49#: src/Controller/BrowserCaching.php:45
     50msgid "The .htaccess file was updated successfully"
     51msgstr ""
     52
     53#: src/Controller/BrowserCaching.php:49
     54msgid "Failed to update the .htaccess file"
     55msgstr ""
     56
     57#: src/Controller/BrowserCaching.php:53
     58msgid "Successfully added codes to the .htaccess file to promote browser caching"
     59msgstr ""
     60
     61#: src/Controller/CleanCache.php:43
     62msgid "Cache deleted successfully!"
     63msgstr ""
     64
     65#: src/Controller/CleanCache.php:47
     66msgid "Error cleaning cache!"
     67msgstr ""
     68
     69#: src/Controller/DeleteBackups.php:37
     70msgid "Failed trying to delete backup images"
     71msgstr ""
     72
     73#: src/Controller/DeleteBackups.php:41
     74#: src/Controller/RestoreImages.php:41
     75msgid "The folder containing backup images wasn't created yet. Try optimizing some images first."
     76msgstr ""
     77
     78#: src/Controller/DeleteBackups.php:45
     79msgid "Successfully deleted backup images"
     80msgstr ""
     81
     82#: src/Controller/KeyCache.php:35
     83msgid "New cache key generated!"
     84msgstr ""
     85
     86#: src/Controller/OptimizeImage.php:47
     87msgid "%1$d images optimized in %2$s"
     88msgstr ""
     89
     90#: src/Controller/OptimizeImage.php:52
     91msgid "The Optimize Image function failed with message \""
     92msgstr ""
     93
     94#: src/Controller/OrderPlugins.php:42
     95msgid "Plugins ordered successfully"
     96msgstr ""
     97
     98#: src/Controller/RestoreImages.php:37
     99msgid "Failed restoring all original images"
     100msgstr ""
     101
     102#: src/Controller/RestoreImages.php:45
     103msgid "Successfully restored all images"
     104msgstr ""
     105
     106#: src/Html/Helper.php:77
     107msgid "Only available in Pro Version!"
     108msgstr ""
     109
     110#: src/Html/Helper.php:129
     111#: src/Html/Helper.php:283
     112msgid "No"
     113msgstr ""
     114
     115#: src/Html/Helper.php:130
     116#: src/Html/Helper.php:284
     117msgid "Yes"
     118msgstr ""
     119
     120#: src/Html/Helper.php:242
     121msgid "Add item"
     122msgstr ""
     123
     124#: src/Html/Renderer/Section.php:24
     125msgid "General"
     126msgstr ""
     127
     128#: src/Html/Renderer/Section.php:31
     129msgid "Exclude Menu Urls"
     130msgstr ""
     131
     132#: src/Html/Renderer/Section.php:32
     133msgid "Enter any part of a url to exclude that page from optimization. You will need to add these urls to the list manually by typing the url in the textbox and click the 'Add item' button."
     134msgstr ""
     135
     136#: src/Html/Renderer/Section.php:39
     137msgid "Combine CSS/Js"
     138msgstr ""
     139
     140#: src/Html/Renderer/Section.php:40
     141msgid "These settings affect the combined CSS and javascript files generated by the plugin."
     142msgstr ""
     143
     144#: src/Html/Renderer/Section.php:47
     145msgid "Combine Files Automatic Settings"
     146msgstr ""
     147
     148#: src/Html/Renderer/Section.php:48
     149msgid "These settings for the combined files are configured by the Automatic settings on the Dashboard tab. You don't need to configure them yourself."
     150msgstr ""
     151
     152#: src/Html/Renderer/Section.php:57
     153msgid "CSS Automatic Settings"
     154msgstr ""
     155
     156#: src/Html/Renderer/Section.php:58
     157msgid "These settings are configured by the Automatic settings on the Control Panel tab. You don't need to configure them yourself."
     158msgstr ""
     159
     160#: src/Html/Renderer/Section.php:65
     161msgid "Exclude CSS Files"
     162msgstr ""
     163
     164#: src/Html/Renderer/Section.php:73
     165#: src/Html/TabSettings.php:179
     166msgid "Remove CSS Files"
     167msgstr ""
     168
     169#: src/Html/Renderer/Section.php:74
     170msgid "You can remove and prevent css files from loading on the page if they're not being used at all to speed up page load and rendering. Please be sure these files are not being used anywhere on the site to prevent breaking your pages."
     171msgstr ""
     172
     173#: src/Html/Renderer/Section.php:81
     174msgid "Optimize Google Fonts"
     175msgstr ""
     176
     177#: src/Html/Renderer/Section.php:89
     178msgid "Optimize CSS Delivery"
     179msgstr ""
     180
     181#: src/Html/Renderer/Section.php:90
     182msgid "The plugin will attempt to extract the critical CSS that is required to format the page above the fold and put this in a &lt;style&gt; element inside the &lt;head&gt; section of the HTML to prevent 'render-blocking'. The combined CSS will then be loaded asynchronously. Select the number of HTML elements from the top of the page that you want the plugin to find the critical CSS for. The smaller the number, the smaller the size of the critical CSS but you might see some jumping of the page if the number is too small."
     183msgstr ""
     184
     185#: src/Html/Renderer/Section.php:99
     186msgid "Javascript Automatic Settings"
     187msgstr ""
     188
     189#: src/Html/Renderer/Section.php:100
     190msgid "These settings are configured by the Automatic settings on the Control Panel tab. You don't need to configure them yourself"
     191msgstr ""
     192
     193#: src/Html/Renderer/Section.php:107
     194msgid "Exclude Files While Preserving Execution Order"
     195msgstr ""
     196
     197#: src/Html/Renderer/Section.php:108
     198msgid "Exclude individual javascript files or files from selected extensions. Files selected in this section will be excluded while preserving execution order on the page by splitting the combined files around excluded files. This ensures no dependency between files are broken and break the page."
     199msgstr ""
     200
     201#: src/Html/Renderer/Section.php:115
     202msgid "Exclude File Ignoring Execution Order"
     203msgstr ""
     204
     205#: src/Html/Renderer/Section.php:116
     206msgid "Only use these settings if you're sure that the files/scripts you are excluding does not have any dependencies on any other files/scripts that are combined. If you are not sure then use the above section to exclude your files to avoid breaking your page."
     207msgstr ""
     208
     209#: src/Html/Renderer/Section.php:123
     210msgid "Don't Move These Files To Bottom Of Page When Excluded"
     211msgstr ""
     212
     213#: src/Html/Renderer/Section.php:124
     214msgid "By default, the plugin will move all excluded and combined javascript files to the bottom of the page when using the Premium or Optimum setting. If there's a javascript file or script that is excluded that you DON'T want moved to the bottom of the page, enter them here in these settings. These files/scripts must be excluded above for these settings to take effect."
     215msgstr ""
     216
     217#: src/Html/Renderer/Section.php:131
     218msgid "Remove Javascript Files"
     219msgstr ""
     220
     221#: src/Html/Renderer/Section.php:132
     222msgid "You can remove and prevent javascript files from loading on the page if they're not being used at all. This helps to speed up page download and rendering. Please be sure these files are not being used anywhere on the site to prevent breaking your pages."
     223msgstr ""
     224
     225#: src/Html/Renderer/Section.php:141
     226msgid "Page Cache"
     227msgstr ""
     228
     229#: src/Html/Renderer/Section.php:142
     230msgid "The HTML source of the page will be cached to significantly speed up page loads. Deactivate caching while configuring the plugin and be sure to flush cache after making changes to the site."
     231msgstr ""
     232
     233#: src/Html/Renderer/Section.php:151
     234msgid "Add Image Attributes"
     235msgstr ""
     236
     237#: src/Html/Renderer/Section.php:152
     238msgid "When enabled, the plugin will add missing 'width' and 'height' attributes to &lt;img/&gt; elements. PLEASE NOTE: This works best when the images are scaled to the size they are shown onscreen. If images appear the wrong size, try rescaling the images correctly or disable this option."
     239msgstr ""
     240
     241#: src/Html/Renderer/Section.php:159
     242msgid "Sprite Generator"
     243msgstr ""
     244
     245#: src/Html/Renderer/Section.php:160
     246msgid "The plugin will combine selected background images into one image called a sprite to reduce http requests. Combine CSS must be enabled for the Sprite Generator to work."
     247msgstr ""
     248
     249#: src/Html/Renderer/Section.php:168
     250msgid "Enable to delay the loading of iframes, images and responsive images until they are scrolled into view. This further speeds up the loading of the page and reduces http requests."
     251msgstr ""
     252
     253#: src/Html/Renderer/Section.php:177
     254msgid "Http/2 Push"
     255msgstr ""
     256
     257#: src/Html/Renderer/Section.php:178
     258msgid "Plugin will send appropriate headers to your server to push resource files before the browser requests them. Please note this only works if http/2 is enabled on the server"
     259msgstr ""
     260
     261#: src/Html/Renderer/Section.php:187
     262msgid "CDN"
     263msgstr ""
     264
     265#: src/Html/Renderer/Section.php:188
     266msgid "Enter your CDN or cookieless domain here. The plugin will load all static files including background images, combined javascript and CSS files, and generated sprite from this domain. This requires that this domain is already set up and points to your site root."
     267msgstr ""
     268
     269#: src/Html/Renderer/Section.php:197
     270msgid "Global Options"
     271msgstr ""
     272
     273#: src/Html/Renderer/Section.php:198
     274msgid "Use our API to optimize the images on your server. You can either let the plugin find the images on your page to optimize or manually select them in the file tree explorer. Be sure to save your 'Download ID' in the plugin before trying to optimize images as that will authenticate you to access the API. These settings apply to both methods."
     275msgstr ""
     276
     277#: src/Html/Renderer/Section.php:206
     278msgid "The plugin will scan the pages of your website for you to find the images to optimize. (Currently only the Main Menu). You don't need to select them beforehand."
     279msgstr ""
     280
     281#: src/Html/Renderer/Section.php:214
     282msgid "Use the file tree to select the subfolders and files you want to optimize. Files will be optimized in subfolders recursively. If you want to rescale your images while optimizing, enter the new width and height in the respective columns beside each image on the right hand side."
     283msgstr ""
     284
     285#: src/Html/Renderer/Section.php:223
     286msgid "Reduce DOM"
     287msgstr ""
     288
     289#: src/Html/Renderer/Section.php:224
     290msgid "HTML5 sectioning related elements such as header, footer, section, aside, and nav that fall below the fold will be commented out if the number of DOM elements exceed 600. These sections will be inserted back into the DOM using javascript after the page has been loaded. <span class=\"alert alert-warning\" style=\"padding: 1px 3px;\"> Warning: Use with care. Can interfere with sections that use javascript to render.</span>"
     291msgstr ""
     292
     293#: src/Html/Renderer/Setting.php:60
     294#: src/Html/Renderer/Setting.php:288
     295msgid "30 min"
     296msgstr ""
     297
     298#: src/Html/Renderer/Setting.php:61
     299#: src/Html/Renderer/Setting.php:289
     300msgid "1 hour"
     301msgstr ""
     302
     303#: src/Html/Renderer/Setting.php:62
     304#: src/Html/Renderer/Setting.php:290
     305msgid "3 hours"
     306msgstr ""
     307
     308#: src/Html/Renderer/Setting.php:63
     309#: src/Html/Renderer/Setting.php:291
     310msgid "6 hours"
     311msgstr ""
     312
     313#: src/Html/Renderer/Setting.php:64
     314#: src/Html/Renderer/Setting.php:292
     315msgid "12 hours"
     316msgstr ""
     317
     318#: src/Html/Renderer/Setting.php:65
     319#: src/Html/Renderer/Setting.php:293
     320msgid "1 day"
     321msgstr ""
     322
     323#: src/Html/Renderer/Setting.php:66
     324#: src/Html/Renderer/Setting.php:294
     325msgid "2 days"
     326msgstr ""
     327
     328#: src/Html/Renderer/Setting.php:67
     329msgid "7 days"
     330msgstr ""
     331
     332#: src/Html/Renderer/Setting.php:68
     333msgid "2 weeks"
     334msgstr ""
     335
     336#: src/Html/Renderer/Setting.php:77
     337msgid "Basic"
     338msgstr ""
     339
     340#: src/Html/Renderer/Setting.php:78
     341msgid "Advanced"
     342msgstr ""
     343
     344#: src/Html/Renderer/Setting.php:79
     345msgid "Ultra"
     346msgstr ""
     347
     348#: src/Html/Renderer/Setting.php:88
     349msgid "Static css and js files"
     350msgstr ""
     351
     352#: src/Html/Renderer/Setting.php:89
     353msgid "PHP file with query"
     354msgstr ""
     355
     356#: src/Html/Renderer/Setting.php:90
     357msgid "PHP using url re-write"
     358msgstr ""
     359
     360#: src/Html/Renderer/Setting.php:91
     361msgid "PHP using url re-write (Without Options +FollowSymLinks)"
     362msgstr ""
     363
     364#: src/Html/Renderer/Setting.php:287
     365msgid "15 min"
     366msgstr ""
     367
     368#: src/Html/Renderer/Setting.php:295
     369msgid "1 week"
     370msgstr ""
     371
     372#: src/Html/Renderer/Setting.php:314
     373msgid "Filesystem"
     374msgstr ""
     375
     376#: src/Html/Renderer/Setting.php:315
     377msgid "APCu"
     378msgstr ""
     379
     380#: src/Html/Renderer/Setting.php:316
     381msgid "WinCache"
     382msgstr ""
     383
     384#: src/Html/Renderer/Setting.php:317
     385msgid "Memcached"
     386msgstr ""
     387
     388#: src/Html/Renderer/Setting.php:318
     389msgid "Redis"
     390msgstr ""
     391
     392#: src/Html/Renderer/Setting.php:376
     393msgid "vertical"
     394msgstr ""
     395
     396#: src/Html/Renderer/Setting.php:377
     397msgid "horizontal"
     398msgstr ""
     399
     400#: src/Html/Renderer/Setting.php:493
     401msgid "scheme relative"
     402msgstr ""
     403
     404#: src/Html/Renderer/Setting.php:494
     405msgid "http"
     406msgstr ""
     407
     408#: src/Html/Renderer/Setting.php:495
     409msgid "https"
     410msgstr ""
     411
     412#: src/Html/TabSettings.php:51
     413msgid "Download ID"
     414msgstr ""
     415
     416#: src/Html/TabSettings.php:52
     417msgid "You'll find your Download ID in your account. Enter your Download ID here to enable automatic updates of the PRO version and to access our Optimize Image API."
     418msgstr ""
     419
     420#: src/Html/TabSettings.php:56
     421msgid "Debug Plugin"
     422msgstr ""
     423
     424#: src/Html/TabSettings.php:57
     425msgid "This option will add the 'commented out' url of the individual files inside the combined file above the contents that came from that file. This is useful when configuring the plugin and trying to resolve conflicts. <p>This will also add a Profiler menu to the AdminBar, so you can review the times that the plugin methods take to run."
     426msgstr ""
     427
     428#: src/Html/TabSettings.php:60
     429msgid "Order plugin"
     430msgstr ""
     431
     432#: src/Html/TabSettings.php:64
     433msgid "Disable logged in users"
     434msgstr ""
     435
     436#: src/Html/TabSettings.php:65
     437msgid "When enabled, the plugin will be disabled for all users that are logged in"
     438msgstr ""
     439
     440#: src/Html/TabSettings.php:73
     441#: src/Html/TabSettings.php:339
     442msgid "Exclude urls"
     443msgstr ""
     444
     445#: src/Html/TabSettings.php:74
     446msgid "Enter a substring of the url you want to exclude here. Just type the string in the textbox then click the 'Add Item' button for each url then save your settings"
     447msgstr ""
     448
     449#: src/Html/TabSettings.php:82
     450#: src/Html/TabSettings.php:188
     451#: src/Html/TabSettings.php:196
     452#: src/Html/TabSettings.php:323
     453#: src/Html/TabSettings.php:391
     454#: src/Html/TabSettings.php:399
     455#: src/Html/TabSettings.php:423
     456#: src/Html/TabSettings.php:474
     457#: src/Html/TabSettings.php:513
     458#: src/Html/TabSettings.php:622
     459msgid "Enable"
     460msgstr ""
     461
     462#: src/Html/TabSettings.php:85
     463msgid "Smart combine"
     464msgstr ""
     465
     466#: src/Html/TabSettings.php:86
     467msgid "Will try to combine system and template files together respectively that are consistent across pages. <p>This produces several smaller combined files promoting browser caching across page loads; reduces chances of excessive cache generation and takes advantages of better files delivery offered by Http/2 servers"
     468msgstr ""
     469
     470#: src/Html/TabSettings.php:89
     471#: src/Html/TabSettings.php:335
     472msgid "Cache lifetime"
     473msgstr ""
     474
     475#: src/Html/TabSettings.php:90
     476msgid "The lifetime of the cache files generated by the plugin. <p>If you're using a Page Cache plugin be sure to set this higher than the lifetime set in Page Cache. <p>If you're having issue with excess amount of cache being generated then lowering this setting will help."
     477msgstr ""
     478
     479#: src/Html/TabSettings.php:93
     480msgid "HTML Minification level"
     481msgstr ""
     482
     483#: src/Html/TabSettings.php:94
     484msgid "If 'Minify HTML' is enabled, this will determine the level of minification. The incremental changes per level are as follows: <dl><dt>Basic - </dt><dd>Adjoining whitespaces outside of elements are reduced to one whitespace, HTML comments preserved;</dd><dt>Advanced - </dt><dd>Remove HTML comments, whitespace around block elements and undisplayed elements, Remove unnecessary whitespaces inside of elements and around their attributes;</dd> <dt>Ultra -</dt> <dd>Remove redundant attributes, for example, 'text/javascript', and remove quotes from around selected attributes (HTML5)</dd> </dl>"
     485msgstr ""
     486
     487#: src/Html/TabSettings.php:97
     488msgid "Combined files delivery"
     489msgstr ""
     490
     491#: src/Html/TabSettings.php:98
     492msgid "By default, the combined files will be loaded as static css and javascript files. You would need to include directives in your .htaccess file to gzip these files. <p>You can use PHP files instead that will be gzipped if that option is set. PHP files can be loaded with a query attached with the information to find the combined files, or you can use url rewrite if it's available on the server so the files can be masked as static files. If your server prohibits the use of the Options +FollowSymLinks directive in .htaccess files use the respective option."
     493msgstr ""
     494
     495#: src/Html/TabSettings.php:101
     496msgid "Use try-catch"
     497msgstr ""
     498
     499#: src/Html/TabSettings.php:102
     500msgid "If you're seeing javascript errors in the console, you can try enabling this option to wrap each javascript file in a 'try-catch' block to prevent the errors from one file affecting the combined file."
     501msgstr ""
     502
     503#: src/Html/TabSettings.php:110
     504msgid "GZip javascript and CSS"
     505msgstr ""
     506
     507#: src/Html/TabSettings.php:111
     508msgid "The plugin will compress the combined JavaScript and CSS file respectively using gzip, if you've selected one of the PHP options for 'Combined files delivery'. This can decrease file size dramatically."
     509msgstr ""
     510
     511#: src/Html/TabSettings.php:114
     512msgid "Minify HTML"
     513msgstr ""
     514
     515#: src/Html/TabSettings.php:115
     516msgid "The plugin will remove all unnecessary whitespaces and comments from the HTML to reduce the total size of the web page."
     517msgstr ""
     518
     519#: src/Html/TabSettings.php:118
     520msgid "Include all plugins"
     521msgstr ""
     522
     523#: src/Html/TabSettings.php:119
     524msgid "By default, all files from third party plugins and external domains are excluded. If enabled, they will be included."
     525msgstr ""
     526
     527#: src/Html/TabSettings.php:122
     528msgid "Include PHP and external files"
     529msgstr ""
     530
     531#: src/Html/TabSettings.php:137
     532msgid "Combine CSS files"
     533msgstr ""
     534
     535#: src/Html/TabSettings.php:138
     536msgid "This will combine all CSS files into one file and remove all the links to the individual files from the page, replacing them with a link generated by the plugin to the combined file."
     537msgstr ""
     538
     539#: src/Html/TabSettings.php:141
     540msgid "Minify CSS"
     541msgstr ""
     542
     543#: src/Html/TabSettings.php:142
     544msgid "The plugin will remove all unnecessary whitespaces and comments from the combined CSS file to reduce the total file size."
     545msgstr ""
     546
     547#: src/Html/TabSettings.php:145
     548msgid "Replace @imports in CSS"
     549msgstr ""
     550
     551#: src/Html/TabSettings.php:146
     552msgid "The plugin will replace %s at-rules with the contents of the files they are importing. This will be done recursively."
     553msgstr ""
     554
     555#: src/Html/TabSettings.php:150
     556msgid "In-page CSS inside %s tags will be included in the aggregated file in the order they appear on the page."
     557msgstr ""
     558
     559#: src/Html/TabSettings.php:158
     560msgid "Exclude CSS files"
     561msgstr ""
     562
     563#: src/Html/TabSettings.php:159
     564msgid "Select the CSS files you want to exclude."
     565msgstr ""
     566
     567#: src/Html/TabSettings.php:162
     568msgid "Exclude CSS from these plugins"
     569msgstr ""
     570
     571#: src/Html/TabSettings.php:163
     572msgid "The plugin will exclude all CSS files from the extensions you have selected."
     573msgstr ""
     574
     575#: src/Html/TabSettings.php:166
     576#: src/Html/TabSettings.php:260
     577msgid "Exclude individual in-page %s"
     578msgstr ""
     579
     580#: src/Html/TabSettings.php:167
     581#: src/Html/TabSettings.php:261
     582#: src/Html/TabSettings.php:282
     583msgid "Select the internal %s you want to exclude."
     584msgstr ""
     585
     586#: src/Html/TabSettings.php:170
     587msgid "Exclude all in-page %s"
     588msgstr ""
     589
     590#: src/Html/TabSettings.php:171
     591msgid "This is useful if you are generating an excess amount of cache files due to the file name of the combined CSS file keeps changing and you can't identify which %s declaration is responsible"
     592msgstr ""
     593
     594#: src/Html/TabSettings.php:180
     595msgid "Select or add the files you want to prevent from loading on the site's pages."
     596msgstr ""
     597
     598#: src/Html/TabSettings.php:199
     599msgid "Number of elements"
     600msgstr ""
     601
     602#: src/Html/TabSettings.php:202
     603msgid "Remove unused CSS"
     604msgstr ""
     605
     606#: src/Html/TabSettings.php:203
     607msgid "When enabled, the plugin will 'lazy-load' the combined CSS file only after the page is interacted with to prevent unnecessary processing of unused CSS before the page is loaded."
     608msgstr ""
     609
     610#: src/Html/TabSettings.php:206
     611msgid "CSS dynamic selectors"
     612msgstr ""
     613
     614#: src/Html/TabSettings.php:207
     615msgid "In some cases when Remove Unused CSS is enabled, you may need to add the CSS for some dynamic elements to the critical CSS for them to load properly. Add any substring from the CSS declaration here to have them included."
     616msgstr ""
     617
     618#: src/Html/TabSettings.php:227
     619msgid "Combine javascript files"
     620msgstr ""
     621
     622#: src/Html/TabSettings.php:228
     623msgid "This will combine all javascript files into one file and remove all the links to the individual files from the page, replacing them with a link generated by the plugin to the combined file."
     624msgstr ""
     625
     626#: src/Html/TabSettings.php:231
     627msgid "Minify javascript"
     628msgstr ""
     629
     630#: src/Html/TabSettings.php:232
     631msgid "The plugin will remove all unnecessary whitespaces and comments from the combined javascript file to reduce the total file size."
     632msgstr ""
     633
     634#: src/Html/TabSettings.php:235
     635msgid "Include in-page %s declarations"
     636msgstr ""
     637
     638#: src/Html/TabSettings.php:236
     639msgid "In-page javascript inside %s tags will be included in the combined file in the order they appear on the page."
     640msgstr ""
     641
     642#: src/Html/TabSettings.php:239
     643msgid "Position javascript files at bottom of page"
     644msgstr ""
     645
     646#: src/Html/TabSettings.php:240
     647msgid "Place combined javascript file at bottom of the page just before the ending %1$s tag.<p> If some javascript files are excluded while preserving execution order, only the last combined javascript file will be placed at the bottom of the page.<p> If this is disabled, the plugin only combines files found in the %2$s section of the HTML. This option extends the search to the %3$s section."
     648msgstr ""
     649
     650#: src/Html/TabSettings.php:243
     651msgid "Defer or load javascript asychronously"
     652msgstr ""
     653
     654#: src/Html/TabSettings.php:252
     655#: src/Html/TabSettings.php:273
     656msgid "Exclude javascript files"
     657msgstr ""
     658
     659#: src/Html/TabSettings.php:253
     660msgid "Select or add the files you want to exclude"
     661msgstr ""
     662
     663#: src/Html/TabSettings.php:256
     664#: src/Html/TabSettings.php:277
     665msgid "Exclude javascript files from these plugins"
     666msgstr ""
     667
     668#: src/Html/TabSettings.php:257
     669#: src/Html/TabSettings.php:278
     670msgid "The plugin will exclude all javascript files from the plugins you have selected."
     671msgstr ""
     672
     673#: src/Html/TabSettings.php:264
     674msgid "Exclude all internal &lt;script&gt; declarations"
     675msgstr ""
     676
     677#: src/Html/TabSettings.php:265
     678msgid "This is useful if you are generating an excess amount of cache files due to the file name of the combined javascript file keeps changing and you can't identify which SCRIPT declaration is responsible"
     679msgstr ""
     680
     681#: src/Html/TabSettings.php:274
     682msgid "Select or add the javascript files you want to exclude."
     683msgstr ""
     684
     685#: src/Html/TabSettings.php:281
     686msgid "Exclude individual in-page %s declarations"
     687msgstr ""
     688
     689#: src/Html/TabSettings.php:290
     690msgid "Javascript files"
     691msgstr ""
     692
     693#: src/Html/TabSettings.php:291
     694msgid "Don't move these javascript files (<i> that were excluded in the above sections</i> ) to the bottom of the page. These files will be left at their original position on the page."
     695msgstr ""
     696
     697#: src/Html/TabSettings.php:294
     698msgid "Inline scripts"
     699msgstr ""
     700
     701#: src/Html/TabSettings.php:295
     702msgid "Enter any substring of an excluded script here to prevent this script being moved to the bottom. <p> Inline scripts in the %s of the document containing the 'document.write' method will NOT be moved by default."
     703msgstr ""
     704
     705#: src/Html/TabSettings.php:303
     706msgid "Remove javascript files"
     707msgstr ""
     708
     709#: src/Html/TabSettings.php:304
     710msgid "Select or add the javascript files you want to prevent from loading on the site's pages."
     711msgstr ""
     712
     713#: src/Html/TabSettings.php:324
     714msgid "Enable page caching"
     715msgstr ""
     716
     717#: src/Html/TabSettings.php:327
     718msgid "Platform specific"
     719msgstr ""
     720
     721#: src/Html/TabSettings.php:328
     722msgid "Enable if HTML output on mobile differs from desktop."
     723msgstr ""
     724
     725#: src/Html/TabSettings.php:332
     726msgid "Disable caching for users who have posted a form until the cache expires. May be useful for some sites that update content on user interaction such as shopping carts."
     727msgstr ""
     728
     729#: src/Html/TabSettings.php:336
     730msgid "The period of time for which the page cache will be valid. Be sure to set this lower that the cache lifetime of combined files at all times."
     731msgstr ""
     732
     733#: src/Html/TabSettings.php:340
     734msgid "Enter any part of a url to exclude that page from caching."
     735msgstr ""
     736
     737#: src/Html/TabSettings.php:343
     738msgid "Use Http Requests"
     739msgstr ""
     740
     741#: src/Html/TabSettings.php:347
     742msgid "Storage Adapter"
     743msgstr ""
     744
     745#: src/Html/TabSettings.php:351
     746msgid "Memcached server host"
     747msgstr ""
     748
     749#: src/Html/TabSettings.php:352
     750msgid "Enter the host of the Memcached server you want to use, e.g, '127.0.0.1'"
     751msgstr ""
     752
     753#: src/Html/TabSettings.php:355
     754msgid "Memcached server port"
     755msgstr ""
     756
     757#: src/Html/TabSettings.php:356
     758msgid "Enter the port number of the Memcached server you have configured, e.g '11211'"
     759msgstr ""
     760
     761#: src/Html/TabSettings.php:359
     762msgid "Redis server host"
     763msgstr ""
     764
     765#: src/Html/TabSettings.php:360
     766msgid "Set the Redis server host, e.g., '127.0.0.1'"
     767msgstr ""
     768
     769#: src/Html/TabSettings.php:363
     770msgid "Redis server port"
     771msgstr ""
     772
     773#: src/Html/TabSettings.php:364
     774msgid "Set the Redis server port, e.g., '6379'"
     775msgstr ""
     776
     777#: src/Html/TabSettings.php:367
     778msgid "Redis server password"
     779msgstr ""
     780
     781#: src/Html/TabSettings.php:368
     782msgid "Set the Redis server password if there's one configured"
     783msgstr ""
     784
     785#: src/Html/TabSettings.php:371
     786msgid "Redis database"
     787msgstr ""
     788
     789#: src/Html/TabSettings.php:402
     790msgid "Sprite build direction"
     791msgstr ""
     792
     793#: src/Html/TabSettings.php:403
     794msgid "Determine in which direction the images must be placed in sprite."
     795msgstr ""
     796
     797#: src/Html/TabSettings.php:406
     798msgid "Wrap images"
     799msgstr ""
     800
     801#: src/Html/TabSettings.php:407
     802msgid "Will wrap images in sprite into another row or column if the length of the sprite becomes longer than %s"
     803msgstr ""
     804
     805#: src/Html/TabSettings.php:410
     806msgid "Exclude image from sprite"
     807msgstr ""
     808
     809#: src/Html/TabSettings.php:411
     810msgid "You can exclude one or more of the images if they are displayed incorrectly."
     811msgstr ""
     812
     813#: src/Html/TabSettings.php:414
     814msgid "Include additional images in sprite"
     815msgstr ""
     816
     817#: src/Html/TabSettings.php:415
     818msgid "You can include additional images in the sprite to the ones that were selected by default. Use this option cautiously, as these files are likely to display incorrectly."
     819msgstr ""
     820
     821#: src/Html/TabSettings.php:426
     822msgid "Autosize images"
     823msgstr ""
     824
     825#: src/Html/TabSettings.php:430
     826msgid "Enable effects"
     827msgstr ""
     828
     829#: src/Html/TabSettings.php:431
     830msgid "Enable to use fade-in effects when images are scrolled into view."
     831msgstr ""
     832
     833#: src/Html/TabSettings.php:434
     834msgid "Lazy load iframes"
     835msgstr ""
     836
     837#: src/Html/TabSettings.php:435
     838msgid "If enabled will also lazyload %s elements."
     839msgstr ""
     840
     841#: src/Html/TabSettings.php:438
     842msgid "Background images"
     843msgstr ""
     844
     845#: src/Html/TabSettings.php:439
     846msgid "Will lazyload background images defined in 'style' attributes on HTML elements."
     847msgstr ""
     848
     849#: src/Html/TabSettings.php:442
     850msgid "Audio/Video"
     851msgstr ""
     852
     853#: src/Html/TabSettings.php:446
     854msgid "Exclude these images"
     855msgstr ""
     856
     857#: src/Html/TabSettings.php:447
     858msgid "Select or manually add the urls of the images you want to exclude from lazy load."
     859msgstr ""
     860
     861#: src/Html/TabSettings.php:450
     862msgid "Exclude these folders"
     863msgstr ""
     864
     865#: src/Html/TabSettings.php:451
     866msgid "Exclude all the images in the selected folders."
     867msgstr ""
     868
     869#: src/Html/TabSettings.php:454
     870msgid "Exclude these classes"
     871msgstr ""
     872
     873#: src/Html/TabSettings.php:455
     874msgid "Exclude all images that has these classes declared on the %s element"
     875msgstr ""
     876
     877#: src/Html/TabSettings.php:477
     878msgid "Exclude deferred files"
     879msgstr ""
     880
     881#: src/Html/TabSettings.php:478
     882msgid "Will exclude javascript files that are deferred or loaded asynchronously, deferred CSS file in Optimize CSS Delivery feature, and images that are lazy-loaded. This can help reduce bandwidth and speed up first paint rendering."
     883msgstr ""
     884
     885#: src/Html/TabSettings.php:481
     886msgid "Push CDN files"
     887msgstr ""
     888
     889#: src/Html/TabSettings.php:482
     890msgid "Files loaded over your CDN domains will also be included in the Link headers"
     891msgstr ""
     892
     893#: src/Html/TabSettings.php:485
     894msgid "File types"
     895msgstr ""
     896
     897#: src/Html/TabSettings.php:486
     898msgid "Select the file types you want pushed by http/2"
     899msgstr ""
     900
     901#: src/Html/TabSettings.php:489
     902msgid "Include files"
     903msgstr ""
     904
     905#: src/Html/TabSettings.php:490
     906msgid "Sometimes some files are dynamically loaded so you can add these files here. Be sure any file added here are loaded on all pages and that you include the full file path including any queries etc. Only the following file extensions are supported: .js, .css, .webp, .gif, .png, .jpg, .woff, .woff2"
     907msgstr ""
     908
     909#: src/Html/TabSettings.php:493
     910msgid "Exclude files"
     911msgstr ""
     912
     913#: src/Html/TabSettings.php:494
     914msgid "If you see any warnings in the browser console that the preloaded files weren't used within a few seconds you can exclude these files here"
     915msgstr ""
     916
     917#: src/Html/TabSettings.php:516
     918msgid "Preconnect CDNs"
     919msgstr ""
     920
     921#: src/Html/TabSettings.php:517
     922msgid "Add preconnect resource hints in the HTML for all your CDN domains to establish early connections and speed up loading of resources from your CDN."
     923msgstr ""
     924
     925#: src/Html/TabSettings.php:520
     926msgid "CDN scheme"
     927msgstr ""
     928
     929#: src/Html/TabSettings.php:521
     930msgid "Select the scheme that you want prepended to the CDN/Cookieless domain"
     931msgstr ""
     932
     933#: src/Html/TabSettings.php:524
     934msgid "Domain 1"
     935msgstr ""
     936
     937#: src/Html/TabSettings.php:525
     938msgid "Enter value for Domain #1 here"
     939msgstr ""
     940
     941#: src/Html/TabSettings.php:528
     942msgid "Static files 1"
     943msgstr ""
     944
     945#: src/Html/TabSettings.php:529
     946msgid "Select the static file types that you want to be loaded over Domain #1"
     947msgstr ""
     948
     949#: src/Html/TabSettings.php:532
     950msgid "Custom extensions 1"
     951msgstr ""
     952
     953#: src/Html/TabSettings.php:533
     954msgid "To add custom extensions of file types to be loaded over CDN on Domain 1, type the extension in the textbox and press the 'Add item' button"
     955msgstr ""
     956
     957#: src/Html/TabSettings.php:536
     958msgid "Domain 2"
     959msgstr ""
     960
     961#: src/Html/TabSettings.php:537
     962msgid "Enter value for Domain #2 here"
     963msgstr ""
     964
     965#: src/Html/TabSettings.php:540
     966msgid "Static files 2"
     967msgstr ""
     968
     969#: src/Html/TabSettings.php:541
     970msgid "Select the static file types that you want to be loaded over Domain #2"
     971msgstr ""
     972
     973#: src/Html/TabSettings.php:544
     974msgid "Domain 3"
     975msgstr ""
     976
     977#: src/Html/TabSettings.php:545
     978msgid "Enter value for Domain #3 here"
     979msgstr ""
     980
     981#: src/Html/TabSettings.php:548
     982msgid "Static files 3"
     983msgstr ""
     984
     985#: src/Html/TabSettings.php:549
     986msgid "Select the static file types that you want to be loaded over Domain #3"
     987msgstr ""
     988
     989#: src/Html/TabSettings.php:568
     990msgid "Ignore optimized images"
     991msgstr ""
     992
     993#: src/Html/TabSettings.php:569
     994msgid "Will not attempt to optimize any images in subfolders that have already been marked as optimized."
     995msgstr ""
     996
     997#: src/Html/TabSettings.php:572
     998msgid "Next-Gen images"
     999msgstr ""
     1000
     1001#: src/Html/TabSettings.php:573
     1002msgid "When enabled the plugin will convert the images that are optimized to webp format and load these instead."
     1003msgstr ""
     1004
     1005#: src/Html/TabSettings.php:576
     1006msgid "Support old browsers"
     1007msgstr ""
     1008
     1009#: src/Html/TabSettings.php:577
     1010msgid "Plugin will wrap WEBP image in a %s element along with original image so browsers without WEBP support can fall back to the original image."
     1011msgstr ""
     1012
     1013#: src/Html/TabSettings.php:580
     1014msgid "Optimization level"
     1015msgstr ""
     1016
     1017#: src/Html/TabSettings.php:581
     1018msgid "Levels are either Lossy or Lossless, the default is Lossy. With Lossy optimization images will be more optimized and smaller but may result in a small reduction of quality, most times invisible to the untrained eye. If you don't want that then you can choose Lossless instead. The images will not be as optimized but there will be no loss of quality."
     1019msgstr ""
     1020
     1021#: src/Html/TabSettings.php:584
     1022msgid "Save metadata"
     1023msgstr ""
     1024
     1025#: src/Html/TabSettings.php:585
     1026msgid "The Optimize Image API will remove all metadata from images while optimizing including any copyrights or Exif textual content not part of the actual image to produce the smallest possible file size. If you wish to retain this information at a small loss in optimization then you should enable this option."
     1027msgstr ""
     1028
     1029#: src/Html/TabSettings.php:593
     1030msgid "Auto resize images"
     1031msgstr ""
     1032
     1033#: src/Html/TabSettings.php:594
     1034msgid "Images will be resized automatically to the dimensions as shown on screen. If you use an application that shows the images larger when you hover over them be sure to use different images for the large ones. For this to work the url to your site must be available publicly."
     1035msgstr ""
     1036
     1037#: src/Html/TabSettings.php:602
     1038msgid "Recurse in subfolders"
     1039msgstr ""
     1040
     1041#: src/Html/TabSettings.php:603
     1042msgid "Will optimize all images in selected folders and recurse into subfolders infinitely. If disabled, only the images in the selected folders will be optimized. Subfolders will be ignored."
     1043msgstr ""
     1044
     1045#: src/Html/TabSettings.php:625
     1046msgid "HTML sections"
     1047msgstr ""
     1048
     1049#: src/Plugin/Admin.php:72
    341050msgid "JCH Optimize Settings"
    351051msgstr ""
    361052
    37 #: classes/JchOptimizeAdmin.php:160
     1053#: src/Plugin/Admin.php:193
    381054msgid "Please open a directory to optimize images."
    391055msgstr ""
    401056
    41 #: classes/JchOptimizeAdmin.php:161
     1057#: src/Plugin/Admin.php:194
    421058msgid "Please enter your Download ID on the Configurations tab."
    431059msgstr ""
    441060
    45 #: classes/JchOptimizeAdmin.php:281
     1061#: src/Plugin/Admin.php:362
    461062msgid "Settings"
    471063msgstr ""
    481064
    49 #: classes/JchOptimizeAdmin.php:292
     1065#: src/Plugin/Admin.php:373
    501066msgid "Clean Cache"
    511067msgstr ""
    52 
    53 #: src/Admin/Controller/Configure.php:33
    54 #: src/Admin/Controller/Configure.php:52
    55 msgid "Settings saved"
    56 msgstr ""
    57 
    58 #: src/Admin/Controller/Configure.php:37
    59 #: src/Admin/Controller/Configure.php:56
    60 msgid "Error saving settings"
    61 msgstr ""
    62 
    63 #: src/Admin/Controller/Optimizeimages.php:38
    64 msgid "%1$d images optimized in %2$s"
    65 msgstr ""
    66 
    67 #: src/Admin/Controller/Optimizeimages.php:43
    68 msgid "The Optimize Image function failed with message \""
    69 msgstr ""
    70 
    71 #: src/Admin/Controller/Utility.php:34
    72 msgid "Failed trying to add browser caching codes to the .htaccess file"
    73 msgstr ""
    74 
    75 #: src/Admin/Controller/Utility.php:38
    76 msgid "No .htaccess file were found in the root of this site"
    77 msgstr ""
    78 
    79 #: src/Admin/Controller/Utility.php:42
    80 msgid "The .htaccess file was updated successfully"
    81 msgstr ""
    82 
    83 #: src/Admin/Controller/Utility.php:50
    84 msgid "Successfully added codes to the .htaccess file to promote browser caching"
    85 msgstr ""
    86 
    87 #: src/Admin/Controller/Utility.php:63
    88 msgid "Plugins ordered successfully"
    89 msgstr ""
    90 
    91 #: src/Admin/Controller/Utility.php:73
    92 msgid "New cache key generated!"
    93 msgstr ""
    94 
    95 #: src/Admin/Controller/Utility.php:83
    96 msgid "Cache deleted successfully!"
    97 msgstr ""
    98 
    99 #: src/Admin/Controller/Utility.php:87
    100 msgid "Error cleaning cache!"
    101 msgstr ""
    102 
    103 #: src/Admin/Controller/Utility.php:108
    104 msgid "Failed restoring all original images"
    105 msgstr ""
    106 
    107 #: src/Admin/Controller/Utility.php:112
    108 #: src/Admin/Controller/Utility.php:134
    109 msgid "The folder containing backup images wasn't created yet. Try optimizing some images first."
    110 msgstr ""
    111 
    112 #: src/Admin/Controller/Utility.php:116
    113 msgid "Successfully restored all images"
    114 msgstr ""
    115 
    116 #: src/Admin/Controller/Utility.php:130
    117 msgid "Failed trying to delete backup images"
    118 msgstr ""
    119 
    120 #: src/Admin/Controller/Utility.php:138
    121 msgid "Successfully deleted backup images"
    122 msgstr ""
    123 
    124 #: src/Admin/ViewTemplates/Optimizeimages/default.blade.php:30
    125 #: src/Admin/ViewTemplates/Optimizeimages/default.blade.php:42
    126 #: templates/admin/index.php:17
    127 #: tmp/compiled_templates/300e660fc49b7b9f31a3d2c6a9cad731f7523598.php:55
    128 #: tmp/compiled_templates/a802dfef77680a70385cab4b0697a3b30d46d53d.php:85
    129 #: tmp/compiled_templates/cb10b54007f2819fb63f3e96bc8eff1c019f86c7.php:31
    130 #: tmp/compiled_templates/cb10b54007f2819fb63f3e96bc8eff1c019f86c7.php:43
    131 msgid "Optimize Images"
    132 msgstr ""
    133 
    134 #: src/Helper/Html.php:76
    135 msgid "Only available in Pro Version!"
    136 msgstr ""
    137 
    138 #: src/Helper/Html.php:128
    139 #: src/Helper/Html.php:258
    140 msgid "No"
    141 msgstr ""
    142 
    143 #: src/Helper/Html.php:129
    144 #: src/Helper/Html.php:259
    145 msgid "Yes"
    146 msgstr ""
    147 
    148 #: src/Helper/Html.php:217
    149 msgid "Add item"
    150 msgstr ""
    151 
    152 #: src/Helper/Renderer/Section.php:24
    153 #: tmp/compiled_templates/a802dfef77680a70385cab4b0697a3b30d46d53d.php:29
    154 msgid "General"
    155 msgstr ""
    156 
    157 #: src/Helper/Renderer/Section.php:31
    158 msgid "Exclude Menu Urls"
    159 msgstr ""
    160 
    161 #: src/Helper/Renderer/Section.php:32
    162 msgid "Enter any part of a url to exclude that page from optimization. You will need to add these urls to the list manually by typing the url in the textbox and click the 'Add item' button."
    163 msgstr ""
    164 
    165 #: src/Helper/Renderer/Section.php:39
    166 msgid "Combine CSS/Js"
    167 msgstr ""
    168 
    169 #: src/Helper/Renderer/Section.php:40
    170 msgid "These settings affect the combined CSS and javascript files generated by the plugin."
    171 msgstr ""
    172 
    173 #: src/Helper/Renderer/Section.php:47
    174 #: tmp/compiled_templates/4883fc37c69cbb93a1b26d8ae1c28c256adc7004.php:24
    175 msgid "Combine Files Automatic Settings"
    176 msgstr ""
    177 
    178 #: src/Helper/Renderer/Section.php:48
    179 msgid "These settings for the combined files are configured by the Automatic settings on the Dashboard tab. You don't need to configure them yourself."
    180 msgstr ""
    181 
    182 #: src/Helper/Renderer/Section.php:57
    183 msgid "CSS Automatic Settings"
    184 msgstr ""
    185 
    186 #: src/Helper/Renderer/Section.php:58
    187 msgid "These settings are configured by the Automatic settings on the Control Panel tab. You don't need to configure them yourself."
    188 msgstr ""
    189 
    190 #: src/Helper/Renderer/Section.php:65
    191 msgid "Exclude CSS Files"
    192 msgstr ""
    193 
    194 #: src/Helper/Renderer/Section.php:73
    195 #: src/Helper/TabSettings.php:172
    196 msgid "Remove CSS Files"
    197 msgstr ""
    198 
    199 #: src/Helper/Renderer/Section.php:74
    200 msgid "You can remove and prevent css files from loading on the page if they're not being used at all to speed up page load and rendering. Please be sure these files are not being used anywhere on the site to prevent breaking your pages."
    201 msgstr ""
    202 
    203 #: src/Helper/Renderer/Section.php:81
    204 msgid "Optimize Google Fonts"
    205 msgstr ""
    206 
    207 #: src/Helper/Renderer/Section.php:89
    208 msgid "Optimize CSS Delivery"
    209 msgstr ""
    210 
    211 #: src/Helper/Renderer/Section.php:90
    212 msgid "The plugin will attempt to extract the critical CSS that is required to format the page above the fold and put this in a &lt;style&gt; element inside the &lt;head&gt; section of the HTML to prevent 'render-blocking'. The combined CSS will then be loaded asynchronously. Select the number of HTML elements from the top of the page that you want the plugin to find the critical CSS for. The smaller the number, the smaller the size of the critical CSS but you might see some jumping of the page if the number is too small."
    213 msgstr ""
    214 
    215 #: src/Helper/Renderer/Section.php:99
    216 msgid "Javascript Automatic Settings"
    217 msgstr ""
    218 
    219 #: src/Helper/Renderer/Section.php:100
    220 msgid "These settings are configured by the Automatic settings on the Control Panel tab. You don't need to configure them yourself"
    221 msgstr ""
    222 
    223 #: src/Helper/Renderer/Section.php:107
    224 msgid "Exclude Files While Preserving Execution Order"
    225 msgstr ""
    226 
    227 #: src/Helper/Renderer/Section.php:108
    228 msgid "Exclude individual javascript files or files from selected extensions. Files selected in this section will be excluded while preserving execution order on the page by splitting the combined files around excluded files. This ensures no dependency between files are broken and break the page."
    229 msgstr ""
    230 
    231 #: src/Helper/Renderer/Section.php:115
    232 msgid "Exclude File Ignoring Execution Order"
    233 msgstr ""
    234 
    235 #: src/Helper/Renderer/Section.php:116
    236 msgid "Only use these settings if you're sure that the files/scripts you are excluding does not have any dependencies on any other files/scripts that are combined. If you are not sure then use the above section to exclude your files to avoid breaking your page."
    237 msgstr ""
    238 
    239 #: src/Helper/Renderer/Section.php:123
    240 msgid "Don't Move These Files To Bottom Of Page When Excluded"
    241 msgstr ""
    242 
    243 #: src/Helper/Renderer/Section.php:124
    244 msgid "By default, the plugin will move all excluded and combined javascript files to the bottom of the page when using the Premium or Optimum setting. If there's a javascript file or script that is excluded that you DON'T want moved to the bottom of the page, enter them here in these settings. These files/scripts must be excluded above for these settings to take effect."
    245 msgstr ""
    246 
    247 #: src/Helper/Renderer/Section.php:131
    248 msgid "Remove Javascript Files"
    249 msgstr ""
    250 
    251 #: src/Helper/Renderer/Section.php:132
    252 msgid "You can remove and prevent javascript files from loading on the page if they're not being used at all. This helps to speed up page download and rendering. Please be sure these files are not being used anywhere on the site to prevent breaking your pages."
    253 msgstr ""
    254 
    255 #: src/Helper/Renderer/Section.php:141
    256 #: tmp/compiled_templates/300e660fc49b7b9f31a3d2c6a9cad731f7523598.php:51
    257 #: tmp/compiled_templates/a802dfef77680a70385cab4b0697a3b30d46d53d.php:53
    258 msgid "Page Cache"
    259 msgstr ""
    260 
    261 #: src/Helper/Renderer/Section.php:142
    262 msgid "The HTML source of the page will be cached to significantly speed up page loads. Deactivate caching while configuring the plugin and be sure to flush cache after making changes to the site."
    263 msgstr ""
    264 
    265 #: src/Helper/Renderer/Section.php:151
    266 msgid "Add Image Attributes"
    267 msgstr ""
    268 
    269 #: src/Helper/Renderer/Section.php:152
    270 msgid "When enabled, the plugin will add missing 'width' and 'height' attributes to &lt;img/&gt; elements. PLEASE NOTE: This works best when the images are scaled to the size they are shown onscreen. If images appear the wrong size, try rescaling the images correctly or disable this option."
    271 msgstr ""
    272 
    273 #: src/Helper/Renderer/Section.php:159
    274 msgid "Sprite Generator"
    275 msgstr ""
    276 
    277 #: src/Helper/Renderer/Section.php:160
    278 msgid "The plugin will combine selected background images into one image called a sprite to reduce http requests. Combine CSS must be enabled for the Sprite Generator to work."
    279 msgstr ""
    280 
    281 #: src/Helper/Renderer/Section.php:168
    282 msgid "Enable to delay the loading of iframes, images and responsive images until they are scrolled into view. This further speeds up the loading of the page and reduces http requests."
    283 msgstr ""
    284 
    285 #: src/Helper/Renderer/Section.php:177
    286 msgid "Http/2 Push"
    287 msgstr ""
    288 
    289 #: src/Helper/Renderer/Section.php:178
    290 msgid "Plugin will send appropriate headers to your server to push resource files before the browser requests them. Please note this only works if http/2 is enabled on the server"
    291 msgstr ""
    292 
    293 #: src/Helper/Renderer/Section.php:187
    294 #: tmp/compiled_templates/a802dfef77680a70385cab4b0697a3b30d46d53d.php:77
    295 msgid "CDN"
    296 msgstr ""
    297 
    298 #: src/Helper/Renderer/Section.php:188
    299 msgid "Enter your CDN or cookieless domain here. The plugin will load all static files including background images, combined javascript and CSS files, and generated sprite from this domain. This requires that this domain is already set up and points to your site root."
    300 msgstr ""
    301 
    302 #: src/Helper/Renderer/Section.php:197
    303 msgid "Global Options"
    304 msgstr ""
    305 
    306 #: src/Helper/Renderer/Section.php:198
    307 msgid "Use our API to optimize the images on your server. You can either let the plugin find the images on your page to optimize or manually select them in the file tree explorer. Be sure to save your 'Download ID' in the plugin before trying to optimize images as that will authenticate you to access the API. These settings apply to both methods."
    308 msgstr ""
    309 
    310 #: src/Helper/Renderer/Section.php:206
    311 msgid "The plugin will scan the pages of your website for you to find the images to optimize. (Currently only the Main Menu). You don't need to select them beforehand."
    312 msgstr ""
    313 
    314 #: src/Helper/Renderer/Section.php:214
    315 msgid "Use the file tree to select the subfolders and files you want to optimize. Files will be optimized in subfolders recursively. If you want to rescale your images while optimizing, enter the new width and height in the respective columns beside each image on the right hand side."
    316 msgstr ""
    317 
    318 #: src/Helper/Renderer/Section.php:223
    319 #: tmp/compiled_templates/a802dfef77680a70385cab4b0697a3b30d46d53d.php:94
    320 msgid "Reduce DOM"
    321 msgstr ""
    322 
    323 #: src/Helper/Renderer/Section.php:224
    324 msgid "HTML5 sectioning related elements such as header, footer, section, aside, and nav that fall below the fold will be commented out if the number of DOM elements exceed 600. These sections will be inserted back into the DOM using javascript after the page has been loaded. <span class=\"alert alert-warning\" style=\"padding: 1px 3px;\"> Warning: Use with care. Can interfere with sections that use javascript to render.</span>"
    325 msgstr ""
    326 
    327 #: src/Helper/Renderer/Setting.php:59
    328 #: src/Helper/Renderer/Setting.php:282
    329 msgid "30 min"
    330 msgstr ""
    331 
    332 #: src/Helper/Renderer/Setting.php:60
    333 #: src/Helper/Renderer/Setting.php:283
    334 msgid "1 hour"
    335 msgstr ""
    336 
    337 #: src/Helper/Renderer/Setting.php:61
    338 #: src/Helper/Renderer/Setting.php:284
    339 msgid "3 hours"
    340 msgstr ""
    341 
    342 #: src/Helper/Renderer/Setting.php:62
    343 #: src/Helper/Renderer/Setting.php:285
    344 msgid "6 hours"
    345 msgstr ""
    346 
    347 #: src/Helper/Renderer/Setting.php:63
    348 #: src/Helper/Renderer/Setting.php:286
    349 msgid "12 hours"
    350 msgstr ""
    351 
    352 #: src/Helper/Renderer/Setting.php:64
    353 #: src/Helper/Renderer/Setting.php:287
    354 msgid "1 day"
    355 msgstr ""
    356 
    357 #: src/Helper/Renderer/Setting.php:65
    358 #: src/Helper/Renderer/Setting.php:288
    359 msgid "2 days"
    360 msgstr ""
    361 
    362 #: src/Helper/Renderer/Setting.php:66
    363 msgid "7 days"
    364 msgstr ""
    365 
    366 #: src/Helper/Renderer/Setting.php:67
    367 msgid "2 weeks"
    368 msgstr ""
    369 
    370 #: src/Helper/Renderer/Setting.php:76
    371 msgid "Basic"
    372 msgstr ""
    373 
    374 #: src/Helper/Renderer/Setting.php:77
    375 msgid "Advanced"
    376 msgstr ""
    377 
    378 #: src/Helper/Renderer/Setting.php:78
    379 msgid "Ultra"
    380 msgstr ""
    381 
    382 #: src/Helper/Renderer/Setting.php:87
    383 msgid "Static css and js files"
    384 msgstr ""
    385 
    386 #: src/Helper/Renderer/Setting.php:88
    387 msgid "PHP file with query"
    388 msgstr ""
    389 
    390 #: src/Helper/Renderer/Setting.php:89
    391 msgid "PHP using url re-write"
    392 msgstr ""
    393 
    394 #: src/Helper/Renderer/Setting.php:90
    395 msgid "PHP using url re-write (Without Options +FollowSymLinks)"
    396 msgstr ""
    397 
    398 #: src/Helper/Renderer/Setting.php:281
    399 msgid "15 min"
    400 msgstr ""
    401 
    402 #: src/Helper/Renderer/Setting.php:289
    403 msgid "1 week"
    404 msgstr ""
    405 
    406 #: src/Helper/Renderer/Setting.php:313
    407 msgid "vertical"
    408 msgstr ""
    409 
    410 #: src/Helper/Renderer/Setting.php:314
    411 msgid "horizontal"
    412 msgstr ""
    413 
    414 #: src/Helper/Renderer/Setting.php:430
    415 msgid "scheme relative"
    416 msgstr ""
    417 
    418 #: src/Helper/Renderer/Setting.php:431
    419 msgid "http"
    420 msgstr ""
    421 
    422 #: src/Helper/Renderer/Setting.php:432
    423 msgid "https"
    424 msgstr ""
    425 
    426 #: src/Helper/TabSettings.php:44
    427 msgid "Download ID"
    428 msgstr ""
    429 
    430 #: src/Helper/TabSettings.php:45
    431 msgid "You'll find your Download ID in your account. Enter your Download ID here to enable automatic updates of the PRO version and to access our Optimize Image API."
    432 msgstr ""
    433 
    434 #: src/Helper/TabSettings.php:49
    435 msgid "Debug Plugin"
    436 msgstr ""
    437 
    438 #: src/Helper/TabSettings.php:50
    439 msgid "This option will add the 'commented out' url of the individual files inside the combined file above the contents that came from that file. This is useful when configuring the plugin and trying to resolve conflicts. <p>This will also add a Profiler menu to the AdminBar so you can review the times that the plugin methods take to run."
    440 msgstr ""
    441 
    442 #: src/Helper/TabSettings.php:53
    443 msgid "Order plugin"
    444 msgstr ""
    445 
    446 #: src/Helper/TabSettings.php:57
    447 msgid "Disable logged in users"
    448 msgstr ""
    449 
    450 #: src/Helper/TabSettings.php:58
    451 msgid "When enabled, the plugin will be disabled for all users that are logged in"
    452 msgstr ""
    453 
    454 #: src/Helper/TabSettings.php:66
    455 #: src/Helper/TabSettings.php:329
    456 msgid "Exclude urls"
    457 msgstr ""
    458 
    459 #: src/Helper/TabSettings.php:67
    460 msgid "Enter a substring of the url you want to exclude here. Just type the string in the textbox then click the 'Add Item' button for each url then save your settings"
    461 msgstr ""
    462 
    463 #: src/Helper/TabSettings.php:75
    464 #: src/Helper/TabSettings.php:181
    465 #: src/Helper/TabSettings.php:189
    466 #: src/Helper/TabSettings.php:317
    467 #: src/Helper/TabSettings.php:349
    468 #: src/Helper/TabSettings.php:357
    469 #: src/Helper/TabSettings.php:381
    470 #: src/Helper/TabSettings.php:432
    471 #: src/Helper/TabSettings.php:471
    472 #: src/Helper/TabSettings.php:572
    473 msgid "Enable"
    474 msgstr ""
    475 
    476 #: src/Helper/TabSettings.php:78
    477 msgid "Smart combine"
    478 msgstr ""
    479 
    480 #: src/Helper/TabSettings.php:79
    481 msgid "Will try to combine system and template files together respectively that are consistent across pages. <p>This produces several smaller combined files promoting browser caching across page loads; reduces chances of excessive cache generation and takes advantages of better files delivery offered by Http/2 servers"
    482 msgstr ""
    483 
    484 #: src/Helper/TabSettings.php:82
    485 #: src/Helper/TabSettings.php:325
    486 msgid "Cache lifetime"
    487 msgstr ""
    488 
    489 #: src/Helper/TabSettings.php:83
    490 msgid "The lifetime of the cache files generated by the plugin. <p>If you're using a Page Cache plugin be sure to set this higher than the lifetime set in Page Cache. <p>If you're having issue with excess amount of cache being generated then lowering this setting will help."
    491 msgstr ""
    492 
    493 #: src/Helper/TabSettings.php:86
    494 msgid "HTML Minification level"
    495 msgstr ""
    496 
    497 #: src/Helper/TabSettings.php:87
    498 msgid "If 'Minify HTML' is enabled, this will determine the level of minification. The incremental changes per level are as follows: <dl><dt>Basic - </dt><dd>Adjoining whitespaces outside of elements are reduced to one whitespace, HTML comments preserved;</dd><dt>Advanced - </dt><dd>Remove HTML comments, whitespace around block elements and undisplayed elements, Remove unnecessary whitespaces inside of elements and around their attributes;</dd> <dt>Ultra -</dt> <dd>Remove redundant attributes, for example, 'text/javascript', and remove quotes from around selected attributes (HTML5)</dd> </dl>"
    499 msgstr ""
    500 
    501 #: src/Helper/TabSettings.php:90
    502 msgid "Combined files delivery"
    503 msgstr ""
    504 
    505 #: src/Helper/TabSettings.php:91
    506 msgid "By default the combined files will be loaded as static css and javascript files. You would need to include directives in your .htaccess file to gzip these files. <p>You can use PHP files instead that will be gzipped if that option is set. PHP files can be loaded with a query attached with the information to find the combined files, or you can use url rewrite if it's available on the server so the files can be masked as static files. If your server prohibits the use of the Options +FollowSymLinks directive in .htaccess files use the respective option."
    507 msgstr ""
    508 
    509 #: src/Helper/TabSettings.php:94
    510 msgid "Use try-catch"
    511 msgstr ""
    512 
    513 #: src/Helper/TabSettings.php:95
    514 msgid "If you're seeing javascript errors in the console, you can try enabling this option to wrap each javascript file in a 'try-catch' block to prevent the errors from one file affecting the combined file."
    515 msgstr ""
    516 
    517 #: src/Helper/TabSettings.php:103
    518 msgid "GZip javascript and CSS"
    519 msgstr ""
    520 
    521 #: src/Helper/TabSettings.php:104
    522 msgid "The plugin will compress the combined JavaScript and CSS file respectively using gzip, if you've selected one of the PHP options for 'Combined files delivery'. This can decrease file size dramatically."
    523 msgstr ""
    524 
    525 #: src/Helper/TabSettings.php:107
    526 msgid "Minify HTML"
    527 msgstr ""
    528 
    529 #: src/Helper/TabSettings.php:108
    530 msgid "The plugin will remove all unnecessary whitespaces and comments from the HTML to reduce the total size of the web page."
    531 msgstr ""
    532 
    533 #: src/Helper/TabSettings.php:111
    534 msgid "Include all plugins"
    535 msgstr ""
    536 
    537 #: src/Helper/TabSettings.php:112
    538 msgid "By default, all files from third party plugins and external domains are excluded. If enabled, they will be included."
    539 msgstr ""
    540 
    541 #: src/Helper/TabSettings.php:115
    542 msgid "Include PHP and external files"
    543 msgstr ""
    544 
    545 #: src/Helper/TabSettings.php:130
    546 msgid "Combine CSS files"
    547 msgstr ""
    548 
    549 #: src/Helper/TabSettings.php:131
    550 msgid "This will combine all CSS files into one file and remove all the links to the individual files from the page, replacing them with a link generated by the plugin to the combined file."
    551 msgstr ""
    552 
    553 #: src/Helper/TabSettings.php:134
    554 msgid "Minify CSS"
    555 msgstr ""
    556 
    557 #: src/Helper/TabSettings.php:135
    558 msgid "The plugin will remove all unnecessary whitespaces and comments from the combined CSS file to reduce the total file size."
    559 msgstr ""
    560 
    561 #: src/Helper/TabSettings.php:138
    562 msgid "Replace @imports in CSS"
    563 msgstr ""
    564 
    565 #: src/Helper/TabSettings.php:139
    566 msgid "The plugin will replace <span class=\"notranslate\">@import</span> at-rules with the contents of the files they are importing. This will be done recursively."
    567 msgstr ""
    568 
    569 #: src/Helper/TabSettings.php:143
    570 msgid "In-page CSS inside <span class=\"notranslate\">&lt;style&gt;</span> tags will be included in the aggregated file in the order they appear on the page."
    571 msgstr ""
    572 
    573 #: src/Helper/TabSettings.php:151
    574 msgid "Exclude CSS files"
    575 msgstr ""
    576 
    577 #: src/Helper/TabSettings.php:152
    578 msgid "Select the CSS files you want to exclude."
    579 msgstr ""
    580 
    581 #: src/Helper/TabSettings.php:155
    582 msgid "Exclude CSS from these plugins"
    583 msgstr ""
    584 
    585 #: src/Helper/TabSettings.php:156
    586 msgid "The plugin will exclude all CSS files from the extensions you have selected."
    587 msgstr ""
    588 
    589 #: src/Helper/TabSettings.php:159
    590 msgid "Exclude individual in-page &lt;style&gt;'s"
    591 msgstr ""
    592 
    593 #: src/Helper/TabSettings.php:160
    594 msgid "Select the internal <span class=\"notranslate\">&lt;style&gt;</span> you want to exclude."
    595 msgstr ""
    596 
    597 #: src/Helper/TabSettings.php:163
    598 msgid "Exclude all in-page &lt;style&gt;'s"
    599 msgstr ""
    600 
    601 #: src/Helper/TabSettings.php:164
    602 msgid "This is useful if you are generating an excess amount of cache files due to the file name of the combined CSS file keeps changing and you can't identify which STYLE declaration is responsible"
    603 msgstr ""
    604 
    605 #: src/Helper/TabSettings.php:173
    606 msgid "Select or add the files you want to prevent from loading on the site's pages."
    607 msgstr ""
    608 
    609 #: src/Helper/TabSettings.php:192
    610 msgid "Number of elements"
    611 msgstr ""
    612 
    613 #: src/Helper/TabSettings.php:195
    614 msgid "Remove unused CSS"
    615 msgstr ""
    616 
    617 #: src/Helper/TabSettings.php:196
    618 msgid "When enabled, the plugin will 'lazy-load' the combined CSS file only after the page is interacted with to prevent unnecessary processing of unused CSS before the page is loaded."
    619 msgstr ""
    620 
    621 #: src/Helper/TabSettings.php:199
    622 msgid "CSS dynamic selectors"
    623 msgstr ""
    624 
    625 #: src/Helper/TabSettings.php:200
    626 msgid "In some cases when Remove Unused CSS is enabled, you may need to add the CSS for some dynamic elements to the critical CSS for them to load properly. Add any substring from the CSS declaration here to have them included."
    627 msgstr ""
    628 
    629 #: src/Helper/TabSettings.php:220
    630 msgid "Combine javascript files"
    631 msgstr ""
    632 
    633 #: src/Helper/TabSettings.php:221
    634 msgid "This will combine all javascript files into one file and remove all the links to the individual files from the page, replacing them with a link generated by the plugin to the combined file."
    635 msgstr ""
    636 
    637 #: src/Helper/TabSettings.php:224
    638 msgid "Minify javascript"
    639 msgstr ""
    640 
    641 #: src/Helper/TabSettings.php:225
    642 msgid "The plugin will remove all unnecessary whitespaces and comments from the combined javascript file to reduce the total file size."
    643 msgstr ""
    644 
    645 #: src/Helper/TabSettings.php:228
    646 msgid "Include in-page &lt;script&gt; declarations"
    647 msgstr ""
    648 
    649 #: src/Helper/TabSettings.php:229
    650 msgid "In-page javascript inside <span class=\"notranslate\">&lt;script&gt;</span> tags will be included in the combined file in the order they appear on the page."
    651 msgstr ""
    652 
    653 #: src/Helper/TabSettings.php:232
    654 msgid "Position javascript files at bottom of page"
    655 msgstr ""
    656 
    657 #: src/Helper/TabSettings.php:233
    658 msgid "Place combined javascript file at bottom of the page just before the ending &lt;/body&gt; tag.<p> If some javascript files are excluded while preserving execution order, only the last combined javascript file will be placed at the bottom of the page.<p> If this is disabled, the plugin only combines files found in the &lt;head&gt; section of the HTML. This option extends the search to the &lt;body&gt; section."
    659 msgstr ""
    660 
    661 #: src/Helper/TabSettings.php:236
    662 msgid "Defer or load javascript asychronously"
    663 msgstr ""
    664 
    665 #: src/Helper/TabSettings.php:245
    666 #: src/Helper/TabSettings.php:267
    667 msgid "Exclude javascript files"
    668 msgstr ""
    669 
    670 #: src/Helper/TabSettings.php:246
    671 msgid "Select or add the files you want to exclude"
    672 msgstr ""
    673 
    674 #: src/Helper/TabSettings.php:249
    675 #: src/Helper/TabSettings.php:271
    676 msgid "Exclude javascript files from these plugins"
    677 msgstr ""
    678 
    679 #: src/Helper/TabSettings.php:250
    680 #: src/Helper/TabSettings.php:272
    681 msgid "The plugin will exclude all javascript files from the plugins you have selected."
    682 msgstr ""
    683 
    684 #: src/Helper/TabSettings.php:253
    685 msgid "Exclude individual in-page &lt;script&gt;'s"
    686 msgstr ""
    687 
    688 #: src/Helper/TabSettings.php:254
    689 msgid "Select the internal <span class=\"notranslate\">&lt;script&gt;</span>'s you want to exclude."
    690 msgstr ""
    691 
    692 #: src/Helper/TabSettings.php:257
    693 msgid "Exclude all internal &lt;script&gt; declarations"
    694 msgstr ""
    695 
    696 #: src/Helper/TabSettings.php:258
    697 msgid "This is useful if you are generating an excess amount of cache files due to the file name of the combined javascript file keeps changing and you can't identify which SCRIPT declaration is responsible"
    698 msgstr ""
    699 
    700 #: src/Helper/TabSettings.php:268
    701 msgid "Select or add the javascript files you want to exclude."
    702 msgstr ""
    703 
    704 #: src/Helper/TabSettings.php:275
    705 msgid "Exclude individual in-page &lt;script&gt; declarations"
    706 msgstr ""
    707 
    708 #: src/Helper/TabSettings.php:276
    709 msgid "Select the internal <span class=\"notranslate\">&lt;script&gt;</span> you want to exclude."
    710 msgstr ""
    711 
    712 #: src/Helper/TabSettings.php:284
    713 msgid "Javascript files"
    714 msgstr ""
    715 
    716 #: src/Helper/TabSettings.php:285
    717 msgid "Don't move these javascript files (<i> that were excluded in the above sections</i> ) to the bottom of the page. These files will be left at their original position on the page."
    718 msgstr ""
    719 
    720 #: src/Helper/TabSettings.php:288
    721 msgid "Inline scripts"
    722 msgstr ""
    723 
    724 #: src/Helper/TabSettings.php:289
    725 msgid "Enter any substring of an excluded script here to prevent this script being moved to the bottom. <p> Inline scripts in the &lt;script&gt; of the document containing the 'document.write' method will NOT be moved by default."
    726 msgstr ""
    727 
    728 #: src/Helper/TabSettings.php:297
    729 msgid "Remove javascript files"
    730 msgstr ""
    731 
    732 #: src/Helper/TabSettings.php:298
    733 msgid "Select or add the javascript files you want to prevent from loading on the site's pages."
    734 msgstr ""
    735 
    736 #: src/Helper/TabSettings.php:318
    737 msgid "Enable page caching"
    738 msgstr ""
    739 
    740 #: src/Helper/TabSettings.php:321
    741 msgid "Platform specific"
    742 msgstr ""
    743 
    744 #: src/Helper/TabSettings.php:322
    745 msgid "Enable if HTML output on mobile differs from desktop."
    746 msgstr ""
    747 
    748 #: src/Helper/TabSettings.php:326
    749 msgid "The period of time for which the page cache will be valid. Be sure to set this lower that the cache lifetime of combined files at all times."
    750 msgstr ""
    751 
    752 #: src/Helper/TabSettings.php:330
    753 msgid "Enter any part of a url to exclude that page from caching."
    754 msgstr ""
    755 
    756 #: src/Helper/TabSettings.php:360
    757 msgid "Sprite build direction"
    758 msgstr ""
    759 
    760 #: src/Helper/TabSettings.php:361
    761 msgid "Determine in which direction the images must be placed in sprite."
    762 msgstr ""
    763 
    764 #: src/Helper/TabSettings.php:364
    765 msgid "Wrap images"
    766 msgstr ""
    767 
    768 #: src/Helper/TabSettings.php:365
    769 msgid "Will wrap images in sprite into another row or column if the length of the sprite becomes longer than <span class=\"notranslate\">2000px</span>."
    770 msgstr ""
    771 
    772 #: src/Helper/TabSettings.php:368
    773 msgid "Exclude image from sprite"
    774 msgstr ""
    775 
    776 #: src/Helper/TabSettings.php:369
    777 msgid "You can exclude one or more of the images if they are displayed incorrectly."
    778 msgstr ""
    779 
    780 #: src/Helper/TabSettings.php:372
    781 msgid "Include additional images in sprite"
    782 msgstr ""
    783 
    784 #: src/Helper/TabSettings.php:373
    785 msgid "You can include additional images in the sprite to the ones that were selected by default. Use this option cautiously, as these files are likely to display incorrectly."
    786 msgstr ""
    787 
    788 #: src/Helper/TabSettings.php:384
    789 msgid "Autosize images"
    790 msgstr ""
    791 
    792 #: src/Helper/TabSettings.php:388
    793 msgid "Enable effects"
    794 msgstr ""
    795 
    796 #: src/Helper/TabSettings.php:389
    797 msgid "Enable to use fade-in effects when images are scrolled into view."
    798 msgstr ""
    799 
    800 #: src/Helper/TabSettings.php:392
    801 msgid "Lazy load iframes"
    802 msgstr ""
    803 
    804 #: src/Helper/TabSettings.php:393
    805 msgid "If enabled will also lazyload &lt;iframe&gt; elements."
    806 msgstr ""
    807 
    808 #: src/Helper/TabSettings.php:396
    809 msgid "Background images"
    810 msgstr ""
    811 
    812 #: src/Helper/TabSettings.php:397
    813 msgid "Will lazyload background images defined in 'style' attributes on HTML elements."
    814 msgstr ""
    815 
    816 #: src/Helper/TabSettings.php:400
    817 msgid "Audio/Video"
    818 msgstr ""
    819 
    820 #: src/Helper/TabSettings.php:404
    821 msgid "Exclude these images"
    822 msgstr ""
    823 
    824 #: src/Helper/TabSettings.php:405
    825 msgid "Select or manually add the urls of the images you want to exclude from lazy load."
    826 msgstr ""
    827 
    828 #: src/Helper/TabSettings.php:408
    829 msgid "Exclude these folders"
    830 msgstr ""
    831 
    832 #: src/Helper/TabSettings.php:409
    833 msgid "Exclude all the images in the selected folders."
    834 msgstr ""
    835 
    836 #: src/Helper/TabSettings.php:412
    837 msgid "Exclude these classes"
    838 msgstr ""
    839 
    840 #: src/Helper/TabSettings.php:413
    841 msgid "Exclude all images that has these classes declared on the <span class=\"notranslate\">&lt;img&gt;</span> element"
    842 msgstr ""
    843 
    844 #: src/Helper/TabSettings.php:435
    845 msgid "Exclude deferred files"
    846 msgstr ""
    847 
    848 #: src/Helper/TabSettings.php:436
    849 msgid "Will exclude javascript files that are deferred or loaded asynchronously, deferred CSS file in Optimize CSS Delivery feature, and images that are lazy-loaded. This can help reduce bandwidth and speed up first paint rendering."
    850 msgstr ""
    851 
    852 #: src/Helper/TabSettings.php:439
    853 msgid "Push CDN files"
    854 msgstr ""
    855 
    856 #: src/Helper/TabSettings.php:440
    857 msgid "Files loaded over your CDN domains will also be included in the Link headers"
    858 msgstr ""
    859 
    860 #: src/Helper/TabSettings.php:443
    861 msgid "File types"
    862 msgstr ""
    863 
    864 #: src/Helper/TabSettings.php:444
    865 msgid "Select the file types you want pushed by http/2"
    866 msgstr ""
    867 
    868 #: src/Helper/TabSettings.php:447
    869 msgid "Include files"
    870 msgstr ""
    871 
    872 #: src/Helper/TabSettings.php:448
    873 msgid "Sometimes some files are dynamically loaded so you can add these files here. Be sure any file added here are loaded on all pages and that you include the full file path including any queries etc. Only the following file extensions are supported: .js, .css, .webp, .gif, .png, .jpg, .woff, .woff2"
    874 msgstr ""
    875 
    876 #: src/Helper/TabSettings.php:451
    877 msgid "Exclude files"
    878 msgstr ""
    879 
    880 #: src/Helper/TabSettings.php:452
    881 msgid "If you see any warnings in the browser console that the preloaded files weren't used within a few seconds you can exclude these files here"
    882 msgstr ""
    883 
    884 #: src/Helper/TabSettings.php:474
    885 msgid "Preconnect CDNs"
    886 msgstr ""
    887 
    888 #: src/Helper/TabSettings.php:475
    889 msgid "Add preconnect resource hints in the HTML for all your CDN domains to establish early connections and speed up loading of resources from your CDN."
    890 msgstr ""
    891 
    892 #: src/Helper/TabSettings.php:478
    893 msgid "CDN scheme"
    894 msgstr ""
    895 
    896 #: src/Helper/TabSettings.php:479
    897 msgid "Select the scheme that you want prepended to the CDN/Cookieless domain"
    898 msgstr ""
    899 
    900 #: src/Helper/TabSettings.php:482
    901 msgid "Domain 1"
    902 msgstr ""
    903 
    904 #: src/Helper/TabSettings.php:483
    905 msgid "Enter value for Domain #1 here"
    906 msgstr ""
    907 
    908 #: src/Helper/TabSettings.php:486
    909 msgid "Static files 1"
    910 msgstr ""
    911 
    912 #: src/Helper/TabSettings.php:487
    913 msgid "Select the static file types that you want to be loaded over Domain #1"
    914 msgstr ""
    915 
    916 #: src/Helper/TabSettings.php:490
    917 msgid "Custom extensions 1"
    918 msgstr ""
    919 
    920 #: src/Helper/TabSettings.php:491
    921 msgid "To add custom extensions of file types to be loaded over CDN on Domain 1, type the extension in the textbox and press the 'Add item' button"
    922 msgstr ""
    923 
    924 #: src/Helper/TabSettings.php:494
    925 msgid "Domain 2"
    926 msgstr ""
    927 
    928 #: src/Helper/TabSettings.php:495
    929 msgid "Enter value for Domain #2 here"
    930 msgstr ""
    931 
    932 #: src/Helper/TabSettings.php:498
    933 msgid "Static files 2"
    934 msgstr ""
    935 
    936 #: src/Helper/TabSettings.php:499
    937 msgid "Select the static file types that you want to be loaded over Domain #2"
    938 msgstr ""
    939 
    940 #: src/Helper/TabSettings.php:502
    941 msgid "Domain 3"
    942 msgstr ""
    943 
    944 #: src/Helper/TabSettings.php:503
    945 msgid "Enter value for Domain #3 here"
    946 msgstr ""
    947 
    948 #: src/Helper/TabSettings.php:506
    949 msgid "Static files 3"
    950 msgstr ""
    951 
    952 #: src/Helper/TabSettings.php:507
    953 msgid "Select the static file types that you want to be loaded over Domain #3"
    954 msgstr ""
    955 
    956 #: src/Helper/TabSettings.php:526
    957 msgid "Ignore optimized images"
    958 msgstr ""
    959 
    960 #: src/Helper/TabSettings.php:527
    961 msgid "Will not attempt to optimize any images in subfolders that have already been marked as optimized."
    962 msgstr ""
    963 
    964 #: src/Helper/TabSettings.php:530
    965 msgid "Next-Gen images"
    966 msgstr ""
    967 
    968 #: src/Helper/TabSettings.php:531
    969 msgid "When enabled the plugin will convert the images that are optimized to webp format and load these instead."
    970 msgstr ""
    971 
    972 #: src/Helper/TabSettings.php:534
    973 msgid "Support old browsers"
    974 msgstr ""
    975 
    976 #: src/Helper/TabSettings.php:535
    977 msgid "Plugin will wrap WEBP image in a &lt;picture/&gt; element along with original image so browsers without WEBP support can fall back to the original image."
    978 msgstr ""
    979 
    980 #: src/Helper/TabSettings.php:543
    981 msgid "Auto resize images"
    982 msgstr ""
    983 
    984 #: src/Helper/TabSettings.php:544
    985 msgid "Images will be resized automatically to the dimensions as shown on screen. If you use an application that shows the images larger when you hover over them be sure to use different images for the large ones. For this to work the url to your site must be available publicly."
    986 msgstr ""
    987 
    988 #: src/Helper/TabSettings.php:552
    989 msgid "Recurse in subfolders"
    990 msgstr ""
    991 
    992 #: src/Helper/TabSettings.php:553
    993 msgid "Will optimize all images in selected folders and recurse into subfolders infinitely. If disabled, only the images in the selected folders will be optimized. Subfolders will be ignored."
    994 msgstr ""
    995 
    996 #: src/Helper/TabSettings.php:575
    997 msgid "HTML sections"
    998 msgstr ""
    999 
    1000 #: templates/admin/index.php:14
    1001 msgid "Dashboard"
    1002 msgstr ""
    1003 
    1004 #: templates/admin/index.php:20
    1005 msgid "Configurations"
    1006 msgstr ""
    1007 
    1008 #: templates/admin/index.php:23
    1009 msgid "Help"
    1010 msgstr ""
    1011 
    1012 #: tmp/compiled_templates/300e660fc49b7b9f31a3d2c6a9cad731f7523598.php:30
    1013 msgid "This plugin speeds up your website by performing a number of front end optimizations to your website automatically. These optimizations reduce both your webpage size and the number of http requests required to download your webpages and results in reduced server load, lower bandwidth requirements, and faster page loading times."
    1014 msgstr ""
    1015 
    1016 #: tmp/compiled_templates/300e660fc49b7b9f31a3d2c6a9cad731f7523598.php:46
    1017 msgid "Major Features"
    1018 msgstr ""
    1019 
    1020 #: tmp/compiled_templates/300e660fc49b7b9f31a3d2c6a9cad731f7523598.php:49
    1021 msgid "Optimize CSS/JS/HTML"
    1022 msgstr ""
    1023 
    1024 #: tmp/compiled_templates/300e660fc49b7b9f31a3d2c6a9cad731f7523598.php:50
    1025 msgid "Lazy-Load"
    1026 msgstr ""
    1027 
    1028 #: tmp/compiled_templates/300e660fc49b7b9f31a3d2c6a9cad731f7523598.php:52
    1029 msgid "CDN Support"
    1030 msgstr ""
    1031 
    1032 #: tmp/compiled_templates/300e660fc49b7b9f31a3d2c6a9cad731f7523598.php:53
    1033 msgid "Http/2 Preload"
    1034 msgstr ""
    1035 
    1036 #: tmp/compiled_templates/300e660fc49b7b9f31a3d2c6a9cad731f7523598.php:54
    1037 msgid "Htaccess Optimization"
    1038 msgstr ""
    1039 
    1040 #: tmp/compiled_templates/300e660fc49b7b9f31a3d2c6a9cad731f7523598.php:69
    1041 msgid "How To Use"
    1042 msgstr ""
    1043 
    1044 #: tmp/compiled_templates/300e660fc49b7b9f31a3d2c6a9cad731f7523598.php:113
    1045 msgid "Support"
    1046 msgstr ""
    1047 
    1048 #: tmp/compiled_templates/300e660fc49b7b9f31a3d2c6a9cad731f7523598.php:114
    1049 msgid "First check out the <a href=\"%1$s\" target=\"_blank\">documentation</a>, particularly the <a href=\"%2$s\" target=\"_blank\">Getting Started</a> and <a href=\"%3$s\" target=\"_blank\">How to optimize your site</a> pages on the plugin's website to learn how to use and configure the plugin."
    1050 msgstr ""
    1051 
    1052 #: tmp/compiled_templates/300e660fc49b7b9f31a3d2c6a9cad731f7523598.php:120
    1053 msgid "Read <a href=\"%s\" target=\"_blank\">Here</a> for some troubleshooting guides to resolve some common issues users generally encounter with using the plugin."
    1054 msgstr ""
    1055 
    1056 #: tmp/compiled_templates/300e660fc49b7b9f31a3d2c6a9cad731f7523598.php:126
    1057 msgid "You'll need a subscription to submit tickets to get premium support in configuring the plugin to resolve conflicts so <a href=\"%1$s\" target=\"_blank\">subscribe</a> to <em>JCH Optimize Pro for WordPress</em> and access your account to submit a ticket. Otherwise you can use the <a href=\"%2$s\" target=\"_blank\" >WordPress support system</a> to submit support requests."
    1058 msgstr ""
    1059 
    1060 #: tmp/compiled_templates/300e660fc49b7b9f31a3d2c6a9cad731f7523598.php:136
    1061 msgid "If you use this plugin please consider posting a review on the plugin's <a href=\"%s\" target=\"_blank\" >WordPress page</a>. If you're having problems, please submit for support and give us a chance to resolve your issues before reviewing. Thanks."
    1062 msgstr ""
    1063 
    1064 #: tmp/compiled_templates/4883fc37c69cbb93a1b26d8ae1c28c256adc7004.php:25
    1065 msgid "Choose one of the six presets to automatically configure the settings concerned with the optimization of CSS and javascript files. You can also disable the combine files feature here and exclude files on the Configurations tab."
    1066 msgstr ""
    1067 
    1068 #: tmp/compiled_templates/4883fc37c69cbb93a1b26d8ae1c28c256adc7004.php:38
    1069 msgid "Utility Tasks"
    1070 msgstr ""
    1071 
    1072 #: tmp/compiled_templates/4883fc37c69cbb93a1b26d8ae1c28c256adc7004.php:39
    1073 msgid "Some useful utility tasks. Hover over each title for more description."
    1074 msgstr ""
    1075 
    1076 #: tmp/compiled_templates/4883fc37c69cbb93a1b26d8ae1c28c256adc7004.php:50
    1077 msgid "No of files: %s"
    1078 msgstr ""
    1079 
    1080 #: tmp/compiled_templates/4883fc37c69cbb93a1b26d8ae1c28c256adc7004.php:53
    1081 msgid "Size of files: %s"
    1082 msgstr ""
    1083 
    1084 #: tmp/compiled_templates/4883fc37c69cbb93a1b26d8ae1c28c256adc7004.php:63
    1085 msgid "Basic Features"
    1086 msgstr ""
    1087 
    1088 #: tmp/compiled_templates/4883fc37c69cbb93a1b26d8ae1c28c256adc7004.php:64
    1089 #: tmp/compiled_templates/4883fc37c69cbb93a1b26d8ae1c28c256adc7004.php:76
    1090 msgid "Click each button to toggle these features on/off individually. Enable the ones you need for your site. Some may need additional configuration. You can access these settings from the Configurations tab."
    1091 msgstr ""
    1092 
    1093 #: tmp/compiled_templates/4883fc37c69cbb93a1b26d8ae1c28c256adc7004.php:75
    1094 msgid "Advanced Settings"
    1095 msgstr ""
    1096 
    1097 #: tmp/compiled_templates/a802dfef77680a70385cab4b0697a3b30d46d53d.php:30
    1098 msgid "Download ID, Exclude menus, Combine files"
    1099 msgstr ""
    1100 
    1101 #: tmp/compiled_templates/a802dfef77680a70385cab4b0697a3b30d46d53d.php:37
    1102 msgid "CSS"
    1103 msgstr ""
    1104 
    1105 #: tmp/compiled_templates/a802dfef77680a70385cab4b0697a3b30d46d53d.php:38
    1106 msgid "Exclude CSS, Google fonts, Optimize CSS delivery, Remove unused CSS"
    1107 msgstr ""
    1108 
    1109 #: tmp/compiled_templates/a802dfef77680a70385cab4b0697a3b30d46d53d.php:45
    1110 msgid "Javascript"
    1111 msgstr ""
    1112 
    1113 #: tmp/compiled_templates/a802dfef77680a70385cab4b0697a3b30d46d53d.php:46
    1114 msgid "Optimize JS, Exclude JS, Don't move to bottom, Remove JS"
    1115 msgstr ""
    1116 
    1117 #: tmp/compiled_templates/a802dfef77680a70385cab4b0697a3b30d46d53d.php:54
    1118 msgid "Mobile caching, Cache lifetime, Exclude urls"
    1119 msgstr ""
    1120 
    1121 #: tmp/compiled_templates/a802dfef77680a70385cab4b0697a3b30d46d53d.php:61
    1122 msgid "Media"
    1123 msgstr ""
    1124 
    1125 #: tmp/compiled_templates/a802dfef77680a70385cab4b0697a3b30d46d53d.php:62
    1126 msgid "Lazy-load, Add image attributes, Sprite generator"
    1127 msgstr ""
    1128 
    1129 #: tmp/compiled_templates/a802dfef77680a70385cab4b0697a3b30d46d53d.php:69
    1130 msgid "Http/2"
    1131 msgstr ""
    1132 
    1133 #: tmp/compiled_templates/a802dfef77680a70385cab4b0697a3b30d46d53d.php:70
    1134 msgid "Push CDN files, Include/Exclude files"
    1135 msgstr ""
    1136 
    1137 #: tmp/compiled_templates/a802dfef77680a70385cab4b0697a3b30d46d53d.php:78
    1138 msgid "Preconnect domains, Select file types, 3 Domains"
    1139 msgstr ""
    1140 
    1141 #: tmp/compiled_templates/a802dfef77680a70385cab4b0697a3b30d46d53d.php:86
    1142 msgid "Webp generation, Optimize by page, Optimize by folders"
    1143 msgstr ""
    1144 
    1145 #: tmp/compiled_templates/a802dfef77680a70385cab4b0697a3b30d46d53d.php:93
    1146 msgid "Misc"
    1147 msgstr ""
    1148 
    1149 #: tmp/compiled_templates/a802dfef77680a70385cab4b0697a3b30d46d53d.php:93
    1150 msgid "ellaneous"
    1151 msgstr ""
    1152 
    1153 #: tmp/compiled_templates/cb10b54007f2819fb63f3e96bc8eff1c019f86c7.php:54
    1154 msgid "Optimize Image Utility Settings"
    1155 msgstr ""
    1156 
    1157 #: tmp/compiled_templates/cb10b54007f2819fb63f3e96bc8eff1c019f86c7.php:64
    1158 msgid "Automatic Optimize Image Option"
    1159 msgstr ""
    1160 
    1161 #: tmp/compiled_templates/cb10b54007f2819fb63f3e96bc8eff1c019f86c7.php:65
    1162 msgid "JCH Optimize will scan the pages of your site for images to optimize. (Currently only the Main Menu)."
    1163 msgstr ""
    1164 
    1165 #: tmp/compiled_templates/cb10b54007f2819fb63f3e96bc8eff1c019f86c7.php:89
    1166 msgid "Manual Optimize Image Option"
    1167 msgstr ""
    1168 
    1169 #: tmp/compiled_templates/cb10b54007f2819fb63f3e96bc8eff1c019f86c7.php:90
    1170 msgid "Use the file tree to select the subfolders and files you want to optimize. Files will be optimized in subfolders recursively by default, you can disable this. If you want to rescale your images while optimizing, enter the new width and height in the respective columns beside each image on the right hand side."
    1171 msgstr ""
  • jch-optimize/trunk/media/assets/jscss.php

    r2642906 r2748708  
    1212 */
    1313
     14use JchOptimize\Core\Output;
     15
    1416include dirname( __FILE__, 3 ) . '/dir.php';
    1517
    16 define( 'SHORTINIT', true );
     18const SHORTINIT = true;
    1719
    1820if ( ! isset( $wp_did_header ) )
     
    4345
    4446
    45 JchOptimize\Core\Output::getCombinedFile();
     47try
     48{
     49    Output::getCombinedFile();
     50}
     51catch ( Exception $e )
     52{
     53}
    4654
  • jch-optimize/trunk/media/core/css/admin.css

    r2624891 r2748708  
    7575        line-height: 13px;
    7676        box-sizing: content-box;
     77        position: relative;
    7778}
    7879
     
    9091        pointer-events: all;
    9192}
    92 
    93 figure.icon i.toggle
     93figure.icon span.toggle-wrapper
    9494{
    9595        display: inline-block;
    9696        position: absolute;
    97         bottom: 15px;
    98         left: 60px;
     97        top: 93px;
     98        left: 0;
     99        text-align: center;
     100        width: 100%
     101}
     102
     103figure.icon span.toggle-wrapper > img {
     104        margin: 5px auto 0;
    99105}
    100106figure.icon span#proonly-span {
  • jch-optimize/trunk/media/css/wordpress.css

    r2681836 r2748708  
    7979.jch-group fieldset {
    8080    background-color: #fdfdfd !important;
    81     /*   display: inline-block; */
     81 /*   display: inline-block; */
    8282    margin-right: 10px;
    8383}
     
    127127 */
    128128
    129 .jch-wp-checkboxes-grid-wrapper fieldset > ul {
    130     padding: 0;
     129.jch-wp-checkboxes-grid-wrapper fieldset > ul{
     130    padding:0;
    131131    margin: 0;
    132132    display: grid;
    133133}
    134134
    135 .jch-wp-checkboxes-grid-wrapper fieldset > ul li input {
     135.jch-wp-checkboxes-grid-wrapper fieldset > ul li input{
    136136    margin: 0;
    137137
    138138}
    139 
    140 .jch-wp-checkboxes-grid-wrapper.columns-4 fieldset > ul {
     139.jch-wp-checkboxes-grid-wrapper.columns-4 fieldset > ul{
    141140    width: 250px;
    142141    grid-template-columns: 1fr 1fr 1fr 1fr;
    143142}
    144143
    145 .jch-wp-checkboxes-grid-wrapper.columns-5 fieldset > ul {
     144.jch-wp-checkboxes-grid-wrapper.columns-5 fieldset > ul{
    146145    width: 320px;
    147146    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
     
    164163}
    165164
    166 input[value="1"].btn-check:checked + .btn-outline-secondary {
    167     background-color: var(--bs-success);
     165input[value="1"].btn-check:checked + .btn-outline-secondary{
     166    background-color : var(--bs-success);
    168167    border-color: var(--bs-success);
    169168}
    170169
    171 input[value="0"].btn-check:checked + .btn-outline-secondary {
     170input[value="0"].btn-check:checked + .btn-outline-secondary{
    172171    background-color: var(--bs-danger);
    173172    border-color: var(--bs-danger);
    174173}
    175174
    176 .btn-check + .btn-outline-secondary:hover {
     175.btn-check + .btn-outline-secondary:hover{
    177176    background-color: var(--bs-secondary);
    178177    border-color: var(--bs-secondary);
    179178}
    180179
    181 #help-section .card {
     180#help-section .card{
    182181    font-size: 16px;
    183182    line-height: 24px;
     
    186185}
    187186
    188 #help-section .card p {
     187#help-section .card p{
    189188    font-size: 16px;
    190189}
    191190
    192 #help-section .card ol {
     191#help-section .card ol{
    193192    margin-left: 0;
    194193}
    195194
    196 #help-section .card .img-thumbnail {
     195#help-section .card .img-thumbnail{
    197196    box-sizing: border-box;
    198197    border-radius: 0;
     
    200199
    201200/**
     201Table reboot
     202 */
     203
     204.table{
     205    caption-side: bottom;
     206    border-collapse: collapse;
     207    box-sizing: border-box;
     208}
     209
     210.table *,.table *::before,.table *::after{
     211    box-sizing: border-box;
     212}
     213
     214tbody, td, tfoot, th, thead, tr {
     215    border-color: inherit;
     216    border-style: solid;
     217    border-width: 0;
     218}
     219
     220th {
     221    text-align: inherit;
     222    text-align: -webkit-match-parent;
     223}
     224
     225/**
    202226] Form
    203227 */
     
    206230}
    207231
    208 #jch-optimize-settings-form ul.nav-pills li.nav-item a small{
     232#jch-optimize-settings-form ul.nav-pills li.nav-item a small {
    209233    float: none;
    210234    width: fit-content;
  • jch-optimize/trunk/media/filetree/jquery.filetree.css

    r2681836 r2748708  
    1414    font-size: 11px;
    1515    line-height: 18px;
    16     padding: 0px;
    17     margin: 0px;
     16    padding: 0;
     17    margin: 0;
    1818}
    1919
    2020UL.jqueryFileTree LI {
    2121    list-style: none;
    22     padding: 0px;
     22    padding: 0;
    2323    padding-left: 20px !important;
    24     margin: 0px;
     24    margin: 0;
    2525    white-space: nowrap;
    2626}
     
    3030    text-decoration: none;
    3131    display: block;
    32     padding: 0px 2px;
     32    padding: 0 2px;
    3333}
    3434
     
    4343
    4444.jqueryFileTree LI.expanded {
    45     background: url(images/folder_open.png) left top no-repeat;
     45    background: url(images/folder_open.png) left 2px no-repeat;
    4646}
    4747
     
    148148
    149149.jqueryFileTree LI.ext_jpeg {
    150     background: url(images/picture.png) left 2px no-repeat;
     150    background: url(images/picture.png) left center no-repeat;
    151151}
    152152
     
    329329    height: 18px;
    330330    line-height: 18px;
    331     padding-left: 0px !important;
    332 }
    333 
    334 #files-container ul li span:first-of-type {
     331    padding-left: 0 !important;
     332    display: flex;
     333    align-items: center;
     334}
     335
     336#files-container ul li > input {
    335337    position: relative;
    336     left: -20px;
    337     width: 20px;
     338    left: -23px;
    338339    display: inline-block;
     340    margin: 0;
     341    min-width: 1rem;
    339342}
    340343
     
    365368    font-size: 11px;
    366369    height: 18px;
    367     border-radius: 0px;
     370    min-height: 18px;
     371    border-radius: 0;
    368372    width: 60px;
    369373    border: 1px solid #ccc;
  • jch-optimize/trunk/media/js/platform-wordpress.js

    r2624891 r2748708  
    99 * If LICENSE file missing, see <http://www.gnu.org/licenses/>.
    1010 */
    11 
    12 var jchPlatform = (function ($) {
     11const jchPlatform = (function () {
    1312
    1413    let jch_ajax_url_optimizeimages = ajaxurl + '?action=optimizeimages';
     
    1716
    1817
    19     let configure_url = "options-general.php?page=jch_optimize&view=configure";
     18    let configure_url = ajaxurl + '?action=configuresettings';
    2019
    21     var applyAutoSettings = function (int) {
    22         window.location.href = configure_url + "&task=applyautosetting&autosetting=s" + int;
    23     }
    2420
    25     var toggleSetting = function (setting) {
    26         window.location.href = configure_url + "&task=togglesetting&setting=" + setting;
    27     }
     21    const applyAutoSettings = function (int, id) {
     22        const auto_settings = document.querySelectorAll("figure.icon.auto-setting");
     23        const wrappers = document.querySelectorAll("figure.icon.auto-setting span.toggle-wrapper");
     24        let image = document.createElement("img");
     25        image.src = jch_loader_image_url;
    2826
    29     var submitForm = function () {
     27        for (const wrapper of wrappers) {
     28            wrapper.replaceChild(image.cloneNode(true), wrapper.firstChild);
     29        }
     30
     31        let url = configure_url + "&task=applyautosetting&autosetting=s" + int
     32
     33        postData(url)
     34            .then(data => {
     35                for (const auto_setting of auto_settings) {
     36                    auto_setting.className = "icon auto-setting disabled";
     37                }
     38
     39                //if the response returned without error then the setting is applied
     40                if (data.success) {
     41                    const current_setting = document.getElementById(id);
     42                    current_setting.className = "icon auto-setting enabled";
     43                    const enable_combine = document.getElementById("combine-files-enable")
     44                    enable_combine.className = "icon enabled";
     45                }
     46
     47                for (const wrapper of wrappers) {
     48                    let toggle = document.createElement("i");
     49                    toggle.className = "toggle fa";
     50                    wrapper.replaceChild(toggle, wrapper.firstChild);
     51                }
     52            })
     53    };
     54
     55    const toggleSetting = function (setting, id) {
     56        let figure = document.getElementById(id);
     57        let wrapper = document.querySelector("#" + id + " span.toggle-wrapper");
     58        let toggle = wrapper.firstChild;
     59        const image = document.createElement("img");
     60        image.src = jch_loader_image_url;
     61        wrapper.replaceChild(image, toggle);
     62
     63        if (setting === 'combine_files_enable') {
     64            const auto_settings = document.querySelectorAll("figure.icon.auto-setting");
     65            for (const auto_setting of auto_settings) {
     66                auto_setting.className = "icon auto-setting disabled";
     67            }
     68        }
     69
     70        let url = configure_url + '&task=togglesetting&setting=' + setting
     71
     72        postData(url)
     73            .then(data => {
     74                figure.classList.remove("enabled", "disabled");
     75                figure.classList.add(data.class);
     76
     77                if (id === 'optimize-css-delivery') {
     78                    let unused_css = document.getElementById("remove-unused-css");
     79                    unused_css.classList.remove("enabled", "disabled");
     80                    unused_css.classList.add(data.class2);
     81                }
     82
     83                if (id === 'remove-unused-css') {
     84                    let optimize_css = document.getElementById("optimize-css-delivery");
     85                    optimize_css.classList.remove("enabled", 'disabled');
     86                    optimize_css.classList.add(data.class2);
     87                }
     88
     89                if (setting === 'combine_files_enable') {
     90                    if (data.auto !== false) {
     91                        enabled_auto_setting = document.getElementById(data.auto);
     92                        enabled_auto_setting.classList.remove("disabled");
     93                        enabled_auto_setting.classList.add("enabled");
     94                    }
     95                }
     96                wrapper.replaceChild(toggle, image);
     97            })
     98    };
     99
     100    const submitForm = function () {
    30101        document.getElementById('jch-optimize-settings-form').submit();
     102    };
     103
     104    async function postData(url, data = {}) {
     105        const response = await fetch(url, {
     106            method: 'GET',
     107            cache: 'no-cache',
     108            mode: 'cors',
     109            headers: {
     110                'Content-Type': 'application/json'
     111            },
     112        });
     113
     114        return response.json();
    31115    }
    32116
     
    42126    }
    43127
    44 })(jQuery);
     128})();
  • jch-optimize/trunk/readme.txt

    r2696502 r2748708  
    33Contributors: codealfa
    44Tags: performance, pagespeed, cache, optimize, seo
    5 Tested up to: 5.9.2
    6 Stable tag: 3.0.5
     5Tested up to: 6.0
     6Stable tag: 3.1.0
    77License: GPLv3 or later
     8Requires at least: 5.0
     9Requires PHP: 7.3
    810License URI: https://www.gnu.org/licenses/gpl-3.0.html
    911
     
    7375
    7476== Changelog ==
    75 = 3.0.5 =
    76 * Added options to optimize images Lossy or Non-lossy as well as to save metadata.
    77 * Improved compatibility with Amp pages
    78 
    79 = 3.0.4 =
    80 * Added Poland translation
    81 * Modified list for Number of elements in Optimize CSS Delivery feature, setting 800 as default
    82 * Bug Fix: Fixed bug with excluding urls
    83 * Bug Fix: Fixed bug with PHP errors when basedir restriction in effect
    84 
    85 = 3.0.3 =
    86 * Bug Fix: Fixed bug with Exclude javascript settings
    87 * Added setting to disable plugin for logged in users
    88 
    89 = 3.0.2 =
    90 * Bug Fix: Fix issue with sites using FTP to upgrade
     77= 3.1.0 =
     78* Minimum required PHP version is now 7.3
     79* Added support for Brotli compression in .htaccess optimization.
     80* Added new tab in admin for Page Cache so individual files can be viewed and deleted.
     81* Added support for different cache storage types (APCu, Memcached, Redis, WinCache) [Pro version]
     82* New page cache feature to serve static content via HTTP Request without calling PHP to significantly improve server load time. [Pro Version]
     83* Added 'Remove Unused Javascript' feature [Pro Version]
    9184
    9285= 3.0.1 =
  • jch-optimize/trunk/version.php

    r2696502 r2748708  
    1515defined( '_JCH_EXEC' ) or die;
    1616
    17 const JCH_VERSION  = '3.0.5';
    18 const JCH_DATE     = '2022-03-19';
     17const JCH_VERSION  = '3.1.0';
     18const JCH_DATE     = '2022-06-27';
    1919const JCH_PRO      = '0';
     20const JCH_DEVELOP  = '0';
    2021const JCH_PLATFORM = 'WordPress';
Note: See TracChangeset for help on using the changeset viewer.